esp8266_NeoPixel/README.md

67 lines
1.7 KiB
Markdown
Raw Permalink Normal View History

2020-06-28 16:03:11 +02:00
# esp8266_NeoPixel
2020-06-28 16:46:58 +02:00
## About
MQTT NeoPixel control using a esp8266 based board (ESP-01S). Platformio project
file for convenience.
2020-06-28 16:46:58 +02:00
## Requirements
- ESP-01 board
- [ESP-01 RGB Board](https://www.aliexpress.com/item/32843759597.html)
- WS2812 WS2812B n Bits Light Ring (I used 16 Bits) (Adafruit NeoPixel)
- 3-5V supply or battery
2020-06-28 16:46:58 +02:00
![HW](HW.jpg)
- [Visual Studio Code](https://code.visualstudio.com/) (or Codium) with:
- [PlatformIO extension](https://platformio.org/) with platform Espressif
8266 installed (configuration for the board in
[platformio.ini](platformio.ini))
2020-06-28 16:46:58 +02:00
## Demo
2020-06-28 16:46:58 +02:00
(Tested with MQTT_Dashboard)
![Demo](./Demo_compressed.gif)
## RGB Lamp
Some improvements to create something similar to [**Twisted WiFi-controlled
Desk Lamp**](https://www.thingiverse.com/thing:4129249):
- Drilled base to have access to reset button
![Base](./20210617-105718.jpg)
- Using ESP-01 and ESP-01 RGB Board instead of Weemos D1 mini
![Base 2](./20210621-221439.jpg)
Finished lamp with MQTT Dashboard demo:
![RGB Lamp and MQTT Dashboard](./dashboard_demo.gif)
2020-06-28 16:46:58 +02:00
## References and links
- Libraries and code based on examples from the [Unofficial SDK](https://programs74.ru/udkew-en.html)
for Espressif ESP8266
- [Adafruit NeoPixel Arduino Library](https://github.com/adafruit/Adafruit_NeoPixel)
## Important notes
It is important that the user modifies the corresponding fields between
```< >``` in the file ```src/user_config.h```
2020-06-28 16:46:58 +02:00
## TODO
2020-06-28 16:49:32 +02:00
- Implement initial SSID and Password configuration by setting the ESP as an
Access Point, displaying a welcome site and have the user input stored in the
device
- ~~Standalone light effects~~
## Contributing
Feel free to drop a line/contact me if interested in this project