Thanks Luciano,
I had thought of that initially, but disregarded it as the TRIAC would have to be off at the same time as the light bulb is on. But seeing your picture made me think about it, and I figured that I can just measure the voltage there just after zero crossing and before I trigger the triac - either that or charge a little cap through a diode and read the cap anytime. Makes it a really simple circuit too!! Will try it as soon as I get back from holiday - am off to Fiji for a week, BULA!!!
Yes, this was the idea.Originally Posted by George
* * *
AN521 Interfacing to AC Power Lines
http://ww1.microchip.com/downloads/e...tes/00521c.pdf
AVR182: Zero Cross Detector
http://www.atmel.com/dyn/resources/p...ts/doc2508.pdf
* * *
Enjoy your holiday!
Luciano
Bookmarks