12VAC powered single 1watt led? resistor heat problem
I have a dead halogen 12vac, 20w bulb that I was trying to replace with 3.7 volts 1w led, so I added a reverse parallel diode, resistor, and a capacitor on the other side(in the picture below), and got smoke after few secs it was on (it was the resistor), nothing burned out, so I had 100 tries more- changed resistor values, and finally figured out that the brightness depends on the value of the capacitor. With 50v 4.7microfarads(looks like the one in the picture below, but different value) I got big smoke and bright light, with 50v 25microfarads everything was cool but led was glowing very weak
So my question is: what should I change in my circuit so my 1w led would light at full brightness and wouldn't start a fire?