MPU6050: Self test acc Y [FAIL] - motor problem?

Post here to get support
tomgilbert
Beginner
Posts: 2
Joined: Tue May 07, 2013 7:21 pm

MPU6050: Self test acc Y [FAIL] - motor problem?

Post by tomgilbert »

I seem to have broken something already...DOH!

Crazyflie has been flying pretty well for a couple of days, although never yet hovering *exactly* in one place when thrust applied, always some small amount of bias that needed to be compensated for. Significant amount of crashing going on (!) since a challenge to keep in a small area as a result (ok, pilot error), but has survived well so far.

Tonight something has happened so that the self test on start fails. All props appear to turn, but the test then fails with the red LED flashing 5 times quickly. Is this something that can be fixed by replacing a motor? Some of the white wire plastic covering to motor M4 has been pierced in a rough landing, but I think the electrical connection is still fine.

Console reports (first showing a success from earlier, then a failure):
SYS: Crazyflie is up and running!
SYS: Build 31:ba1d111112ad (2013.4) CLEAN
SYS: I am 0x871149505456854966BFF50 and I have 128KB of flash!
IMU: MPU6050 I2C connection [OK].
IMU: HMC5883 I2C connection [OK].
IMU: MS5611 I2C connection [OK].
MPU6050: Self test [OK].
HMC5883L: Self test [OK].
MS5611: Self test [OK].
SYS: Crazyflie is up and running!
SYS: Build 31:ba1d111112ad (2013.4) CLEAN
SYS: I am 0x871149505456854966BFF50 and I have 128KB of flash!
IMU: MPU6050 I2C connection [OK].
IMU: HMC5883 I2C connection [OK].
IMU: MS5611 I2C connection [OK].
MPU6050: Self test acc Y [FAIL]. low: 0.300000, high: 0.949999, measured: 0.0
idhorst
Beginner
Posts: 6
Joined: Thu Feb 14, 2013 3:33 pm

Re: MPU6050: Self test acc Y [FAIL] - motor problem?

Post by idhorst »

Didn't even get to fly it yet and have a similar problem.

SYS: Crazyflie is up and running!
SYS: Build 26:5f65b66e004d (Production-V2) CLEAN
SYS: I am 0x8720432953568549672FF54 and I have 128KB of flash!
IMU: MPU6050 I2C connection [OK].
IMU: HMC5883 I2C connection [OK].
IMU: MS5611 I2C connection [OK].
MPU6050: Self test gyro X [FAIL]. low: 10.0, high: 105.0, measured: 0.0

Although I haven't connected a controller yet...
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: MPU6050: Self test acc Y [FAIL] - motor problem?

Post by tobias »

We have actually never experienced that the MPU6050 breaks but unfortunately it looks like it in these cases. To make it worse the Crazyflie wont be able to fly with a broken Y Gyro. Before we assume that though I would like you to do a test.
Turn on the Crazyflie then start slowly moving it around. Connect to it and send me the same command prompt output. If the Y output still measures 0.0 then it is probably broken. It is possible to replace it but that requires good soldering skills and a hot air station.

We will take this discussion up with Seeedstudio and get back to you guys if they really are broken.
tomgilbert
Beginner
Posts: 2
Joined: Tue May 07, 2013 7:21 pm

Re: MPU6050: Self test acc Y [FAIL] - motor problem?

Post by tomgilbert »

Thanks for getting back. In my case the problem seems to have resolved itself somehow. I've turned the crazyflie on and off at least 5 times today and each time a normal startup is reported:
SYS: Crazyflie is up and running!
SYS: Build 31:ba1d111112ad (2013.4) CLEAN
SYS: I am 0x871149505456854966BFF50 and I have 128KB of flash!
IMU: MPU6050 I2C connection [OK].
IMU: HMC5883 I2C connection [OK].
IMU: MS5611 I2C connection [OK].
MPU6050: Self test [OK].
HMC5883L: Self test [OK].
MS5611: Self test [OK].

The only issue I have at the moment is that on launch (touching just thrust) the copter won't ever go straight up & then down, it always drifts in a direction & I have to try and compensate with the controller to keep it in a small area. I haven't yet worked out if the drift direction is always consistent (quite hectic indoors!).
I guess I need to read in more detail everything you guys have posted about controller configuration (& trim) as well as check all motors to check for bent axles & propeller balance.

[controller is a Saitek Cyborg V.1 Game Pad]

Great fun, though!
idhorst
Beginner
Posts: 6
Joined: Thu Feb 14, 2013 3:33 pm

Re: MPU6050: Self test acc Y [FAIL] - motor problem?

Post by idhorst »

I still have the Gyro X fail message. Flashed the latest firmware but to no avail. Hope you can do something about it.

ng!
SYS: Build 31:ba1d111112ad (2013.4) CLEAN
SYS: I am 0x8720432953568549672FF54 and I have 128KB of flash!
IMU: MPU6050 I2C connection [OK].
IMU: HMC5883 I2C connection [OK].
IMU: MS5611 I2C connection [OK].
MPU6050: Self test gyro X [FAIL]. low: 10.0, high: 105.0, measured: 0.0
marcus
Bitcraze
Posts: 659
Joined: Mon Jan 28, 2013 7:02 pm
Location: Sweden
Contact:

Re: MPU6050: Self test acc Y [FAIL] - motor problem?

Post by marcus »

Hi idhorst,
tobias wrote:Turn on the Crazyflie then start slowly moving it around. Connect to it and send me the same command prompt output. If the Y output still measures 0.0 then it is probably broken.
Could you try this and post the output. It's important that you start moving it just after you power it on.

/Marcus
idhorst
Beginner
Posts: 6
Joined: Thu Feb 14, 2013 3:33 pm

Re: MPU6050: Self test acc Y [FAIL] - motor problem?

Post by idhorst »

I did as you instructed but the console message remains the same:

ng!
SYS: Build 31:ba1d111112ad (2013.4) CLEAN
SYS: I am 0x8720432953568549672FF54 and I have 128KB of flash!
IMU: MPU6050 I2C connection [OK].
IMU: HMC5883 I2C connection [OK].
IMU: MS5611 I2C connection [OK].
MPU6050: Self test gyro X [FAIL]. low: 10.0, high: 105.0, measured: 0.0

Did it a couple of times and the only thing that changes is the first line (ng!).
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: MPU6050: Self test acc Y [FAIL] - motor problem?

Post by tobias »

The MPU6050 is probably broken or the soldering has cracked. Can you begin by emailing Seeedstudio support about this and we will take it from there?
bkolb
Beginner
Posts: 4
Joined: Sun May 12, 2013 10:11 pm

Re: MPU6050: Self test acc Y [FAIL] - motor problem?

Post by bkolb »

I have a similar problem:

SYS: Crazyflie is up and running!
SYS: Build 31:ba1d111112ad (2013.4) CLEAN
SYS: I am 0x8714365554568549679FF50 and I have 128KB of flash!
IMU: MPU6050 I2C connection [OK].
IMU: HMC5883 I2C connection [OK].
IMU: MS5611 I2C connection [OK].
MPU6050: Self test acc X [FAIL]. low: 0.300000, high: 0.949999, measured: 1.71777

I guess the root cause is the same?

Should I mail to Seedstudio as well?

Cheers,
Bernd
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: MPU6050: Self test acc Y [FAIL] - motor problem?

Post by tobias »

I guess the root cause is the same?
If it doesn't report 0.0 it can be because that the Crazyflie was moved to much during self test. Try putting it on a stable surface and power it on. Do you get the same result?
Post Reply