iPhone accelerometer hacks


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!


Ready to dive into the realm of hands-on innovation? This collection serves as your passport to an exhilarating journey of cutting-edge tinkering and technological marvels, encompassing 15 indispensable books tailored for budding creators.