PDA

View Full Version : What you can do when a Raspberry Pi teams up with an Arduino



wraggster
September 1st, 2012, 21:07
http://hackadaycom.files.wordpress.com/2012/08/arduino-teams-up-with-rpi.png
We thought that connecting an Arduino to a Raspberry Pi was overkill, but one thing caught our attention. [Jan Stevens] mentions that the RPi is less expensive than the Ethernet Shield. Interesting. As we looked into his writeup a bit more we began to think he’s onto something. [Jan] uses the PHP serial class to communicate between the RPi and Arduino (http://www.fritz-hut.com/arduinopi-web-based-controller-for-arduino/). This ends up being a very inexpensive way to bring some of the more powerful web programming options to your hardware devices.
Sure, he’s just driving three RGB LEDs. But the demo video after the break gives us a glimpse as some of the interface options that become available when an embedded Linux machine is in play. He’s using jQuery, AJAX, PHP, and JSON to name a few. If you want to give this a try yourself you can grab the code from his Github repo (https://github.com/JanStevens/ArduinoPi-Controller). Of course we’re going to want to hear about any projects you develop (http://hackaday.com/contact-hack-a-day/) from this starting point!

http://hackaday.com/2012/08/31/what-you-can-do-when-a-raspberry-pi-teams-up-with-an-arduino/