Skip to Content

Playing with the iPhone's accelerometer



Yesterday, we saw what Medallia was doing with touchscreens a few months ago, and today, we've got hot off the press news about what they're up to with the iPhone's accelerometer. Erling has found a way to pull the raw data off of the iPhone's LIS302DL, a 3-axis accelerometer that's currently used for noting when you're looking at Safari vertically or horizontally. A few hackers, like the folks behind Tilt, have been able to catch the iPhone noting the change itself, but this is the first time, I believe, that we're seeing live data come right off of the unit at a high sampling rate, enabling Erling to pull off the magic seen above.

And the best part: source code is up on the site. iPhone programmers, start your engines-- we've got a whole new interface to work with.

[ via Waxy ]

Yesterday, we saw what Medallia was doing with touchscreens a few months ago, and today, we've got hot off the press news about what...
 

Add a Comment

*0 / 3000 Character Maximum

6 Comments

Filter by:
Aaron Garn

Now we need iMagic 8 ball

August 31 2007 at 5:39 PM Report abuse rate up rate down Reply
mathie

OK, first person to port MacSaber[1] to the iPhone needs to win a prize!

[1] http://isnoop.net/blog/2006/06/22/macsaber-11-attack-of-the-backlight/

August 30 2007 at 9:03 AM Report abuse rate up rate down Reply
ian

Aaron -- yes indeed. A number of years ago, Till Harbaum added an accelerometer to his Palm Pilot (wired to the serial port), and then wrote a marble-madness style game for it. At least for this iPhone use there's no soldering needed.

August 30 2007 at 7:43 AM Report abuse rate up rate down Reply
Aaron Yates

Marble Madness, we come closer every day.

August 29 2007 at 9:09 PM Report abuse rate up rate down Reply
reid Dudley-smith

Would be cool to see a hack where the tilt feature moves coverflow... Or can an iPhone do that already? Hurry up stevesie, set a UK release date!

-Reid.

August 29 2007 at 8:23 PM Report abuse rate up rate down Reply
Phil

That is awesome! I defiantly hope I win that iPhone!

August 29 2007 at 7:20 PM Report abuse rate up rate down Reply
Buy an ad here

Hot Apps on TUAW

Tweets

© 2012 AOL Inc. All Rights Reserved.