April 08, 2013

I2C communication between Arduino and Raspberry Pi

 Each development platform has their own pros and cons - and sometimes more than one type is required to solve a problem. One example of this is the Arduino and Raspberry Pi - each have their own strengths and weaknesses, however they can work together quite well. However finding an appropriate way to have the two communicate can be a puzzle, until now. The people at neophob have written an excellent tutorial on having the two communicate with each other via I2C - by using the Raspberry Pi as a master device and the Arduinos as slaves. This would be useful for controlling various types of hardware - not a strength of the RPi, but easily done with an Arduino. 

The tutorial covers the code required for both platforms and also debugging and testing, so click here to get started. And for more, we're on twitter and Google+, so follow us for news and product updates as well.

If you're attracted to the Raspberry Pi for it's networking ability, but happy with the Arduino environment - have you considered our Freetronics EtherMega?

Quite simple the EtherMega is the fully-loaded Arduino-compatible board on the market today. Apart from being completely Arduino Mega2560-compatible, it includes full Ethernet interface, a microSD card socket, full USB interface, optional Power-over-Ethernet support and still has a circuit prototyping area with extra I2C interface pins. So if your project is breaking the limits, upgrade to the EtherMega today. 

Leave a comment

Comments have to be approved before showing up.