Compass QMC5883L doesn't show in ardupilot, but work with betaflight

Unfortunately,the builder fail when I add lua script option.

The script can’t be run by this board. Does any other option exist?

The Skystars H7 HD autopilot has only blackbox NAND for logging (no SD card), so scripting will not work, despite the otherwise decent specs. ArduPilot does not support Lua scripting from within the “file system” created in NAND flash.

I can’t really think of a reason that a common I2C compass module wouldn’t be autodetected at boot, especially if it is working when Betaflight is flashed.

1 Like

I just tested again with betaflight and the compass work. If it’s impossible to run with ardupilot, can I flight without compass?
Screenshot 2023-08-01 135328

You should not accept that it isn’t working.

First, confirm that you are using Copter 4.3.7 official (not a custom build).

Direct link if you need it: ArduPilot firmware : /Copter/stable/SkystarsH7HD-bdshot

Next, confirm that your GPS/compass is connected per the screenshot below.

Lastly, confirm that COMPASS_TYPEMASK=0.

image

4.4beta4 contains a DMA fix for I2C on H7 and F7 - you should try that

1 Like

I installed 4.3.7 , confirmed the wiring and check if COMPASS_TYPEMASK=0, but same result.
Screenshot 2023-08-01 165706
Screenshot 2023-08-01 165712




Same :confused:

I don’t know if it’s helpfull but there the params file:
PARAMS.param (19.7 KB)

At some point I will be able to test as I have all this hardware

Hello,
Did you ever get around to this?
I have the exact same hardware as the author of this post and I also have the exact same issue. Mateksys H743 v3 with a M10Q-QMC5883.

I use it with ArduRover although… Mine even has the ‘compass unhealthy’ in prearm checks as this author has. GPS works fantastic and wiring is checked with a multimeter.

Sorry, not got to it yet - hopefully soon

Just tested this with 4.4.1. Works fine for me with the same GPS and wiring that you have.

Make sure you are using the -bdshot version of the firmware

I have multiple setups with this config - all working - so something is messed up in either your config or wiring

Hi Andy, thank you for your contributions.
I have the same problem as above but with the BrainFPV Radix2 HD board. I have checked wiring, sent pictures of wiring to BrainFPV for sanity check, but cannot get any of my GPS Compass units to be discoverable. Is there a patch in any of the Beta versions. I did not see anything yet.

similar problem here: M10Q-5883 (I2C) and H743 Wing V3:
M10Q works fine using u-center2 but can’t make it work with mission planner ardupilot.

would like to know which UART to use and GPS setup in ardupilot as well as baud rate?
Thank you in advance.

Matek’s wiring diagram shows TX2 and RX2, which maps to SERIAL3. Use autoconfigure, and the baud rate will be auto set, so you don’t have to worry about the baud rate parameter.

Thank you Yuri_Rage.
My Confusion was exactly this, Connect to Tx2 and Rx2 of the H743 Wing V3 but is mapped as Serial3.

I guess 0, 1, 2 Makes it the third serial port :slight_smile:

Thanks again.

1 Like

Not always. Better to check the mapping for the ports on Matek’s site.

https://www.mateksys.com/?portfolio=h743-wing-v2#tab-id-6