View: 10951|Reply: 6

GPIO library - wiringX

[Copy link]

2

threads

19

posts

110

credits

Registered member

Rank: 2

credits
110
Published in 2016-3-14 04:43:48 | Show all floors |Read mode
I did a lot of searching and testing to find a domotica system that is compatible with Orange Pi and 433mhz receiver directly connected to GPIO. I ran into pilight that is working with wiringX.  WiringX is modified to be working with the A20 from bananapi. Now we have WiringPi been modified for the H3 from Orange Pi so i was wondering if there is somebody who can modify wiringX to work also with the H3 (orange pi). You can find wiringX here: https://github.com/wiringX/wiringX as you can see there is allready a support for banana pi so if some is beable to understand the modifiation made to WiringPi for Orange Pi and uses this on wiringX we should be able to create a working wiringX version on Orange Pi.

I hope someone can take a look at this

Twain The user has been deleted
Published in 2017-4-19 17:45:26 | Show all floors
Tips: Disabled or deleted by author , the content is blocked

0

threads

1

posts

371

credits

Intermediate member

Rank: 3Rank: 3

credits
371
Published in 2017-5-16 13:52:34 | Show all floors
Twain replied at 2017-4-19 17:45
Hey there!

I was looking for such an modification myself, sadly i was unable to find one ... .

HI:
      H3 WiringPi GPIO:           git clone https://github.com/kazukioishi/WiringOP.git -b h3
      H5(PC2) WiringPi GPIO:  git clone https://github.com/kazukioishi/WiringOP.git -b h5
      H2(zero) WiringPi GPIO:  git clone https://github.com/xpertsavenue/WiringOP-Zero.git
      I hope it can help you.

0

threads

1

posts

12

credits

Novice

Rank: 1

credits
12
Published in 2017-5-18 17:24:35 | Show all floors
Hi cbbc, thanks for your reply.

Though sadly, this was not exactly what apocalyps and i were looking for  

The programs linked, are the equipollent to the WiringPi implementation on the raspberry pi.
What i was looking for was the equipollent to WiringX implementation on the raspberry pi.
WiringX does more or less the same, but based on a more modular approach than WiringPi.
In order to get WiringX working on the orangepi pc plus, one needs to adapt 2 files within the WiringX source code.

I am sure, this modification can easily be done by someone who managed to get WiringOP working. Sadly this is not me

This is WiringX
http://wiringx.org/
Source-code:
https://github.com/wiringX/wiringX
Files, that needs to be adapted:
https://github.com/wiringX/wiringX/tree/master/src
(2 files for each new device)

Would love to hear from you about such a modification!
BR

4

threads

38

posts

337

credits

Intermediate member

Rank: 3Rank: 3

credits
337
Published in 2017-5-22 23:32:50 | Show all floors
Does anyone know if there is a wiringop library for orange pi 2G-iot?
I tested some libraries and always get the same error when type "gpio readall"

root@OrangePI:~# gpio readall

+-----+-----+---------+------+---+--Banana Pro-[   87.494018] Unhandled fault: external abort on non-linefetch (0x008) at 0xb6ff6000

-+---+------+---------+-----+-----+

| BCM | wPi |   Name  | Mode | V | Physical | V | Mode | Name    | wPi | BCM |

+-----+-----+---------+------+---+----++----+---+------+---------+-----+-----+

|     |     |    3.3v |      |   |  1 || 2  |   |      | 5v      |     |     |

Bus error

0

threads

7

posts

65

credits

Registered member

Rank: 2

credits
65
Published in 2017-6-13 11:33:56 | Show all floors
What library to use for raspberry 2g iot?
how to install?

10

threads

218

posts

2040

credits

Gold member

Rank: 6Rank: 6

credits
2040
Published in 2017-6-13 17:56:19 | Show all floors
yoelmend replied at 2017-6-13 11:33
What library to use for raspberry 2g iot?
how to install?

There is nothing in the present.


You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list