Home        Store        Learn        Blog

Connecting RPi to Pixhawk with USB Telemetry

Hello,

I have successfully been using an Raspberry Pi to communicate with a pixhawk1 via serial with
master = mavutil.mavlink_connection("/dev/serial0", baud=921600)
However I am now migrating to a wireless telemetry connection and the antennae for the RPi is USB (The antennae for the pixhawk is connected to telem1 as were the serial wires before). I am having trouble initiating a connection in pymavlink. I thought
master = mavutil.mavlink_connection("/dev/ttyUSB0", baud=921600) would do the trick but its not working. Other ideas?

Thank you!

Hi @Coco,

Check the baudrate your telemetry link is configured for, and make sure that it works well at it.

Thank you, that worked. Apparently my antennae only work at 57600 Baud.