MPU6050 ACC constantly rotating

This forum is dedicated to all issues and questions related to your individual setups and configurations
Post Reply
Cereal_Killer
Posts: 221
Joined: Fri Mar 06, 2015 5:44 am

MPU6050 ACC constantly rotating

Post by Cereal_Killer »

Hey guys, about a week ago my tricopter crashed and I couldnt afford a new PLA 3D printed body so I changed over to a scratch built / DIY style body. I got everything back together (using all the same parts) and plugged it into the GUI to check the RC inputs and general stuff before flying (even tho again, all the same parts minus the OLED display which I didnt want on this build)...

Well for some reason the ACC is not zeroing, no matter how many times I try a calibration (both with the calibrate button in the GUI and with stick commands) it always reads -2* and that causes a couple issues making it so it cant be flown. The thing thinks it's constantly spinning so it tries to apply more and more opposite rudder till the servo is maxed out. When it's sitting there PERFECTLY STILL the compass (and the little tri icon both) are spinning round and round, it takes about 30-40 seconds for it to make one full rotation.

What gives? There are no i2c errors, could the MPU6050 really have went bad in the span of sitting for a week while I rebuilt? Do I need to just order another IMU board now or are there other things I can try first to fix this one? I havent tried a filter cause it specifies "gyro" filter, does it apply the filtering to the ACC readings too? Should I try adding some filtering in to stop it? I did have the i2c lines running over top of the MPU6050 ic but no power lines and I have since rerouted them around the little IMU board all together, could some inductance from those wires have shorted / damaged the gyro/acc internally in the ~15-20 minutes they were powered (total while I was trying to fix it) before I rerouted them? Again to reiterate, it was only the 2 data lines, NO POWER LINES(+ or GND) ran over the gyro at any time and I didnt have this problem at all with it in the old body.

waltr
Posts: 733
Joined: Wed Jan 22, 2014 3:21 pm
Location: Near Philadelphia, Pennsyvania, USA

Re: MPU6050 ACC constantly rotating

Post by waltr »

Silicon Accelerometer chips have been know to get 'stuck' when subjected to impacts (see the data sheet for the MAX spec).
Sometimes another sharp impact can pop the moving part loose and it will work again.
If not then either replace the chip or the board depending on your soldering skills and/or money.

Post Reply