{"id":4201,"date":"2013-08-04T13:34:18","date_gmt":"2013-08-04T13:34:18","guid":{"rendered":"http:\/\/xronosclock.com\/home\/?p=4201"},"modified":"2019-02-15T11:46:30","modified_gmt":"2019-02-15T11:46:30","slug":"say-hello-to-xronos-mega","status":"publish","type":"post","link":"http:\/\/xronosclock.com\/home\/?p=4201","title":{"rendered":"Say hello to Xronos Mega"},"content":{"rendered":"<p>There&#8217;s something that I&#8217;ve been working on besides Xronos Alarm Clock for the past 6 months.<\/p>\n<p>A little story behind it goes like this.<\/p>\n<p>I don&#8217;t have any wall clocks, so I had a store bought alarm clock (Emerson?) with very large digits (biggest I could find) to serve as a time piece by the TV. Just about when I was getting Xronos V1.0 to see the light that &#8220;TV&#8221; clock died. And so I started to outline a wall clock that will be really big, with tons of features, remote control, and huge LED matrix display.\u00a0 Thus Xronos Mega Clock was born \ud83d\ude42<\/p>\n<p>In the end I settled on four 24&#215;16 single color LED matrix displays made by Sure Electronics. Originally I wanted to use same display as in Xronos Alarm Clock (32&#215;16 bicolor): 2 on top would give me 64&#215;16 space for clock digits and then on the bottom I wanted to have a single 8 height row for the scrolling messages that would display date, temperature, etc.\u00a0 Then I realized it&#8217;s going to be huge pain in the butt to drive different arrays from ATMega chip, so I settled on four 24&#215;16 displays.<\/p>\n<p><!--more--><\/p>\n<p>After I got LED matrix boards from eBay, I realized that my Xronos 1.0 board won&#8217;t be able to drive them because they needed extra connections (for 3 more chip selects). It actually lead me to the including those connectors in the V2.0 and subsequent PCBs which now physically support both Sure&#8217;s 32&#215;16 as well as 12&#215;16 displays!<br \/>\nAnyway after I got hardware part figured out, I spent days and weeks trying to figure out how to drive these displays and split them logically in two displays (top and bottom).\u00a0 Florinc&#8217;s (WiseClock) as well as BroHogan&#8217;s and Nick&#8217;s Pong Clock&#8217;s driver code was very helpful in figuring out driver part. I think biggest challenge was running multiple scrolling functions in parallel with other things that were happening. I probably taxed full processing resources of ATMega1284 chip \ud83d\ude42\u00a0 One thing I&#8217;m sure is there&#8217;s a ton of room for improvement of the efficiency in the code, especially for programmer better than me \ud83d\ude42<\/p>\n<p>Functionality.<\/p>\n<p>Currently Mega clock can display time with seconds, scroll date (or any text message) as well temperature from internal sensor and from external one via RFM12B receiver.\u00a0 There&#8217;s an RGB LED in the &#8220;eye&#8221; of the clock that will indicate &#8230; well something like an issue with receiver or incoming alert.\u00a0 There&#8217;s an Infrared receiver and a remote to control clock from the couch, ambient light sensor for auto-brightness adjustment, a speaker and 3 arcade buttons for setting clock&#8217;s functions when remote is not available.\u00a0 Most of these come in Xronos Alarm clocks, however there are few functions that will be new.<br \/>\nMega clock will have a GPS module for getting exact time from satellites (it&#8217;s not connected right now, but I&#8217;ve tested and it works great). I&#8217;m also thinking of adding a Geiger counter to show ambient radiation levels just for fun. And when I figure out how to run Moteino sensors from batteries for a long time I&#8217;ll add a mail box notifier and humidity sensors.\u00a0 In fact I plan to replace internal temperature sensor with temperature\/humidity sensor soon (shouldn&#8217;t be hard).<\/p>\n<p>Also I wanted to mention I don&#8217;t yet have plans to sell Mega clock due to it&#8217;s VERY high cost of making, however if you really want one I can certainty will<\/p>\n<p>And finally here&#8217;s photo gallery and a video of clock in action.<\/p>\n<div class=\"fusion-fullwidth fullwidth-box fusion-builder-row-1 hundred-percent-fullwidth non-hundred-percent-height-scrolling\" style=\"--awb-border-radius-top-left:0px;--awb-border-radius-top-right:0px;--awb-border-radius-bottom-right:0px;--awb-border-radius-bottom-left:0px;--awb-overflow:visible;\" ><div class=\"fusion-builder-row fusion-row\"><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-0 fusion_builder_column_1_1 1_1 fusion-one-full fusion-column-first fusion-column-last fusion-column-no-min-height\" style=\"--awb-bg-size:cover;--awb-margin-top:0px;--awb-margin-bottom:0px;\"><div class=\"fusion-column-wrapper fusion-flex-column-wrapper-legacy\"><div id='gallery-1' class='gallery galleryid-4201 gallery-columns-3 gallery-size-thumbnail'><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a href='http:\/\/xronosclock.com\/home\/wp-content\/uploads\/2013\/08\/IMG_2523.jpg'><img decoding=\"async\" width=\"150\" height=\"150\" src=\"http:\/\/xronosclock.com\/home\/wp-content\/uploads\/2013\/08\/IMG_2523-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" aria-describedby=\"gallery-1-4203\" srcset=\"http:\/\/xronosclock.com\/home\/wp-content\/uploads\/2013\/08\/IMG_2523-66x66.jpg 66w, http:\/\/xronosclock.com\/home\/wp-content\/uploads\/2013\/08\/IMG_2523-150x150.jpg 150w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/a>\n\t\t\t<\/div>\n\t\t\t\t<figcaption class='wp-caption-text gallery-caption' id='gallery-1-4203'>\n\t\t\t\tSize Comparison\n\t\t\t\t<\/figcaption><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a href='http:\/\/xronosclock.com\/home\/wp-content\/uploads\/2013\/08\/xronos_mega.jpg'><img decoding=\"async\" width=\"150\" height=\"150\" src=\"http:\/\/xronosclock.com\/home\/wp-content\/uploads\/2013\/08\/xronos_mega-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" srcset=\"http:\/\/xronosclock.com\/home\/wp-content\/uploads\/2013\/08\/xronos_mega-66x66.jpg 66w, http:\/\/xronosclock.com\/home\/wp-content\/uploads\/2013\/08\/xronos_mega-150x150.jpg 150w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/a>\n\t\t\t<\/div><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon portrait'>\n\t\t\t\t<a href='http:\/\/xronosclock.com\/home\/wp-content\/uploads\/2013\/08\/IMG_2505.jpg'><img decoding=\"async\" width=\"150\" height=\"150\" src=\"http:\/\/xronosclock.com\/home\/wp-content\/uploads\/2013\/08\/IMG_2505-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" aria-describedby=\"gallery-1-4205\" srcset=\"http:\/\/xronosclock.com\/home\/wp-content\/uploads\/2013\/08\/IMG_2505-66x66.jpg 66w, http:\/\/xronosclock.com\/home\/wp-content\/uploads\/2013\/08\/IMG_2505-150x150.jpg 150w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/a>\n\t\t\t<\/div>\n\t\t\t\t<figcaption class='wp-caption-text gallery-caption' id='gallery-1-4205'>\n\t\t\t\tMessy Internals\n\t\t\t\t<\/figcaption><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a href='http:\/\/xronosclock.com\/home\/wp-content\/uploads\/2013\/08\/IMG_2506.jpg'><img decoding=\"async\" width=\"150\" height=\"150\" src=\"http:\/\/xronosclock.com\/home\/wp-content\/uploads\/2013\/08\/IMG_2506-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" aria-describedby=\"gallery-1-4206\" srcset=\"http:\/\/xronosclock.com\/home\/wp-content\/uploads\/2013\/08\/IMG_2506-66x66.jpg 66w, http:\/\/xronosclock.com\/home\/wp-content\/uploads\/2013\/08\/IMG_2506-150x150.jpg 150w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/a>\n\t\t\t<\/div>\n\t\t\t\t<figcaption class='wp-caption-text gallery-caption' id='gallery-1-4206'>\n\t\t\t\tLED Displays\n\t\t\t\t<\/figcaption><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a href='http:\/\/xronosclock.com\/home\/wp-content\/uploads\/2013\/08\/IMG_2510.jpg'><img decoding=\"async\" width=\"150\" height=\"150\" src=\"http:\/\/xronosclock.com\/home\/wp-content\/uploads\/2013\/08\/IMG_2510-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" aria-describedby=\"gallery-1-4210\" srcset=\"http:\/\/xronosclock.com\/home\/wp-content\/uploads\/2013\/08\/IMG_2510-66x66.jpg 66w, http:\/\/xronosclock.com\/home\/wp-content\/uploads\/2013\/08\/IMG_2510-150x150.jpg 150w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/a>\n\t\t\t<\/div>\n\t\t\t\t<figcaption class='wp-caption-text gallery-caption' id='gallery-1-4210'>\n\t\t\t\tBack side\n\t\t\t\t<\/figcaption><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon portrait'>\n\t\t\t\t<a href='http:\/\/xronosclock.com\/home\/wp-content\/uploads\/2013\/08\/IMG_2509.jpg'><img decoding=\"async\" width=\"150\" height=\"150\" src=\"http:\/\/xronosclock.com\/home\/wp-content\/uploads\/2013\/08\/IMG_2509-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" srcset=\"http:\/\/xronosclock.com\/home\/wp-content\/uploads\/2013\/08\/IMG_2509-66x66.jpg 66w, http:\/\/xronosclock.com\/home\/wp-content\/uploads\/2013\/08\/IMG_2509-150x150.jpg 150w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/a>\n\t\t\t<\/div><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a href='http:\/\/xronosclock.com\/home\/wp-content\/uploads\/2013\/08\/IMG_2508.jpg'><img decoding=\"async\" width=\"150\" height=\"150\" src=\"http:\/\/xronosclock.com\/home\/wp-content\/uploads\/2013\/08\/IMG_2508-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" srcset=\"http:\/\/xronosclock.com\/home\/wp-content\/uploads\/2013\/08\/IMG_2508-66x66.jpg 66w, http:\/\/xronosclock.com\/home\/wp-content\/uploads\/2013\/08\/IMG_2508-150x150.jpg 150w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/a>\n\t\t\t<\/div><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a href='http:\/\/xronosclock.com\/home\/wp-content\/uploads\/2013\/08\/IMG_2507.jpg'><img decoding=\"async\" width=\"150\" height=\"150\" src=\"http:\/\/xronosclock.com\/home\/wp-content\/uploads\/2013\/08\/IMG_2507-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" aria-describedby=\"gallery-1-4207\" srcset=\"http:\/\/xronosclock.com\/home\/wp-content\/uploads\/2013\/08\/IMG_2507-66x66.jpg 66w, http:\/\/xronosclock.com\/home\/wp-content\/uploads\/2013\/08\/IMG_2507-150x150.jpg 150w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/a>\n\t\t\t<\/div>\n\t\t\t\t<figcaption class='wp-caption-text gallery-caption' id='gallery-1-4207'>\n\t\t\t\tWithout faceplate\n\t\t\t\t<\/figcaption><\/figure>\n\t\t<\/div>\n\n<div class=\"fusion-video fusion-youtube\" style=\"--awb-max-width:600px;--awb-max-height:350px;\"><div class=\"video-shortcode\"><div class=\"fluid-width-video-wrapper\" style=\"padding-top:58.33%;\" ><iframe title=\"YouTube video player 1\" src=\"https:\/\/www.youtube.com\/embed\/lF7WeG_rEqk?wmode=transparent&autoplay=0\" width=\"600\" height=\"350\" allowfullscreen allow=\"autoplay; fullscreen\"><\/iframe><\/div><\/div><\/div><div class=\"fusion-clearfix\"><\/div><\/div><\/div><\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>There&#8217;s something that I&#8217;ve been working on besides Xronos Alarm Clock for the past 6 months. A little story behind [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":4218,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[33,12],"tags":[],"class_list":["post-4201","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-design","category-work-in-progress"],"_links":{"self":[{"href":"http:\/\/xronosclock.com\/home\/index.php?rest_route=\/wp\/v2\/posts\/4201","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/xronosclock.com\/home\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/xronosclock.com\/home\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/xronosclock.com\/home\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/xronosclock.com\/home\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4201"}],"version-history":[{"count":8,"href":"http:\/\/xronosclock.com\/home\/index.php?rest_route=\/wp\/v2\/posts\/4201\/revisions"}],"predecessor-version":[{"id":4487,"href":"http:\/\/xronosclock.com\/home\/index.php?rest_route=\/wp\/v2\/posts\/4201\/revisions\/4487"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/xronosclock.com\/home\/index.php?rest_route=\/wp\/v2\/media\/4218"}],"wp:attachment":[{"href":"http:\/\/xronosclock.com\/home\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4201"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/xronosclock.com\/home\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4201"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/xronosclock.com\/home\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4201"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}