Changes

Jump to: navigation, search

Orange Pi Zero 3

76 bytes added, 10:50, 12 July 2023
26pin UART test method
<ol style="list-style-type: decimal;">
<li><p>'''UART5''' is enabled by default in Android, and the corresponding device node is '''/dev/ttyAS5'''</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>apollo-p2:/ # '''ls /dev/ttyAS5'''</p>
<p>/dev/ttyAS5</p>|}</li>
<li><p>First open the wiringOP APP on the desktop</p>
<p>[[File:media/image360.png|576x133px]]</p></li>
<li><p>Then click the '''UART_TEST''' button to open the UART test interface</p>
<p>[[File:media/image368.png|505x94px]]</p></li>
<li><p>The serial port test interface of wiringOP is shown in the figure below</p></li></ol>
[[File:media/image369.png|511x133px]]
</ol>
<ol start="5" style="list-style-type: decimal;">
<li><p>Then select the '''/dev/ttyAS5''' node in the selection box</p>
<p>[[File:media/image370.png|499x269px]]</p></li>
<li><p>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.</p></li></ol>
[[File:media/image371.png|334x107px]]
</ol>
<ol start="7" style="list-style-type: decimal;">
<li>Then use Dupont wire to short the rx and tx pins of uart5</li></ol>
{| class="wikitable" style="width:800px;"
|-
|
| style="text-align: left;"| Corresponding to pin 10 of 26pin
|}
</li></ol>
<ol start="8" style="list-style-type: decimal;">
<li>Then you can enter a character in the send edit box below, click the '''SEND''' button to start sending</li></ol>
[[File:media/image372.png|376x189px]]
</ol>
<ol start="9" style="list-style-type: decimal;">
<li>If everything is normal, the received string will be displayed in the receiving box</li></ol>
[[File:media/image373.png|382x196px]]
</ol>
<span id="pin-spi-test-method"></span>
<span id="pin-spi-test-method"></span>
=== 26pin SPI test method ===

Navigation menu