Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
View: 5064|Reply: 6

GPIO library - wiringX

[Copy link]

2

Threads

19

Posts

110

Credits

Registered member

Rank: 2

Credits
110
Post time 2016-3-14 04:43:48 | Show all posts |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 This user has been deleted
Post time 2017-4-19 17:45:26 | Show all posts
Note: The author has been banned or deleted.

0

Threads

1

Posts

371

Credits

Intermediate member

Rank: 3Rank: 3

Credits
371
Post time 2017-5-16 13:52:34 | Show all posts
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
Post time 2017-5-18 17:24:35 | Show all posts
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

37

Posts

333

Credits

Intermediate member

Rank: 3Rank: 3

Credits
333
Post time 2017-5-22 23:32:50 | Show all posts
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
Post time 2017-6-13 11:33:56 | Show all posts
What library to use for raspberry 2g iot?
how to install?

10

Threads

220

Posts

2000

Credits

Gold member

Rank: 6Rank: 6

Credits
2000
Post time 2017-6-13 17:56:19 | Show all posts
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 have to log in before you can reply Login | Register

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2019-11-18 14:52 GMT+8 , Processed in 0.033974 second(s), 22 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list