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?
Summary Setting up an Ethernet network can feel like assembling a puzzle, and to get all the pieces in place, you need to configure each system to operate on the same IP network. This ensures that each participant has a unique IP address and can find...
Est. reading time: 9 minutes
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.
Sincerely,
Hi, sorry I think this is more relevant documentation, could you check it out?
PX4 is the Professional Autopilot. Developed by world-class developers from industry and academia, and supported by an active world wide community, it powers all kinds of vehicles from racing and cargo drones through to ground vehicles and...
HI,
Thanks for the reply.
Wiring
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)
PX4 Setup
Use the latest firmware which is PX4 v1.14 (not sure, I’ll check it tomorrow)
Ubuntu Setup on RPi
enable_uart=1
dtoverlay=disable-bt
sudo apt remove modemmanager
sudo apt autoremove
MAVLink Communication
MAV_1_CONFIG = TELEM2
MAV_1_FORWARD: Enabled
MAV_1_MODE: Normal
MAV_1_RADIO_CTL: Disabled
MAV_1_RATE: 19200 B/s
SER_TEL2_BAUD = 921600
But, still got a ‘Timed out’ result.
Sincerely,
1 Like
Thanks to @junwoo0914 , finally got a connected result.
Build firmware from source, I could upload firmware 1.14, then got connected successfully.
Thanks again.
2 Likes