Categories: Sensor

Dark and Light Activated Relay

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.

circuit diagram

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.

Recent Posts

Guitar Synthesizer Schematic Diagram Collection

Guitar Synthesizer Schematic Diagram In this post, we provide a collection of schematic diagrams of…

54 years ago

Handy Talky HT DIY Schematic Diagram

Handy Talky Schematic Diagram This is an old electronic scheme of the Handy Talky (HT)…

54 years ago

Doorbell Ringer Birdie Tone

This is an old or "very old" schematic diagram of birdie tone or sound generator.…

54 years ago

200W MOSFET Amplifier based IRFP250N

Here is the 200W MOSFET amplifier powered based on four piece of IRFP250N, they are…

54 years ago

300W RMS Stereo Power Amplifier based IC TDA7294

This is the 300W RMS stereo power amplifier circuit project. This amplifier is based four…

54 years ago

Stereo Tone Control with Line In + Microphone Mixer

This is an active stereo tone control circuit using very well known op-amp IC of…

54 years ago