LARGE DIY Digital Clock 7 segment ESP8266 + Arduino CODE
ฝัง
- เผยแพร่เมื่อ 13 มิ.ย. 2024
- Today we see how to program a 7-segment display built with WS2812B NEOPIXEL LEDS strips.
We use an ESP8266 microcontroller and the Arduino programming IDE.
Let's see the code explained step by step in detail.
If you have any questions or suggestions, write in the comments and I will answer them all.
If you like to support me, like the video and above all subscribe to the channel.
Stay tuned for the next video.
📌 This video is sponsored by PCBWAY
🔗 www.pcbway.com/
00:00 - Start
00:47 - Intro
01:18 - Define Libraries
01:35 - Assign Variables
02:49 - Segments leds numbering
03:49 - HSV Colore Method
05:12 - PCB Way Sponsor
06:32 - Init WiFi
07:04 - Switch On all segments first digit
07:44 - Switch on all leds step by step
08:24 - Define segment 'a'
09:54 - Switch on all segment first digit
11:04 - Switch on first segment of all 4 digits
12:34 - Show numer '1'
15:29 - Show the time
If you like this tutorial you could leave a comment and subscribe so you don't miss the next videos.
📌 ARDUINO CODE
🔗bitandweb.com/DOWNLOAD/Display...
OTHER VIDEOS MENTIONED
------------------------------
📌 LARGE DIY 7 Segment Display Leds Digital Clock Arduino IOT
🔗 • LARGE DIY 7 Segment Di...
📌 LARGE DIY 7 Segment Display Leds Digital Clock
🔗 • LARGE DIY 7 Segment Di...
SOCIAL
------------------------------
📣 TikTok: / boomy_tech
🎁 Instagram: / boomy_tech
👤Twitter: / boomy_tech
EMAIL
-----------------------------
To contact me for infos, sponsorships or collaborations:
📫 email: boomytech@gmail.com
#arduinoproject #arduino #esp8266 #diyprojects #electronicsprojects #neopixels #neopixel #ws2812b #ws2812 #diyelectronics - บันเทิง
Thank you so much.. Much appricited for the elaboration and code.
Looking for more such videos.
thank you for watching the video 👍🏻
Thank you so much for your support!
Thanks @PCBWay to support the channel..👍🏻
Excellent
Thank you Rajendra..
👍🏻👍🏻👍🏻 nice…where can I find links of other videos?
Hello you can find links in the description..
Finally figured out the connections. Questions are in regards to a 12/24 hour time, how to make it a 12 hour and not show the first "0". Second are the color of the pixels are defined in one place as int digit_Color = 43000; or do I need to change a bunch of places. I am wanting the LED's to be white and not the blue'ish color they are. Thanks.
Hi, digit_Color is the var that determine the color in HSV Color Format. if you want a white color you have to de-saturate the color:
pixel.ColorHSV(digit_Color, 255, is_ON ? digit_Brightness : 0 )
255 is maximum saturation, 0 is no color saturation.
you need to play a little bit with source code and you can obtain everything you need :-)
bonjour y a til fichier compiler pour esp32
good morning, try using the source in the description and download the libraries for esp32
I made a clock with 86 leds (3 leds per segment,21 leds per digit and 4 leds (2×2) for blinking dots..but 2 dots are not blinking for seconds plzz help
Hello friend, these are the line about two dots blinking every seconds:
void _dP1(bool is_ON) { pixel.setPixelColor(0+((display_Number-1) * 37),pixel.ColorHSV(digit_Color, 255, is_ON ? digit_Brightness : 0));}
void _dP2(bool is_ON) { pixel.setPixelColor(11+((display_Number-1) * 37),pixel.ColorHSV(digit_Color, 255, is_ON ? digit_Brightness : 0));}
I use 43,44,45,46,leds for flashing dots.how to edit that
pixel.setPixelColor(0
Sir, I USE ONE NEOPIXEL LED PER SEGMENT AND TWO DOTS (i,e 9 per digit total 9x4 =36, ) just tell how i define segment "a" of first digit ,rest i will do by myself with your blessings.
Hello, you need to change this line...
pixel.setPixelColor(i+((display_Number-1) * 37)
where '37' is the total led per digit. (5*7 + 2 points)
i upload your neopixel clock sketch but not working send me plz libraries link
Hello, pls write in the comment what is the problem so that me or other guys can try to help you.. :-)
i made this clock 9 pixel segment total 252 pixel led. work fine but i want to display dot flashing 253 to 260 pixel last 8 led pixel . how i can do this plz help.
@aamirusman6254 ok, so any segment is made by 9 leds. If you watch this video:
th-cam.com/video/P29QfonZse8/w-d-xo.htmlsi=c4ZoIqCZyRkSmSg8
At 3:10 you can see a drawing paper sequence leds. You have to re-calculate the numbers range for each segment and for flashing dots… as soon as I can I post you the software section you have to adjust
Thanks for Reply, i make one digit 63 leds. without dot now i want to change dots after 252 leds and in this video you made segment by 5 leds.
"and in this video you made segment by 9 leds". --> no, in my video each segment is made by 5 leds