Blog > Re: Balancing Robot Accelerometer Drop- In Replacement

Home Forums Parallax Propeller: The Official Guide Balancing Robot Accelerometer Drop- In Replacement Re: Balancing Robot Accelerometer Drop- In Replacement

#11819

Hanno
Keymaster

Hi Bryce,
Very cool that you’re building a balancing bot. Can you post a photo of your base?
I’ve been playing around with a 9axis IMU from sparkfun, maybe I’ll build another balancing bot with that.
I believe the accelerometer should read positive when bot is tilted forwards.
Motor 1 should be Left.
Yes, 200 is close enough.
I would try out the MMA8452 and see what values it’s returning. If it really is padding the LSB, then you can shift 4 to the right, that should take care of sign as well.
Good luck!
Hanno