Figure 4 shows start time at 18:00 when SW2 was pressed. The lamp will turn on until 22:00 everyday. Since the preset time, 18:00 can set whenever SW2 was pressed, so if you want to change time on, for examples in summer season, sun will set lately, suppose you want the lamp to be turned on at 19:00, you just press SW2 at 19:00. The day after it will turn on at 19:00, however time off will shift to 23:00.
![]() |
Figure 4: Preset time on for winter |
Figure 5 shows a complete lamp fixture with cover and 25W lamp. I have been tested the energy saving lamp, 5W Sylvania, it also works fine.
Figure 5: with 25W lamp and cover |
Download
Schematic | saver6.pdf |
Firmware | lamp.c ![]() lamp.rar |
C compiler | SDCC.zip ![]() SDCC.zip |
Orcad 9.1 schematic file | NA |