Analog Input loses connection

Topics about the Hardware of Revolution Pi
Post Reply
Obaq303
Posts: 2
Joined: 17 Sep 2021, 11:15
Answers: 0

Analog Input loses connection

Post by Obaq303 »

Hello there,

I am working with a revpi compact which has a 0-10 V temperature sensor attached to AIn_1. The temperature value is read via Node-Red and is then sent to an MQTT-Broker.

It all works fine for about 2 days when suddenly the temperature value (0-10V) can not be read anymore by the revpi and thus can not be sent to the MQTT-Broker. Meanwhile the revpi is still working and can still be configured via webbrowser or Node-Red dashboard. The node for the analog value still says "connected" in Node-Red.

Only when I unplug an replug the power from the revpi the temperature value is read continously and is sent to the MQTT-Broker.

Has anyone noticed a problem like that? What can I do?
->Johannes<-

Re: Analog Input loses connection

Post by ->Johannes<- »

Hi Obaq,

We won't be able to help you with Node-Red, except of course the Node-Red team, but we can support you on the RevPi site.

If the problem occurs, can you read the variable AIn_1 with piTest?

Code: Select all

piTest -r  AIn_1 
That way we can narrow it down a bit.

Regards

Johannes
User avatar
dirk
KUNBUS
Posts: 1938
Joined: 15 Dec 2016, 13:19
Answers: 4

Re: Analog Input loses connection

Post by dirk »

Hi do you already know the Watch Dog Timer? With the Watch Dog you have the possibility to restart your RevPi Connect if a problem occurs.
Have a look at the following tutorial:
https://revolutionpi.com/tutorials/uebe ... rect=en_US
Post Reply