-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
accZ is always -2.00 on ESP32 #35
Comments
Did you check your input voltage ? If yes, did you try to reset the esp ? Each time im using the mpu, the first time im turning on the mpu it's giving me wrong datas but when i reset it, it's working correctly. I didn't find why it's doing that (probably some registers inside the esp or the mpu wich are not going on the same state when turning up and reseting...) |
Just checked with a different 5V supply just for the MPU, it's the same. I will try to get another gy521 to test it. |
I think its supposed to be 3.3V not 5V |
Even in 3.3V it is doing the same :( |
I'm using mpu6050.calcGyroOffsets(); on setup while it's resting on my table.
The acceleration I get (with the example code only) are:
accX : -1.50 accY : -1.19 accZ : -2.00
X and Y are weird because it's sitting still on my table, but they at least change.
the Z stays at -2.00 no matter how I wiggle it.
it's a gy521 connected with I2C to ESP32 dev board.
any ideas on how to debug it?
Calculating offsets gave me:
X : -370.80
Y : 1.26
Z : -5.39
if that somehow helps.
The text was updated successfully, but these errors were encountered: