{"id":56,"date":"2012-01-18T05:44:20","date_gmt":"2012-01-18T05:44:20","guid":{"rendered":"http:\/\/www.filippeters.com\/?page_id=56"},"modified":"2012-01-18T20:18:52","modified_gmt":"2012-01-18T20:18:52","slug":"blue-cube","status":"publish","type":"page","link":"https:\/\/www.filippeters.com\/?page_id=56","title":{"rendered":"Blue Cube"},"content":{"rendered":"<p>Led cube, 3mm blue LED&#8217;s in a 8x8x8 matrix.<\/p>\n<figure id=\"attachment_66\" aria-describedby=\"caption-attachment-66\" style=\"width: 175px\" class=\"wp-caption alignleft\"><a href=\"https:\/\/i0.wp.com\/www.filippeters.com\/wp-content\/uploads\/2012\/01\/IMG_0173_s.jpg\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\" wp-image-66  \" title=\"3D LED Cube\" src=\"https:\/\/i0.wp.com\/www.filippeters.com\/wp-content\/uploads\/2012\/01\/IMG_0173_s-274x300.jpg?resize=175%2C192\" alt=\"\" width=\"175\" height=\"192\" srcset=\"https:\/\/i0.wp.com\/www.filippeters.com\/wp-content\/uploads\/2012\/01\/IMG_0173_s.jpg?resize=274%2C300&amp;ssl=1 274w, https:\/\/i0.wp.com\/www.filippeters.com\/wp-content\/uploads\/2012\/01\/IMG_0173_s.jpg?resize=936%2C1024&amp;ssl=1 936w, https:\/\/i0.wp.com\/www.filippeters.com\/wp-content\/uploads\/2012\/01\/IMG_0173_s.jpg?w=1200&amp;ssl=1 1200w\" sizes=\"auto, (max-width: 175px) 100vw, 175px\" \/><\/a><figcaption id=\"caption-attachment-66\" class=\"wp-caption-text\">LED Cube<\/figcaption><\/figure>\n<p>I made this in december 2006. avr controller and a couple of i2c chips to drive the anodes.<\/p>\n<p>The base is made of wood.<\/p>\n<p>Top plate is a blank pcb, I simply scored lines in it with a knife, drilled holes in the matrix patter, then painted the top. The LED cube was then inserted in the holes and soldered on the bottom side of the circuit board.<\/p>\n<p>Of course, I could have made the whole circuit in smd on that board, but for one-off projects like this I prefer to use boards with holes and wire everything up. Microcontroller circuits like this are so simple you do not really need a schematic to understand it, just the data sheets for the specific ic&#8217;s.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/www.filippeters.com\/wp-content\/uploads\/2012\/01\/DSCF0107.jpg\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-thumbnail wp-image-70\" title=\"Underside of the top plate\" src=\"https:\/\/i0.wp.com\/www.filippeters.com\/wp-content\/uploads\/2012\/01\/DSCF0107-150x150.jpg?resize=150%2C150\" alt=\"\" width=\"150\" height=\"150\" srcset=\"https:\/\/i0.wp.com\/www.filippeters.com\/wp-content\/uploads\/2012\/01\/DSCF0107.jpg?resize=150%2C150&amp;ssl=1 150w, https:\/\/i0.wp.com\/www.filippeters.com\/wp-content\/uploads\/2012\/01\/DSCF0107.jpg?zoom=2&amp;resize=150%2C150&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.filippeters.com\/wp-content\/uploads\/2012\/01\/DSCF0107.jpg?zoom=3&amp;resize=150%2C150&amp;ssl=1 450w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/a><a href=\"https:\/\/i0.wp.com\/www.filippeters.com\/wp-content\/uploads\/2012\/01\/insidecube.jpg\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-thumbnail wp-image-71\" title=\"insidecube\" src=\"https:\/\/i0.wp.com\/www.filippeters.com\/wp-content\/uploads\/2012\/01\/insidecube-150x150.jpg?resize=150%2C150\" alt=\"\" width=\"150\" height=\"150\" srcset=\"https:\/\/i0.wp.com\/www.filippeters.com\/wp-content\/uploads\/2012\/01\/insidecube.jpg?resize=150%2C150&amp;ssl=1 150w, https:\/\/i0.wp.com\/www.filippeters.com\/wp-content\/uploads\/2012\/01\/insidecube.jpg?zoom=2&amp;resize=150%2C150&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.filippeters.com\/wp-content\/uploads\/2012\/01\/insidecube.jpg?zoom=3&amp;resize=150%2C150&amp;ssl=1 450w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/a><a href=\"https:\/\/i0.wp.com\/www.filippeters.com\/wp-content\/uploads\/2012\/01\/building.jpg\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-thumbnail wp-image-72\" title=\"building\" src=\"https:\/\/i0.wp.com\/www.filippeters.com\/wp-content\/uploads\/2012\/01\/building-150x150.jpg?resize=150%2C150\" alt=\"\" width=\"150\" height=\"150\" srcset=\"https:\/\/i0.wp.com\/www.filippeters.com\/wp-content\/uploads\/2012\/01\/building.jpg?resize=150%2C150&amp;ssl=1 150w, https:\/\/i0.wp.com\/www.filippeters.com\/wp-content\/uploads\/2012\/01\/building.jpg?zoom=2&amp;resize=150%2C150&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.filippeters.com\/wp-content\/uploads\/2012\/01\/building.jpg?zoom=3&amp;resize=150%2C150&amp;ssl=1 450w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/a><\/p>\n<p>This is made with an Atmel Mega8. I used avr gcc, and avrlib for the i2c routines. It was very easy to get this working with avrlib. I still remember when I made my mp3 player with an 6811F1, also with gcc, I had to write my own i2c routines, and even an assembly startup file.<\/p>\n<p>The columns are driven by 4 SAA1064 ic&#8217;s. Normally these are used to drive 4 digit displays, but they can also be used as 16 current sink&#8217;s, with current control. I prefer current controlled drivers for LED&#8217;s instead of resistors. A bit more uniform led control, and you can modify the current setting in software.<\/p>\n<p>Row&#8217;s are handled by \u00a0a 74hct138, driving 8 mosfet&#8217;s.\u00a0One button on the back to choose between different patterns, or cycle between patterns.<\/p>\n<p>&nbsp;<\/p>\n<p>Only a couple of patterns were made, the most interesting ones were &#8220;rain&#8221;, &#8220;flock&#8221; and &#8220;game of live&#8221;. Patterns with randomness are always interesting&#8230;<\/p>\n<p>And for people interested in some code:\u00a0<a href=\"http:\/\/www.filippeters.com\/wp-content\/uploads\/2012\/01\/blueCube.zip\">blueCube Source Code<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Led cube, 3mm blue LED&#8217;s in a 8x8x8 matrix. I made this in december 2006. avr controller and a couple of i2c chips to drive the anodes. The base is made of wood. Top plate is a blank pcb, I simply scored lines in it with a knife, drilled holes in the matrix patter, then &hellip; <a href=\"https:\/\/www.filippeters.com\/?page_id=56\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Blue Cube<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":26,"menu_order":5,"comment_status":"closed","ping_status":"closed","template":"sidebar-page.php","meta":{"jetpack_post_was_ever_published":false,"footnotes":""},"class_list":["post-56","page","type-page","status-publish","hentry"],"jetpack_shortlink":"https:\/\/wp.me\/P292Q1-U","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.filippeters.com\/index.php?rest_route=\/wp\/v2\/pages\/56","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.filippeters.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.filippeters.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.filippeters.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.filippeters.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=56"}],"version-history":[{"count":4,"href":"https:\/\/www.filippeters.com\/index.php?rest_route=\/wp\/v2\/pages\/56\/revisions"}],"predecessor-version":[{"id":73,"href":"https:\/\/www.filippeters.com\/index.php?rest_route=\/wp\/v2\/pages\/56\/revisions\/73"}],"up":[{"embeddable":true,"href":"https:\/\/www.filippeters.com\/index.php?rest_route=\/wp\/v2\/pages\/26"}],"wp:attachment":[{"href":"https:\/\/www.filippeters.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=56"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}