The circuit utilizes a MOC3041 optoisolator and is similar to Figure 13 from the datasheet: ...
The main difference with my circuit is that I had to remove the 330R (between pin 8 and "HOT") because it wouldn't trigger with it in place (because its 120v not 240v like in the datasheet???).
Do you have MT2 connected to Line? And the Load connected between MT1 and Neutral?
What's wrong with Fig. 12?
it's pin 6
No I have it Mt1 (pin3) to Line and Mt2 (pin1)to load-> nuetral. I matched the schematic for the opto to the pinout of the triac. Is it backwards? though I do believe I tried it both ways.
Is that a more appropriate way to do it?
are you missing a resistance from pin 4 of the opto to the triac ?
why does an inductive spike trigger a triac?
Your circuit seems to work much better. (I used 1k and 330 resistors). It still fires about 1 out of 15 times, but that's a great improvement! From a circuit analysis perspective, can you explain whats going on? I'm guessing the 0u01 capacitor is absorbing the voltage spike?