Changes

Jump to: navigation, search

Orange Pi 5 detail

131 bytes added, 15:16, 23 April 2023
26pin 的 UART 测试
[[Image:Pi-5-details2-pic39.png]]<br><br>
=== 26pin UART 测试 test ===1) In Android 中默认只打开了 default, the UART0 一个串口,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'''ttys0<br><br>
[[Image:Pi-5-details2-pic40.png]]<br><br>
2) 首先点击 wiringOP 图标打开 wiringOP APPFirst click the WiringOP icon to open the Wiringop App<br><br>
[[Image:Pi-5-details2-pic41.png]]<br><br>
3) wiringOP The main interface of the WiringOP APP 的主界面显示如下图所示,然后点击 '''is displayed as shown in the figure below, and then click the UART_TEST''' 按钮打开UART测试界面button to open the UART test interface<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>
[[Image:Pi-5-details2-pic43.png]]<br><br>
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<br><br>
[[Image:Pi-5-details2-pic44.png]]<br><br>
6) 然后使用杜邦线短接 uart0 的 Then use the DuPont line to shorte the RXD and TXD 引脚pin of uart0<br><br>
[[Image:Pi-5-details2-pic45.png]]<br><br>
7) 然后可以在下面的发送编辑框中输入一段字符,点击 '''Then you can enter a section of characters in the editing box below, click the SEND''' 按钮开始发送button to start sending<br><br>
[[Image:Pi-5-details2-pic46.png]]<br><br>
8) 如果一切正常,接收框内会显示已接收到的字符串If everything is normal, the receiving string will be displayed in the receiving box<br><br>
[[Image:Pi-5-details2-pic47.png]]<br><br>

Navigation menu