Site Loader
Get APP
Zlatiborska 10a

 

 

Time From NTP Server

An NTP stands for Network Time Protocol. It’s a standard Internet Protocol (IP) for synchronizing the computer clocks to some reference over a network.

The protocol can be used to synchronize all networked devices to Coordinated Universal Time (UTC) within a few milliseconds ( 50 milliseconds over the public Internet and under 5 milliseconds in a LAN environment).

Installing NTP Client Library

The easiest way to get date and time from an NTP server is using an NTP Client from arduino libraries. Follow the next steps to install this library in your Arduino IDE.

Navigate to the Sketch > Include Library > Manage Libraries…Wait for Library Manager to download libraries index and update list of installed libraries.

 

Here is source code:

 

 

 

If you like my work 🙂


 

Also my code is free but my time not, so if you need talk with me put 5$ on



Post Author: Admin

Leave a Reply

Your email address will not be published. Required fields are marked *