Re: Revo AuxMag
« Reply #375 on: January 09, 2017, 10:50:50 pm »
I think that the authentic DJI GPS uses generation #6 Ublox GPS.

Most all the other brands, including clone DJI GPS use generation #8 Ublox GPS.

The older GPS version can only see USA GPS satellites.  The newer GPS version can use other countries' versions of GPS, notably Russian satellites, so the clones are better in that regard.  The clone that I bought has two firmware problems and one hardware problem though.  I wrote the DJI driver, so I did a lot of overnight testing.  :)

I fly (or have flown a lot) OP GPS (several versions), APM, PixHawk, DJI (authentic and clone) and they all work, even the DJI clone with the problems has only had a noticeable issue once, and I switched to Attitude mode to land it.

To switch to a different brand of GPS, you must change both the GPS type and the mag type.  Maybe that is the issue you had.

Jhinta

  • ***
  • 198
Re: Revo AuxMag
« Reply #376 on: January 09, 2017, 11:09:44 pm »
I think that the authentic DJI GPS uses generation #6 Ublox GPS.

Most all the other brands, including clone DJI GPS use generation #8 Ublox GPS.

The older GPS version can only see USA GPS satellites.  The newer GPS version can use other countries' versions of GPS, notably Russian satellites, so the clones are better in that regard.  The clone that I bought has two firmware problems and one hardware problem though.  I wrote the DJI driver, so I did a lot of overnight testing.  :)

I fly (or have flown a lot) OP GPS (several versions), APM, PixHawk, DJI (authentic and clone) and they all work, even the DJI clone with the problems has only had a noticeable issue once, and I switched to Attitude mode to land it.

To switch to a different brand of GPS, you must change both the GPS type and the mag type.  Maybe that is the issue you had.

is there a source? (arduino?)
the one i have clearly doesnt work , rotating gps does almost nothing (power my smoker -> sould spike where is does only +/-1) have one of a friend where you clearly can see it spiking.
i just have realy bad luck ordering.
this one i got and not working just for ref ( https://nl.aliexpress.com/item/2016-HOT-OCDAY-NEO-M8N-GPS-Compatible-for-DJI-NAZA-Lite-V1-V2-Flight-Controller-SEP/32728812578.html )

but did go for ex-i2c mag and is fully working , but 1 port missing by that ( hoping one will ad x-bus-srxl  once its released :P)
« Last Edit: January 09, 2017, 11:19:15 pm by Jhinta »

Re: Revo AuxMag
« Reply #377 on: January 11, 2017, 08:47:55 pm »
is there a source? (arduino?)
the one i have clearly doesnt work , rotating gps does almost nothing (power my smoker -> sould spike where is does only +/-1) have one of a friend where you clearly can see it spiking.

Sorry.  I don't understand what you are asking.  :(

Jhinta

  • ***
  • 198
Re: Revo AuxMag
« Reply #378 on: January 11, 2017, 09:00:26 pm »
is there a source? (arduino?)
the one i have clearly doesnt work , rotating gps does almost nothing (power my smoker -> sould spike where is does only +/-1) have one of a friend where you clearly can see it spiking.

Sorry.  I don't understand what you are asking.  :(

arduino source so i can add gps en mag to a arduino and arduino to revo
somwthing like this https://oshpark.com/profiles/Pawelsky

Re: Revo AuxMag
« Reply #379 on: January 11, 2017, 09:06:51 pm »
It's my understanding that the source for that is closed and copyrighted.  The Chinese took it anyway and that is why we have DJI GPS clones.  There may have been a hex file or other binary available at some time.  I don't know more.

Most people just by a DJI GPS.  Clones are about $28 and authentic are about $38.

You can also buy the Arduino powered adapter with code already in it.

All these can be found on eBay by searching something like:
DJI GPS

Re: Revo AuxMag
« Reply #380 on: January 11, 2017, 09:08:08 pm »
Pawelsky was active on RCGROUPS too.  That is where I saw a thread on this stuff.

hwh

  • *
  • 1018
Re: Revo AuxMag
« Reply #381 on: January 12, 2017, 01:53:11 am »
Cliff's right, the firmware was written by Pawelsky and released on rcgroups as a hex file only.  He specifically stated he didn't want it used commercially.  The Chinese ignored him, copied the idea and design of his adapter and the hex file itself, and put out the clones.  This upset him (and rightly) and he doesn't like the clone gps units.   They do run his unmodified hex file. 

Back last year when Cliff was working on adding support for these GPS into LP I contacted Pawelsky and asked if he'd consider releasing the source code and he said no.  I don't know if he's changed his mind since then.

Even if you had the source it's hard to update the firmware in the clones, most of the time the Chinese don't burn an Arduino boot loader on them so you have to use an actual Atmel programmer to update them.

The thread over there is https://www.rcgroups.com/forums/showthread.php?2290346-Naza-v1-v2-Lite-GPS-module-alternative-(using-APM-2-6-GPS-compass-combo)

gon

  • *
  • 30
Re: Revo AuxMag
« Reply #382 on: May 03, 2017, 02:37:21 am »
Hi!
I'm trying to use the aux mag from my Ublox M8 (https://www.amazon.es/gp/product/B01FXD4BFS/).
The GPS works pretty well, but I'm not able to read the mag through I2C.
I've followed this indications https://librepilot.atlassian.net/wiki/display/LPDOC/Aux+Mag+Setup+and+Calibration and did all the connections properly, (including the connection of the battery before usb) but when I connect the usb, the I2C symbol in the System Health is in black with the red cross saying that the I2C has timed out. The STAB is blinking from green to black with the red cross each second (I guess due to the mag missing)

The mag's wires from the I2C bus were already in the gps when I bought it, I didn't solder anything. To discard it is a problem with the unit, I tried to connect it to an Arduino through I2C and I was detecting the device and even reading the mag without any problem. So I'm pretty sure the GPS+Mag is perfectly fine.

I've also tried to connect the Arduino to the Revo through I2C to see if it detects the fc without success, so I think the problem comes from the Revo board (Using 16.09 build).

What could I try to check if the I2C is working on the Revo side? The UAVO say:
  • event_log -> I2C_EVENT_BUS_ERROR
  • state_log -> I2C_STATE_FSM_FAULT

I've been trying to fix this these last days without success, would love to get some ideas! :)

gon

  • *
  • 30
Re: Revo AuxMag
« Reply #383 on: May 03, 2017, 12:16:14 pm »
Okay I think the problem comes from my Flexi port. I used it before for telemetry and worked fine with an arduino, so this is why I thought the port wasn't faulty. But I've tried again for telemetry and it doesn't work anymore.

Is it possible that something has broken inside this port? Is there any way to fix it or change it?

Thanks

Re: Revo AuxMag
« Reply #384 on: May 05, 2017, 07:44:07 pm »
One common problem is that a pin inside the FC connector has bent over sideways.  I have very thin needle nose pliers that I have fixed this with.  First a #11 Xacto blade to get the bent pin centered a bit more and then needle nose pliers to clamp it straight again.

If that isn't it, look over it for crash damage in that area.

I had a new board come with a badly soldered connector that I had to resolder.  Maybe a weak joint broke.

Does it have power coming out?  There are functions that transmit only or receive only so as long as it isn't + or -, you might find that it is still OK for some things.

gon

  • *
  • 30
Re: Revo AuxMag
« Reply #385 on: May 06, 2017, 07:09:32 pm »
It has power coming out, but I don't see any visible flaw.

But the HobbyKing team has returned me the money and I bought a new one! (Very happy with their aftersales service)

Thank you anyway!