12
Return to list Post new posts
Author: surfero75

OrangePi 2G-IOT - GPIO Pins. Help

[Copy link]

62

threads

653

posts

5498

credits

Administrator

Rank: 9Rank: 9Rank: 9

credits
5498
Published in 2017-6-5 09:11:23 | Show all floors
surfero75 replied at 2017-6-4 15:39
Moderators update news about this Issue please!  People realy needs gpio pins for use this board. Te ...

Bad news is that the GPIO lib of WiringPi haven't released. Maybe the only thing we could do now just wait.

6

threads

70

posts

370

credits

Intermediate member

Rank: 3Rank: 3

credits
370
 Author| Published in 2017-6-8 22:44:47 | Show all floors
How to on/off a led by Orange Pi 2G IoT by GPIO:

http://surfero.blogspot.com.es/2 ... ange-pi-2g-iot.html

0

threads

7

posts

65

credits

Registered member

Rank: 2

credits
65
Published in 2017-6-13 11:56:28 | Show all floors
Please, some new info on gpio for 2g iot?

0

threads

7

posts

65

credits

Registered member

Rank: 2

credits
65
Published in 2017-6-14 10:24:36 | Show all floors
schematics orange pi 2g iot, rda8810pl

This thread contains more resources

You need to Log in to download or view,No account?    Register

x

2

threads

36

posts

1914

credits

Gold member

Rank: 6Rank: 6

credits
1914
Published in 2017-9-29 05:18:12 | Show all floors
any updates on this?

0

threads

11

posts

140

credits

Registered member

Rank: 2

credits
140
Published in 2017-9-29 10:46:27 | Show all floors

0

threads

6

posts

46

credits

Novice

Rank: 1

credits
46
Published in 2017-11-24 00:22:28 | Show all floors
Mark this page

8

threads

19

posts

118

credits

Registered member

Rank: 2

credits
118
Published in 2022-2-1 04:27:25 | Show all floors
Edited by mkgokp7s at 2022-2-1 04:30

Thanks to surfero75 und sysfs, but without WiringPi I finaly succeeded blinking a LED on OrPi 2G Pin 7:

  1. #!/bin/bash
  2. PIN=56

  3. echo "$PIN" >/sys/class/gpio/export
  4. echo "out" > /sys/class/gpio/gpio$PIN/direction

  5. while true; do
  6.   echo 0 > /sys/class/gpio/gpio$PIN/value
  7.   sleep 0.5
  8.   echo 1 > /sys/class/gpio/gpio$PIN/value
  9.   sleep 0.5
  10. done
Copy code


0

threads

6

posts

78

credits

Registered member

Rank: 2

credits
78
Published in 2022-2-15 03:20:15 | Show all floors
mkgokp7s replied at 2022-1-31 15:27
Thanks to surfero75 und sysfs, but without WiringPi I finaly succeeded blinking a LED on OrPi 2G Pin ...

You can also get more information about controlling the GPIO pins at

Extra docs for the OrangePi-i96 and -2Giot

OPIO program to control gpio pins  (modified for -i96 and -2Giot boards)
The documents include:
  • How to get the board past 2nd boot (for Debian and Ubuntu)
  • a wifi driver to keep the MAC address persistent
  • a replacement of the WiringPi/gpio command line tool
  • a script to fixup the GPIO pins on the i96 connector, to make them usable
  • documentation of pin assignments, Linux device driver numbers

[size=15.008px]I have upgraded my
[size=15.008px]
opio[size=15.008px] [size=15.008px]tool (a clone of[size=15.008px] gpio[size=15.008px]) to fully support the OP-2G-IOT, as well as the OP-i96. You can find it at[size=15.008px] [color=var(--tertiary)][size=15.008px]https://wiki.pbeirne.com/patb/opio











12
Return to list Post new posts
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list