Sample /Hold analog signal
Posted: Wednesday 24 October 2018 12:51
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 with dzVents? or other script
Has someone an example how to do this?
Kind Regards
Robin
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 with dzVents? or other script
Has someone an example how to do this?
Kind Regards
Robin