Wiznet makers

lawrence

Published November 28, 2023 ©

79 UCC

9 WCC

21 VAR

0 Contests

0 Followers

0 Following

Original Link

Connect W5500, TM1637 and GPS to RP2040 (RP2040にW5500とTM1637及びGPSを接続する(GPSNTPサーバ)

I think it would be good to update the GPS time to RTC at about 1 hour intervals.
Since it is an NTP server and it is unlikely that there are other NTP servers,

COMPONENTS Hardware components

Raspberry Pi - Raspberry Pi Pico

x 1


WIZnet - W5500

x 1


PROJECT DESCRIPTION

Now that the Pico version of the NTP server has been constructed, replace the NTP client part with GPS.

I think it would be good to update the GPS time to RTC at about 1 hour intervals.
Since it is an NTP server and it is unlikely that there are other NTP servers, it is created with a policy of acquiring from RTC at startup, updating when valid sentences can be acquired from GPS, and calibrating every hour thereafter. Masu.

I confirmed that the sketch below works properly and that I can access it from my PC using NTP and synchronize the time.
Since the WebSerser function has not been added yet, it is not possible to confirm or change the IP address, but GPS synchronization is working.

Documents
Comments Write