please choosego to mobile | Continue to access the PC version
Author: Buddy

WiringPi on OrangePi 2G-IOT[Beta]

[Copy link]

3

threads

19

posts

87

credits

Registered member

Rank: 2

credits
87
Published in 2017-9-15 03:49:27 from mobile | Show all floors
nopnop2002 replied at 2017-9-14 21:24
I gave up using WiringPi for 2g-iot library.
python-periphery library works very well.

How does It work? What have you done with it so Far?

Thanks!

10

threads

218

posts

2040

credits

Gold member

Rank: 6Rank: 6

credits
2040
Published in 2017-9-15 06:15:55 | Show all floors

3

threads

19

posts

87

credits

Registered member

Rank: 2

credits
87
Published in 2017-9-15 07:27:18 | Show all floors
nopnop2002 replied at 2017-9-15 06:15
@LucasBSC

Check this Thread


Hi!

Trying at the moment to configure the modem 2G or Wi-Fi to download the library, i am having trouble with the wvdial.config file..

Thanks for the help!


3

threads

19

posts

87

credits

Registered member

Rank: 2

credits
87
Published in 2017-9-15 08:12:39 | Show all floors
nopnop2002 replied at 2017-9-15 06:15
@LucasBSC

Check this Thread

Hi!

I got the Wi-Fi working sucessfully and downloaded the library, but I do not know how to exactly run the code you posted using python

How should I write the code on the terminal? Should I create a specific directory? How can I create the file you shared and get it to work properly?

I am really getting started from almost zero to work on OrangePI 2g iot linux, thanks for the support!


10

threads

218

posts

2040

credits

Gold member

Rank: 6Rank: 6

credits
2040
Published in 2017-9-15 13:04:08 | Show all floors

0

threads

1

posts

26

credits

Novice

Rank: 1

credits
26
Published in 2018-6-7 01:24:57 | Show all floors
Edited by garagegadget at 2018-6-7 13:54

Hi,

I am testing GPIO's on a Orange PI 2G using the wiringPi library.

Has anyone had success with writing to GPIO56 using WiringPi library?
OS: Linux OrangePi 3.10.62-rel5.0.2

1

threads

10

posts

59

credits

Registered member

Rank: 2

credits
59
Published in 2021-3-31 08:24:59 | Show all floors
Edited by vaton at 2021-4-15 18:46

Hi,
I am using OrangePi i96. It is based on the same SoS (RDA8110) as the 2G IOT board and people say these two boards are fully compatible except GSM.
I have tried to install WiringOP as described in OrangePi manual, but it does not work. This WiringPi port seems to be much closer to what is needed for i96, but unfortunately, not enough.

Both boards usese the same SOC chip, but they are different. Except that the pinout of the header is completely different, if you look closer at BCM value (fixed to chip ball), just 16 header pins are connected to the same chip balls (no mater how they are named). Other pins are connected to different chip balls, so they can't work with this WiringPi port, modified exclusively for 2G-IOT. For example, actually just two GPIO pins of the i96 board seem to be usable with this WiringPi clone (on i96 header pins 23 and 25, on 2G-IOT header pins 7 and 15). Note I say "seem to be", not "are", because actually just pin 25 (BCM 56) works. So you can run flashing LED demo on single pin, but this is all.

I did not test higher level functions, as in source you can read " they are not supported in this port".

1

threads

10

posts

59

credits

Registered member

Rank: 2

credits
59
Published in 2021-4-15 19:28:50 | Show all floors

for

Edited by vaton at 2021-4-26 21:04

Sorry, but this port will not work on OrangePi i96, even many people say these two boards are equal except GSM. Judging by some comments in source files, even author of the port expected this is true. I have checked thorougly schematics of both boards, and here is the result:

Just those blue-colored wires are the same, even they are connected to different header pins. As you see, most of GPIO header pins are connected to quite different pins (balls) of the RDA8810, so have also different BCM and internal WiredPi tables do not fit. Note that in both tables I am using INTERNAL signal names from schematics, not those used by the comunity.

Solution? gpio/makefile, gpio/OrangePi.c, wiringPi/makefile, wiringPi/OrangePi.h, wiringPi/OrangePi.c, and wiringPi/wiringPi.c files should be modified to accept board difference. This is not easy job, as some 2G-IOT ifdefs are bound to RDA8810 (so should be used also for i96), while other 2G-IOT ifdefs are bound just to the board wiring (so should be changed).

EDIT:

I have found a nice alternative to WiringPi GPIO programming in this article:
   https://titanwolf.org/Network/Ar ... 23c7a4b31#gsc.tab=0 (Make full use of Orange Pi 2G-IOT GPIO).

For details, see thist post: http://www.orangepi.org/orangepi ... viewthread&tid=6540


This thread contains more resources

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

x

0

threads

429

posts

1060

credits

Gold member

Rank: 6Rank: 6

credits
1060
Published in 2023-12-11 03:10:11 | Show all floors
The mobile optimization aspect of 구글 seo is non-negotiable in an era where mobile-first indexing takes center stage.

0

threads

381

posts

912

credits

Senior member

Rank: 4

credits
912
Published in 2023-12-11 15:20:30 | Show all floors
Unveil a new level of sophistication with Posh Hair Company's 100% remy human hair extensions. Carefully chosen from Indian temples, our strands preserve cuticles for a natural appearance. Enjoy the inherent silkiness, shine, and complete tangle-free allure of your hair.        Upart wig human hair
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list