ES-53IntermediatePremium
ESP32 Smart Lamp with Rotary Encoder Menu (KY-040 + OLED + NeoPixel Ring)
One knob, five settings! Turn the KY-040 rotary encoder to scroll the menu on the 0.96 inch OLED, press it to edit the color, brightness, effect, sleep timer or warm-cool white. The 24-LED NeoPixel ring shows every change instantly. Settings live in the ESP32 flash, so after a power cut the lamp comes back exactly as you left it. Interrupt-based encoder reading and a menu UI in one project.
0.0(0)

Control your desk lamp with a single knob: turn it to scroll the menu on the little screen, press it to set the color, brightness, light effect, sleep timer or warm-to-cool white. The 24-LED ring shows every change the moment you make it, with breathing, rainbow and flickering candle effects too. Even after a power cut, the lamp comes back on with your last settings.
Source Code
Premium Content
The source code, block version and FAQ of this project are open to Premium members.
- All Project Code
- Block version
- Frequently Asked Questions
