{"id":127,"date":"2013-10-31T02:09:14","date_gmt":"2013-10-31T02:09:14","guid":{"rendered":"http:\/\/voodoomanmiracle.com\/wp\/?p=127"},"modified":"2013-12-19T01:37:47","modified_gmt":"2013-12-19T01:37:47","slug":"fourthirty-mk-1","status":"publish","type":"post","link":"http:\/\/voodoomanmiracle.com\/wp\/?p=127","title":{"rendered":"FourThirty mk.1"},"content":{"rendered":"<p><a href=\"http:\/\/voodoomanmiracle.com\/wp\/wp-content\/uploads\/2013\/10\/91.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignright size-medium wp-image-167\" alt=\"91\" src=\"http:\/\/voodoomanmiracle.com\/wp\/wp-content\/uploads\/2013\/10\/91-300x233.jpg\" width=\"300\" height=\"233\" srcset=\"http:\/\/voodoomanmiracle.com\/wp\/wp-content\/uploads\/2013\/10\/91-300x233.jpg 300w, http:\/\/voodoomanmiracle.com\/wp\/wp-content\/uploads\/2013\/10\/91-385x300.jpg 385w, http:\/\/voodoomanmiracle.com\/wp\/wp-content\/uploads\/2013\/10\/91.jpg 800w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>I&#8217;ve been wearing my <a title=\"OLED Watch\" href=\"http:\/\/voodoomanmiracle.com\/wp\/?p=59\" target=\"_blank\">MSP430 watch<\/a> pretty regularly. It proved to be a practical timepiece, so I figured I&#8217;d have a go at a new version with some upgraded components.<\/p>\n<p><!--more--><\/p>\n<p>I will use the same OLED display from my previous watch design. While the power consumption of this display is rather high when active (up to 7ma @ 3v), the contrast and readability of the display is unmatched by any alternative. I will use the <a href=\"http:\/\/www.ti.com\/product\/msp430fr5738\" target=\"_blank\">MSP430FR5738<\/a> in this design. This is a fairly new addition to the MSP430 series of 16-bit ultra low power microcontrollers from TI. The chip consumes as little as 1.5uA while maintaining a real-time clock and monitoring interrupts. The Ferroelectric RAM in this chip is also capable of zero-power data retention. \u00a0This allows for a neat trick that saves the clock variables across a reset or battery change; You don&#8217;t need to re-set the time. \u00a0The watch will also get an accelerometer. <a href=\"http:\/\/www.st.com\/web\/catalog\/sense_power\/FM89\/SC444\/PF250725\" target=\"_blank\">LIS3DH<\/a> seems like a good choice. I&#8217;m interested in it&#8217;s ability to autonomously detect &#8216;tap&#8217; and &#8216;double tap&#8217; events and fire an interrupt to wake the main processor. It even has an internal high-pass filter to reject gravitational acceleration. It should be able to share a SPI bus with the display. I&#8217;ll include a nice LDO and under-voltage protection for use with an unprotected li-po, but design primarily for a CR2016 or CR2025 coin cell. First step is to design symbols and footprints for EagleCAD and 3D models in Sketchup.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-134\" alt=\"batthldtd300\" src=\"http:\/\/voodoomanmiracle.com\/wp\/wp-content\/uploads\/2013\/10\/batthldtd300.jpg\" width=\"300\" height=\"191\" \/><img loading=\"lazy\" decoding=\"async\" class=\"alignright size-full wp-image-135\" alt=\"batthldsu300\" src=\"http:\/\/voodoomanmiracle.com\/wp\/wp-content\/uploads\/2013\/10\/batthldsu300.jpg\" width=\"300\" height=\"187\" \/><br \/>\nNext, I put together the schematic and board layout. You may notice the huge ground plane. This was necessary to allow a CR2025 to fit in a holder designed for CR2016. By doing this, I will get a longer run time without compromising height. It also made routing rather difficult without resorting to a four layer board. You may notice some shortcuts I took to overcome the limitation.<br \/>\n<a href=\"http:\/\/voodoomanmiracle.com\/wp\/wp-content\/uploads\/2013\/10\/sch1024.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-143\" alt=\"sch300\" src=\"http:\/\/voodoomanmiracle.com\/wp\/wp-content\/uploads\/2013\/10\/sch300.jpg\" width=\"300\" height=\"187\" \/><\/a><a href=\"http:\/\/voodoomanmiracle.com\/wp\/wp-content\/uploads\/2013\/10\/brd1024.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignright size-full wp-image-145\" alt=\"brd300\" src=\"http:\/\/voodoomanmiracle.com\/wp\/wp-content\/uploads\/2013\/10\/brd300.jpg\" width=\"300\" height=\"187\" \/><\/a><br \/>\nI could now import the board design into Sketchup and begin to design an enclosure.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-148\" alt=\"3dboard300\" src=\"http:\/\/voodoomanmiracle.com\/wp\/wp-content\/uploads\/2013\/10\/3dboard300.jpg\" width=\"300\" height=\"187\" \/><img loading=\"lazy\" decoding=\"async\" class=\"alignright size-full wp-image-149\" alt=\"3dfull300\" src=\"http:\/\/voodoomanmiracle.com\/wp\/wp-content\/uploads\/2013\/10\/3dfull300.jpg\" width=\"300\" height=\"187\" \/><br \/>\nOrders were placed to <a href=\"http:\/\/www.shapeways.com\/\" target=\"_blank\">Shapeways<\/a>, <a href=\"http:\/\/oshpark.com\/\" target=\"_blank\">OSHPark<\/a>, and <a href=\"http:\/\/www.digikey.com\/\" target=\"_blank\">DigiKey<\/a>. Most of the components were soldered in my reflow (toaster) oven. \u00a0The display, battery holder, buttons, and programming header were hand soldered.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-156\" alt=\"popd\" src=\"http:\/\/voodoomanmiracle.com\/wp\/wp-content\/uploads\/2013\/10\/popd.jpg\" width=\"300\" height=\"449\" srcset=\"http:\/\/voodoomanmiracle.com\/wp\/wp-content\/uploads\/2013\/10\/popd.jpg 300w, http:\/\/voodoomanmiracle.com\/wp\/wp-content\/uploads\/2013\/10\/popd-200x300.jpg 200w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><img loading=\"lazy\" decoding=\"async\" class=\"alignright size-full wp-image-157\" alt=\"popd2\" src=\"http:\/\/voodoomanmiracle.com\/wp\/wp-content\/uploads\/2013\/10\/popd2.jpg\" width=\"300\" height=\"435\" srcset=\"http:\/\/voodoomanmiracle.com\/wp\/wp-content\/uploads\/2013\/10\/popd2.jpg 300w, http:\/\/voodoomanmiracle.com\/wp\/wp-content\/uploads\/2013\/10\/popd2-206x300.jpg 206w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-158\" alt=\"w22\" src=\"http:\/\/voodoomanmiracle.com\/wp\/wp-content\/uploads\/2013\/10\/w22.jpg\" width=\"600\" height=\"408\" srcset=\"http:\/\/voodoomanmiracle.com\/wp\/wp-content\/uploads\/2013\/10\/w22.jpg 600w, http:\/\/voodoomanmiracle.com\/wp\/wp-content\/uploads\/2013\/10\/w22-300x204.jpg 300w, http:\/\/voodoomanmiracle.com\/wp\/wp-content\/uploads\/2013\/10\/w22-441x300.jpg 441w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p><a href=\"http:\/\/voodoomanmiracle.com\/wp\/wp-content\/uploads\/2013\/10\/93.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-170\" alt=\"93\" src=\"http:\/\/voodoomanmiracle.com\/wp\/wp-content\/uploads\/2013\/10\/93-300x237.jpg\" width=\"300\" height=\"237\" srcset=\"http:\/\/voodoomanmiracle.com\/wp\/wp-content\/uploads\/2013\/10\/93-300x237.jpg 300w, http:\/\/voodoomanmiracle.com\/wp\/wp-content\/uploads\/2013\/10\/93-378x300.jpg 378w, http:\/\/voodoomanmiracle.com\/wp\/wp-content\/uploads\/2013\/10\/93.jpg 800w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><a href=\"http:\/\/voodoomanmiracle.com\/wp\/wp-content\/uploads\/2013\/10\/95.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignright size-medium wp-image-171\" alt=\"95\" src=\"http:\/\/voodoomanmiracle.com\/wp\/wp-content\/uploads\/2013\/10\/95-300x214.jpg\" width=\"300\" height=\"214\" srcset=\"http:\/\/voodoomanmiracle.com\/wp\/wp-content\/uploads\/2013\/10\/95-300x214.jpg 300w, http:\/\/voodoomanmiracle.com\/wp\/wp-content\/uploads\/2013\/10\/95-420x300.jpg 420w, http:\/\/voodoomanmiracle.com\/wp\/wp-content\/uploads\/2013\/10\/95.jpg 800w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Coding for most of the major functions is complete. I wear the thing most days. Some cool tricks with the accelerometer are possible, but coding is slow. I&#8217;m building from the ground up here, and I&#8217;m not a great coder. Future updates will be posted to this page.<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/hackaday.com\/2013\/12\/17\/stylish-oled-watch-uses-accelerometer-instead-of-buttons\/\" target=\"_blank\">&#8212; Featured on hackaday.com &#8212;<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; I&#8217;ve been wearing my MSP430 watch pretty regularly. It proved to be a practical timepiece, so I figured I&#8217;d have a go at a new version with some upgraded components.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-127","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/voodoomanmiracle.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/127","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/voodoomanmiracle.com\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/voodoomanmiracle.com\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/voodoomanmiracle.com\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/voodoomanmiracle.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=127"}],"version-history":[{"count":27,"href":"http:\/\/voodoomanmiracle.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/127\/revisions"}],"predecessor-version":[{"id":176,"href":"http:\/\/voodoomanmiracle.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/127\/revisions\/176"}],"wp:attachment":[{"href":"http:\/\/voodoomanmiracle.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=127"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/voodoomanmiracle.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=127"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/voodoomanmiracle.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=127"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}