Night Light Saver V6

[05-30 04:13:38]   来源:http://www.88dzw.com  单片机电路图   阅读:8704

文章摘要:Night Light Saver V6 Latest design of night light saver circuit built with AT89C2051. Nice firmware using c coding developed With SDCC. This new version has internal Ni-MH battery backup, reset button and simple time setting. Now the circuit board was embedded with lamp fixture. Preset turn on peri

Night Light Saver V6,标签:电路图讲解,电路图练习,http://www.88dzw.com

Night Light Saver V6

Latest design of night light saver circuit built with AT89C2051. Nice firmware using c coding developed With SDCC.

This new version has internal Ni-MH battery backup, reset button and simple time setting. Now the circuit board was embedded with lamp fixture. Preset turn on period is from 18:00 to 22:00 everyday. You may let the saver turn on whenever you want. The period of time on can be reprogrammed with sdcc. Howvere this project is not recommended for beginner. The circuit uses transformerless supply and no galvanic isolation!


Figure 1: Embedded saver with lamp fixture

 

Hardware Description

Figure 1 shows complete hardware schematic of the Night Light Saver V6.0. The AC line was protected F1, a 1A fuse. Any short circuit caused by saver's components will blow the fuse. R1 and C1 limit current to the +5V zener diode, D3. R2 discharges capacitor C1 when power terminal of the circuit was opened. The super capacitor C2,+5V 0.01F filters DC supply. D4 acts as unidirectional switch for current supplied to MCU. BT1 is +3V 60mAH Ni-MH battery for backup the MCU when main power failed. The charging current is approx. 2mA with AC main lives. When main power failed, BT1 supplies approx. 4mA to the MCU. With fully charged, it could be able to provide backup time approx. 15Hrs. The MCU runs with +Vbackup. SW1 helps reset the MCU, in case of brownout voltage by BT1. C4 and internal pull-down resistor forms simple reset circuit. The MCU, 89C2051 runs with 3.579MHz Xtal. SW2 is for clock setting, when pressed, time will be 18:00. P3.7 drives tick LED with small sink current. R5, 4.7k limits less than one mA for D5. P3.0 provides 5Hz clock signal for calibration. The output bit is P1.6. It drives PNP transistor, Q1. R3 limits base current. R5 pull base pin to +V when P1.6 is logic '1' to fully turn off Q1. R4 limits DC current injected to Q2, MAC97 small triac. LP1 is incandescent 25W lamp. The lamp's wattage can be up to 40W.




Figure 2: Complete schematic of Night Light Saver V6.0

[1] [2] [3]  下一页


Tag:单片机电路图电路图讲解,电路图练习电子电路图 - 单片机电路图

《Night Light Saver V6》相关文章