I successfully calibrated the MPU, but Nybble doesn't seem to react to any rotation.
I tried the balance skill in both WriteInstinct and the Nybble sketch. It moves to a standing posture, but doesn't react at all to pushes from side to side or tilting the surface it's on. It just stays locked in the standing posture.
When I start it with the Nybble sketch it seems to initialize correctly:
Connect MPU6050
Test connection
MPU successful
Initialize DMP
1786 63 3 118
Enable DMP
Enable interrupt
DMP ready!
Any ideas what I'm missing?
Awesome! That fixed it. Thank you!
Try connect jumper SW3 between Batt and V_s. The yaw will float because there’s no compass as reference.
Here is a video of the testMPU sketch running https://www.youtube.com/watch?v=J1Pq2I6rK-Y
Here is the video https://www.youtube.com/watch?v=4pyx8JWAhgU
Pardon the messy wires, I was focused on getting it working :)
Nybble should self-balance with Nybble.ino.
WriteInstinct.ino only writes constants.
1. Try module test sketch for MPU6050 to validate its functionality (It should can print angle data).
2. Try to press the reset button or reconnect the battery switch. Sometimes the Arduino chip will halt due to voltage fluctuation.
A video will be more informative for debugging.