Skip to content

Using ESP32 you can make a small home light show with 2 LED strips, a neopixel ring, a laser, a buzzer and an RGB LED!

License

Notifications You must be signed in to change notification settings

mavory/ESP32-home-light-show

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Jan 6, 2026
762ce38 · · Jan 6, 2026

History

21 Commits
Jan 5, 2026
Jan 5, 2026
Jan 5, 2026
Jan 5, 2026
Jan 5, 2026
Jan 5, 2026
Jan 4, 2026
Jan 6, 2026

Repository files navigation

ESP32 home light show

Using ESP32 you can make a small home light show with 2 LED strips, a neopixel ring, a laser, a buzzer and an RGB LED!

Why did I do this?

I wanted to create something with lighting effects and a few days ago I got this ring, so I wanted to try it out and also see how the relay works with LED strips.

Features

  • Web interface
  • You can switch modes
  • It has a buzzer and an RGB LED for notification
  • You can turn off various lights, buzzer, etc.

Scripts

The script has exactly 199 lines, so it fit under 200!! It was very difficult, but I put everything in just one script, so you can just copy it and paste it into the ESP32 right away.

How it works?

You can change profiles and turn off various lights via the web. The web runs on the ESP32 IP address. There is a small RGB LED and a buzzer for signaling. Everything can be turned on manually using the touch sensor hidden in the case.

  • Mode 1 (FOREST): Constant green ring light with strip.
  • Mode 2 (CYBER): Constant magenta ring light with laser.
  • Mode 3 (NUCLEAR): Blinking relay with orange ring and pulsing warning buzzer.
  • Mode 4 (SUNSET): Breathing effect on the ring in sunset colors.
  • Mode 5 (AMBIENT): White ring light and relay for steady "illumination".
  • Mode 6 (FOCUS): Blue pulsing ring effect for concentration with active relay.
  • Mode 7 (DISCO): Strobe for relay and laser with rainbow ring and rhythmic beeps.
  • Mode 8 (STROBE): High speed white strobe and ring with buzzer.
  • Mode 9 (POLICE): Red and blue flashing ring with a siren sound.
  • Mode 10 (EXTREME): Random chaotic flashing with flickering colors and noise.

I like sunset the most and extreme is probably the most chaotic!

Home page:

image

3D models

Here is a view of the top and bottom of the case:

image

image

Wiring Diagram

image

Components:

  • ESP32 (Powered via USB or 5V Vin)
  • Touch Sensor (TTP223):
    • SIG: GPIO 4
    • VCC: 3.3V / 5V
    • GND: GND

Outputs:

  • Relay (Strip Control): GPIO 23
  • Laser Diode: GPIO 22
  • Passive Buzzer: GPIO 17

Lights:

  • NeoPixel Ring (24 LEDs):
    • Data: GPIO 21
    • VCC: 5V
    • GND: GND
  • RGB LED:
    • Red Pin: GPIO 19
    • Green Pin: GPIO 18
    • Blue Pin: GPIO 5
    • GND: GND
  • LED strips:
    • 5V: COM (Relay) ---> 5V external (NO on relay)ay)
    • GND: GND

Libraries:

- Arduino.h
- WiFi.h
- ESPAsyncWebServer.h 
- AsyncTCP.h
- Adafruit_NeoPixel.h
- LittleFS.h
FS.h

There is the final video of how it works!

Here is a youtube video where you can see how it works: Link

image

About

Using ESP32 you can make a small home light show with 2 LED strips, a neopixel ring, a laser, a buzzer and an RGB LED!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages