{"id":455,"date":"2013-04-13T17:02:26","date_gmt":"2013-04-14T00:02:26","guid":{"rendered":"http:\/\/zethus.ca\/wp\/?p=455"},"modified":"2013-04-13T17:06:29","modified_gmt":"2013-04-14T00:06:29","slug":"oled-magic-8-ball-pt-1","status":"publish","type":"post","link":"http:\/\/zethus.ca\/wp\/?p=455","title":{"rendered":"Oled Magic 8 Ball Pt.1"},"content":{"rendered":"<p>I&#8217;ve started on the next stupid project. I bought some SSD1306 OLED displays off of ebay back in December, and thought I should do something with them. \u00a0I settled on a digital magic 8 ball. \u00a0Leveraging the circuitry from the digital dice project, I laid out a board for the Oled that uses I2C. \u00a0The Oled has an onboard charge pump to generate the 7.5 volts for the display. \u00a0It works, but is hard on the Li 2032 cell that powers this thing. \u00a0More testing still needs to be done.<\/p>\n<p>The plan here is to have a board that you shake, and gives you a message. \u00a0Perfect for those software design decisions!<\/p>\n<p>I&#8217;ve CNC milled an acrylic case.<a href=\"http:\/\/zethus.ca\/wp\/?attachment_id=456\" rel=\"attachment wp-att-456\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-456 alignright\" alt=\"IMG_0708\" src=\"http:\/\/zethus.ca\/wp\/wp-content\/uploads\/2013\/04\/IMG_0708-300x225.jpg\" width=\"300\" height=\"225\" srcset=\"http:\/\/zethus.ca\/wp\/wp-content\/uploads\/2013\/04\/IMG_0708-300x225.jpg 300w, http:\/\/zethus.ca\/wp\/wp-content\/uploads\/2013\/04\/IMG_0708-1024x768.jpg 1024w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Getting libraries working was a bit of an issue. \u00a0All of the ones that I&#8217;ve tried did not work out of the box. It seems that &#8220;Horizontal&#8221; addressing mode was not working, and a couple of bytes were getting eaten by the GDDRAM at the start of each \u00a0line write. \u00a0So for now the hardware is done. The software libraries are done, \u00a0I&#8217;ll just need to integrate the MMA7660 accelerometer code, and find out what the Magic 8 Ball strings are.<\/p>\n<p>I&#8217;ll post the code, and the gerbers once this is complete. \u00a0Once again I used the Arduino libraries, this is the easy choice when not using an RTOS I guess&#8230;<\/p>\n<p>&nbsp;<\/p>\n<p><object width=\"560\" height=\"315\" classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http:\/\/download.macromedia.com\/pub\/shockwave\/cabs\/flash\/swflash.cab#version=6,0,40,0\"><param name=\"allowFullScreen\" value=\"true\" \/><param name=\"allowscriptaccess\" value=\"always\" \/><param name=\"src\" value=\"https:\/\/www.youtube-nocookie.com\/v\/0Zhn2wUjvv0?version=3&amp;hl=en_US&amp;rel=0\" \/><param name=\"allowfullscreen\" value=\"true\" \/><\/object><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve started on the next stupid project. I bought some SSD1306 OLED displays off of ebay back in December, and thought I should do something with them. \u00a0I settled on a digital magic 8 ball. \u00a0Leveraging the circuitry from the &hellip; <a href=\"http:\/\/zethus.ca\/wp\/?p=455\">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":{"footnotes":""},"categories":[14,5,18],"tags":[],"class_list":["post-455","post","type-post","status-publish","format-standard","hentry","category-arduino","category-avr","category-cnc"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"http:\/\/zethus.ca\/wp\/index.php?rest_route=\/wp\/v2\/posts\/455","targetHints":{"allow":["GET"]}}],"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=455"}],"version-history":[{"count":10,"href":"http:\/\/zethus.ca\/wp\/index.php?rest_route=\/wp\/v2\/posts\/455\/revisions"}],"predecessor-version":[{"id":465,"href":"http:\/\/zethus.ca\/wp\/index.php?rest_route=\/wp\/v2\/posts\/455\/revisions\/465"}],"wp:attachment":[{"href":"http:\/\/zethus.ca\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=455"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/zethus.ca\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=455"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/zethus.ca\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=455"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}