Showing posts with label automatic. Show all posts
Showing posts with label automatic. Show all posts
Thursday, 11 April 2013
Automatic Night Lamp with Morning Alarm
This circuit automatically turns on a night lamp when bedroom light is switched off. The lamp remains ‘on’ until the light sensor senses daylight in the morning. A super-bright white LED is used as the night lamp. It gives bright and cool light in the room. When the sensor detects the daylight in the morning, a melodious morning alarm sounds. The circuit is powered from a standard 0-9V transformer. Diodes D1 through D4 rectify the AC voltage and the resulting DC voltage is smoothed by C1. Regulator IC 7806 gives regulated 6V DC to the circuit. A battery backup is provided to power the circuit when mains fails. When mains supply is available, the 9V rechargeable battery charges via diode D5 and resistor R1 with a reasonably constant current. In the event of mains failure, the battery automatically takes up the load without any delay. Diode D5 prevents the battery from discharging backwards following the mains failure and diode D6 provides current path from the battery.

Automatic Night Lamp with Morning Alarm Circuit Diagram
The circuit utilises light-dependant resistors (LDRs) for sensing darkness and light in the room. The resistance of LDR is very high in darkness, which reduces to minimum when LDR is fully illuminated. LDR1 detects darkness, while LDR2 detects light in the morning. The circuit is designed around the popular timer IC NE555 (IC2), which is configured as a monostable. IC2 is activated by a low pulse applied to its trigger pin 2. Once triggered, output pin 3 of IC2 goes high and remains in that position until IC2 is triggered again at its pin 2. When LDR1 is illuminated with ambient light in the room, its resistance remains low, which keeps trigger pin 2 of IC2 at a positive potential. As a result, output pin 3 of IC2 goes low and the white LED remains off. As the illumination of LDR1’s sensitive window reduces, the resistance of the device increases.
In total darkness, the specified LDR has a resistance in excess of 280 kilo-ohms. When the resistance of LDR1 increases, a short pulse is applied to trigger pin 2 of IC2 via resistor R2 (150 kilo-ohms). This activates the monostable and its output goes high, causing the white LED to glow. Low-value capacitor C2 maintains the monostable for continuous operation, eliminating the timer effect. By increasing the value of C2, the ‘on’ time of the white LED can be adjusted to a predetermined time. LDR2 and associated components generate the morning alarm at dawn. LDR2 detects the ambient light in the room at sunrise and its resistance gradually falls and transistor T1 starts conducting. When T1 conducts, melody-generator IC UM66 (IC3) gets supply voltage from the emitter of T1 and it starts producing the melody. The musical tone generated by IC3 is standard 0-9V transformer. Diodes D1 through D4 rectify the AC voltage and the resulting DC voltage is smoothed by C1. Regulator IC 7806 gives regulated 6V DC to the circuit.
A battery backup is provided to power the circuit when mains fails. When mains supply is available, the 9V rechargeable battery charges via diode D5 and resistor R1 with a reasonably constant current. In the event of mains failure, the battery automatically takes up the load without any delay. Diode D5 prevents the battery from discharging backwards following the mains failure and diode D6 provides current path from the battery.
The circuit utilises light-dependant resistors (LDRs) for sensing darkness and light in the room. The resistance of LDR is very high in darkness, which reduces to minimum when LDR is fully illuminated. LDR1 detects darkness, while LDR2 detects light in the morning. The circuit is designed around the popular timer IC NE555 (IC2), which is configured as a monostable. IC2 is activated by a low pulse applied to its trigger pin 2. Once triggered, output pin 3 of IC2 goeshigh and remains in that position until IC2 is triggered again at its pin 2. When LDR1 is illuminated with ambient light in the room, its resistance remains low, which keeps trigger pin 2 of IC2 at a positive potential. As a result, output pin 3 of IC2 goes low and the white LED remains off. As the illumination of LDR1’s sensitive window reduces, the resistance of the device increases.
In total darkness, the specified LDR has a resistance in excess of 280 kilo-ohms. When the resistance of LDR1 increases, a short pulse is applied to trigger pin 2 of IC2 via resistor R2 (150 kilo-ohms). This activates the monostable and its output goes high, causing the white LED to glow. Low-value capacitor C2 maintains the monostable for continuous operation, eliminating the timer effect. By increasing the value of C2, the ‘on’ time of the white LED can be adjusted to a predetermined time. LDR2 and associated components generate the morning alarm at dawn. LDR2 detects the ambient light in the room at sunrise and its resistance gradually falls and transistor T1 starts conducting. When T1 conducts, melody-generator IC UM66 (IC3) gets supply voltage from the emitter of T1 and it starts producing the melody. The musical tone generated by IC3 is amplified by single-transistor amplifier T2. Resistor R7 limits the current to IC3 is amplified by single-transistor amplifier T2. Resistor R7 limits the current to IC3 and zener diode ZD limits the voltage to a safer level of 3.3 volts.
The circuit can be easily assembled on a general-purpose PCB. Enclose it in a good-quality plastic case with provisions for LDR and LED. Use a reflective holder for white LED to get a spotlight effect for reading. Place LDRs away from the white LED, preferably on the backside of the case, to avoid unnecessary illumination. The speaker should be small so as to make the gadget compact. link
Sunday, 24 March 2013
Automatic Door Lamp Timer Circuit
The article explains a simple automatic door light timer circuit which activates every time the door is opened, and switches OFF after a predetermined time if the door is kept open for too long. The circuit was requested by one of the avid readers of this blog, Mr. Juan. Lets learn more.
The request:
I always find your bolg very interesting.
I want to know if this would be possible
I have a cabinet in with I put a magnetic switch with normally closed and normally open contacts. (today, I only use one of them)
Today, when you open the door, the light that is on top turns on
I would change the circuit so that:
1. Open the door once so the circuit is ON, after a given time, the light turns off (although the door hasnt been closed and is opened). If I ever want to turn on the light, I have to close the door and reopen it.
2. add a LDR to turn on the light ONLY if there isnt sunlight in the room. With LDR in series with the load is enough?
The system is 12V. Should I use the famous 555? (all Ive seen is with tiggers (push buttons), which is not my case)
Thank you.
The Design
Instead of 555 IC, a 4060 IC has been used here due to its better accuracy.
The IC 4060 is configured in its standard delay timer mode, where the 1M pot and 0.68uF decides the length of the time delay.

