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 ]
Share
Categories
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
Now we need iMagic 8 ball
August 31 2007 at 5:39 PM Report abuse Permalink rate up rate down ReplyOK, 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/
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.
Marble Madness, we come closer every day.
August 29 2007 at 9:09 PM Report abuse Permalink rate up rate down ReplyWould 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.
That is awesome! I defiantly hope I win that iPhone!
August 29 2007 at 7:20 PM Report abuse Permalink rate up rate down ReplyHot Apps on TUAW
Deals of the Day
more deals- Refurb Apple MacBook Air Laptops: 12" 64GB SSD for $699 + free shipping
- JVC Motion Sensing Clock Radio with Dual iPod Docks for $55 + free shipping
- Apple iPhone Headset with Mic for $4 + $2 s&h
- miFrame Picture Frame Dock for iPad for $64 + $8 s&h
- Refurb Apple iPod nano 8GB MP3 Player for $99 + free shipping, 16GB for $119
- Hannspree Apple-Shaped 28" 1080p LCD HDTV for $270 + free shipping
Software Updates
more updates- EFI Firmware Update brings Lion Internet Recovery to 2010-model Macs
- OS X Lion 10.7.3 released with Safari 5.1.3, Wi-Fi bug fix
- Aperture updated to 3.2.2, addresses Photo Stream issue
- Apple updates Keynote to address Lion issues
- Google Search app gets new look on iPad
- Apple releases Apple TV Software Update 4.4.3



6 Comments