I want help on lighting 9 white LEDs from mains. These LEDs are fixed in parallel. First I lit them with 5V power supply and noted the current from DMM to be 500mA and they worked fine.
Now I want to light them from mains (220 V). I assumed a simple circuit with a resistor in series. I calculated that the value of the resistor should be 500 ohms. Finally I connected that resistor, the LEDs and a fuse to the mains. Suddenly, the resistor burned out then the LEDs exploded.
Can anyone tell me what am I doing wrong? why did this happen? How can I light LEDs from mains?
Now I want to light them from mains (220 V). I assumed a simple circuit with a resistor in series. I calculated that the value of the resistor should be 500 ohms. Finally I connected that resistor, the LEDs and a fuse to the mains. Suddenly, the resistor burned out then the LEDs exploded.
Can anyone tell me what am I doing wrong? why did this happen? How can I light LEDs from mains?