
If you’re interested in turning a phone case into a DIY desk lamp, you might want to check out this article.
Apart from the core part of the lamp, for the supporting structure, you’ll need large clamps with strong gripping power and a 10mm flexible metal tube. The support needs to be strong enough, as shown in the picture below.

For the lamp's backplate, you can use a Xiaomi phone back cover or a cover from any discarded phone. Either works.

Since the backplate has two holes, you can decorate it by gluing a rotor from an old hard drive motor onto it.

For the charging port, you can go with a Type-C interface. Most products these days use Type-C, so it's very convenient.
From left to right, the components are:
· 18650 battery
· Charging/discharging management module
· Three-level touch switch: You can remove a three-level touch switch directly from an old lamp. (If your switch has high self-discharge and drains the battery in about three weeks, you can add an independent toggle switch to completely cut off the battery's positive terminal.)
· LED board, aluminum substrate: Glue it to the phone back cover with casting glue. It helps with heat dissipation, though the heat isn't much.
· Acrylic lampshade
Even though the back is full of wires and glue, it doesn't matter. You won't see it while using the lamp, so out of sight, out of mind.

The working state looks like this:

If you feel the light is too harsh or reflective, you can cover the lamp with a layer of tissue paper to soften it.
The picture below shows the circuit board lit up by this lamp.

The end.