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.
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?
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?