Society of Robots - Robot Forum

General Misc => Misc => Topic started by: BCRay on June 13, 2009, 01:26:21 PM

Title: iPhone Accelerometer Question
Post by: BCRay on June 13, 2009, 01:26:21 PM
Would it be possible to use the tilt/accelerometer sensors in an iPhone to control something wirelessly? I'm thinking something like a model aircraft. So basically replace the joystick controller with an iPhone and use it to fly the craft.

If you think this could be done I'd appreciate being pointed to a source for more information.

Thanks

Ray
Title: Re: iPhone Accelerometer Question
Post by: TrickyNekro on June 13, 2009, 02:04:13 PM
Yes.... if you can right a program for Iphone to extract the raw data or even calculated data with a supported protocol
like bluetooth..... definitely yes....
But.... the question here is how to do this.... well personally..... I got no idea at all...... :P
Title: Re: iPhone Accelerometer Question
Post by: SmAsH on June 13, 2009, 04:44:33 PM
there are people who have written programs similar to this with the iphone...
check out www.hackaday.com (http://www.hackaday.com) as it may have some on there. i remember seeing a turret somewhere that was iphone controlled...
Title: Re: iPhone Accelerometer Question
Post by: Weird Fishes on June 17, 2009, 05:38:57 PM
Unless you jailbreak your iphone, you'll have to pay $99 and write the programs in Cocoa Touch (based on Objective-C), but yes, it's possible.
Title: Re: iPhone Accelerometer Question
Post by: Admin on January 19, 2010, 07:40:40 AM
http://www.societyofrobots.com/robotforum/index.php?topic=10059.0 (http://www.societyofrobots.com/robotforum/index.php?topic=10059.0)
Title: Re: iPhone Accelerometer Question
Post by: Pratheek on January 22, 2010, 08:10:29 AM
It is possible to use the iPhone's accelerometer to control your aircraft.

You can use Apple's iPhone SDK to write a program for the iPhone to get readings from the accelerometer and transmit it to your aircraft through whatever wireless link you use.

To know more about the SDK visit - http://developer.apple.com/iphone/ (http://developer.apple.com/iphone/)
Look for tutorials in their website or try googling.