ICStation.com WS2812 Ring Turned Into An Analog Clock With ESP8266
HTML-код
- Опубликовано: 11 сен 2024
- In this video I show you a LED ring with 24 WS2812s. As a test I show fancy colors with arduino nano and then go on and make simple analog clock with ESP8266. Clock will get it's time from NTP server, no need to set time manually.
Simple source code with comments:
pastebin.com/ak...
Not the prettiest code, doesn't include error handling and there are SO MUCH more to improve. But hey... It's a start, feel free to use that as a template and modify it to fit your needs.
This product was given to me by ICStation.com.
ICStation also gave a coupon to share with you:
COUPON:
Code: hhics
Discount Amount: 18% off
Max Use: 1 (one for per user)
Amount Limit: 100
"ICStation 24 Particles WS2812 5050 RGB LED Circular Lamp" $7.59 (Check up-to-date time from their website):
www.icstation.c...
ICStation has great selection of modules, components and other items and they are constantly adding new products, so be sure to check new arrivals at www.icstation.c... every now and then. I look forward to doing more videos about their products in the future!
If you liked the video, please show it and hit the Like-button!
Check out my other videos:
/ hugatry
Subscribe:
www.youtube.co...
Thanks for your awesome video for the colorful LED! : )
There are issues with setting the correct time zone... It pulls the UT only. Guidance on coding of the correct zone is needed.
I've been having trouble using the esp8266, i am using an arduino uno to program the esp, but I don't get any response when I type in commands in the serial monitor. I am curious about the resistors that you have on your esp8266
You need to connect CH_PD and RST pins to VCC through pull-up resistors (for example 2.2kOhm or 4.7kOhm). CH_PD is "Chip power down" pin and RST is Reset. Both of them are active low, so we pull them high to make sure ESP8266 won't power down or reset unexpectedly.
When using Arduino board as USB to serial -converter (Not programming the Arduino, but using the onboard converter with some kind of serial terminal program), you need to connect Arduino's reset-pin to ground OR remove the Atmega328, if that is removable. You also need to notice that pin labeled "RX" on Arduino board is actually TX of the USB to serial -converter, and needs to be connected to ESP8266's RX. Vice versa, pin labeled "TX" goes to ESP8266's TX.
@@Hugatry Good product, I want 1 assembled set for my personal use. Kindly let me know the cost.