3.3 KiB

Search terms: printout, wiring diagram.

Actual diagram:

People who have done it:

Mess with the GPIO:

Detailed tech breakdown and kernal info:


How outside of process:

GPIO power on Orange Pi One is definitely possible:

GPIO breakdown/best info:

"Ext Port":

USB GPIO on Orange Pi One is difficult, need someone with awesome solder skills:

Orange Pi GPIO - Interfacing

Adjust device default LEDs.

Raspi example of LED lighting:

Orange Pi USB process:

sudo apt-get update sudo apt-get upgrade -y sudo apt-get install python-dev -y sudo apt-get install python-pip -y sudo apt-get install -y python-setuptools pip install wheel pip install pyA20

git clone

This didn't work, BUT, the below did:

The general proceeding is described in

The GPIO pins are accessed via the sysfs file system. For enabling a specific pin it has to be exported into /sys/class/gpio/export

for pin PA1 the command would be echo 1 > sys/class/gpio/export. The pin number is calculated by the following formula :

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

PA1 has pin number ('A' is the 1st letter ) 1, PB2 has pin number 34 ('B' is 2nd letter ), PG7 has pin number 199( 'G' is 7th letter (7-1) * 32+7=199 )

the positions on the physical header are different again, cf. the graphic below

so for enabling PG7 that is pin 40 on the physical header can be used (# echo "out" >/sys/class/gpio/gpio5/direction first) echo 199 > sys/class/gpio/export

Then you can run echo "1" >/sys/class/gpio/gpio2/value to turn it on and echo "0" >/sys/class/gpio/gpio2/value to turn it off.

You need to use a VCC3 pin and an IO pin for this. Refer to this diagram (Page 15):

I used pin 2 for VCC3 and pin 22 for IO.