Difference between revisions of "26pin UART test"

From Wiki-Orange Pi
Jump to: navigation, search
 
Line 3: Line 3:
 
2) First click the WiringOP icon to open the WiringOP App<br><br>
 
2) First click the WiringOP icon to open the WiringOP App<br><br>
 
[[Image:Pi-5-details2-pic41.png]]<br><br>
 
[[Image:Pi-5-details2-pic41.png]]<br><br>
3) The main interface of the WiringOP APP is displayed as shown in the figure below, and then click the '''UART_TEST''' button to open the UART test interface<br><br>
+
3) The main interface of the WiringOP App is displayed as shown in the figure below, and then click the '''UART_TEST''' button to open the UART test interface<br><br>
 
[[Image:Pi-5-details2-pic42.png]]<br><br>
 
[[Image:Pi-5-details2-pic42.png]]<br><br>
 
4) The serial test interface of the APP is shown in the figure below<br><br>
 
4) The serial test interface of the APP is shown in the figure below<br><br>

Latest revision as of 17:25, 25 April 2023

1) In Android default, the UART0 serial port is only opened. The position of UART0 at 26pin is shown in the figure below. The corresponding device node is/dev/ttys0

Pi-5-details2-pic40.png

2) First click the WiringOP icon to open the WiringOP App

Pi-5-details2-pic41.png

3) The main interface of the WiringOP App is displayed as shown in the figure below, and then click the UART_TEST button to open the UART test interface

Pi-5-details2-pic42.png

4) The serial test interface of the APP is shown in the figure below

Pi-5-details2-pic43.png

5) Then enter the baud rate you want to set in the editing box, and then click the OPEN button to open the /dev/ttyS0 node. After successful, the OPEN button becomes an optional state.The CLOSE button and the SEND button become an optional state

Pi-5-details2-pic44.png

6) Then use the DuPont line to shorte the RXD and TXD pin of uart0

Pi-5-details2-pic45.png

7) Then you can enter a section of characters in the editing box below, click the SEND button to start sending

Pi-5-details2-pic46.png

8) If everything is normal, the receiving string will be displayed in the receiving box

Pi-5-details2-pic47.png