Brain4home - Hobby & Home Automation

  • Increase font size
  • Default font size
  • Decrease font size
Brain4home - Hobby & Home Automation

back online

E-mail Print PDF

Site is back online after database issue that put the site down on Jan 30.

Everything restored now.

 

BAE0911 documentation

E-mail Print PDF

Some docs on BAE0911.

Those docs are work in progress informations . Changes are likely to happen in near future...

Attachments:
Download this file (BAE0911-flow-commands.pdf)BAE0911-flow-commands.pdf[ ]101 Kb28/10/11 23:11
Download this file (BAE0911-pio-mapping.pdf)BAE0911-pio-mapping.pdf[ ]97 Kb28/10/11 23:17
Download this file (BAE0911-registers-bit.pdf)BAE0911-registers-bit.pdf[ ]292 Kb28/10/11 23:18
Download this file (BAE0911-registers-hi.pdf)BAE0911-registers-hi.pdf[ ]220 Kb28/10/11 23:17
 

Analog Comparator for BAE0911

E-mail Print PDF

BAE0911 has a new capability: Analog Comparator

This integrated module allows to compare an input (ACMP-) against a setpoint(ACMP+) and get an automatic response on ACMPO by toggling on/off the ouput.

 

 

 

16 chanel board and hub

E-mail Print PDF

The I²C to 16x 1-Wire I've implemented at home.

While this setup was implemented nearly three years ago, it is still running now and may be useful for the community...

As I'm using the network wiring installed in the house, this resemble more to a star topology than the recommended 1-Wire bus.
I solved this by designing a master board with 16 bus that effectively separate each branches as unique bus.

The 16 masters are in fact two ds2482-800 installed on a single board. The bus-master embeds also an lcd controller but this could be left un-installed if not needed.
For more flexibility, I grouped the 16 buses on 4 connectors of four buses using RJ45. Then a 'hub' split the four buses.
In my case two hubs are near the master and the other two are allowing to start a secondary star topology from other location.
The power (+5V and +12V) is provided to all hubs by a modified PC power supply using a 3x1.5mm² yellow cable.

The owfs daemon is started as

/opt/owfs/bin/owfs --i2c=/dev/i2c-0:0  --i2c=/dev/i2c-0:1 -m /tmp/ow

Attachments:
Download this file (master and 1w-hub-4channel.zip)master and 1w-hub-4channel.zip[16x busmaster board and 4x 1-Wire hub board (Eagle shematic and brd files)]84 Kb18/09/11 21:48
Read more...
 

Assembler for Automation Engine BAE0911

E-mail Print PDF

This archive contains the source code for the assembler.

A snapshot of most current version is availlable in http://www.brain4home.eu/downloads/

Currently, this assembler generate code that targets only bae0911 chips.

major features of assembler:

  • typed variables (byte word, dword, pointer)
  • support of global variables (64 byte storage)
  • support of SUB routines with params
  • support of local variables
  • support of arrays (one dimension)
  • support of index adressing
  • increased stack size (96 bytes per process)
  • produce a listing file (.lst) with full disassembly along with source
  • flow i/o functions for serial, i2c, sdcard, and lcd

The assembler generate a byte-code that is interpreted by the chip allowing four concurrent process

Warning: The code produced by this assembler is an early preview and still require extended testing.

Attachments:
Download this file (ae11_asm.tgz)ae11_asm.tgz[assembler for new bae0911 - update June 7, 2011]217 Kb07/06/11 22:59
Read more...
 
  • «
  •  Start 
  •  Prev 
  •  1 
  •  2 
  •  3 
  •  4 
  •  5 
  •  6 
  •  Next 
  •  End 
  • »


Page 1 of 6