PDA

View Full Version : Autonomous robot uses an iPhone for its brain



wraggster
June 10th, 2012, 22:28
http://hackadaycom.files.wordpress.com/2012/06/ibot.jpgAt the beginning of the school last year, [Ryan] needed to come up with a project for his master’s thesis. Having a bachelor’s in mech. engineering and doing his graduate work in software engineering allowed [Ryan] to do something really cool for his thesis; he decided to turn an iPhone into an autonomous robot (http://ryanmeschesios.wordpress.com/) with live video streaming, remote control, and object detection.
[Ryan] started building his ArduiPhone last October (http://ryanmeschesios.wordpress.com/2011/10/14/arduiphone-is-born/) with an Arduino, motor shield, and a Magician Chassis (http://www.sparkfun.com/products/10825). The software is based on an iPhone network programming tutorial (http://www.devx.com/wireless/Article/43551/1954) that opens a socket connection to a desktop PC and relays commands to an Arduino serial port.
One of the more interesting features of [Ryan]‘s ArduiPhone is the ability to stream video directly from the phone to a Java application. Instead of FaceTime, [Ryan] streams videos by converting an image from the front-facing iPhone camera to a byte array, sends it over the network, and decodes the image in a Java app. It’s low-level stuff, but the video quality is excellent and something we’ll probably be seeing more of in the future.
http://hackaday.com/2012/06/09/autonomous-robot-uses-an-iphone-for-its-brain/