Skip to content
/ Desklamp Public

A desk lamp that is based on an ESP32 and uses an LED strip as a light source

Notifications You must be signed in to change notification settings

jkobh/Desklamp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Desklamp

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.

Components

Hardware Used

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

Libraries Used

  • Arduino.h: for millis() and random().
  • math.h: for sin() and PI.
  • driver/rmt.h

Assembly Instructions

Wiring Diagram

3D-Printed Case

Installation Instructions

  1. Setup Arduino IDE:

  2. Download the Code:

    • Download the code from the src folder
  3. Flash Firmware:

    • Upload the code onto your ESP32 using the Arduino IDE or PlatformIO.
  4. Assemble the Lamp:

    • Connect all components as described in the wiring diagram and place them in the 3D-printed case.

License

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.


Author: Instagram | YouTube

About

A desk lamp that is based on an ESP32 and uses an LED strip as a light source

Topics

Resources

Stars

Watchers

Forks