Open main menu

Wiki-Orange Pi β

Changes

Orange Pi 5 Plus

267 bytes added, 10:30, 7 June 2023
40 PIN GPIO port test
<p>[[File:media/image532.png|576x147px]]</p></li>
<li><p>First set the GPIO port as the output mode. The third parameter needs to enter the serial number of the wpi corresponding to the pins</p>
{| class="wikitable" style="width:800px;" |-|<p>[orangepi@orangepi ~]$ '''gpio mode <span style="color:#FF0000">2 </span> out'''</p>|}</li>
<li><p>Then set the GPIO port output low level. After setting, you can use the value of the voltage of the pins with a multimeter. If it is 0V, it means that the low -power flat is set</p>
{| class="wikitable" style="width:800px;" |-|<p>[orangepi@orangepi ~]$ '''gpio write 2 <span style="color:#FF0000">0</span>'''</p>|}</li>
<li><p>Then set the GPIO port output high level. After setting, you can use the value of the voltage of the pins with a multimeter. If it is 3.3V, it means that the high -power flat is set to be successful</p>
{| class="wikitable" style="width:800px;" |-|<p>[orangepi@orangepi ~]$ '''gpio write 2 <span style="color:#FF0000">1</span>'''</p>|}</li></ol>
<!-- --li><p># The setting method of other pins is similar. Just modify the serial number of the wpi serial number as the corresponding serial number.</p></li></ol>
<span id="pin-gpio-port--to--plattering-resistance-setting-method"></span>
 
=== 40 PIN GPIO Port -to -Plattering resistance setting method ===