ABSF WROTE:
If you want the whole thing Battery operated. Do it as suggested by Brian using a clock and a PIC. Since the job is very simple a 16F628a and DS1307 should do. you'll need a few switches to set the present time as well as the ON and OFF time. Not sure whether you need a LCD display to see the time or some LED to indicate that the clock is running.
Allen
When you said use 16F628a and DS1307, do you mean I need to use both or just one of them in the circuit?
royalstorm7 WROTE:krys
if want to ignore all the lite stuff, u should turn to PIR sensor....and using timer to register the nite and day...or as alternative u can use photo sensor from electrical shop (normally for street lighting) to detect the day and nite.....ez bro
Do you mean that I can use PIR instead of going for 16F628 and DS1307?
And I already troubleshoot the circuit as you suggested. But the voltage at pin 3 is 8V instead of 4.5V. Is it because the circuit is still triggered by the surrounding light?