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!

what happens if you continue

what happens if you continue to convert and record while moving, the same as not moving?

you could average multiple readings to smooth out vibration or other noise (last 5 samples?).

problem are you concerned about, created by moving?

Thanks for your response

Thanks for your response PaulJD,

I haven’t tried moving accelerometer yet because I’m testing on my workbench, obtained values are correct when no motion is present, but as I’ve read, when accelerometer is in motion, some accelerations afect output values so angles obtained when car is in motion should not be correct.

My question is Can I obtain inclination of my RC Car using one acceleromter when it’s moving? or should I use another  kind of sensor?

Thank you very much!

 

Thanks for your response

Thanks for your response PaulJD,

I haven’t tried moving accelerometer yet because I’m testing on my workbench, obtained values are correct when no motion is present, but as I’ve read, when accelerometer is in motion, some accelerations afect output values so angles obtained when car is in motion should not be correct.

My question is Can I obtain inclination of my RC Car using one acceleromter when it’s moving? or should I use another  kind of sensor?

Thank you very much!

Links

I would start here

http://www.societyofrobots.com/sensors_accelerometer.shtml

then maybe here if needed

http://www.societyofrobots.com/sensors_interpret.shtml