
(^unfinished prototype)
Here's the idea. It's a plug in board that sits on top of your RasPi and connects to the GPIO. It has 4 digital 5v inputs/outputs, 4 analog inputs, 4 PWM FET driven outputs and 2 relay outputs. It also has a voltage reg to drive your Pi from any power source upto 24v.
It's controlled via a php module, and the php code needed to do this is very simple and lightweight.
<?php
$pio = new PIO;
//read digital pin 2
$myVar = $pio->digitalRead(2);
//set pwm 1 output to 50%
$pio->writePwm(1,128);
//find out what PWM pin 2 is currently set to
$myVar = $pio->getStatePwm(2);
?>
So the end result is a web server with apache/php/mysql that is capable of interacting with the real world. Of course you can always interface via C/Python command line if you wanted to. But by using a webserver, you can write a really funky HTML5 GUI which could then run on a mobile/tablet/desktop from in your home, or anywhere on the internet.
It's built using Arduino, so if you want you can re program it to do anything you want, but you don't need to know anything about Arduino to use it out of the box, you just need to know HTML and the php above.
Right now it's just a prototype but if there's enough interest I can get the PCBs made up, there won't be a separate arduino board, all the components will be on 1 board with screw terminals for connecting up to your devices/sensors.
What do you guys think?
