Alright… so I went out to Maplin today and thought I’d splash out a bit and get a sexy project box, dremel grinder and some accessories… the result of this… that bad boy car’s completely wire free! Pictures below!
It’s 1:47 in the morning, my eyes hurt and I’ve voluntarily been at it all day messing around with this WiShield… I can tell you that it’s finally paid off! I’ve managed to get the WiShield to give an XML response based on a URL passed to it… Basically creating a REST webservice on the WiShield/Arduino which will control the servo’s on the car over Wi-Fi from… you guessed it ANY application that can open a URL! I’ll post how I did it in the cook book in the morning when I’m awake!
Wi-Fi enabling the Arduino from a hacked LaFonera+ router has proved tedious and annoying at best. I wouldn’t recommend it to any one unless you’re willing to deal with the agro of having to spend vast amounts of time flashing it and rebooting it every time a serial connection to the Arduino board drops.
Luckily for this project I’ve always had a backup for the Wi-Fi connectivity, it was my second option purely because of the lack of ethernet port for an ethernet IP camera. This backup has arrived today… and I give you… WiShield!
It literally arrived today and took me 3 mins to set up and get on the network, it has two modes, ad-hoc and infrastructure, all of the configuration can be done in the arduino sketch and is pretty self explanatory from the comments.
You can purchase one from asynchlabs directly, their store didn’t seem to work so I got mine from here cutedigi.com no where in the UK seemed to have them, they do international shipping, mine took under a week to arrive.
I’ve finally managed to flash my LaFonera+ through serial with DD-WRT, so I can send commands through SSH wirelessly to my Arduino board to control the servo’s.
I’ve also managed to power my LaFonera+ from the Arduino. I haven’t connected up the TX for now because I have no intention of letting the arduino talk back to the router, so for now this should shut it up.
Credit has to go to echoditto labs for giving me the initial idea. The full tutorial to flashing the LaFonera+ 2201 (UK Version) and connecting it to the arduino will be published soon.