➢Step descriptions:

✦Step 1:-Prepare a PC817 with 4 pins.

✦Step 2:-First solder the 1K resistor to pins 2 and 4.

✦Step 3:-Then solder 470UF/25V resistor to pins 1 and 4 1 is negative 4 is positive.

✦Step 4:-Soldered to pin 1 and the positive electrode of 10w LED with 12K resistors.

✦Step 5:- Pin 3 is connected to the negative pole of the 10w LED.

✦Step 6:-At last, prepare a 12V power supply and connected the negative pole to 2nd pin.

✦Step 7:-The positive electrode is connected to the positive electrode of the 10w LED.

Video on Youtube: