December 09, 2013

Communicating between Arduino boards via I2C

If you Arduino-based project has run out of I/O - even when using Mega or compatible boards, an option can be to control a second board from the first, and communicate between the two using wired or wireless communications. One example of wired communication is to use the I2C bus, and this process has been documented by the OxGadgets blog in a simple tutorial. 

The I2C bus is an easy data bus that only requires two wires, and should be familiar to most Arduino users. The tutorial covers the hardware and sketch code required to send bytes of data between the two boards, and also extra hardware required to extend the physical distance of the bus over five metres or more. Using these methods you can have a reliable and faster method of board communication than cheaper wireless modules. 

To find out more about inter-board communication with the I2C bus, check out the tutorial. And for more, we're on twitter and Google+, so follow us for news and product updates as well.

If you're looking for an Arduino Uno-compatible board to work with, choose what thousands of others have done and use our Freetronics Eleven - the Arduino-Uno compatible with low-profile USB socket, onboard prototyping space and easy to view LEDs: 

Leave a comment

Comments have to be approved before showing up.