Sample/hold analog signal

Post Reply
Knibor
Posts: 40
Joined: Sunday 20 May 2018 12:56
Target OS: OS X
Domoticz version: Beta
Contact:

Sample/hold analog signal

Post by Knibor » Tuesday 23 October 2018 23:42

Hi,

I have build a battery monitor system.
I have 13 battery cells that I measure with a multiplexer. The battery cell what I want to measure can I choose with a switch in Domoticz.
For example when I want to measure Cell 1, I switch "on" "Switch 1" in Domoticz. I can now read the voltage on a indicator in Domoticz.
But now I want 13 voltage indicators in Domoticz, for each cell one.
So when Switch cell 1 is "on" than take a sample of the voltage indicator and put the voltage reading in voltage indicator 1.
And when Switch cell 2 is "on" than take a sample of the voltage indicator and put the voltage in voltage indicator 2....and so on.


Is this possible in Blockly? or other script
Has someone an example how to do this?

Kind Regards
Robin

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests