iPhone accelerometer hacks

Technology

Erling Ellingsen figured out how to retrieve high sample rate measurements from the iPhone’s built-in accelerometer:

As it turns out, the iPhone has a built-in LIS302DL, a tiny 3-axis accelerometer. While some have attempted to use it from within the Safari browser (the Tilt game detects changes to the width of the browser page; it is basically used as a 1-bit input device), its potential is still somewhat untapped.

He’s posted the necessary source, so now you can get to work on your own motion-input applications.

iPhone accelerometer source code – Link

Discuss this article with the rest of the community on our Discord server!
Tagged

ADVERTISEMENT

Maker Faire Bay Area 2023 - Mare Island, CA

Escape to an island of imagination + innovation as Maker Faire Bay Area returns for its 15th iteration!

Buy Tickets today! SAVE 15% and lock-in your preferred date(s).

FEEDBACK