This is the beginning of a project that I have eagerly been working on. I wanted to be able to control the air bags in my truck with my iphone, so I’ve taken to the raspberry pi and phonegap to make that happen.
The Raspberry pi is running a rest api with django to talk to the iOS app over wifi. Currently I am awaiting the parts to make the GPIO pins interact with a 12v dc system. This will be handled by 8 N-Channel 30a Mosfets sold by sparkfun. So while I am waiting on parts I hooked the gpio pins up to LEDs to emulate the action of raising and lowering the wheels.
The source code is available at GitHub