Your shopping cart is empty!
WiFi Neopixel RGB LED using CircuitPython
- Idris Zainal Abidin
- 26 Apr 2022
- 985
Introduction
I plan to add a light source to my video or live and this light can change colors. I have a NeoPixel 8x32 LED Panel, flexible type. For microcontrollers, I haven't decided yet, but it definitely supports CircuitPython.
Part 1: Design and 3D Print
Hardware Preparation
This is the list of items used in the video
- Maker Pi Pico
- USB Micro B Cable
- ESP8266 ESP-01 WiFi Serial Transceiver Module
- NeoPixel 8x32 LED Panel
- Artillery Hornet 3D Printer
3D Files
You can download the STL files from Thingiverse: https://www.thingiverse.com/thing:5380104
Part 2: Wiring, IoT Platform and Coding
Sample Program
This is CircuitPython sample program. You need to include these libraries in your CIRCUITPY/lib folder. You can download it from CircuitPython Library Bundle.
- adafruit_espatcontrol
- adafruit_minimqtt
- adafruit_io
- adafruit_requests.mpy
- neopixel.mpy
Thank You
References:
- CircuitPython Essentials: CircuitPython NeoPixel
- Adafruit IO Basics: Color
Thanks for reading this tutorial. If you have any technical inquiries, please post at Cytron Technical Forum.
"Please be reminded, this tutorial is prepared for you to try and learn.
You are encouraged to improve the code for a better application."