Pololu Zumo 2040 Gyroscope Not Working

I have a Pololu Zumo 2040 and the gyroscope isn’t accurate enough. There is a built-in function called gyro_turn and when I run it 4 times, it doesn’t turn right back to where it was. Also, when I start the function, the "Angle: " number changes rapidly even when I’m not moving it. It changes by about 1 degree every 2 seconds then the robot is untouched. This is one of the many issues with this robot… very disappointed.

Hello.

I am sorry to hear you are having trouble with your Zumo. Can you try out the rotation_resist.py example from our Zumo 2040 library, and let us know how that behaves? If that program works as expected, then you might consider adding the calibration routine in that program to gyro_turn.py and checking how much that improves your results. (The gyro_turn.py example is intended to demonstrate a pretty simple application of the gyro and does not include its own calibration routine.)

I am not sure what other issues you might be referring to, but you are welcome to continue posting here or contact us directly, and we would be happy to help.

- Patrick