The request:
I always find your bolg very interesting.
I want to know if this would be possible
I have a cabinet in with I put a magnetic switch with normally closed and normally open contacts. (today, I only use one of them)
Today, when you open the door, the light that is on top turns on
I would change the circuit so that:
1. Open the door once so the circuit is ON, after a given time, the light turns off (although the door hasnt been closed and is opened). If I ever want to turn on the light, I have to close the door and reopen it.
2. add a LDR to turn on the light ONLY if there isnt sunlight in the room. With LDR in series with the load is enough?
The system is 12V. Should I use the famous 555? (all Ive seen is with tiggers (push buttons), which is not my case)
Thank you.
The Design
Instead of 555 IC, a 4060 IC has been used here due to its better accuracy.
The IC 4060 is configured in its standard delay timer mode, where the 1M pot and 0.68uF decides the length of the time delay.
The door switch is set in such a way that it closes when the door opens.
The 10uF capactor at the supply resets pin#16 so that the timer initiates the counting process from zero.
During this period pin#3 stays at logic zero, keeping the first BC547 switched off, which in turn switches ON the relay driver and the lamp.
If the door stays open until the timer delay lapses, pin#3 goes high switching ON the first BC547 and consequently switching OFF the relay driver and the lamp.
Also, at the same time the positive from pin#3 reaches pin#11 of the IC via the connected 1N4148 diode which latches the entire circuit.
This renders the lamp permanently ON,
In order to switch OFF the lamp, the door will need to be closed now.
An LDR at the base of the first transistor makes sure that this transistor switches ON when theres ample ambient light.
In the above situation the relay driver transistor is held switched OFF, which in turn keeps the lamp switched OFF.

Subscribe to:
Posts (Atom)