I design and built this circuit and it some time works and other time nothe circuit consists of three parts first one detect ac then fire the c005 timer and the timer fires optocoupler which connects triac and ac load ( lamps ).
Now after put every thing in small box when connect power the lights light direct without trigger the timer and continue lighting forever one notice. I power the circuit from 5v charger not from transformer as in diagram

Now after put every thing in small box when connect power the lights light direct without trigger the timer and continue lighting forever one notice. I power the circuit from 5v charger not from transformer as in diagram

Last edited: