Let's Make Robots!


Accelerometer as a Inclination (pitch) sensor

Hello everybody!

I'm an robotics hobbist an I'm planning to put some sensors and a microcontroller to a RC Car to log some status data.

First sensing will be reading pitch angle when RC car is running uphill and downhil using a 3-axis accelerometer. I've read some documentation on how to do this and a little bit confused, my question is:

How to convert accelerometer values to angles when RC Car is moving? I'm only interested in inclination angle, pitch.


Thanks in advance!