On Make: Projects, Jason Poel Smith uses a pair of LM741 op amps to build an self-dimming night light that turns itself off after a period of time so you don’t waste electricity.
The timer is made from a 741 op amp (operational amplifier) wired as a comparator. It compares the voltage across a capacitor with a reference voltage that is set by the 2.2k resistor and the 5k potentiometer.
When S2 is pressed the capacitor is charged to the supply voltage. It then gradually discharges through the 1M resistor. As long as the voltage across the capacitor is greater than the reference voltage, the output of the op amp is high (about 8.7V). When the voltage across the capacitor drops below the reference, the output of the op amp goes low (about 1.9V). This can take 0-45 minutes depending on how the potentiometer is set.
0 thoughts on “Use an Op Amp to Make a Self-Dimming Night Light”
ADVERTISEMENT
Join Make: Community Today
We are a manufacturer in China have 20 years experence in capacitors and metalized film.Our factory located in 5000 square meters and obtained ISO9001
quality certificate,SGS certificate and VDE/TUV/UL/CQC relevant products certificate.And we have owned 5 patents for inventions and 10 utility patents.
In 2012 our company was awarded”National Hi-tech Enterprise”.
Contact information:
Email:anniel@anhuisafe.com
MSN:ahsfanniel@hotmail.com
Skype:anniel2472
Tel No.:0086-562-2828608
contact person:Ms Anniel
Website:www.capacitorfilm.com
Add:No.1771 QiFeng Road,Shizishan Economic Development Zone,Tongling
City,Anhui Province,China