Very cool!! I would love to build a version without the backing so the clock is see through. I noticed transparent PETG 3d printer filament may also work pretty well as a fiber optic tube as well!
Hi Danny! Does the version without the buttons work just as well? I would even like to replace the buttons with a remote control (IR) but I don't have enough knowledge about coding.
It's working but not right (the version without buttons). How to set the right time in program? For example it's 19:51 and the LEDs are showing 16:00 (if it's other hour in real life the LEDs shows 16:00 too). That's the only issue with it. How to prevent it?
Hello Danny! Thank you for your clarification, but I still have doubts about the measurements. I imported the STL file "Window_LED_Band_Quarter" into Tinkercad, and it is coming with the following measurements, shown in Millimeters: 167.13 x 149.53 x 10.51 (Width x Length x Height). I am importing in Inches (original). If I import in Millimeters, the drawing comes out very small (tiny). Can you tell me if these measurements I gave you match the original size (in Millimeters)? Thank you very much. Daniel from Brazil.
Your numbers look correct on the size. I opened the file in Cura and set size to 2540% or 100% x 25.4 conversion from inches to mm and your size numbers are nearly identical (I originally modeled them in Fusion360, but since then moved to Solidworks and I don't have the files handy). The clock piece was designed around the WS2812B 1 meter long led strip, so if you measure the arc length of the curved segment you should be close to 250 mm on the one quarter piece. Radius for a 1 meter circumference circle is approximately 159 mm.
Hello Danny! How do I set the clock to start counting at 12 hours, even though the start of the strip is at the 6 o'clock LED, because of the wires? In the current code, the Minutes are changing when the Seconds LED reaches the middle of the strip. I saw something on line 80 but I don't understand what to do. P.S.: Let's say the RTC is set to the correct time; where will the 12 o'clock mark be on the LED strip in this code? Thank you.
Assume time is 3:02 pm or 15:02. Starting at line 75... 75: Logic true; 15 is >=11, then hourval = hourval -12: result = 15-12 = 3 77: hourval = (3*60)/12 = 15 *** I really should have used a new variable because hourval is now the led number in the 60 led strand *** So 15 led = 3 hr, 30 = 6 hr, 45 = 9 hr, 60 = 0/12 hr But since the wires are at the 6 hr position (bottom of the clock) we need to adjust by 30 leds. 80: logic is false since hourval = 15 and so else is used 84: hourval = 15 + 30 = 45, so leds starting at bottom counting clockwise is 45 led = 3 hr adjusthr, adjustmin, adjustsec are all LED positions when wires at bottom Minutes should change when seconds led reaches middle of strip in this configuration. Middle of strip is at the 0 seconds of the clock and the minute will increment by 1. 12 o'clock mark will be the middle of the strip.
@@beta1042 Thank you for your attention. Ok, so if I leave the position of the led strip wires at 6 o'clock (at the bottom of the clock), the code can remain as it is, because 12 o'clock will show in the opposite of 6 o'clock, that is, 180 degrees, am I right? P.S.: I liked the mathematical logic!
Sorry to get back late. The buttons are only needed to adjust the time if the board looses all power. So if I need to replace the battery I wouldn’t have to link it back up with the computer.
I did find a version of my code before I added the buttons. Maybe it will help. Location added in the description. I've never used the esp32 and I'm new to Arduino.
Wow 👏👏👏 excellent sir, Thank you very much for sharing code. Sir, Here error encountered. showing Message : ( exit status 1 'RTC_DS3231' does not name a type; did you mean 'DS3231' ? ) Please tell me how to solve this error. Thanks
It was modeled in inches. So you need to scale it by 25.4 to get to mm likely. The dial is made for a 60 leds per meter strip. So each section would be roughly 25 cm long.
Very cool!! I would love to build a version without the backing so the clock is see through. I noticed transparent PETG 3d printer filament may also work pretty well as a fiber optic tube as well!
Very nice work
Hi Danny! Does the version without the buttons work just as well?
I would even like to replace the buttons with a remote control (IR) but I don't have enough knowledge about coding.
It's working but not right (the version without buttons). How to set the right time in program? For example it's 19:51 and the LEDs are showing 16:00 (if it's other hour in real life the LEDs shows 16:00 too). That's the only issue with it. How to prevent it?
Hello Danny! Thank you for your clarification, but I still have doubts about the measurements.
I imported the STL file "Window_LED_Band_Quarter" into Tinkercad, and it is coming with the following measurements, shown in Millimeters: 167.13 x 149.53 x 10.51 (Width x Length x Height). I am importing in Inches (original). If I import in Millimeters, the drawing comes out very small (tiny). Can you tell me if these measurements I gave you match the original size (in Millimeters)? Thank you very much. Daniel from Brazil.
Your numbers look correct on the size. I opened the file in Cura and set size to 2540% or 100% x 25.4 conversion from inches to mm and your size numbers are nearly identical (I originally modeled them in Fusion360, but since then moved to Solidworks and I don't have the files handy). The clock piece was designed around the WS2812B 1 meter long led strip, so if you measure the arc length of the curved segment you should be close to 250 mm on the one quarter piece. Radius for a 1 meter circumference circle is approximately 159 mm.
SHOW 🇧🇷 👏 🇧🇷... vou tentar fazer.
Tudo ok Obrigado.
Supiri brooo
Hello Danny! How do I set the clock to start counting at 12 hours, even though the start of the strip is at the 6 o'clock LED, because of the wires?
In the current code, the Minutes are changing when the Seconds LED reaches the middle of the strip.
I saw something on line 80 but I don't understand what to do.
P.S.: Let's say the RTC is set to the correct time; where will the 12 o'clock mark be on the LED strip in this code? Thank you.
Assume time is 3:02 pm or 15:02.
Starting at line 75...
75: Logic true; 15 is >=11, then hourval = hourval -12: result = 15-12 = 3
77: hourval = (3*60)/12 = 15
*** I really should have used a new variable because hourval is now the led number in the 60 led strand
*** So 15 led = 3 hr, 30 = 6 hr, 45 = 9 hr, 60 = 0/12 hr
But since the wires are at the 6 hr position (bottom of the clock) we need to adjust by 30 leds.
80: logic is false since hourval = 15 and so else is used
84: hourval = 15 + 30 = 45, so leds starting at bottom counting clockwise is 45 led = 3 hr
adjusthr, adjustmin, adjustsec are all LED positions when wires at bottom
Minutes should change when seconds led reaches middle of strip in this configuration. Middle of strip is at the 0 seconds of the clock and the minute will increment by 1.
12 o'clock mark will be the middle of the strip.
@@beta1042 Thank you for your attention.
Ok, so if I leave the position of the led strip wires at 6 o'clock (at the bottom of the clock), the code can remain as it is, because 12 o'clock will show in the opposite of 6 o'clock, that is, 180 degrees, am I right?
P.S.: I liked the mathematical logic!
@@Dancopymus correct
Super sir... Excellent work.. . How can I get the code the sir please
Added a link in the description. Hope it helps.
Awosam
Mind blowing innovation sir...
Please you give circuit diagram?
Added to the thingiverse link: www.thingiverse.com/thing:4980731
@@beta1042 Thank you.. 😊
Dear Denny,
I like your clock and I would like to build it. Please inform me where can i bought the four plastic parts and leds. Thank you Suby
Plastic parts were 3D printed. My files are here: www.thingiverse.com/thing:4980731
Added link to LED strip in the description.
Hi, thank you for sharing this LED clock project, beautiful! If no buttons are available (plain esp32) would it still run you think?
Sorry to get back late. The buttons are only needed to adjust the time if the board looses all power. So if I need to replace the battery I wouldn’t have to link it back up with the computer.
I did find a version of my code before I added the buttons. Maybe it will help. Location added in the description. I've never used the esp32 and I'm new to Arduino.
Wow 👏👏👏 excellent sir,
Thank you very much for sharing code.
Sir, Here error encountered.
showing Message : ( exit status 1
'RTC_DS3231' does not name a type; did you mean 'DS3231' ? )
Please tell me how to solve this error.
Thanks
Hello. The work is very nice. I want to do it too, but can you share the 3D printer .STL*
Ok. Finally got around to publishing the stl files. See the description.
@@beta1042 Thank you very much
@@beta1042 I'm sorry. The stl is too small. What is the size of the watch?
Do you have the wiring diagram for the version with the button please?
Added to the thingiverse link: www.thingiverse.com/thing:4980731
Hello. The size of the stl file is very small. Can you share the actual dimensions?
It was modeled in inches. So you need to scale it by 25.4 to get to mm likely. The dial is made for a 60 leds per meter strip. So each section would be roughly 25 cm long.
@@beta1042 Thank you
can you share the 3D printer .STL?
Finally got around to publishing the stl files. See the description.
@@beta1042 thank you
Could you share the code please?
Added a link in the description. Good luck.
Reply