xbnr99
(Jfff )
July 30, 2023, 11:11pm
2
This sounds like it may be a wiring problem. Or a parameter problem.
Check that your serial port setting (SERIAL_PROTOCOL) parameter setting is fir the serial port that the GPS is actually wired to .
dkemxr
(Dave)
July 31, 2023, 12:04am
3
Try flashing 4.4.0-beta3 and see if it’s recognized.
I tried 4.4.0-Beta3 but still nothing :
The I2C and UART wiring is good. The gps work perfectly, but not the compass inside the M10Q-5883 module.
andyp1per
(Andyp1per)
July 31, 2023, 8:09am
6
I have two of these and both work fine, so it is a problem with your config.
Try the -bdshot target and see if that works any better
dkemxr
(Dave)
July 31, 2023, 2:53pm
7
I only see a Bdshot version for the Skystars FC.
What do you mean by:
andyp1per:
Try the -bdshot target
?
Is Bdshot a ecs protocol or something else?
Do you talk about H743-HD and M10Q-5883.
If your talking about this combination, can you link your params file?
HeRobrain_3
(HeRobrain Person)
July 31, 2023, 6:30pm
10
I don’t know if it’s helpful.
LOGS:
2023-07-31 2:28:09 PM : PreArm: Compass not healthy
2023-07-31 2:28:09 PM : PreArm: 3D Accel calibration needed
2023-07-31 2:27:41 PM : ELRS: Link rate 500Hz, Telemetry rate 125Hz
2023-07-31 2:27:38 PM : PreArm: Compass not healthy
2023-07-31 2:27:38 PM : PreArm: 3D Accel calibration needed
2023-07-31 2:27:36 PM : ELRS: Link rate 500Hz, Telemetry rate 154Hz
2023-07-31 2:27:32 PM : u-blox 1 HW: 000A0000 SW: ROM SPG 5.10 (7b202e)
2023-07-31 2:27:31 PM : ELRS: RSSI now displays normally
2023-07-31 2:27:31 PM : ELRS: Link rate 150Hz, Telemetry rate 65448Hz
2023-07-31 2:27:31 PM : RCInput: decoding CRSF(3)
2023-07-31 2:27:18 PM : GPS 1: detected as u-blox at 230400 baud
2023-07-31 2:27:15 PM : EKF3 IMU0 tilt alignment complete
2023-07-31 2:27:14 PM : AHRS: EKF3 active
2023-07-31 2:27:14 PM : EKF3 IMU0 initialised
2023-07-31 2:27:12 PM : CRSFv2: requesting RX device info
2023-07-31 2:27:12 PM : Frame: QUAD/X
2023-07-31 2:27:12 PM : RCOut: PWM:1-8 NeoP:9
2023-07-31 2:27:12 PM : SkystarsH7HD-bdshot 0048003B 34325106 31313336
2023-07-31 2:27:12 PM : ChibiOS: 1ec9f168
2023-07-31 2:27:12 PM : ArduCopter V4.4.0-beta3 (3c4abe46)
2023-07-31 2:27:12 PM : Frame: QUAD/X
2023-07-31 2:27:12 PM : RCOut: PWM:1-8 NeoP:9
2023-07-31 2:27:12 PM : SkystarsH7HD-bdshot 0048003B 34325106 31313336
2023-07-31 2:27:12 PM : ChibiOS: 1ec9f168
2023-07-31 2:27:12 PM : ArduCopter V4.4.0-beta3 (3c4abe46)
2023-07-31 2:27:12 PM : RCOut: PWM:1-8 NeoP:9
2023-07-31 2:27:12 PM : AHRS: DCM active
2023-07-31 2:27:12 PM : ArduPilot Ready
2023-07-31 2:27:11 PM : Frame: QUAD/X
2023-07-31 2:27:11 PM : RCOut: Initialising
2023-07-31 2:27:11 PM : SkystarsH7HD-bdshot 0048003B 34325106 31313336
2023-07-31 2:27:11 PM : ChibiOS: 1ec9f168
2023-07-31 2:27:11 PM : ArduCopter V4.4.0-beta3 (3c4abe46)
2023-07-31 2:27:11 PM : Barometer 1 calibration complete
andyp1per
(Andyp1per)
July 31, 2023, 9:03pm
11
M10Q-5883. Try the version here: ArduPilot firmware : /Copter/latest/SkystarsH7HD-bdshot - it’s possible you are running into a DMA conflict I suppose.
run the i2c scanner script to see if its being detected by ardupilot. It should show up on the messages.
-- This script scans for devices on the i2c bus
local address = 0
local found = 0
local i2c_bus = i2c:get_device(0,0)
i2c_bus:set_retries(10)
function update() -- this is the loop which periodically runs
i2c_bus:set_address(address)
if i2c_bus:read_registers(0) then
gcs:send_text(0, "Found I2C at " .. tostring(address))
found = found + 1
end
address = address + 1
if address == 127 then
address = 0
gcs:send_text(0, "Found " .. tostring(found) .. " devices")
This file has been truncated. show original
HeRobrain_3
(HeRobrain Person)
July 31, 2023, 9:45pm
13
I’m not able to run script, because I can’t find SCR_ENABLE params. This board has 2MB flash (right? Specs link ), so why I can’t run script?
HeRobrain_3
(HeRobrain Person)
July 31, 2023, 9:50pm
14
I guess you are right.
When connect to an arduino or with h743-hd(Betaflight) it run well, but not with ardupilot. I will retry betaflight to see if the module still work.
dkemxr
(Dave)
July 31, 2023, 10:16pm
15
Use the custom Firmware builder and enable it. It appears to be disabled by default. Or maybe there is good reason for that…
The QMC5883L is enabled so it’s something else.
HeRobrain_3
(HeRobrain Person)
July 31, 2023, 11:56pm
16
which parameter do I need to select to enable scripts?
dkemxr
(Dave)
July 31, 2023, 11:59pm
18
The one that says LUA scripting?
HeRobrain_3
(HeRobrain Person)
August 1, 2023, 1:17am
19
I don’t see in , am I in the right site ?
dkemxr
(Dave)
August 1, 2023, 2:38am
20
Yes. When I click your link, select Latest, the Skystars board and go to Other it’s right there.