Servers by jDrones

Old content loaded on https://ardupilot.org/dev/docs/raspberry-pi-via-mavlink.html

I used to read the page https://ardupilot.org/dev/docs/raspberry-pi-via-mavlink.html to connect my RPI to FMU end December 2019.
Now that I look at the page the content of the page has been updated and several critical information disapearded.

An example: From https://www.researchgate.net/publication/323683430_Communicating_with_Raspberry_Pi_via_MAVLink you can read “On newer versions of Raspberry Pi 3 the uart serial connection may be disable by default. In order to enable serial connection on the Raspberry Pi edit /boot/config.txt and set enable_uart=1. the build-in serial port is /dev/ttyS0. Once MAVProxy has started you should be able to type in the following command to display the ARMING_CHECK parameters value”.
This used to be visible on the web last month but not anymore :frowning:

Hope someone can help me to retrieve the December 2019 content

Thank you!

I was the one that updated the page. The intent was to remove and clean up old and inaccurate information, as some instructions were for older versions of Raspian and were not applicable for the newer Buster/Stretch versions of Raspian.

This has changed. It can now be done via the interfacing options when running raspi-config. Note the serial port is now referred to /dev/serial0

I’ll update the documentation in include that.

1 Like

@stephendade thanks for your quick feedback! I have RPI3 and I’m still using dev/ttyS0 which works, i.e my Dronekit python script on RPI can send message over to the FMU. If I repace dev/ttyS0 by dev/serial0 then I don’t connect anymore to the FMU. For RPI3 it should stay dev/ttyS0

That’s a function of Raspian. What version are you running? It was my understanding that the recent versions of Raspian all use /dev/serial0

Hello @stephendade,

I’m using RPI Version 3B V1.2.

By the way, following your page’s instruction I’ve used RPI GPIO15 and GPIO16 to connect FMU TELEM2 to RPI.
But I need to use another module that use also the same GPIO and I can’t change the setup on this module.
Do you know how to change on RPI the GPIO setup so that RPI to FMU communication would be done on GPIOs different than 15 and 16?

Thanks!

You could use a USB to serial adapter, but software serial as on the Arduino doesn’t work on a raspberry pi

Not possible, unless you’re using the Ras Pi Compute Module: https://www.raspberrypi.org/forums/viewtopic.php?t=202176

Servers by jDrones