Light plays an important role in sleep. Bright lights keep us awake and dim lights help us get to sleep. One of the best tricks for getting to sleep is to start turning off lights before you actually go to bed. By gradually reducing the amount of light, it helps you to more gently and easily fall asleep.

But unfortunately, most lights aren’t dimmable. And it is pretty inconvenient to have to be constantly adjusting the lights. So I designed a simple LED Lamp with a sleep timer that will automatically dim itself over a set amount of time. Here is how to make it.