- Table of contentShow
I wish you a Merry Christmas!!! and to celebrate this evening I've just uploaded a new repository for the Wipy 2.0. Some Christmas lights using the WS2812B!
Things used in this project
Hardware components
Video Preview
Config
boot.py
: add your ssid, wlan password, and configure the ip address. You need this file if you want to connect the Wipy 2.0 to your router, otherwise you can avoid copying it and the Wipy remains as an wlan access point.main.py
: you find some options here. The most important option isledNumber
. Set this value correctly.Options:
dimmer_step
: increase/decrese step by dimming (default: 0.05)dimer_min_level
: min dimming level (default: 65%)sleep_time
: time in milliseconds to wait between dimming steps (default: 250ms)rotate_max
: max step for rotating (default: 50 steps)sleep_time_fast
: time in milliseconds to wait between rotating steps (default: 150ms)
You can also change the dimming colors:
red
,green
,blue
,gold
variables inmain.py
, and ...- the rotating colors
red
,green
,blue
,gold
variables inleds.py
.
Wiring
WS2812B LED STRIP WIPY 2.0 green cable leds
P11
(orG22
from the extension board)black cable leds
GND
More info & help
- Wipy2.0: https://docs.pycom.io/pycom_esp32/pycom_esp32/wipy2.html
- WS2812B: https://cdn-shop.adafruit.com/datasheets/WS2812B.pdf
I am looking forward for a better next year! and remember to be happy is the greatest wish in life.
We use cookies to improve our services. Read more about how we use cookies and how you can refuse them.
Empty