Page 1 of 1

RevPI Connect + x2 digital input use?

Posted: 21 Sep 2019, 07:41
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

Re: RevPI Connect + x2 digital input use?

Posted: 23 Sep 2019, 09:38
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.

Re: RevPI Connect + x2 digital input use?

Posted: 23 Sep 2019, 10:08
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