Comfort Automation/ Security System Forums > Support > Questions on Programming Comfort > 0 to 10 volt detection |
Moderated by: slychiu |
Author | Post | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Ghyllwood UCM Pi Users
|
I have a humidity sensor that gives out 0 to 10 volts. Does anyone know if it is possible to read this voltage in Comfort so that I can output a command when the voltage reaches a pre-set value? |
|||||||||
slychiu Administrator ![]()
|
We arre developing such a product but it will still take several months before it is ready |
|||||||||
Ingo UCM Pi Users ![]()
|
In the meantime you could use a voltage divider to bring the 10V down to 3V. In a case like this you could then read 0-3V as a 0-255 value in Comfort. EG. If your sensor output is 5V then the divider will drop it down to 1.5V and comfort will read 255/2 = +-127 on the analogue port. It's also not extremely accurate as the Comfort internal port resistance will affect your voltage divider a bit but if you just want a setpoint to activate a response then it will probably work. Just a word of caution, make sure your device output is isolated. Take a voltmeter and measure the device GND to Comfort GND. If there is any potential difference then connecting it up to Comfort might make it go up in smoke - I know, it happened to me. This all sounds very 'geeky' so if you are familiar with electronics it's all possible. If not then it's best to wait for the new product under development. Ingo |