HMC doesn´t work ....

Post Reply
karsten j.
Posts: 16
Joined: Mon Mar 05, 2012 7:22 am

HMC doesn´t work ....

Post by karsten j. »

Hello

I have a strange problem with my HMC5883 on my Jussi-Shield V1.2. These sensors are installed:
-orign. WMP
-BMA020
-HMC5883
-BMP085

In the GUI everything is ok, gyro, mag, roll, directions, I can activate the MAG and it goes green in the GUI, no I2C Errors.
BUT when I fly, the copter doesn´t react on a manual turn of the copter...
When I turn the copter in the air, he remains at the new position...
I´ve 3 other copters that turns back (normal Mag function...)
I´ve also changed the Mag and tried other softwares (1.8p2, 1.9, 2.0), but without effort..

Any idea ?

FYI: I´ve tried several times to connect the I2C-GPS to this Board... Could it be possible, that I´ve damaged the first arduino ?

karsten j.
Posts: 16
Joined: Mon Mar 05, 2012 7:22 am

Re: HMC doesn´t work ....

Post by karsten j. »

What the hell...

ok, the problem is still there...
What I´ve done:
- change the Arduino Pro Mini
test : no effort
-change the BMA 020
test: no effort
-change the WMP
test: no effort

===???=== I´ve changed everything besides the Jussiboard and the MAG still doesn´t run !!
Have somebody ever had such a ??

I don´t know what to do...

cheers
Karsten

karsten j.
Posts: 16
Joined: Mon Mar 05, 2012 7:22 am

Re: HMC doesn´t work ....

Post by karsten j. »


mr.rc-cam
Posts: 457
Joined: Wed Jul 27, 2011 11:36 pm

Re: HMC doesn´t work ....

Post by mr.rc-cam »

1. Carefully observe the items installed in the Gyro sensor's proximity. Things like magnets or any metal items are forbidden because they will affect the measured magnetic fields.
2. Repeat the "3D" all-axis Gyro calibration using the GUI button. Slowly rotate the model on all of its axis until the status LED goes out (about 30 secs).

capt
Posts: 54
Joined: Wed Jan 19, 2011 10:54 pm

Re: HMC doesn´t work ....

Post by capt »

OK I have one with similar problems and I suspect my SeeduinoMega board, I have removed everything and still I am getting errors. The next step will to be remove the board and touch all the pins with a solder tip to make sure a pin did not break loose. If that don't fix it the board must be dying.

capt
Posts: 54
Joined: Wed Jan 19, 2011 10:54 pm

Re: HMC doesn´t work ....

Post by capt »

I removed the mag from the mega board and put it on my promini quad and all is working well, my mega board has died.
I had to change the code (added -Z) in the code to get the right orientation.
I also have the APC220's working good after setting 57600 baud in cofigH and connecting to FTDI on promini, use 57600 in WinGUI.

Time for a Flyduino to clean things up and GPS :)


//****** end of advanced users settings ***********************************
/* ===================================================================== */

//if you want to change to orientation of individual sensor
//#define ACC_ORIENTATION(X, Y, Z) {accADC[ROLL] = Y; accADC[PITCH] = -X; accADC[YAW] = Z;}
//#define GYRO_ORIENTATION(X, Y, Z) {gyroADC[ROLL] = -Y; gyroADC[PITCH] = X; gyroADC[YAW] = Z;}
#define MAG_ORIENTATION(X, Y, Z) {magADC[ROLL] = X; magADC[PITCH] = Y; magADC[YAW] = -Z;}
Attachments
IMAG0749 (480x287).jpg
IMAG0751 (640x383).jpg

Post Reply