After wanting to use various sensors that have analogue outputs with his Raspberry Pi, Peter Mount had several options - but settled on using an Arduino board as it has six ADCs, is easily programmed and can communicate with several methods. One of these is the I2C data bus, which is also used on the Raspberry Pi and thus solved Peter's problem.
In doing so he has documented the theory and example code that demonstrates how to set up the Arduino as an I2C slave device, enable I2C on the Raspberry Pi and also the code to retrieve data from the Arduino. Doing so opens up many more possibilities with interfacing the two platforms, and would be of use to almost every RPi enthusiast. To learn how this is done, plus some other interesting notes - visit Peter's blog. And for more, we're on twitter and Google+, so follow us for news and product updates as well.
If you're looking for a more permanent way to mount circuitry to your Raspberry Pi, check out our new PiBreak - the prototyping board for the Raspberry Pi. It provides labelled breakout pins for all GPIOs, a large prototyping area with solder pads, and power rails for easy power connection:
Furthermore the PiBreak also includes mounting hardware to firmly attach it to your Raspberry Pi using a nut, bolt, and spacer - and is compatible with all revisions of both model A and B Raspberry Pi computers. For more information about our new PiBreak board, our Getting Started guide, and to order - visit the product page.