View: 9377|Reply: 2

Orange Pi Lite and GPIO problems

[Copy link]

1

threads

1

posts

5

credits

Novice

Rank: 1

credits
5
Published in 2016-9-18 09:56:31 | Show all floors |Read mode
I am trying to get the GPIO working on an Orange Pi Lite.

I installed the WiringOP here (https://github.com/zhaolei/WiringOP).  I found this here (https://yudanta.me/installing-wi ... orangepi-pc-device/).

The gpio command works but I cannot change any pin values.

Is the 40 pin header pinout on the Lite the same as a Raspberry Pi?

Thanks, Mark

0

threads

1

posts

4

credits

Novice

Rank: 1

credits
4
Published in 2016-9-26 15:53:58 | Show all floors
hi,

use this command:
modprobe gpio-sunxi


gpio mode 0 out
gpio write 0 1
+ the ping 11 change value
gpio readall
gpio write 0 0
+ the ping 11 change value
gpio readall

0

threads

3

posts

21

credits

Novice

Rank: 1

credits
21
Published in 2016-10-5 18:43:25 | Show all floors
Edited by ChrisAdmin at 2016-10-5 18:48

Hi mstrickland,

https://yudanta.me/installing-wi ... orangepi-pc-device/
Worked fine for me, mid page "gpio readall" will show a table print out of the header pins, they seem the same as the rPi.
To orientate yourself to whatever kind of orange pi you have, check for the small arrow on the PCB at the edge of the header pins, thats physical pin 1, then match it against the print out above.
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list