I’ve built X500 v2 with Pixhawk 6c and tried to connect PX4 autopilot with raspberry pi.
Connected to pixhawk 6c telem2 port and raspberry pi using TX, RX, and Gound.
Configured parameter like below.
- MAV_1_CONFIG: TELEM 2
- MAV_1_FORWARD: Enabled
- MAV_1_MODE: Normal
- MAV_1_RADIO_CTL: Disabled
- MAV_1_RATE: 1200 B/s
But, it gave me timed out.
Connected UART and Holybro TELEMETRY RADIO for test.
and connected successfully.
Could anyone know how to connect to Pixhawk 6C with Raspberry Pi 4?
Thanks in advance.
This could be a related article, have you checked it out?
Thanks for your reply.
Unfortunately, I couldn’t solve the problem by referencing the post.
I connected Pixhawk 6C and Raspberry Pi 4 via a USB C cable for now.
Hi, sorry I think this is more relevant documentation, could you check it out?
Thanks for the reply.
TELEM2 UART5_TX(Pixhawk 6C) - UART RX(Raspberry Pi 4)
TELEM2 UART5_RX(Pixhawk 6C) - UART TX(Raspberry Pi 4)
TELEM2 GND(Pixhawk 6C) - Ground(Raspberry Pi 4)
Use the latest firmware which is PX4 v1.14 (not sure, I’ll check it tomorrow)
Ubuntu Setup on RPi
sudo apt remove modemmanager
sudo apt autoremove
MAV_1_CONFIG = TELEM2
MAV_1_RATE: 19200 B/s
SER_TEL2_BAUD = 921600
But, still got a ‘Timed out’ result.
Thanks to @junwoo0914, finally got a connected result.
Build firmware from source, I could upload firmware 1.14, then got connected successfully.