---
title: "Connect to NTP server with WiFi"
url: "https://maker.wiznet.io/louis_m/projects/Connect-to-NTP-server-with-WiFi/"
markdown_url: "https://maker.wiznet.io/louis_m/projects/Connect-to-NTP-server-with-WiFi/md"
type: "UCC: User Created Content"
author: "Louis"
author_url: "https://maker.wiznet.io/louis_m/"
original_author: "louis_m"
original_url: "https://hackaday.io/project/184439-agora-pico-epaper-display-with-rpi-pico-and-wifi/log/204089-connect-to-ntp-server-with-wifi"
published: "2022-03-23"
language: "en"
hardware: ["Raspberry Pi Pico", "WIZnet WizFi360"]
likes: 0
views: 236
comments: 0
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# Connect to NTP server with WiFi

> Connect to NTP server with WiFi

Original author: louis_m (source: https://hackaday.io/project/184439-agora-pico-epaper-display-with-rpi-pico-and-wifi/log/204089-connect-to-ntp-server-with-wifi)

## Components

- **Raspberry Pi Pico** x 1 ([docs](https://www.raspberrypi.com/documentation/microcontrollers/raspberry-pi-pico.html))
- **WIZnet WizFi360** x 1 ([docs](https://docs.wiznet.io/Product/Modules/Wi-Fi-Module/WizFi360))

## Article

My first goal is to display time. And to do it I need the time from somewhere. So I wired the WizFi360 WiFi module and connected it to my local network. I got the time for NTP (network time protocol) server?time.google.com. The module has a build-in function to get the time using AT commands so it was really easy. Output from a python script:

```
CMD: AT+PING="www.google.com"
AT+PING="www.google.com"+26OK

CMD: AT+CIPSNTPTIME?
AT+CIPSNTPTIME?+CIPSNTPTIME:Fri Mar 11 19:53:48 2022
OK
```

Now I need to parse it.

[![WizFi360 wired to RPi Pico](https://cdn.hackaday.io/images/2902211647465856713.jpg)](https://cdn.hackaday.io/images/2902211647465856713.jpg)

*WizFi360 wired to RPi Pico*

---

Source: https://maker.wiznet.io/louis_m/projects/Connect-to-NTP-server-with-WiFi/
