Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
View: 2449|Reply: 0

GPIO map for Orange Pi Zero Plus 2 (H3)

[Copy link]

2

Threads

4

Posts

40

Credits

Novice

Rank: 1

Credits
40
Post time 2017-9-4 01:22:10 | Show all posts |Read mode
This board still has very little info available, so I manually mapped the GPIO ports through trial and error.
Each of the numbers below is the GPIO number used for /sys/class/gpio. For example, 110 means gpio110. The list is by pin number from 1 to 26. A value of -1 means unavailable (as far as I could discover):
-1, -1, 12, -1  (pin 1,2,3,4)
11,-1,6,0 (pin 5,6,7,8)
-1,1,352,107 (pin 9,10,11,12)
353,-1,3,19 (pin 13,14,15,16)
-1,18,-1,-1 (pin 17,18,19,20)
-1,2,14,13 (pin 21,22,23,24)
-1,110 (pin 25, 26)
I've added this table to my SPI_LCD project to make it easier to use for generic GPIO access without having know the details of working with the sysfs kernel driver: https://github.com/bitbank2/SPI_LCD
P.S. The red LED on the board is mapped to GPIO17

You have to log in before you can reply Login | Register

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2019-9-23 23:15 GMT+8 , Processed in 0.028938 second(s), 23 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list