everton post at 2018-8-21 05:40:16

3G IOT (B) GPIO ACCESS

Hi Everyone, I've tried to find a way to manipulate the GPIO's pin's with my board (OrangePi 3G IOT B) but no result. I googled some while at night and I did find this command's for MT devices:

# echo "-wdir 24 0" > /sys/devices/virtual/misc/mtgpio/pin
# echo "-wdout 24 1" > /sys/devices/virtual/misc/mtgpio/pin

This commands take on HIGH the PIN21 (GPIO24) of my board, but it's not works.

I checked the .../pin archive with:

# cat /sys/devices/virtual/misc/mtgpio/pin | grep 24:

And the result is:24:1001000-1

If I'm correct, this means: .

I believe that exist's an error in this method's but now I can not see.

Any Help ?

code_slave post at 2018-8-21 05:58:31

You could communicate to pins through this folder if you want to do tx rx uart communication:
/dev/ttyS0 or /dev/ttyS1 etc...

baud 115200

everton post at 2018-8-21 06:05:08

Thanx @code_slave for you quickly reply, but I only want to turn on/off a LED over the GPIO. It's more simple, but I appreciate you suggestion friend.

everton post at 2018-8-22 06:33:20

Hi, after googled more times, I did find a way to solve my problem. I don't know why, but I just flash the boot.img again to the board and these commands (below) work's fine. It seem's the first image that come flashed in the board have bug's.

# echo "-wdir 24 0" > /sys/devices/virtual/misc/mtgpio/pin
# echo "-wdout 24 1" > /sys/devices/virtual/misc/mtgpio/pin

I had another problem with the Android Home Touch Button, at the touchscreen display. To solve this, I just reflash the system.img on the board.

The android image can be found in the archive: IoT03_b1258_32g4g_ry_smt_v1.1.rar
At:http://www.orangepi.org/downloadresources/orangepi3G-IOT/2018-06-07/0160bd3e3fd1f8b0b9291b9136e47b63.html

Many Thanks. I hope this tip help someone.

Alphadog post at 2019-2-27 06:27:05

If you have had any progress on installing Linux on the Orange Pi 3G IOT B, could you add a comment at http://www.orangepi.org/orangepibbsen/forum.php?mod=viewthread&tid=4206 please?

We would really appreciate your help

emmausa post at 2023-3-2 09:50:37

You can utilize a library or application programming interface (API) offered by the operating system slither io or the GPIO controller on that board to control the GPIO pins on that board.

panda90 post at 2023-11-17 15:30:17

Highly beneficial essay! This article is filled with a wealth of information that can be utilized by anyone to initiate a successful social media campaign concerning the subject matter. la times crossword
page: [1]
View full version: 3G IOT (B) GPIO ACCESS