Quoted from Kawydud:can you tell me how you figured out what size resistor was needed for the circuit?
I don't know how to explain this without getting technical so here goes.
Those four 12V lamps connected in series are switched via the "S2800A" SCR (shown in the schematic above).
When the SCR is switched ON at the "gate" pin, it will stay ON so long as there is sufficient current flowing through it. This is known as a SCR's "holding current".
The datasheet for the S2800A states the "holding current" spec can be up to 20 milliamps, meaning the SCR will stay ON so long as 20ma (at minimum) is flowing through it. When the current drops below 20ma, the SCR will switch OFF.
Incandescent lamps cause more than enough current to flow through the SCR for it to operate as desired but LEDs generally on their own don't because they consume too little current.
Each of those LEDs in series will have for arguments sake about 12 volts across them.
Using ohms law, (R=V/I) this tells us the resistance required across 12 volts that will carry 20ma in this series circuit would be 600 ohms.
However, 20ma current through the SCR is borderline and we need more to ensure it stays ON when it should. Also because the supply voltage to these lamps is unregulated DC (which is rising and falling in a semi sinewave), the voltage across the LEDs therefore rises and falls and if we were to use 600 ohm resistor loads, the SCR will not have enough current flowing to switch ON soon enough in the rising voltage cycle or will switch off too soon in the falling voltage cycle - these factors help to cause LEDs to flicker.
In this case I usually calculate the load resistance across the LED based on a much lower voltage (about 1/3) across the LED.
So 4 volts divided by 20ma gives us about 200 ohms. When the LED has 12 volts across it, the resistor will have 60ma through it plus the LED will have about 20ma (80ma in total through the SCR well exceeds the minimum holding current spec).
Calculating the resistor wattage is based on the current and voltage across the resistor. In this case the resistor will consume about 0.65 watts so using 1 watt resistors gives you the head room needed so it doesn't cook.
I hope this makes some sense.