People are starting to look seriously at the iPhone 4 as a robotics controller. It's got a full IMU and otherwise looks appealing. You can get all the hardware chip and sensor specs from this excellent iFixIt teardown, but here's just one example: the GPS chip.


It's a Broadcom chip and the refresh rate is "up to 2Hz". The user-accessible data is provided by the OS so the refresh rate in practice may vary, but the hardware looks pretty promising.



Views: 3679

Comment by Ron Jacobs on November 22, 2010 at 4:06pm
Oh, that's true. In fact that's what I have and will likely use first is the 1Hz EM406. Does the iPhone have a magnetometer?
Comment by Hugo Vincent on November 22, 2010 at 4:10pm
Yes, it has a 3-axis magnetometer for the compass function. I can't recall if the API lets you get raw/uncorrected magnetic readings out - probably not.
Comment by Paul G. on November 22, 2010 at 4:36pm
The problem isnt going to be in the sensors but what the software was meant to do. Its meant to "see" you rolling the phone while standing, not a flying vehicle at up to 100+ mph or even constantly moving at ~30 mph. That is a world of difference in the filter. Also the filter is going to be tuned to the expected turn rates, something aircraft are going to easily exceed unless flown very gently. The fact it controls the AR drone is completely irrelevant, its sitting in the persons hand not in the drone.
Comment by Ryan Fraser on November 23, 2010 at 11:41am
I have to say after hacking firmware since the 80's digital Cable boxes are the most locked down.
My AR drone is waaaaay easier to fly with the iPad than my best 450 heli and a traditional tx. The ballistics are great and using a WIFI repeater I don't get nearly as manny drop-out as the 2.4 ghz tx.
IOS is a pleasure to develop for, even in an open source environment.
Might be kind of cool to have one IMU that you could just pair with what-ever machine you happen to be operating.
Comment by will y. on November 25, 2010 at 12:19am
@Paul G
The iPhone navigation works just fine moving 70m/h in a car, and it works on an airplane as well...
@Ryan Fraser
Honestly, I think the apple engineers don't really try all that hard to lock it down. I recall a while back when the engineers submitted some diagrams to the patent office, a couple of the icons on the iphone's screen were jailbreak-only apps, which means the engineers were using jailbroken devices.
I also agree with you when you say that iOS is a pleasure to develop for, xCode is by far my favorite dev environment and it is one of my top reasons to use a mac. Nothing comes close, I can code many times faster in xcode than in just a plaintext environment or even a nice, organized environment like the arduino IDE.
Comment by Sebastian Gralla on November 25, 2010 at 11:07am
and the iphone has an UART for communication!
no problem causing USB port
Comment by will y. on November 25, 2010 at 11:52am
I only wish the UART was available without jailbreaking...
Comment by Ryan Fraser on November 27, 2010 at 7:20am
@will y
You right, engineers are just conforming to Apples development conditions that require code singing and such. If their job is a bit like mine (engineering technician) I often go "out of the box" to get things done. I'll bet Apple Engineers do the same, personal achievement is a great motivator (hence the odd looking patent applications).

I ran across this for interest sake. Combo with an Xbee setup you could shoot data back and fourth!
http://resolvehax.blogspot.com/2010/10/iphone-serial-port.html
Cheers.
Comment by will y. on November 27, 2010 at 2:23pm
Believe me, I know how much of a necessity going out of the box can be on engineering projects. Also, that site you linked is interesting, I was under the impression that the UART on the iPhone required a complex handshake method to activate properly... I guess not. So that really is a sweet platform for xbee based communication. Keep in mind that you could also probably do the same thing over the audio port (with a voltage converter) if you wanted to do it "apple-friendly".
Comment by Sebastian Gralla on November 28, 2010 at 2:18pm
I would not trust the audio port for serial communication

Comment

You need to be a member of DIY Drones to add comments!

Join DIY Drones

Social Networking

Contests

Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.

A list of all T3 contests is here

Advertisement

© 2013   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service