A desk lamp that is based on an ESP32 and uses an LED strip as a light source
This repository documents the development and control of a desk and ambient lamp. The lamp combines functional lighting for the work area with atmospheric light modes for a pleasant room ambience.
Name | Description | Image |
---|---|---|
RGBW LED Strip | An RGBW LED strip providing vibrant colors and adjustable white tones.AliExpress | |
ESP32 | Seeed Studio XIAO ESP32S3 for controlling the lamp and enabling smart features.AliExpress | |
Push Button Switch | An Button to turn the lamp on/off and to switch modeAliExpress |
- Arduino.h: for millis() and random().
- math.h: for sin() and PI.
- driver/rmt.h
- Download the 3D model here: 3D model file
- Preview:
-
Setup Arduino IDE:
- Install the Arduino IDE.
-
Download the Code:
- Download the code from the src folder
-
Flash Firmware:
- Upload the code onto your ESP32 using the Arduino IDE or PlatformIO.
-
Assemble the Lamp:
- Connect all components as described in the wiring diagram and place them in the 3D-printed case.
This project is licensed under the Creative Commons Attribution-NonCommercial 4.0 International License. You may share and adapt this material for non-commercial purposes with appropriate attribution.