This circuit will activate a relay when light falls to a preset level. Light level can be adjusted with VR1 and the relay contacts may be used to operate an external light or buzzer.
The light sensor used is the ORP12 photocell. In bright light the resistance of the ORP12 can be as low as 80 ohm and at 50lux (darkness) the resistance increases to over 1 Mohm. The 1M control should provide a wide range for light intensities, if not its value may be increased. The op-amp senses the voltage difference between pins 2 and 3. The control VR1 is adjusted so that the relay is off, the output of the op-amp will be around 2 Volts. When light falls, the resistance of the photocell increases and the difference in input voltage is amplified by the op-amp, the output will swing towards full supply and drive the transistor and relay.
The 270k resistor provides a small amount of hysteresis, so that the circuit switches on and off with slightly different light levels. This eliminates relay chatter. Take great care if you decide to wire the relay to activate a mains lamp. Make sure the relay contacts provide adequate isolation and have ample rating for the load. The thermistor used has a resistance of 15k at 25 degrees and 45k at 0 degrees Celsius. A suitable bead type thermistor is used. The 100k pot allows this circuit to trigger over a wide range of temperatures. A slight amount of hysteresis is provided by inclusion of the 270k resistor. This prevents relay chatter when temperature is near the switching threshold of this circuit.
0 comments:
Post a Comment