Electronics & Microcontrollers · ESP8266 / ESP32
ESP Web Server for Addressable Lights
Host a song picker on a Wi-Fi microcontroller and have 200 addressable lights follow the notes.
- Series
- ELE
- Parts
- 6
- Published
- 2
People connect to the board's web page, pick a song, and a string of addressable lights plays along with the notes. The whole thing runs on one small board with no computer in the loop.
Before you start: you should be comfortable uploading a sketch from the Arduino IDE. You do not need to know how Wi-Fi servers or MIDI work. Each part explains the new idea before it uses it.
Parts
- 01Power and Wire 200 Addressable LEDsSize the power supply, add power injection, and wire the data line so 200 pixel lights run reliably from a Wi-Fi microcontroller.
- 02Hello, Pixels: Your First Test SketchInstall the pixel library, upload a short rainbow sketch, and confirm all 200 lights respond before you add Wi-Fi.
- 03Host a web page from the boardJoin Wi-Fi or start a hotspot, then serve a page with a song list.
- 04Store MIDI songs on the boardEmbed a few songs in flash memory and read their note events.
- 05Turn notes into lightMap pitch to pixel position and note velocity to brightness.
- 06Mount it and fix what goes wrongMake the build permanent and solve the problems that show up in real use.