I am trying to connect a MicoAir M10G-5883 GPS unit to my CubeOrange Flight controller, however I get no connetion to neither the GPS nor the integrated Compass unit. I triple checked the connection (RX→Tx & Tx→ RX as well as SDA and SCA connected). The GPS powers on with a blue light, so it should have correct power. I plugged it into GPS2 port and configured Serial 4 for a GPS Receiver with auto discovery on (I also configured the other Ports to be GPS ports, just to be safe, but no luck). But neither GPS (GPS: No GPS) nor the magnetometer (does not turn up in list of magnetometers in configuration screen) appears.
Can anyone tell me if this GPS module is supported in the current Arduplane version? The manufacturer (see link above) says its compatible since Ardupilot Version 4.3?
Is anyone aware of something I might have overlooked?
Does anyone have any Ideas what I could further do to troubleshoot this problem?
I am not able to see and test your system. So it would be helpful at least for you to show us all your params and detailed wiring. The compass section and gps section on the module as well as on the FC are completly independent except the power.
Share your parameter file. Also check that SERIAL3 is disabled (or at least not set to GPS). Only configure the serial port that you’re using to GPS, leave the others disabled or doing something else. Remember that changes to the serial port settings require a reboot to take effect.
@Allister Does it not work if I parametrized the other GPS ports as well? I connected it to the GPS2 Port, therefore only Serial4 should be configured, right?
But do I understand this right? The Firmware 4.6.2 should support this GPS module?
And only Serial4 should be set to GPS. (unless you have multiple GPS units connected, but let’s not confuse the issue) One GPS, one serial port set to GPS.
Okay, thanks for all your replies. I changed the serial4 configuration to GPS (see attached param file). This should be the GPS2 port, to which the GPS is connected.
I also checked the output on missionplanner (see below). But I just do not understand why it does not work. Is this perhaps a compatibility issue after all? Does anybody of you see something obvious?
As you have problems with the detection of both the GPS and the COMPASS on the module did you checked the power directly on the module with a mulitimeter?
I was able to establish a connection after enabling the TXRX Swap flag of the serial port. What is strange, is that I checked the connection between the Autopilot and the GPS again, and I wired it correctly as per instructions (See image somewhere above). I think that the documentation of the MicoAir M10G-5883 is wrong.
So for future reference and for people googling this thread, here is my errors/my solution to a connection problem between the CubeOrange Autopilot and the MicoAir M10G-5883 module:
I erroneously configured multiple GPS units, where only one serial Port should be configured to use GPS, if no other GPS is present.
The documentation of the MicoAir M10G-5883 seems to be wrong, as the RX and TX ports are swapped. To solve this, in the serial port options (SERIALX_OPTIONS), the swap TXRX option bit can be activated.
So thanks again to everybody for pointing my in the right direction especially with point 1!