For the past week, me and a couple of friends worked on our end-of-the-year project, where we decided to control our school's FIRST (FRC) Robot using the iPhone's accelerometer. The original concept was thought up by Josef Prusa using an Arduino board.
We bought an arduino board thinking we needed it but it came to no use at all.
Explanation to what we did:
1) iPhone's accelerometer data is sent to the computer through an Ad-Hoc connection using the AppStore app, OSCemote.
2) A program was created using LabView (National Instruments) that picks up that data through the UDP port, translates the raw strings into numerical values, then flattens it out again.
3) That flattened data is sent to the Driver Station of the robot, which relays that data again to the robot itself through a WiFi network. (Driver Station ---> Router ---> Wireless Reciever on the Robot)
The video was taken with my iPhone so the quality isn't that great, but I'll take a couple of more videos using my camera for your viewing pleasure and it will show exactly what is going on.
We are not completely done with our project. We still have to map the buttons in OSCemote to control the other parts of the robot.
Linkage: http://www.ni.com/labview/ - The student version was included with the kit that was sent to us in the beginning of the year for this years competition. http://josef-prusa.eu - Original concept creator. http://saundersdroidfactory.com - Team 2344. I created the site for our team. Very minimal, something I had to do in less than a day.