Sign in


Many devices have integrated accelerometers among many other sensors. This article is intended as a practical guide to translating accelerometer output into angular position or angular position change (delta) and serve as a basis for more complicated articles. Reading the Pitfalls section is important because this attempts to be a shortcut to direct application.

There are some assumptions for applying the methods here:

  • Access to accelerometer output, this is not a guide about a particular hardware environment as there are far to many variations in platforms to cover here. You need to have output before starting.
  • Basic coding proficiency, basic…

Nick M.

Robots, industrial processes, firmware development, and making things work in general are my trade and leisure activities.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store