{"id":1881,"date":"2025-07-31T16:07:53","date_gmt":"2025-07-31T16:07:53","guid":{"rendered":"https:\/\/www.adrian-smith31.co.uk\/blog\/?p=1881"},"modified":"2025-08-23T23:00:33","modified_gmt":"2025-08-23T23:00:33","slug":"further-firmware-update-for-my-6-digit-atmega328p-clock","status":"publish","type":"post","link":"https:\/\/www.adrian-smith31.co.uk\/blog\/2025\/07\/further-firmware-update-for-my-6-digit-atmega328p-clock\/","title":{"rendered":"Further firmware update for my 6 digit ATMega328P clock"},"content":{"rendered":"<p>With collaboration with my friend Rick, I have updated the firmware for my clock and his version as well. My version shows the hours and minutes on 1.8&#8243; displays and the seconds on 0.8&#8243; displays. Rick&#8217;s version uses 4&#8243; high digits driven from my display driver boards discussed in a <a href=\"https:\/\/www.adrian-smith31.co.uk\/blog\/2025\/02\/spi-driver-board-for-large-2-8-7-segment-displays\/\">previous blog post<\/a> with alternate displays rotated through 180 degrees so the decimal points act as colons. The new firmware now shows the date, temperature and has a 12 \/24 hour selectable mode along with remote control using commonly available remote sensors and remote controls as pictured. It uses the NEC protocol so virtually any remote control can be used instead. Rick wrote a short program that can read the IR codes from any remote control and dumps them to the serial port so that you can use your own remote control.<\/p>\n<p><a href=\"https:\/\/www.adrian-smith31.co.uk\/blog\/wp-content\/uploads\/2025\/08\/20-Button-Remote-Legend.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"alignright wp-image-2025 size-thumbnail\" src=\"https:\/\/www.adrian-smith31.co.uk\/blog\/wp-content\/uploads\/2025\/08\/20-Button-Remote-Legend-150x150.png\" alt=\"20 button remote legend\" width=\"150\" height=\"150\" srcset=\"https:\/\/www.adrian-smith31.co.uk\/blog\/wp-content\/uploads\/2025\/08\/20-Button-Remote-Legend-150x150.png 150w, https:\/\/www.adrian-smith31.co.uk\/blog\/wp-content\/uploads\/2025\/08\/20-Button-Remote-Legend-300x300.png 300w, https:\/\/www.adrian-smith31.co.uk\/blog\/wp-content\/uploads\/2025\/08\/20-Button-Remote-Legend.png 700w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/a><a href=\"https:\/\/www.adrian-smith31.co.uk\/blog\/wp-content\/uploads\/2025\/08\/IR-Rcvr.jpg\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"alignright wp-image-2026 size-thumbnail\" src=\"https:\/\/www.adrian-smith31.co.uk\/blog\/wp-content\/uploads\/2025\/08\/IR-Rcvr-150x150.jpg\" alt=\"Ir rcvr\" width=\"150\" height=\"150\" srcset=\"https:\/\/www.adrian-smith31.co.uk\/blog\/wp-content\/uploads\/2025\/08\/IR-Rcvr-150x150.jpg 150w, https:\/\/www.adrian-smith31.co.uk\/blog\/wp-content\/uploads\/2025\/08\/IR-Rcvr-300x300.jpg 300w, https:\/\/www.adrian-smith31.co.uk\/blog\/wp-content\/uploads\/2025\/08\/IR-Rcvr.jpg 600w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/a><\/p>\n<p>The firmware can be downloaded below.<\/p>\n<p><a href=\"https:\/\/www.adrian-smith31.co.uk\/blog\/wp-content\/uploads\/2025\/07\/clocksim.html\" target=\"_blank\" rel=\"noopener\">Web based simulation of my clock<\/a><\/p>\n<p><a href=\"https:\/\/www.adrian-smith31.co.uk\/blog\/wp-content\/uploads\/2025\/08\/Rick_Clock.zip\" target=\"_blank\" rel=\"noopener\">Rick&#8217;s version &#8211; Version 2.0.0<\/a><\/p>\n<p><a href=\"https:\/\/www.adrian-smith31.co.uk\/blog\/wp-content\/uploads\/2025\/02\/Clock-Schematic.png\" target=\"_blank\" rel=\"noopener\">Rick&#8217;s version schematic<\/a><\/p>\n<p><a href=\"https:\/\/www.adrian-smith31.co.uk\/blog\/wp-content\/uploads\/2025\/07\/6_digit_clock_V2.zip\" target=\"_blank\" rel=\"noopener\">Version 2.0.1 &#8211; Fixed &#8220;F&#8221; character &amp; temperature compensation<\/a><\/p>\n<p><a href=\"https:\/\/www.adrian-smith31.co.uk\/blog\/wp-content\/uploads\/2025\/07\/IR_serial_test_3.8.zip\" target=\"_blank\" rel=\"noopener\">IR code finder &#8211; dumps IR codes of pressed button to serial port<\/a><\/p>\n<p><a href=\"https:\/\/www.adrian-smith31.co.uk\/blog\/wp-content\/uploads\/2025\/07\/IR_Serial_Test_3.8_LCD.zip\" target=\"_blank\" rel=\"noopener\">IR Finder LCD version &#8211; displays the results on an LCD instead<\/a><\/p>\n<p><strong>Demo video &#8211; my version<\/strong><\/p>\n\n<div class=\"youtube-embed\" itemprop=\"video\" itemscope itemtype=\"https:\/\/schema.org\/VideoObject\">\n\t<meta itemprop=\"url\" content=\"https:\/\/www.youtube.com\/v\/G4-cMTUiDoY\" \/>\n\t<meta itemprop=\"name\" content=\"Further firmware update for my 6 digit ATMega328P clock\" \/>\n\t<meta itemprop=\"description\" content=\"Further firmware update for my 6 digit ATMega328P clock\" \/>\n\t<meta itemprop=\"uploadDate\" content=\"2025-07-31T16:07:53+00:00\" \/>\n\t<meta itemprop=\"thumbnailUrl\" content=\"https:\/\/i.ytimg.com\/vi\/G4-cMTUiDoY\/default.jpg\" \/>\n\t<meta itemprop=\"embedUrl\" content=\"https:\/\/www.youtube.com\/embed\/G4-cMTUiDoY\" \/>\n\t<meta itemprop=\"height\" content=\"340\" \/>\n\t<meta itemprop=\"width\" content=\"560\" \/>\n\t<iframe loading=\"lazy\" style=\"border: 0;\" class=\"youtube-player\" width=\"560\" height=\"340\" src=\"https:\/\/www.youtube.com\/embed\/G4-cMTUiDoY\" allowfullscreen><\/iframe>\n<\/div>\n\n<p>&nbsp;<\/p>\n<p><strong>Demo video &#8211; Rick&#8217;s version<\/strong><\/p>\n\n<div class=\"youtube-embed\" itemprop=\"video\" itemscope itemtype=\"https:\/\/schema.org\/VideoObject\">\n\t<meta itemprop=\"url\" content=\"https:\/\/www.youtube.com\/v\/L9ovey3i6SU\" \/>\n\t<meta itemprop=\"name\" content=\"Further firmware update for my 6 digit ATMega328P clock\" \/>\n\t<meta itemprop=\"description\" content=\"Further firmware update for my 6 digit ATMega328P clock\" \/>\n\t<meta itemprop=\"uploadDate\" content=\"2025-07-31T16:07:53+00:00\" \/>\n\t<meta itemprop=\"thumbnailUrl\" content=\"https:\/\/i.ytimg.com\/vi\/L9ovey3i6SU\/default.jpg\" \/>\n\t<meta itemprop=\"embedUrl\" content=\"https:\/\/www.youtube.com\/embed\/L9ovey3i6SU\" \/>\n\t<meta itemprop=\"height\" content=\"340\" \/>\n\t<meta itemprop=\"width\" content=\"560\" \/>\n\t<iframe loading=\"lazy\" style=\"border: 0;\" class=\"youtube-player\" width=\"560\" height=\"340\" src=\"https:\/\/www.youtube.com\/embed\/L9ovey3i6SU\" allowfullscreen><\/iframe>\n<\/div>\n\n","protected":false},"excerpt":{"rendered":"<p>With collaboration with my friend Rick, I have updated the firmware for my clock and his version as well. My version shows the hours and minutes on 1.8&#8243; displays and the seconds on 0.8&#8243; displays. Rick&#8217;s version uses 4&#8243; high digits driven from my display driver boards discussed in a previous blog post with alternate [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1841,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"Further firmware update for my 6 digit ATMega328P clock - Adrian's electronics blog","description":"With collaboration with my friend Rick, I have updated the firmware for my clock and his version as well. My version shows the hours and minutes on 1.8\" display"},"footnotes":""},"categories":[5],"tags":[],"class_list":["post-1881","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-projects"],"_links":{"self":[{"href":"https:\/\/www.adrian-smith31.co.uk\/blog\/wp-json\/wp\/v2\/posts\/1881","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.adrian-smith31.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.adrian-smith31.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.adrian-smith31.co.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.adrian-smith31.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=1881"}],"version-history":[{"count":22,"href":"https:\/\/www.adrian-smith31.co.uk\/blog\/wp-json\/wp\/v2\/posts\/1881\/revisions"}],"predecessor-version":[{"id":2039,"href":"https:\/\/www.adrian-smith31.co.uk\/blog\/wp-json\/wp\/v2\/posts\/1881\/revisions\/2039"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.adrian-smith31.co.uk\/blog\/wp-json\/wp\/v2\/media\/1841"}],"wp:attachment":[{"href":"https:\/\/www.adrian-smith31.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=1881"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.adrian-smith31.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=1881"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.adrian-smith31.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=1881"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}