Hello guys,
I am trying to make pixhawk and rpi communicate and whenever I type in
(sudo -s
mavproxy.py --master=/dev/ttyAMA0 --baudrate 57600 --aircraft MyCopter)
I get MAV >1 link down…
Anyone has any idea what might be the problem ?
I have followed all the required steps and yet I get this.
is /dev/ttyAMA0 correct?
is the baudrate parameter on the corresponding ardupilot serial port set to 57?
are the RX and TX wires connected correctly?
does the user have permissions to open the serial port?
simply by connecting and disconnecting pixhawk to check what port is showing up in /dev list when connecting pixhawk to RPI, it can be ACM0, USB0, or anything
yeah, that’s the right step, just type ls /dev/tty*, then you will see list of available serial ports, run this command 2 times, once when pixhawk is disconnected to RPI, and then second time after you connect pixhawk with RPI, checkout what new port you are getting while doing this, that’s the port you should use
that’s weird, serial port for pixhawk should have been appeared within few seconds after connecting to RPI, are you able to connect your pixhawk to mission planner over USB ?