View: 11079|Reply: 7

3G IOT (B) GPIO ACCESS

[Copy link]

1

threads

3

posts

31

credits

Novice

Rank: 1

credits
31
Published in 2018-8-21 05:40:16 | Show all floors |Read mode
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: [MODE=1] [PULL_SEL=0] [DIN=0] [DOUT=1] [PULL EN=0] [DIR=0] [INV=0] [IES=0].

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

Any Help ?

0

threads

2

posts

19

credits

Novice

Rank: 1

credits
19
Published in 2018-8-21 05:58:31 | Show all floors
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

1

threads

3

posts

31

credits

Novice

Rank: 1

credits
31
 Author| Published in 2018-8-21 06:05:08 | Show all floors
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.

1

threads

3

posts

31

credits

Novice

Rank: 1

credits
31
 Author| Published in 2018-8-22 06:33:20 | Show all floors
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/download ... 291b9136e47b63.html

Many Thanks. I hope this tip help someone.

1

threads

8

posts

1087

credits

Gold member

Rank: 6Rank: 6

credits
1087
Published in 2019-2-27 06:27:05 | Show all floors
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/orangepi ... thread&tid=4206 please?

We would really appreciate your help

0

threads

27

posts

100

credits

Registered member

Rank: 2

credits
100
Published in 2023-3-2 09:50:37 | Show all floors
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.

0

threads

35

posts

150

credits

Registered member

Rank: 2

credits
150
Published in 2023-11-17 15:30:17 | Show all floors
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

13

threads

48

posts

198

credits

Registered member

Rank: 2

credits
198
Published in byday 04:06 | Show all floors
Η Εξέλιξη της Τεχνητής Νοημοσύνης στα Διαδικτυακά Καζίνο: Πώς money moon casino moneymooncasino.com/el-gr/ online οι Ρομποτικές Τεχνολογίες Θα Διαμορφώσουν την Εμπειρία του Παίκτη το 2026 Η τεχνητή νοημοσύνη (ΤΝ) αναμένεται να ανατρέψει τα δεδομένα στα διαδικτυακά καζίνο μέχρι το 2026. Οι εξελιγμένες αλγόριθμοι ΤΝ θα έχουν τη δυνατότητα να αναλύουν τις προτιμήσεις των παικτών σε πραγματικό χρόνο, προσφέροντας εξατομικευμένες προτάσεις και βελτιωμένες εμπειρίες παιχνιδιού. Επιπλέον, οι ρομπότ παρέχουν ασφαλέστερες και δικαιότερες διεπαφές, ενισχύοντας τη διαφάνεια και τη δίκαιη παιχνιδιότητα. Οι πρόβλεψης κινήσεων και στρατηγικών από ΤΝ θα βοηθούν τους παίκτες να βελτιώνουν τις επιδόσεις τους. Στο σύνολό τους, αυτές οι εξελίξεις θα κάνουν τα διαδικτυακά καζίνο πιο ελκυστικά και διασκεδαστικά, προσελκύοντας περισσότερους παίκτες παγκοσμίως.
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list