Hello everyone!!
I am trying to find a way to retrieve time from NTP server (e.g. "pool.ntp.org",port:123) using pic 18f67k22 and esp01.
The project is running well but we try to add a UDP request of 48bytes in order to receive the date, time in order to update our RTC.
If anyone has any informations on how to start it will be much appreciated.
ESP8266 REQUEST NTP SERVER DATE & TIME
Moderator: Benj
-
- Posts: 128
- Joined: Thu Jul 27, 2017 5:23 am
- Has thanked: 8 times
- Been thanked: 8 times
- Contact:
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: ESP8266 REQUEST NTP SERVER DATE & TIME
Hello,
I beleive in this document is some theory on how to do the request etc though it's not specifically tailored to the ESP8266.
https://www.matrixtsl.com/resources/fil ... ternet.pdf
The associated files are here.
https://www.matrixtsl.com/resources/fil ... 0Files.zip
Let us know how you're getting on.
I beleive in this document is some theory on how to do the request etc though it's not specifically tailored to the ESP8266.
https://www.matrixtsl.com/resources/fil ... ternet.pdf
The associated files are here.
https://www.matrixtsl.com/resources/fil ... 0Files.zip
Let us know how you're getting on.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel