Let's Make Robots!

inclination

Discuss general guidelines for self-balancing robots

I'd like to start a discussion to collect general knowledge of what to do and what not to do when building a two-wheeled self-balancing robot (SBR for short).  My hope is that this thread can become a somewhat comprehensive set of guidelines to help beginners and non-beginners build their first balancing robot or  achieve a more stable and successful subsequent design.  Things that I would like to understand include:

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!