Filed under: Multimedia, Hacks, How-tos, Developer, iPhone
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 ]


![TUAW [Cafepress]](http://www.blogsmithmedia.com/www.tuaw.com/media/tuaw-cafepress-promo.png)


Reader Comments (Page 1 of 1)
Phil said 7:20PM on 8-29-2007
That is awesome! I defiantly hope I win that iPhone!
Reply
reid Dudley-smith said 8:24PM on 8-29-2007
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.
Reply
Aaron Yates said 9:09PM on 8-29-2007
Marble Madness, we come closer every day.
Reply
ian said 7:43AM on 8-30-2007
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.
Reply
mathie said 9:04AM on 8-30-2007
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/
Reply
aarongarn said 5:41PM on 8-31-2007
Now we need iMagic 8 ball
Reply