Here is a simple circuit that can be used to switch ON or OFF a device when the dew present in the surrounding atmosphere crosses a set value.The circuit uses a dew sensitive resistive element and a comparator based on LM 358 to perform the above said operation.
At normal condition the resistance of dew sensor element will be low and so the voltage drop across it.So the voltage at the non inverting pin of LM358 (IC1) will be less than the voltage at the inverting input of the LM358.So the output of the opamp will be low.This keeps the opto-coupler (MCT2E) deactivated.When the dew increases the resistance of the element increases and so do the voltage across it.Now the voltage at the non inverting pin of LM358 (IC1) will be higher than the voltage at the inverting input of the LM358.So the output of the op amp will be switched to high.This in turn activates the optocoupler.The LED glows to indicate it. As a result we get an optopcoupler activated and de activated according to the amount of dew in the atmosphere.The output pins of optocoupler pin (5&4) can be used to control the external device.
Diode D1 , resistors R6&R3 and capacitor C1 is employed here to derive the power for the circuit directly from mains.
EmoticonEmoticon