I was attempting to make an LED light bulb from scratch using a UV 3 W diode and acrylic resin. I wanted it to be able to be used as a regular bulb. Is this possible?

  • 11
    \$\begingroup\$ 120/240V electrical supplies, such as those found in those light sockets, can be dangerous (to both your own personal safety due to electrocution risk, and to your property because of fire risk). If you are unfamiliar with the approaches one would use to make such a device, you should probably not try to do so - consider projects that can operate off safer supplies such as the output of AC->DC adapters, USB, etc. \$\endgroup\$
    – nanofarad
    Commented Aug 10, 2022 at 19:53
  • 4
    \$\begingroup\$ The safety aspect is significantly more complex to understand than the technical needs. If the technical side is a challenge for you then I’d strongly recommend staying well away from mains supply voltages. \$\endgroup\$
    – Frog
    Commented Aug 10, 2022 at 19:59
  • 2
    \$\begingroup\$ A 3W LED is not especially "small". Encapsulating it in resin is asking for thermal problems, and the safety considerations attendant upon a very intense point source of UV light are not to be taken lightly either. \$\endgroup\$
    – vir
    Commented Aug 10, 2022 at 20:06
  • 3
    \$\begingroup\$ Maybe make a USB-powered one instead. Then your biggest danger is only that it could overheat and start a fire. \$\endgroup\$ Commented Aug 10, 2022 at 20:08
  • 4
    \$\begingroup\$ Since the question specifically asks "with little electrical knowledge" the answer is no. \$\endgroup\$
    – Finbarr
    Commented Aug 10, 2022 at 20:36

1 Answer 1


The safest way to do this project is to use a commerical power supply to provide a DC voltage to run a custom LED. Then, you could create an AC powered version using a commerical light socket for an LED light bulb if you design your LED to work in the same manner, just be very careful to isolate yourself from the AC lines, do not leave any of them exposed, have access to a breaker panel and attach a fuse to the design, and finally, wear some protective gear such as goggles since explosions from AC power lines can be violent.


Not the answer you're looking for? Browse other questions tagged or ask your own question.