I’m having a problem working with TRIAC (BT-131) in my project. I’m trying to switch a low power LED with a 5V DC output from a sensor. I’ve used an Opto-coupler (MOC3021) in between the TRIAC and the sensor. When the sensor gives a 5V output (through a 470ohm resistor) to the Opto-coupler, it triggers the Gate of the TRIAC (through a resistor, R6). When R6 is 100k, the LEDs glows at the moment of switching, then turns off. If I use 10k or 470ohm resistor as R6, the LED glows continuously, but very soon R6 burns out and LED goes off.
I don’t understand why is it happening and what is the remedy for this. I searched about the characteristics of the TRIAC in Datasheet, searched YouTube for similar projects, but didn’t understand the reason behind the phenomena.
Can anyone help me in this ?