Hacking an IKEA lamp with glorious Neopixels - ESP32 MicroPython tutorial

Опубликовано: 14 Октябрь 2024
на канале: Bhavesh Kakwani
3,888
92

Learn how to upgrade an IKEA lamp into a colourful IoT light, with the power of ESP32, MicroPython and Neopixels!
Neopixels, a.k.a WS2812B LEDs, can bring home lighting projects to life with your own custom programmed light patterns.

Hardware:
Best practices for wiring Neopixels (capacitor, resistor, optional logic level shifter): https://learn.adafruit.com/adafruit-n...
Affordable WS2812Bs/Neopixels: https://www.amazon.ca/BTF-LIGHTING-Fl...
Neopixel 3-pin connectors: https://www.amazon.ca/BTF-LIGHTING-Co...
Adafruit HUZZAH32 board used in the video: https://www.adafruit.com/product/3405
Newer version of Adafruit’s ESP32 board, with more memory: https://www.adafruit.com/product/5400

Software:
Thonny IDE: https://thonny.org/
Micropython WebREPL repository: https://github.com/micropython/webrepl
WebREPL setup instructions: https://docs.micropython.org/en/lates...
Boilerplate function for connecting to WiFi in boot.py: https://docs.micropython.org/en/lates...

Neopixels tutorials: https://bhave.sh/micropython-neopixels-1 AND https://bhave.sh/micropython-neopixels-2
More MicroPython tutorials: https://bhave.sh
Twitter:   / beyond_sol  

Banner design and video editing (and soldering!) by Natalie Plociennik: https://natalie.gallery

0:00 Intro
0:29 Hardware overview
3:32 Coding RGB functions
13:46 Coding rainbow animation
20:39 Set up WebREPL & WiFi
28:33 Using WebREPL
32:08 Upload new code over WiFi