SNTP on Raspberry PI Pico-W with LWIP and FreeRTOS

Опубликовано: 03 Апрель 2026
на канале: Dr Jon EA: Pico & Pico 2
3,134
74

Using SNTP to synchronize the Pico-W RTC. Using C++, FreeRTOS and the LWIP SNTP library.

Visit PCBWay, the sponsor of this Video: https://www.pcbway.com/

SNTP allows the Pico-W to obtain the time from the internet or a local server. In this video we show how to use the LWIP library to obtain the date and time. Set the on-board Real-Time Clock with the date and time.

GitHub Repo for the example in the video: https://github.com/jondurrant/RPIPico...

To clone use the command:
$ github clone --recurse-submodules https://github.com/jondurrant/RPIPico...

More information:
If you want to learn more about the techniques, I use in the video take a look at my courses
Introduction to Development Environment for Pico: https://www.udemy.com/course/introduc...
Raspberry PI Pico Micro Projects (C++): https://www.udemy.com/course/rpi-pico...
FreeRTOS on Raspberry PI Pico: https://www.udemy.com/course/freertos...
IoT with Raspberry PI Pico-W (C++): https://www.udemy.com/course/iot-with...

Sponsor: PCBWay: https://www.pcbway.com/
PCB prototyping, assembly, 3D printing, CNC, sheet metal fabrication and injection moulding.