This project uses an ESP32 module connected to a pair of neopixel LEDs to make them glow!
You could sew these leds into a plushie for extra effect.
The follow up to this project is glowing-eyes-connected where we connect the ESP32 to an MQTT broker so that the glow can be remotely triggered
- ESP32 module
- voltage converter
- 2x neopixel LEDs
With the ESP32 module disconnected from your laptop
- Connect a wire between the
gnd
pin of the ESP32 module and thegnd
pin of the voltage converter. - Connect a wire between the
3v3
pin of the ESP32 module and thelow voltage
pin of the voltage converter. - Connect a wire between the
d18
pin of the ESP32 module and thelow voltage 1
pin of the voltage converter. - Connect a wire between the
5v
pin of the ESP32 module and thehigh voltage
pin of the voltage converter. - Connect a wire between the
high voltage
pin of the voltage converter and thevin
pin of the first LED - Connect a wire between the
gnd
pin of the voltage converter and thegnd
pin of the first LED - Connect a wire between the
high voltage 1
pin of the voltage converter and thedata in
pin of the first LED
After connecting the ESP32 module to your laptop, set up a new PlatformIO project as described in the README.
you can copy the code out of main.cpp in this folder into the your own main.cpp