{"id":499,"date":"2013-09-06T19:23:00","date_gmt":"2013-09-07T02:23:00","guid":{"rendered":"http:\/\/zethus.ca\/wp\/?p=499"},"modified":"2014-01-05T23:04:59","modified_gmt":"2014-01-06T06:04:59","slug":"led-clock-more-details","status":"publish","type":"post","link":"http:\/\/zethus.ca\/wp\/?p=499","title":{"rendered":"Led Clock (more details)"},"content":{"rendered":"<h1>Yet another clock.<\/h1>\n<p><a href=\"http:\/\/zethus.ca\/wp\/?attachment_id=501\" rel=\"attachment wp-att-501\"><img loading=\"lazy\" class=\"size-medium wp-image-501 alignright\" alt=\"IMG_1951\" src=\"http:\/\/zethus.ca\/wp\/wp-content\/uploads\/2013\/09\/IMG_1951-300x279.jpg\" width=\"300\" height=\"279\" srcset=\"http:\/\/zethus.ca\/wp\/wp-content\/uploads\/2013\/09\/IMG_1951-300x279.jpg 300w, http:\/\/zethus.ca\/wp\/wp-content\/uploads\/2013\/09\/IMG_1951-1024x954.jpg 1024w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<h2>Design<\/h2>\n<p>This time I thought that I would do a proper writeup of the clock. At the heart of it is a string of WS2811 lights that I got off of ebay, that were asking to be made into a project. The leds came in a 5 meter roll at 60 LEDs\/meter. This dimension thus dictated the size of the clock with the diameter of the leds coming in at ~12.54 inches. (I use inches since the tools that I use like inches more than I do). So this was my design goal<\/p>\n<ul>\n<li>I wanted a ring of leds<\/li>\n<li>I wanted them to edge light the time marks on the clock<\/li>\n<li>I needed the electronics somewhere either separate, or on board, I decided to go with on board in the center.<\/li>\n<li>I had an LC Display at my disposal, so it should show the date, and heck the time as well, it also doubles as the menuing system (with buttons), so I have to take the display out to set the time<\/li>\n<li>I wanted hourly chimes, I was thinking Cuckoo Clock, but settled on Big Ben\u00a0chimes.<\/li>\n<\/ul>\n<h2>Engineering Details<\/h2>\n<p>Since I was planning on building and selling a cappuccino PID controller I have a surplus of boards. <a href=\"http:\/\/zethus.ca\/wp\/?attachment_id=503\" rel=\"attachment wp-att-503\"><img loading=\"lazy\" class=\"size-medium wp-image-503 alignright\" alt=\"IMG_1954 - Version 2\" src=\"http:\/\/zethus.ca\/wp\/wp-content\/uploads\/2013\/09\/IMG_1954-Version-2-300x268.jpg\" width=\"300\" height=\"268\" srcset=\"http:\/\/zethus.ca\/wp\/wp-content\/uploads\/2013\/09\/IMG_1954-Version-2-300x268.jpg 300w, http:\/\/zethus.ca\/wp\/wp-content\/uploads\/2013\/09\/IMG_1954-Version-2.jpg 807w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>There are perfect (Atmel AVR) boards that can be used for just about anything since I over engineered them. If you have interest in buying one drop me a note at &#8220;info at zethus dot ca&#8221; and we can work something out. So the dev board has:<\/p>\n<ul>\n<li>\u00a0AT90USB1287<\/li>\n<li>\u00a0128K external SRAM<\/li>\n<li>\u00a0SD card slot<\/li>\n<li>\u00a0SPI DAC and audio amplifier<\/li>\n<li>\u00a0Nokia 6100 color LCD display (130\u00d7130 12 bpp)<\/li>\n<li>\u00a0Battery backed real time clock<\/li>\n<li>I used PB 0 to bit bang out the WS2811 clock code.<\/li>\n<\/ul>\n<p>Software for this was trivial, since I did all the heavy lifting a couple of years ago. It only required banging in the WS2811 driver, the rest was all there menuing, RTC, RTOS, Bootloader, Mass Storage and audio code.<\/p>\n<p>For the physical machining I used a piece of 5\/8&#8243; MDF, cut with a 1\/4 in end mill. The design was done in CamBam. It was largely a bunch of circles but with a lip for the LED strip to reside in. The acrylic was cut as four separate pieces, mostly because I&#8217;m cheap and get my acrylics from the garbage bin at the local acrylic place. I&#8217;m sure it would look a lot better had the acrlic been cut from one piece. As it is however, I think the <a href=\"http:\/\/www.bramknaapen.com\/?p=549\">equinox clock<\/a> is probably a better visual design. The next build will look like this, and probably have the controller board external to the display. As I type this, I think having a largely hollow ring sitting on a base might be perfect. Then it is no longer a wall clock.<\/p>\n<p>To put this together I first painted the MDF, then put the LED strip in the outer <a href=\"http:\/\/zethus.ca\/wp\/?attachment_id=508\" rel=\"attachment wp-att-508\"><img loading=\"lazy\" class=\"size-medium wp-image-508 alignright\" alt=\"IMG_1924 - Version 2\" src=\"http:\/\/zethus.ca\/wp\/wp-content\/uploads\/2013\/09\/IMG_1924-Version-2-300x176.jpg\" width=\"300\" height=\"176\" srcset=\"http:\/\/zethus.ca\/wp\/wp-content\/uploads\/2013\/09\/IMG_1924-Version-2-300x176.jpg 300w, http:\/\/zethus.ca\/wp\/wp-content\/uploads\/2013\/09\/IMG_1924-Version-2-1024x600.jpg 1024w, http:\/\/zethus.ca\/wp\/wp-content\/uploads\/2013\/09\/IMG_1924-Version-2.jpg 1384w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>circle of MDF. I tacked it down with hot glue. Next I put the center of the clock down, and laid the acrylic pieces on top. Once everything was aligned, I tacked them in place with more hot glue. Lesson learned here. I should have machine some holes in for machine screws to hold everything together, The hot glue doesn&#8217;t like to stick to MDF. Next I glued in the speaker, and the main board. The LC Panel is still separate, since I still need to pull it out from time to time, to set the clock. So it is held in place from the back with duct tape.<\/p>\n<p><a href=\"http:\/\/zethus.ca\/wp\/?attachment_id=502\" rel=\"attachment wp-att-502\"><img loading=\"lazy\" class=\"size-medium wp-image-502 alignleft\" alt=\"IMG_1951 - Version 2\" src=\"http:\/\/zethus.ca\/wp\/wp-content\/uploads\/2013\/09\/IMG_1951-Version-2-300x282.jpg\" width=\"300\" height=\"282\" srcset=\"http:\/\/zethus.ca\/wp\/wp-content\/uploads\/2013\/09\/IMG_1951-Version-2-300x282.jpg 300w, http:\/\/zethus.ca\/wp\/wp-content\/uploads\/2013\/09\/IMG_1951-Version-2.jpg 429w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>I also decided to cut an acrylic window for the front to give it a more polished look. I was a little bit tricky to do the profile cut in the clock center after the fact, but worked well enough. the acrylic window cut was childs play. Did I mention that having a CNC router is awesome. They are not cheap but if you are a geek and have the space, I highly recommend getting one. Well this still looks like a lame writeup, but maybe it is a bit better than the last.<\/p>\n<p>&nbsp;<\/p>\n<h2>Now with more Sound!<\/h2>\n<p>&nbsp;<br \/>\n<object width=\"420\" height=\"315\"><param name=\"movie\" value=\"\/\/www.youtube-nocookie.com\/v\/cf3-1jSJ6E0?version=3&amp;hl=en_US&amp;rel=0\"><\/param><param name=\"allowFullScreen\" value=\"true\"><\/param><param name=\"allowscriptaccess\" value=\"always\"><\/param><embed src=\"\/\/www.youtube-nocookie.com\/v\/cf3-1jSJ6E0?version=3&amp;hl=en_US&amp;rel=0\" type=\"application\/x-shockwave-flash\" width=\"420\" height=\"315\" allowscriptaccess=\"always\" allowfullscreen=\"true\"><\/embed><\/object><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Yet another clock. Design This time I thought that I would do a proper writeup of the clock. At the heart of it is a string of WS2811 lights that I got off of ebay, that were asking to be &hellip; <a href=\"http:\/\/zethus.ca\/wp\/?p=499\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[14,5,21,18,15],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"http:\/\/zethus.ca\/wp\/index.php?rest_route=\/wp\/v2\/posts\/499"}],"collection":[{"href":"http:\/\/zethus.ca\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/zethus.ca\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/zethus.ca\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/zethus.ca\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=499"}],"version-history":[{"count":8,"href":"http:\/\/zethus.ca\/wp\/index.php?rest_route=\/wp\/v2\/posts\/499\/revisions"}],"predecessor-version":[{"id":528,"href":"http:\/\/zethus.ca\/wp\/index.php?rest_route=\/wp\/v2\/posts\/499\/revisions\/528"}],"wp:attachment":[{"href":"http:\/\/zethus.ca\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=499"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/zethus.ca\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=499"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/zethus.ca\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=499"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}