Home        Store        Docs        Blog

The communicatory question between pixhawk and raspberry pi3

(DS Wang) #1

Hello! I’m DS Wang

I’m researching in this page

I had already finished the part of “Setup th RPi” and “Setting up the Pixhawk”
And the network had been finished, too.

I built a linux system on vmware.
And I used PuTTy to connect the RPi by SSH on linux system above.
The required packages had been downloaded and installed already.

But…I have a question now.
When I used this command
“mavproxy.py --master=/dev/ttyAMA0 --baudrate 57600 --aircraft MyCopter”
It showed these information like the picture

Does anyone know how to solve it?
I appreciate your help!


(Jacob) #2

How is the Pixhawk connected to the Raspberry Pi? USB? If you are using USB, you should use /dev/ttyACM0 for ‘master’, if you are using the RX/TX pins on the Raspberry Pi, make sure you have disabled the console login on the serial interface.


(DS Wang) #3

Hello! Jacob!

I connected the RPi and the pixhawk by using the RX/TX pins.
If I disable the console login on serial interface, the “enable_uart” will be set 0.
But this note show I need to set it 1

How can I do?

Thank you!


(DS Wang) #4

Does anyone know the solutions of this problem…?
Appreciate for your help!!!

(Jacob) #5

You need to do two separate things:

  1. Enable the serial interface with ‘set enable_uart=1’
  2. Disable console output on the serial interface, there are instructions to do this here.


Does ardusub-3.4 support telem1/2 communication with pixhawk?
(DS Wang) #6

I solved this terrible problem !!!
They connected with each other, and they can give command to the other one!!!
I can control pixhawk by RPi3 !!

Jacob! I really appreciate for your help and comments!!!
Thank you very very much !!!

(Jacob) #7

Well done, DS. I hope you can have fun with it now instead of worrying about how to get it to work!


(DS Wang) #8

I promise you I will enjoy it!!!

Thank you! Jacob!

(Arpit Srivastava) #9

But how i will configure pixhawk. If i want autonomous?. How to calibrate it?

(Jacob) #10

Hi Arpit, try reading more about ardupilot and ardusub. Let us know the status of your project and what your specific problem or question is.

(Jacob) split this topic #11

3 posts were merged into an existing topic: Waiting for heartbeat from /dev/ttyAMA0 msg when connecting rsp and pixhawk