
If you're interested in DIY-ing a 220V desk lamp and converting it into a rechargeable low-voltage lamp, you might want to check out this article.
So the question is, how can you turn it into a rechargeable low-voltage lamp? Actually, it's quite simple. You need to add a lithium battery inside the base, include a power bank circuit board (to use its charging circuit), and a 5V power supply. The lamp is powered by the battery voltage, and the power bank circuit board is only used for charging. All of this fits inside the base. These modifications are the basics.
Also, since you're switching to a low-voltage lithium battery, you can take the chance to tweak the lamp's appearance. As shown in the picture, here's how the lamp looks after redesigning its shape:

For the outer shell, you can use an energy-saving bulb or LED lamp shell and trim it a bit. The designer originally left a groove here for heat dissipation, so you can just cut it to match the shape in the picture. Next, you'll need to make the LED board, which requires 13 LEDs.

Once soldered, it looks pretty good. There's no circuit inside the lamp, and you can even test if there's a resistor inside the heat-shrink tubing. As shown in the picture, the brightness is still fine.


End.