RTC esp8266 - Black keyhole

welcome to our keyhole, we provide you various knowledge from various sources such as Electric&Electronic, Health, Arduino, IOT, Diy projects, A/l past paper and model paper, Even though you can keep in touch with current technology

RTC esp8266

Share This


In this project we will design an Internet Clock using ESP8266 Node-MCU. We will fetch the time and date from the internet using the ESP8266 controller. The internet time clock has a precision of 0.02 to 0.10 seconds. There are some RTC Module like DS1307, DS3231 or PCF8563 to get the time. But what if there is no availability of any RTC Module. The next disadvantage of RTC Module is the poor accuracy as it requires manual adjustments over and over again to keep time/date synchronized. The solution here is to use the Network Time Protocol (NTP). If your ESP32 project has access to the Internet, you can get date and time (with precision within a few milliseconds of UTC) for FREE.

Components that I have used

        1.ESP8266 NodeMcu

         2. LCD display

         3. Jumper wires

  You can follow the tutorial from YouTube Too



          The NTP client initiates a time-request exchange with the NTP server. As a result of this exchange, the client is able to calculate the link delay and its local offset and adjust its local clock to match the clock at the server’s computer.

Once synchronized, the client updates the clock about once every 10 minutes, usually requiring only a single message exchange. In addition to client-server synchronization. This transaction occurs via the User Datagram Protocol on port 123.


    Before You upload the code, first you need to add NTP library and Time library through your ad zip folder option. 

Hope you have liked this post and don't forget to share between each others.  

No comments:

Post a Comment

business queries