RevPI Connect + x2 digital input use?

Topics about the Hardware of Revolution Pi
Post Reply
ashishy89
Posts: 2
Joined: 21 Sep 2019, 06:29

RevPI Connect + x2 digital input use?

Post by ashishy89 »

Hi,

So I'm using REVPI connect plus DI interface to read a signal from a simple sensor.
piTest -r RevPiStatus and it's working fine.

Is it possible to access this digital input in node-red using GPIO module?
Or if the digital input is linked to any pin that can be accessed inside node-red?

Based on the documentation, DI of connect + is used for a UPS.
Are there any drawbacks of using the DI interface as a normal signal input?

Any help appreciated.

Thanks,
Ash
User avatar
dirk
KUNBUS
Posts: 2174
Joined: 15 Dec 2016, 13:19

Re: RevPI Connect + x2 digital input use?

Post by dirk »

Hi ashishy89, with Node-RED there is currently no special GPIO node for the RevPi available. Just use the Exec-Node with piTest. You can use the digital input without an UPS. There are no drawbacks.
ashishy89
Posts: 2
Joined: 21 Sep 2019, 06:29

Re: RevPI Connect + x2 digital input use?

Post by ashishy89 »

Hi Dirk,

Thanks for the reply.

Do you think there any way I can modify the pins in the in build GPIO module to be able to access the DI of x2 connector?
I want to be able to detect the change in the input value asynchronously(I believe the Node-Red RPi module does this already) and if I use the Exec-Node to call the C script (piTest -r RevPiStatus) it will do it periodically which is not ideal for my use.

Thanks,
Ashish
Post Reply