Learn how to implement accurate timekeeping on a Wemos ESP8266 Mini without using a dedicated Real Time Clock (RTC) module. Explore a method to retrieve date and time from Network Time Protocol (NTP) servers, maintaining a local clock that rarely drifts. Dive into the C++ code required to accomplish this using helpful libraries. Discover how to handle potential NTP call failures and resynchronization processes. Gain insights into converting UTC to local time for worldwide applicability. Examine the necessary hardware components, including the Wemos D1 Mini ESP8266 and optional shields for power and SD card functionality. Understand the NTP protocol, port usage, and time zone implementation for comprehensive timekeeping in IoT projects.
Overview
Syllabus
Introduction
Code Overview
Time Pool
Forward Declaration
Rinda Command
NTP Time
No Response Time
Arduino Playground
Taught by
Ralph S Bacon