This is the basic dark and light sensor which using photoresistor as sensing component.
The transistor act like as a switch, when the “switch” in on condition then the relay will be activated.
The potensiometer adjust the trigger ‘on’ level. The diode in the circuit diagram shows to be 1N914. This is ok if you have a light-duty relay, also the 1N914 is a signal diode so actually does not qualify. Use a 1N4001 (or better) instead. A couple of substitutes for the 2N2222 transistor are: NTE123A, ECG123A, PN100, etc.
As light falls on the surface of the photoresistor, the photoresistor changes it’s resistance. The more the light, the less the resistance of the photoresistor, the less the resistance, the less the voltage drop across it. The less the light, the more the resistance and thus the more the voltage drop across it.
As the voltage drop increases, so does the VB of the 2N2222 transistor and therefore the ICE increases accordingly, until the time that the current is enough to actuate the relay.
The amount of light needed to actuate the relay can be changed by changing the 100K potentiometer. Basically, any change to the potentiometer will have an effect to the voltage drop of the photoresistor, as they are both members of the voltage divider described above.
The 1N4001 diode is used to eliminate any back voltage when the relay is disarmed. It is very important to have this diode because without it, the transistor may be damaged.
The similar circuit with some improvements can be found at pcbheaven, go to this page.
This is the circuit diagram of power amplifier 45W using power uPC 1230 as the…
The Horn Circuit This is a basic circuit of car horn and lamp flasher that…
This is the circuit diagram of drinking water alarm based a small water sensor by…
Here is the 200W MOSFET amplifier powered based on four piece of IRFP250N, they are…
This is the 300W RMS stereo power amplifier circuit project. This amplifier is based four…
This is an active stereo tone control circuit using very well known op-amp IC of…
View Comments
What if I put a 74123 (dual monostable multivibrator) in between transistor and relay. Is it possible to restrict the relay only for the falling edge, or using a second relay and catching both rising and falling edges?
What I try to realise, is relay activation by start and end of darkness (not just during darkness).
Made this one and it works. Modified with a cellfone charger of 5v and works. For 12v car battery use change limiting resistor to 1watt.