Author Topic: iPhone Accelerometer Question  (Read 2334 times)

0 Members and 1 Guest are viewing this topic.

Offline BCRayTopic starter

  • Beginner
  • *
  • Posts: 1
  • Helpful? 0
iPhone Accelerometer Question
« 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.



Offline TrickyNekro

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 1,208
  • Helpful? 15
  • 1.6L Peugeot 307 tuner
Re: iPhone Accelerometer Question
« Reply #1 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
For whom the interrupts toll...

P.S. I've been inactive for almost a year... Don't give promises but I'll try to complete my tutorials. I'll let you know when..


Offline SmAsH

  • Supreme Robot
  • *****
  • Posts: 3,959
  • Helpful? 75
  • SoR's Locale Electronics Nut.
Re: iPhone Accelerometer Question
« Reply #2 on: June 13, 2009, 04:44:33 PM »
there are people who have written programs similar to this with the iphone...
check out as it may have some on there. i remember seeing a turret somewhere that was iphone controlled...

Offline Weird Fishes

  • Full Member
  • ***
  • Posts: 60
  • Helpful? 0
Re: iPhone Accelerometer Question
« Reply #3 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.

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,696
  • Helpful? 173
    • Society of Robots

Offline Pratheek

  • Contest Winner
  • Robot Overlord
  • ****
  • Posts: 125
  • Helpful? 3
Re: iPhone Accelerometer Question
« Reply #5 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 -
Look for tutorials in their website or try googling.
« Last Edit: January 22, 2010, 08:13:54 AM by Pratheek »


Get Your Ad Here