User Manual Orange Pi Zero 3

  Features   |  Use   |  Linux   |  Linux SDK   |    Android     |  Android SRC   |

RU          EN  

Chapt 5. Android 12 TV system instructions
Страница:   134    135    136    137    138    139    140    141    142    143    144    145    146    147    148    149    150    151    152    153    154  


5.15.2. 26pin UART test method

  • 1) UART5 is enabled by default in Android, and the corresponding device node is /dev/ttyAS5

    apollo-p2:/ # ls /dev/ttyAS5
    /dev/ttyAS5

  • 2) First open the wiringOP APP on the desktop


    Img 5.62

  • 3) Then click the UART_TEST button to open the UART test interface


    Img 5.63

  • 4) The serial port test interface of wiringOP is shown in the figure below


    Img 5.64

  • 5) Then select the /dev/ttyAS5 node in the selection box


    Img 5.65

  • 6) Enter the baud rate you want to set in the edit box, and then click the OPEN button to open the /dev/ttyAS5 node. After the opening is successful, the OPEN button becomes unselectable, and the CLOSE button and SEND button become selectable.


    Img 5.66

  • 7) Then use Dupont wire to short the rx and tx pins of uart5

  • Tx pin uart5: Corresponding to pin 8 of 26pin
  • Rx pin uart5: Corresponding to pin 10 of 26pin

  • 8) Then you can enter a character in the send edit box below, click the SEND button to start sending


    Img 5.67

  • 9) If everything is normal, the received string will be displayed in the receiving box


    Img 5.68

     <         > 


  • Страница:   134    135    136    137    138    139    140    141    142    143    144    145    146    147    148    149    150    151    152    153    154