ESP8266 Neopixel Controller
von vmensik
Druckbare Dateien (4)
-
stlWS2812B_controller_box.stl
95 Ko · 624 Downloads
-
stlWS2812B_ring_16_diffuser.stl
116 Ko · 616 Downloads
-
stlWS2812B_ring_16.stl
277 Ko · 608 Downloads
-
stlWS2812B_controller_box_cover.stl
4 Ko · 616 Downloads
Beschreibung
I have bought a couple of ESP-01S boards without any project really in my mind. But recently I have discovered cool looking WS2812B (Neopixel) adapters for these boards, so that gave me an idea for a project.
After several iterations I have developed little device, that enables to control WS2812B strips/rings either throught web interface, through MQTT commands or through REST API. It has also one button, that can switch various colors and effects.
What can it do:
- provides web interface that enables to select any color, save it to EEPROM, start an effect
- when enabled, the WS1228B strips can be controlled via MQTT commands (color, effect, off)
- REST API is also available to set color or effect
- button click cycles through saved colors, double click cycles through available effects and long click turns Neopixels off
Project can be used in home automation systems as it provides several interfaces that could be easily integrated into for example Node-Red.
WIFI network is required.
Hardware
It is possible to use any ESP8266 board, but I used specifically ESP-01S boards (non-affiliated links):
- WS2812B adapter for ESP-01S
- ESP-01S - you need the "S" version as it has more falsh memory (1MB)
- Momentary push button
- Micro USB connector
- 16x WS1228B (Neopixel) ring - you should be able to use even more Neopixels
Setup
Detailed informations about setup, source code and API interfaces can be founds on GitHub.