Automatic Mooring Light

Integrated-circuit U1-an LF351 or 741 op amp-is used as a comparator to control the light. Resistors R2 and R3 provide a reference voltage of about 2.5 volts at pin 3 of U1. When daylight falls on light-dependent resistor LDR1, its resistance is low: about 1000 ohms. In darkness, the LDR's resistance rises to about 1 megohm.

Automatic Mooring Light Circuit Diagram

Automatic-Mooring Light-Circuit Diagram

Since R1 is 100,000 ohms, and the LDR in daylight is 1000 ohms, the voltage ratio is 100 to 1; the voltage drop across the LDR is less than the 2.5 volt reference voltage and pin 2 of U1 is held at that voltage. In that state, the output at pin 6 of U1 is positive at about 4.5 volts, a value that reverse-biases Q1 to cutoff, which in turn holds Q2 in cutoff, thereby keeping lamp I1 off.  

When darkness falls, the LDR's resistance rises above R1's value and the voltage at pin 2 of U1 rises above the reference voltage of 2.5 volts. U1's output terminal (pin 6) falls to less than a volt and Q1 is biased on. The base-to-emitter current flow turns Q2 on, which causes current to flow through the lamp. When daylight arrives, the LDR's resistance falls sharply, which causes the lamp to be turned off, ready to repeat the next night/day cycle.

Post a Comment