In this installment I have added the mosfet’s and an adhoc wireless network to the lowPI. In order to communicate with the raspberry pi when I am not by a wireless access point a netgear WNA1000M usb wireless card was added and configured to operate in Ad-Hoc mode. This was fairly easy to accomplish and I wont go into setting up udhcpd and a wireless card as it’s already heavily documented across the web.
For the mosfet circuit I used the following example that I found from . This example uses an Arduino, but essentially acts identically as we are using the GPIO pins on the arduino as digital out pins. Instead of wiring the mosfet to a 12v light bulb on the D pin, this pin will go to ground on the sump and inflate pumps on the truck.
This will probably be my last update for a little while as it’s cold outside and I don’t care much for working outside on electronics in the snow. But then again, maybe it won’t.
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
For some reason I just can’t stop using vim. This article is not ment to get into the debate of pros and cons between using a modern IDE like Eclipse or Netbeans. However I have tried many IDE’s and always find myself back to pecking away at a terminal. VIM is available out of the box on every modern Unix/Linux/Mac computer out there, and with in 20 seconds I am up and running with the configuration that works for me.
So here is the configuration I use incase anyone else would like to try it out. It supports among other things the following features
The motor shield provided sold by Arduino is pretty awesome and can control 2 DC brush motors or one stepper motor. After coming home with mine I found finding a good example of how to use it with the Stepper class a little difficult to find at first.
Another winterfest has come and gone. And there was no shortage of great beer to try. Along the way I decided to shoot a few cinemagraphs. Click here to see all of the photos on indianacraftbeer.com
For my most recent trip to New Orleans, I decided to ditch my digital camera (for the most part) and strickly shoot with my Speed Graphics 4×5.
Saturday night brought in the preverbal passing of the torch as PRN Host Greg Brenner retired his spot and handed over the reins to Rich Barker. Performances by Mr. Clit and the Pink Cigarettes, Livermortis, Riverbottom Nightmare, and Belligerent Bendajos.