0

I am trying to make communication between raspberrypi4 and pixhawk board to control the drone using dronekit library and to get telemetry info. I have used pin 14 and 15 for serial communication. But its not working and I can't access the ttyAMA0. It always gives the error as such directory is not found. I don't know what is the problem and where to start. if anyone know how to do it please help me by giving the step by step procedure to do this.

Thanks.

4
  • 1
    Have you enabled the serial link with sudo raspi-config?
    – joan
    Apr 4, 2023 at 10:00
  • It is hardly surprising that you can't use ttyAMA0 because it is connected to Bluetooth.
    – Milliways
    Apr 4, 2023 at 10:10
  • 2
    This might help - raspberrypi.stackexchange.com/questions/105223/…
    – tlfong01
    Apr 4, 2023 at 11:01
  • Your question is lacking of details: how you try to access the port, what error you get and what did you tried to troubleshoot it.
    – Vadim
    Apr 4, 2023 at 11:12

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.