![]() Also make sure to print the front first layer in a spiral. One semi transparent first 2mm and the rest an opaque color. The STL for the front with dividers is in one STL file. I designed the case in Blender and the files can be found in this project. The schematics are not even worth drawing out :) Not really schematics but more like a wiring diagram. An XL4015 version sound like capable of handling this. The LED ring contains 241 LEDs and can consume up to 3.5 Amps. ![]() DC-DC converter if you like to accept multiple input voltages.That is why I created a function that caches the previous values of the 'pow()' function to make it a lot faster.Īfter all I'm quite happy with the result :) EffectsĪt random moments the clock is replaced by an effect. ![]() I wanted the seconds hand to move smoothly and so I used the milliseconds as an offset to the seconds.Ĭalculating the hands uses the 'pow()' function and that is a very CPU intensive operation. The current it takes at full brightness is a bit high but that is no problem while the clock in normal operation is not at full brightness and not all LEDs are lit.Īfter the testing I wrote an Arduino program to show time based on NTP and once in a while shows an effect. I started by testing with an example program to see if all functions as expected and it did. 26 hours of printing resulted in an enclosure that perfectly fits the LED ring. Some calculations were needed but after a couple of hours I had my 3D design in Blender. Each LED needs to be separate from the neighboring LEDs. Effectively the ring became a strand of 241 LED's all addressable from a serial bus. Data-in and Data-out were next to each other and could simply be daisy-chained with a short piece of wire. Nice, It looked perfect and very easy to use. So I ordered one and waited the standard couple of weeks for it to arrive. At our favorite Chinese shop I found a 241 LED ring that demanded to become a clock. IntroductionĪs a sucker for clocks I'm always looking for cool projects surrounding clocks. It looks a lot warmer and more saturated in real life. I also use the milliseconds clock of the Arduino combined with the NTP clock to have a seconds hand that rotates fluently instead of ticking the seconds.įilming this does not show the colors I see. The brightness of the LED is calculated from the distance to the virtual pixel. To make it more beautiful hands are antialiased. The clock shows the hands in diferent colors on the grid of LEDs.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |