Tiny clock party – it’s not always about nanoseconds…

In my work role I’m regularly dealing with GNSS & atomic clock systems that deliver time, phase & frequency accurate to nanoseconds for those applications that require them e.g. Telecom (4G LTE-A & 5G), Power/Utility, Broadcast & Financial Services to name but a few.

Raspberry Pi Pico based EncroPi and ESP32 based M5Stick both doing RTC duty

But it’s not always about nanoseconds – here’s a selection of tiny clocks that are almost in sync to the nearest second 🙂

Pi 400 running “tty-clock” synced via chrony/NTP, M5Stick synced via SNTP over WiFi and EncroPi sync’d by hand/eye 😂

USB-RTC on the EncroPi synced by hand/eye to the laptop’s clock, M5Stick synced to (S)NTP over WiFi and the tty-clock display on a Raspberry Pi 400 synced to NTP using chrony. The NTP server used is a local stratum 1 instance (Raspberry Pi getting a 1PPS from a ublox NEO-M9T eval board).

The M5Stick features a built-in real-time clock (RTC) and also features a temperature/relative humidity sensor module but the temperature data is inaccurate as it suffers from self-heating; conducted via the connector pins from the main board 😦

The micropython used on the EncroPi stick takes about 4s from hitting “run” in Thonny before it actually sets the on-board RTC, lots of trial-and-error before getting it set close (by eye) to the other clocks’ displayed time.

LCD Clock based on a Raspberry Pi 2B
Tiny NTP LCD Clock based on a Raspberry Pi 2B with Adafruit LCD HAT (or “Pi Plate”?)

Published by zedstarr

Chilled out human being, doing techy stuff.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: