f5soh

  • *****
  • 4572
    • LibrePilot
Re: Revo AuxMag
« Reply #120 on: April 18, 2016, 06:53:48 pm »
Do a clean/minimal config.

Upgrade&Erase
Flash custom firmware
Setup wizard

Jhinta

  • ***
  • 198
Re: Revo AuxMag
« Reply #121 on: April 18, 2016, 07:31:05 pm »
on v2, full reset, then update,
seems to be owkring ,, will try 20x times see how many fails i get .

bat charging will report later
« Last Edit: April 18, 2016, 07:44:45 pm by Jhinta »

f5soh

  • *****
  • 4572
    • LibrePilot
Re: Revo AuxMag
« Reply #122 on: April 18, 2016, 08:26:18 pm »
Another custom firmware, we need to determine how many delay is really needed.

For users with AuxMag issues, update your build:

git pull and rebuild GCS
You should see "GCS 15.09+r596-g61ce3d6" on top of window.

Go to firmware tab:
- Rescue
- Open firmware you just downloaded from this post
- Flash

Test with a basic Auxmag config using setup wizard if I2C alarm still.
Because i don't want to build a firmware using a new UAVO set i used the GPSSettings>MinSatellites parameter for testing purposes.
"0" should give the same delay as current next so it should fail for users that experienced the auxmag issue.

Next step, increase the MinSatellites to 2, 3, 4... and test which value is needed for green I2C alarm after battery-only boot.
Change MinSatellites value and save with the small Hdd icon with red arrow.


« Last Edit: April 18, 2016, 09:46:34 pm by f5soh »

Re: Revo AuxMag
« Reply #123 on: April 18, 2016, 08:57:34 pm »
@Ariele Please post a screenshot of your Magnetometer tab while all values are set to 0, and both mag calibrated and without alarm of course.


The problem is when i center and save move the frame and the value change and wan't back to center.


I try to download a firmware.

Jhinta

  • ***
  • 198
Re: Revo AuxMag
« Reply #124 on: April 18, 2016, 09:03:27 pm »
oke when i leave every thing like default full erase , every thing is oke ,, i can repower all oke , but when setting up my drone some where it failes( doesnt mater witch setting it will just fail at some point)

is there a option for a terminal output?
« Last Edit: April 18, 2016, 09:08:46 pm by Jhinta »

f5soh

  • *****
  • 4572
    • LibrePilot
Re: Revo AuxMag
« Reply #125 on: April 18, 2016, 09:08:24 pm »
The problem is when i center and save move the frame and the value change and wan't back to center.
I try to download a firmware.

If your Mag is already working you don't need to test the firmware. Do you have issue while powering with battery and I2c mag go orange ?

@Ariele Please post a screenshot of your Magnetometer tab while all values are set to 0, and both mag calibrated and without alarm of course.

Re: Revo AuxMag
« Reply #126 on: April 18, 2016, 09:31:44 pm »
is it but now i'm in home and only one is green....but i repeat when i change the position of frame the value don't go to center...what's appened?. No problem with I2C but i can't understand why augmag or board mag are really unstable.
screenshot

f5soh

  • *****
  • 4572
    • LibrePilot
Re: Revo AuxMag
« Reply #127 on: April 18, 2016, 09:37:35 pm »
First you need both mags without alarms, without that you cannot achieve the Auxmag orientation.
Without motors spinning it can be done easily, be sure you remove buzzer or some others magnetic object around the board.
I wonder how you find the 22° value.

If orientation is correct you can move, turn the frame and the 3 bars always return to 0.

Xviews

  • **
  • 51
Re: Revo AuxMag
« Reply #128 on: April 18, 2016, 09:38:25 pm »
Okay my test

On "4" I2C going Green (0,1,2,3 I2C Yellow)
I had tested the I2C on "4" more than 10 times without a Yellow I2C  ;)

I hope it helps

Another custom firmware, we need to determine how many delay is really needed.

Because i don't want to build a firmware using a new UAVO set i used the GPSSettings>MinSatellites parameter for testing purposes.
"0" should give the same delay as current next so it should fail for users that experienced the auxmag issue.

Next step, increase the MinSatellites to 2, 3, 4... and test which value is needed for green I2C alarm after battery-only boot.
Change MinSatellites value and save with the small Hdd icon with red arrow.


f5soh

  • *****
  • 4572
    • LibrePilot
Re: Revo AuxMag
« Reply #129 on: April 18, 2016, 09:41:26 pm »
Great, thanks for testing.
This means 200ms delay.

We need more testers for this I2C mag issue.

Your GPS is the ones that comes without i2c wires ?

Xviews

  • **
  • 51
Re: Revo AuxMag
« Reply #130 on: April 18, 2016, 09:43:06 pm »
thanks for nice developing
Yes without i2c wires.

"Ublox NEO-M8N GPS For Mini CC3D / Revolution Flight Controller Built-in Compass"

@f5soh can you upload an 200ms delay firmware? For a test flight with GPS and MAG
« Last Edit: April 18, 2016, 09:54:41 pm by Xviews »

Jhinta

  • ***
  • 198
Re: Revo AuxMag
« Reply #131 on: April 18, 2016, 09:45:28 pm »
Wtx

Had evrything setup till gps-ins (error) setback to com+mag reboot (multi oke) -> reset gps-ins -> error -> multi reboot error-> reset back to com+mac -> muti reboot oke -> com+mac+gps -> multi reboot all oke ....
so was thinking found problemen , gues what , now i set it to gps-ins again ,, no problem WTX mutti reboot no problem  ??? ??? ??? after 5 min errors again

one thing i can say for sure is that when com+mac and/or + gps seetings are set, no boot problems
 gps-ins giving me a hard time
« Last Edit: April 18, 2016, 10:17:49 pm by Jhinta »

Re: Revo AuxMag
« Reply #132 on: April 19, 2016, 09:26:11 am »
First you need both mags without alarms, without that you cannot achieve the Auxmag orientation.
Without motors spinning it can be done easily, be sure you remove buzzer or some others magnetic object around the board.
I wonder how you find the 22° value.

If orientation is correct you can move, turn the frame and the 3 bars always return to 0.

22° is the value to get center of all parametres but after your suggenstions i think the calibration is not good becouse i do it with buzzer on and it create a error on board and aux mag?
I need to do again a calibration of mag and post a result.
Tanx

f5soh

  • *****
  • 4572
    • LibrePilot
Re: Revo AuxMag
« Reply #133 on: April 19, 2016, 12:05:28 pm »
yes, remove buzzer.

Start monitoring the Z axis and adjust the Roll value, usually 0° or 180°.
This can be found just looking if mag chip is facing up or down.

Next, change the Yaw value to get all axis / bargraphs centered to 0.
There is no doubt when the orientation is found.





« Last Edit: April 19, 2016, 12:48:35 pm by f5soh »

Re: Revo AuxMag
« Reply #134 on: April 19, 2016, 02:10:19 pm »
Okay i try to do it later becouse now i'm at work...i use oplink not a cable is it a problem?
Post a result later