Hey guys, for my final project in my introductory electrical engineering class I’m working on taking an R/C car and interfacing it with an Arduino and WiFly so that it can be controlled with an iPhone without a middleman (i.e. computer, router, etc.). I’m using an WiFly Shield (sku: WRL-09367) stacked on top of an Arduino Duemilanove.
Currently I’ve got it set up so that while the Arduino+WiFly are plugged into my laptop I can control the movement of the car using basic keyboard input into the serial montitor. I have the WiFly in ad-hoc mode and am able to connect to the network it broadcasts using my iPhone, but from there I’m stuck. I’ve scoured the internet and tried finding solutions, but found nothing that directly applies to using both a single WiFly and an iPhone. I do have the TouchOSC app but am not sure how to properly interface or code that in my case. I also have the free WiFlyClient app from Roving Networks and am able to connect to my WiFly and access it’s remote serial interface and send commands using my phone.
My question is: is it possible to use that remote interface in WiFlyClient to send commands to the WiFly that can be sent to the Arduino and control the car? I’ve read over the user manual and I’m not familiar enough with code and such that I could figure it out on my own.
Also, would it be possible to use just the TouchOSC app to control my setup without a middleman? I’ve seen videos on youtube that claim it’s been done but I haven’t found any help and because I’m just a beginner with Arduino and wireless networks I’m lost at this point.
I appreciate any help I can get. Thanks.