{"id":9708,"date":"2014-11-25T15:02:51","date_gmt":"2014-11-25T20:02:51","guid":{"rendered":"http:\/\/embedded-lab.com\/blog\/?p=9708"},"modified":"2014-11-25T15:03:44","modified_gmt":"2014-11-25T20:03:44","slug":"arduino-oled-clock-plus-thermometer","status":"publish","type":"post","link":"https:\/\/embedded-lab.com\/blog\/arduino-oled-clock-plus-thermometer\/","title":{"rendered":"Arduino OLED clock plus thermometer"},"content":{"rendered":"<p>Organic light-emitting diode\u00a0(OLED) displays are the coolest displays ever made. Check out this instructable on building an <a href=\"http:\/\/www.instructables.com\/id\/DS3231-OLED-clock-with-2-button-menu-setting-and-t\/\" target=\"_blank\"><strong>Arduino controlled OLED clock<\/strong><\/a> that uses a DS3231 RTC module for precise time-keeping. The DS3231 is a low-cost, extremely accurate I2C realtime\u00a0clock (RTC) with an integrated temperature compensated\u00a0crystal oscillator (TCXO) and crystal. The project incorporates a rechargeable battery to maintain accurate\u00a0timekeeping during power failure. The implementation of an interactive\u00a0menu system, which is navigated through two tact switches, the time setting becomes handy.\u00a0The DS3231 module uses the built-in temperature sensor to compensate for clock drift due to temperature variation, which helps to keep the accuracy to 1 or 2 minutes\/year. By default, the temperature is sensed and updated by the DS3231 once every 64 seconds. However, it is possible through software to update temperature reading and oscillator adjustment done as fast as 5 times\/second. The temperature measurements are also displayed on the OLED clock screen. The author uses <a href=\"https:\/\/learn.adafruit.com\/adafruit-gfx-graphics-library\/overview\" target=\"_blank\">Adafruits Graphics library<\/a>\u00a0to drive the OLED display, which has the\u00a0SSD1306 controller.<\/p>\n<div id=\"attachment_9709\" style=\"width: 590px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/?attachment_id=9709\" rel=\"attachment wp-att-9709\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-9709\" class=\"size-full wp-image-9709\" alt=\"Arduino OLED clock\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2014\/11\/clock.jpg\" width=\"580\" height=\"385\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2014\/11\/clock.jpg 580w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2014\/11\/clock-550x365.jpg 550w\" sizes=\"auto, (max-width: 580px) 100vw, 580px\" \/><\/a><p id=\"caption-attachment-9709\" class=\"wp-caption-text\">Arduino OLED clock<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Organic light-emitting diode\u00a0(OLED) displays are the coolest displays ever made. Check out this instructable on building an Arduino controlled OLED clock that uses a DS3231 RTC module for precise time-keeping. The DS3231 is a low-cost, extremely accurate I2C realtime\u00a0clock (RTC) with an integrated temperature compensated\u00a0crystal oscillator (TCXO) and crystal. The project incorporates a rechargeable battery to maintain accurate\u00a0timekeeping during power failure. The implementation of an interactive\u00a0menu system, which is navigated through two tact switches, the time setting becomes handy.\u00a0The DS3231 module uses the built-in temperature sensor to compensate for clock drift due to temperature variation, which helps to keep the<\/p>\n","protected":false},"author":1,"featured_media":9709,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[150],"tags":[1040,27,46],"class_list":["post-9708","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-arduino-2","tag-arduino-oled-clock","tag-rtc","tag-thermometer"],"_links":{"self":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/9708","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/comments?post=9708"}],"version-history":[{"count":3,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/9708\/revisions"}],"predecessor-version":[{"id":9712,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/9708\/revisions\/9712"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/media\/9709"}],"wp:attachment":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/media?parent=9708"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/categories?post=9708"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/tags?post=9708"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}