Closed slowrunner closed 4 years ago
I have used at least half a dozen different MPU 6050/9250 and have found the accelerometer to be very accurate with no need for calibration. Additionally, to get a true calibration in a lab setting high precision jigs are required, although a level surface or block can also do the trick. That being said, I can create an additional function if you would find it useful.
How did you complete your calibration? Accelerometers do not drift like gyroscopes and in theory the calibration values can be hard coded opposed to being evaluated every time at start up. The Adafruit guide here goes into a little more detail.
main.py runs a gyro cal, but not an accelerometer cal.
Is there a reason?
I created one and get these results:
but I haven't tried factoring the offset into processValues()