This repository is about a nice RGB lamp I made for my desk. The lamp has a rainbow, study, reading and disco mode, as can be seen in the demo.
The project is based on the ESP8266 Node MCU v1 and a WS2812 LED strip.
-
1kΩ Resistor for connecting the push button
-
300Ω - 500Ω Resistor for the LED strip's data link
-
1000μF Capacitor
ESP Pin | Description |
---|---|
Vin | 5v power in |
GND | connected to ground |
A0 | microphone data in |
D6 | push button in |
D1 | LED strip data out |
For this project you need to download and install the FastLED library. Refer to the library's ESP notes to get the library properly working with an ESP.
The original repository I used for the lamp's disco mode is hansjny's sound reactive LED strip project. Don't forget to check it out.