Triac problem

Thread Starter

quincisoft

Joined Nov 4, 2023
2
Hi, I use a small mac97a6 triac to control a small 10w LED lamp with a moc3021 photo coupler driven with an esp32 output. The problem happens when I power the triac circuit with 230 V for a moment the lamp turns on, but this does not always happen. I tried changing the Gate R (330 ohm) but nothing..... Do you have any suggestions?
 

Attachments

Ian0

Joined Aug 7, 2020
9,434
If your diagram is correct, it doesn't work because the opto-triac is between MT1 and gate where is should be between MT2 and gate.

PS. Don't switch things on the neutral - the results can be shocking.
 

Thread Starter

quincisoft

Joined Nov 4, 2023
2
That's right, the diagram is wrong, but the circuit I mounted works correctly when there is the input on the moc the lamp comes on, and when I remove it it goes off. The problem only exists when I power the triac part for the first time.
 
Top