Orange pi One pin guide


Pin numbers for the Gpiod plugin:

Pins on H3 boards are calculated as follows:

(position of letter in alphabet - 1)  * 32 + pin number.

This means if we pick pin PG9 then it becomes:
(7- 1)  * 32 + 9 = 201   (Where 201 is the pin number we can use for the Gpiod plugin)

If we pick PA6 then it becomes:
(1- 1)  * 32 + 6 = 6  (Where is the pin number we can use for the Gpiod plugin)

Voltages

Two 5V pins and two 3.3V pins are present on the board, as well as a number of ground pins (GND), which can not be reconfigured. 


Other useful information

If running on Armbian (and same for many other systems) then for GPIO access you need to run with elevated permissions. (such as sudo)