I'm very new to electronics.
I'm building a lamp. It's basically a wooden box with a toggle switch and edison bulb both sticking out of the top. I'd like to have a usb port on the side of the lamp where I can plug my phone into and charge it, even if the lamp is turned off.
I have been able to wire the toggle switch into the lamp cord so that the light bulb turns on and off, but now, if it isn't going to be too difficult, I'd like to wire a usb port into it as well. What parts do I need? Is this a bit too difficult for an extreme beginner?
I'm building a lamp. It's basically a wooden box with a toggle switch and edison bulb both sticking out of the top. I'd like to have a usb port on the side of the lamp where I can plug my phone into and charge it, even if the lamp is turned off.
I have been able to wire the toggle switch into the lamp cord so that the light bulb turns on and off, but now, if it isn't going to be too difficult, I'd like to wire a usb port into it as well. What parts do I need? Is this a bit too difficult for an extreme beginner?