Sunday, September 18, 2011

IIC or I2C or TWI

The TWI bus

Good tutorial from DigiKey

other training modules of electronic parts from digikey

A good introduction to IIC with an Arduino Focus is here.


The Arduino library with functions that handle the TWI bus is the Wire Library

A good example of using IIC eeproms with Arduinos is here.

A typical IIC device is the eeprom below.





An Arduino setup


and you can join up two Arduinos using the IIC bus




This code worked for me straight from the forum to the freetronics eleven at 24LC256.

And here's the data on the24LC256 eeprom.


Tuesday, September 13, 2011

ZigBee


This is the quickest way to get two Arduinos to talk to each other wirelessly