Hi FvM, so far the triac is no longer blowing up, so it looks promising. However, I have a new challenge to see the waveforms on the oscilloscope. Earlier, since the ground and neutral were common, I could connect the oscilloscope ground to circuit gnd / neutral, and could measure any waveform in the circuit. But now since the neutral and ground are no longer common, if I connect the oscilloscope ground to circuit ground and try to measure, the zener immediately shorts. How can I measure the waveforms on the oscilloscope? I need to see zero crossing and trigger timing on the scope.
Thanks for your help.
- - - Updated - - -
Also, the zero crossing detector circuit no longer works. Is this because 5V is tied to power? I had connected a pin from power through 1M resisistor to zero crossing pin. Now since power and 5V are tied, its not working. Should I take a connector from neutral through 1M to zero crossing pin?