Hello,
I am trying to connect my APM 2.8 with my Raspberry Pi 3 using the mavproxy.py command line.
sudo -s
mavproxy.py --master=/dev/ttyAMA0 --baudrate 57600 --aircraft MyCopter
But the terminal gets stuck on “MAV>”. After this “Waiting for heartbeat from /dev/ttyAMA0” should come but it doesn’t.
I thought the connections to the telemetry port of the APM were the fault because I had to solder a few wires together so I started from the very beginning.
I tried:
- Connecting APM and my laptop directly through USB
- Connecting APM with Pi directly thorugh USB (Port /dev/ttyACM0)
- Using a TTL USB to UART TTL to connect APM and laptop
- Using the same converter to connect APM and Pi.
and all these worked as expected.
But when I connect the APM with the GPIO UART pins of the Raspberry Pi, it just gets stuck on “MAV>”. If it showed garbage values then it would be a baudrate issue but it just shows nothing and reversing the UART pins also gives the same result, where it should just say cannot connect or something.
Kindly help me figure out what the problem is. I would really appreciate it.
Thanks