![]() |
|
Using sensor input to trigger alternative actions - Printable Version +- Comfort Automation/ Security System Forums (https://www.comfortforums.com) +-- Forum: Products (https://www.comfortforums.com/forum-3.html) +--- Forum: Questions on Using Comfort (https://www.comfortforums.com/forum-159.html) +--- Thread: Using sensor input to trigger alternative actions (/thread-1523.html) |
- gsnottingham - 06-20-2009 I was wondering if it is possible to use a single sensor input to enable me to direct a response in various different directions according to the sensor input voltage. What I have in mind is using a multi-way rotary switch with a set of resistors to act as a voltage divider. This way I could set the switch in (say) one of 6 different positions and this would present 6 different voltages to a single comfort input. Could I do this and then write a response (or a series of responses) which would act differently according to the voltage on the input? The particular use I have in mind is in controlling a multiple-zone watering system. Position 1 (hence voltage 1) would instruct the response chain to turn on a single zone once a day. Position 2 would instruct the response chain to turn on several different zones once a day. Position 3 would instruct the response to turn on the zones only every 2nd or 3rd day; the possibilities are endless. I know I could do this by (for example) setting a series of flags using the control menu or by using multiple sensory or RIO inputs, but has anyone experience of this method for controlling a chain of responses using a single input? Many thanks Graham - ident - 06-21-2009 Yes you can Each input on Comfort and any Slave (but not LEM inputs or RIO inputs) is an analog input. Connect your voltage divider across the zone inputs and set the shunt to \"Double EOL resistor\" position ie AWAY from the Zone terminal block to remove the internal EOL resistors from the circuit The effective circuit at the zone input is 3V connected to an internal 2.7 Kiloohms resistor which your resistive voltage divider is connected to. Program the zone as Null zone type. You can check the value of the analog input using the action Get Analog Input # or If Analog Input # where # is the input number and use the conditional action to decide between several alternatives The analog input has a scale of 256 = 3V (range of 0 to 255) - gsnottingham - 06-21-2009 Thanks I will try that |