Twilight switch circuit

Posted on Feb 5, 2013

As dusk begins to -fall, the sensor (a cadmium-sulfide light-dependent resistor or LDR) operates a small horn to provide an audible reminder that it's time to turn on your lights. To turn the circuit off—simply turn your headlights on and the noise stops. The base of Ql is fed through a voltage divider formed by R4, LDR1—a light-dependent resistor with an internal resistor of about 100 ohms under bright-light conditions and about 10 megohms in total darkness—potentiometer R6. Ql's base voltage depends on the light level received by LDR1 and the setting of R6. If LDR1 detects a high light level, its resistance decreases, thereby providing a greater base current for Ql, causing it to conduct. When Ql conducts, pin 4 of Ul is pulled to near ground potential, muting the oscillator.

Twilight switch circuit
Click here to download the full size of the above Circuit.

If, on the other hand, LDR1 detects a low light level, its resistance increases (reducing base currentto Ql), cutting off the transistor and enabling the oscillator. In actual practice, you set R6 so that at a suitable light level (dusk), the oscillator will sound. The anode of diode Dl connects to the light switch, where it connects to the vehicle's parking lights. With the lights switched off, that point is connected to the negative chassis by way of the parking lamp. That has no effect on the circuit, as Dl blocks any current flow to ground from Ql's base via R6 and the sidelight lamps. When the lights are switched on, the anode of Dl is connected to the positive supply via the parking lamp switch, thereby applying a voltage to the base of Ql, biasing it into conduction. With Ql conducting, pin 4 of Ul is pulled virtually to ground, disabling the oscillator even though LDRl's resistance is not enough to do so.

Leave Comment

characters left:

New Circuits



Popular Circuits

Precision battery voltage monitor
Audi Power Door Locks
PIC 16F88 Microcontroller PIC based Tengu
Simple Proximity Detector & Alarm Circuit
4 20ma current loop tester
Decibels Meter Circuit Using LM324
Improved Arduino TV-B-Gone
Clamp stay current probe compensator