{"id":1337,"date":"2021-04-27T13:49:26","date_gmt":"2021-04-27T13:49:26","guid":{"rendered":"https:\/\/www.adrian-smith31.co.uk\/blog\/?p=1337"},"modified":"2023-11-10T12:06:26","modified_gmt":"2023-11-10T12:06:26","slug":"ntp-clock-only-version-of-my-esp8266-based-display","status":"publish","type":"post","link":"https:\/\/www.adrian-smith31.co.uk\/blog\/2021\/04\/ntp-clock-only-version-of-my-esp8266-based-display\/","title":{"rendered":"NTP clock only version of my ESP8266 based display"},"content":{"rendered":"<p>As there was interest I have released firmware for my YouTube statistics and clock internet connected display featured in my previous post for users who just want an NTP clock and don&#8217;t require the YouTube counter functions. This clock automatically gets the time from the NTP server and synchronises it with the software based RTC running on the module every hour. A button toggles daylight saving time on and off.<\/p>\n<p><a href=\"https:\/\/www.adrian-smith31.co.uk\/blog\/wp-content\/uploads\/2021\/03\/PXL_20210226_153219391-1-scaled.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-1291\" src=\"https:\/\/www.adrian-smith31.co.uk\/blog\/wp-content\/uploads\/2021\/03\/PXL_20210226_153219391-1-300x169.jpg\" alt=\"\" width=\"300\" height=\"169\" srcset=\"https:\/\/www.adrian-smith31.co.uk\/blog\/wp-content\/uploads\/2021\/03\/PXL_20210226_153219391-1-300x169.jpg 300w, https:\/\/www.adrian-smith31.co.uk\/blog\/wp-content\/uploads\/2021\/03\/PXL_20210226_153219391-1-1024x576.jpg 1024w, https:\/\/www.adrian-smith31.co.uk\/blog\/wp-content\/uploads\/2021\/03\/PXL_20210226_153219391-1-768x432.jpg 768w, https:\/\/www.adrian-smith31.co.uk\/blog\/wp-content\/uploads\/2021\/03\/PXL_20210226_153219391-1-1536x864.jpg 1536w, https:\/\/www.adrian-smith31.co.uk\/blog\/wp-content\/uploads\/2021\/03\/PXL_20210226_153219391-1-2048x1152.jpg 2048w, https:\/\/www.adrian-smith31.co.uk\/blog\/wp-content\/uploads\/2021\/03\/PXL_20210226_153219391-1-600x338.jpg 600w, https:\/\/www.adrian-smith31.co.uk\/blog\/wp-content\/uploads\/2021\/03\/PXL_20210226_153219391-1-1040x585.jpg 1040w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>The source code and pre-compiled .bin file can be downloaded in the links below. Use <a href=\"https:\/\/github.com\/nodemcu\/nodemcu-flasher\" target=\"_blank\" rel=\"noopener\">ESP8266flasher.exe<\/a> tool to upload the firmware which is available on Github. I can&#8217;t post the file here but if you click on the link or google search for the tool it will show up. ESP flash tool settings set as follows:-<\/p>\n<p>Baud rate 115200, flash size = 4Mb, DIO mode, 40Mhz (not to be confused with CPU clock speed) and finally flash to location 0x00000 as shown in the pictures below. Finally set the COM port on the operation tab and click the program \/ flash button.<\/p>\n<p><a href=\"https:\/\/www.adrian-smith31.co.uk\/blog\/wp-content\/uploads\/2021\/04\/Flash-tool-2.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-1352 alignleft\" src=\"https:\/\/www.adrian-smith31.co.uk\/blog\/wp-content\/uploads\/2021\/04\/Flash-tool-2-300x178.jpg\" alt=\"\" width=\"174\" height=\"103\" srcset=\"https:\/\/www.adrian-smith31.co.uk\/blog\/wp-content\/uploads\/2021\/04\/Flash-tool-2-300x178.jpg 300w, https:\/\/www.adrian-smith31.co.uk\/blog\/wp-content\/uploads\/2021\/04\/Flash-tool-2.jpg 579w\" sizes=\"auto, (max-width: 174px) 100vw, 174px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/www.adrian-smith31.co.uk\/blog\/wp-content\/uploads\/2021\/04\/Flash-tool-1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-1351 alignnone\" src=\"https:\/\/www.adrian-smith31.co.uk\/blog\/wp-content\/uploads\/2021\/04\/Flash-tool-1-300x181.jpg\" alt=\"\" width=\"173\" height=\"104\" srcset=\"https:\/\/www.adrian-smith31.co.uk\/blog\/wp-content\/uploads\/2021\/04\/Flash-tool-1-300x181.jpg 300w, https:\/\/www.adrian-smith31.co.uk\/blog\/wp-content\/uploads\/2021\/04\/Flash-tool-1.jpg 585w\" sizes=\"auto, (max-width: 173px) 100vw, 173px\" \/><\/a><\/p>\n<p><strong>Links to firmware<\/strong><\/p>\n<p><a href=\"https:\/\/www.adrian-smith31.co.uk\/blog\/wp-content\/uploads\/2021\/05\/Internet_clock_UTC_NodeMCU_V1.1.zip\" target=\"_blank\" rel=\"noopener\">Internet clock (UTC \/ GMT timezone)<\/a><\/p>\n<p><a href=\"https:\/\/www.adrian-smith31.co.uk\/blog\/wp-content\/uploads\/2021\/05\/Internet_clock_CET_NodeMCU_V1.1.zip\" target=\"_blank\" rel=\"noopener\">Internet clock (CET timezone)<\/a><\/p>\n<p>Please contact me for other timezones.<\/p>\n<p><a href=\"https:\/\/www.adrian-smith31.co.uk\/blog\/wp-content\/uploads\/2021\/04\/Instructions-clock-only.pdf\" target=\"_blank\" rel=\"noopener\">Setup instructions and manual<\/a><\/p>\n<p><a href=\"https:\/\/www.adrian-smith31.co.uk\/blog\/wp-content\/uploads\/2021\/04\/Internet_clock.zip\" target=\"_blank\" rel=\"noopener\">Source code<\/a><\/p>\n<p><a href=\"https:\/\/www.adrian-smith31.co.uk\/blog\/wp-content\/uploads\/2021\/06\/Internet_clock_UTC_NodeMCU_V1.2.zip\" target=\"_blank\" rel=\"noopener\">Version 1.2 <\/a>of the firmware and source code. In this version I added a DST mode on \/ off indicator on the rightmost decimal point of the display. The download link is for the UTC \/ GMT timezone. Contact me for other timezones.<\/p>\n<p>Licence: creative commons attribution-non commercial (CC BY-NC)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As there was interest I have released firmware for my YouTube statistics and clock internet connected display featured in my previous post for users who just want an NTP clock and don&#8217;t require the YouTube counter functions. This clock automatically gets the time from the NTP server and synchronises it with the software based RTC [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"NTP clock only version of my ESP8266 based display - Adrian's electronics blog","description":"As there was interest I have released firmware for my YouTube statistics and clock internet connected display featured in my previous post for users who just wa"},"footnotes":""},"categories":[1,5],"tags":[],"class_list":["post-1337","post","type-post","status-publish","format-standard","hentry","category-uncategorized","category-projects"],"_links":{"self":[{"href":"https:\/\/www.adrian-smith31.co.uk\/blog\/wp-json\/wp\/v2\/posts\/1337","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=1337"}],"version-history":[{"count":39,"href":"https:\/\/www.adrian-smith31.co.uk\/blog\/wp-json\/wp\/v2\/posts\/1337\/revisions"}],"predecessor-version":[{"id":1636,"href":"https:\/\/www.adrian-smith31.co.uk\/blog\/wp-json\/wp\/v2\/posts\/1337\/revisions\/1636"}],"wp:attachment":[{"href":"https:\/\/www.adrian-smith31.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=1337"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.adrian-smith31.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=1337"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.adrian-smith31.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=1337"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}