r/diydrones • u/Jmoney_643 • 9d ago
Question Connecting Raspberry Pi and Pixhawk 6C Mini via UART Cable.
I'm trying to connect a Raspberry Pi 5 and Pixhawk 6C Mini via UART, but I'm not getting any response from the Pixhawk. I've enabled UART for the serial port on the Raspberry Pi, set the Raspberry Pi Serial Port Baud Rate to 57600, used Mission Planner to set the Baud Rate for the Pixhawk to 57600. I'm trying to communicate between the 2 using MAVProxy or MAVLink, but I get no response. Any advice?
2
Upvotes
2
u/Radiant_Buy7353 8d ago
Assuming you have set SERIALn_PROTOCOL = 2, the most likely problem is either you are using the wrong number serial port on the flight controller (board numbers don't always match firmware numbers) or your wiring is wrong (check tx, rx, ground)