Hello,
I’m using ArduCopter 4.7.0-dev on a Matek H743-WING V3 flight controller.
I have a Benewake TF-Luna connected via UART (UART7 = SERIAL1), configured to operate in NMEA output mode.
The sensor previously worked, but after reconnecting or reflashing, it stopped providing distance values.
I’m monitoring rangefinder1
and sonarrange
in the Mission Planner “Status” tab — both stay at 0.00, no matter the distance or environment.
My current parameters:
RNGFND1_TYPE
= 17 (NMEA)SERIAL1_PROTOCOL
= 20 (NMEA Output)SERIAL1_BAUD
= 115RNGFND1_MIN
= 0.2RNGFND1_MAX
= 6.0RNGFND1_SCALING
= 3RNGFND1_ORIENT
= 25BRD_ALT_CONFIG
= 1SERIAL1_OPTIONS
= 0- TF-Luna connected to 5V and verified working via serial monitor separately
Wiring:
- TF-Luna TX → RX7 (CTS)
- TF-Luna RX → TX7 (RTS)
- 5V and GND from FC (also tried 4V5)
This configuration previously worked, but after a reboot or flashing it stopped.
Are there any known issues with TF-Luna in NMEA mode, or with SERIAL1 under ArduCopter 4.7 on Matek H743-WING?
Any ideas or debugging suggestions would be greatly appreciated.
Thanks in advance!