Skip to content
Elettronica Mangione — El-man

Autonomous synchronization

NB-IoT Clock: Time Synchronization Reinvented

An in-depth technical analysis of the advantages of time synchronization via Narrowband-IoT compared to traditional methods.

  • LPWAN cellular network
  • Zero configuration
  • E-paper display
  • NITZ synchronization
NB-IoT clock prototype with e-paper display

The NB-IoT clock prototype with e-paper display, perfectly synchronized and autonomous.

The problem

Limitations of traditional synchronization

For decades, precise time synchronization for connected devices has been based on a consolidated model: connect to a local network (Wi-Fi or LAN) and query an NTP (Network Time Protocol) server. While functional, this approach has significant drawbacks, especially in the Internet of Things era, where devices must be autonomous, low-power and operational under any conditions.

The complexity of traditional solutions: cables, configurations and dependence on local infrastructure.

The complexity of traditional solutions: cables, configurations and dependence on local infrastructure.

In-depth tutorial

What exactly is NB-IoT?

Narrowband-Internet of Things (NB-IoT) is a wireless communication standard belonging to the LPWAN (Low Power Wide Area Network) category. It was developed and standardized by 3GPP, the organization that defines specifications for cellular networks such as 4G/LTE and 5G. Unlike Wi-Fi or Bluetooth it is not a short-range technology, but leverages existing cellular tower infrastructure to connect devices over vast geographical areas.

Its peculiarity, as the name "Narrowband" suggests, is that it uses a very small portion of the radio spectrum (typically 180 kHz). By concentrating all transmission energy in a very narrow band, the signal travels farther and penetrates deeper into buildings, all while consuming incredibly low power.

NB-IoT leverages cellular infrastructure for comprehensive coverage, from cities to rural areas.

NB-IoT leverages cellular infrastructure for comprehensive coverage, from cities to rural areas.

How it works

The technology in brief

An NB-IoT device, like the SIM7020E module used in the project, connects to the cellular network much like a smartphone, but with procedures optimized for power saving. The two most important modes are:

  • Power Saving Mode (PSM): allows the device to completely turn off its radio part, becoming unreachable from the network but maintaining registration. It wakes up at pre-agreed intervals.
  • extended Discontinuous Reception (eDRX): a less deep mode than PSM. The device remains registered and listens to the network at longer intervals, offering a compromise between power saving and reachability.

The clock firmware leverages these modes to minimize consumption, activating the radio only when strictly necessary for synchronization.

Features

Advantages and real applications

01

Automatic global synchronization

Feature: Turn on the device anywhere in the world: it connects to the local network and automatically synchronizes with the correct time and time zone, including daylight saving time. Zero configuration.

Applications: devices for travellers, international logistics, products sold in global markets, multi-zone information displays.

02

Extended coverage (+20 dB)

Feature: Superior link gain compared to GPRS, enabling communication from difficult locations like basements, manholes and remote rural areas.

Applications: underground infrastructure monitoring, smart parking with sensors under asphalt, precision agriculture.

03

Extremely low costs

Feature: Modules are inexpensive and dedicated SIM cards can cost only 10 euros for 10 years, eliminating operational costs.

Applications: large-scale cost-sensitive projects, such as smart metering, asset tracking and widespread sensing.

04

High connection density

Feature: A single cell can support over 50,000 devices, making it ideal for massive implementations.

Applications: smart cities (public lighting, traffic monitoring), logistics and tracking of thousands of packages.

The real difference

"Zero-config" global synchronization

Here lies the most important advantage of the NB-IoT solution with NITZ. Traditional Wi-Fi/NTP devices, when moved to another country, have no way of knowing the new time zone: they require manual configuration or complex software logic based on IP geolocation, often unreliable.

The NITZ (Network Identity and Time Zone) system reverses the paradigm. It is not the device searching for the time: it is the cellular network communicating the exact local time to the device, including time zone offset and daylight saving time rules.

One device, one firmware. The right time, anywhere in the world, automatically.

One device, one firmware. The right time, anywhere in the world, automatically.

This means you can produce a single firmware and ship your clock to any country in the world. The end user will only need to turn it on: the device will instantly adapt to local time, whether in Rome, Tokyo or San Francisco, without any intervention.

Architecture

The firmware behind the precision

The C++ program for the ESP32 is not a simple script, but a firmware system designed for precision and autonomy. Its effectiveness lies in a few architectural choices.

RTC-driven architecture: the main loop() does not rely on millis(), which is subject to inaccuracies and drift. Execution is driven by the heartbeat of the PCF85063A hardware RTC, which decouples display logic from processor timing.

Non-blocking communication: the network is the slowest and most unpredictable part. The firmware creates a dedicated background task (syncTaskFunction) with FreeRTOS, so the main loop continues without interruption.

Latency compensation: the firmware measures the round-trip time of the request and calculates the exact time to set on the RTC at the precise moment the next second occurs.

An architecture that combines a hardware Real-Time Clock with asynchronous tasks for absolute precision.

An architecture that combines a hardware Real-Time Clock with asynchronous tasks for absolute precision.

Comparison

NB-IoT, Wi-Fi and LAN compared

To fully understand the advantages of the NB-IoT/NITZ solution, let us compare it with the most common alternatives.

Parameter NB-IoT with NITZ Wi-Fi with NTP LAN with NTP
Coverage Excellent and comprehensive, even in basements and rural areas Limited to Wi-Fi router range Limited to wired network
Energy consumption Ultra-low (years of battery autonomy) High (days or weeks on battery) Medium (usually mains powered)
Installation simplicity Maximum (plug & play, SIM only) Complex (requires SSID and password) Complex (requires physical cabling)
Data cost Zero (NITZ synchronization consumes no data) Low but present (depends on frequency) Zero (on local network)
Local infrastructure dependency None Total (router, modem, ISP) Total (switches, routers, cables)
Time zone and DST management Fully automatic and global Manual (requires software logic and libraries) Manual (requires software logic and libraries)
Scalability Extremely high (thousands of devices) Limited (complex credential management) Very limited (depends on physical infrastructure)

Integration

In Elettronica Mangione products

The compact nature and energy efficiency of the NB-IoT SIM7020E module make it an ideal candidate not only for new projects, but also for upgrading Elettronica Mangione branded products. We can integrate it within our lines of wall clocks, desk clocks, public displays or any other device that needs always precise time.

This turns an Elettronica Mangione product into a globally connected device, with a set-and-forget synchronization that works anywhere in the world.

Conclusion

An unequivocal choice

The NB-IoT and NITZ-based clock is not simply an alternative: it eliminates the weak points of traditional Wi-Fi/NTP systems and offers a solution that is more robust, autonomous, efficient and simple to implement and manage.

For any timing application requiring precision, long-term reliability and independence from local infrastructure, the choice is clear.

Frequently asked questions

Frequently Asked Questions (FAQ)

If your question is not here, send it to us directly: the people who design the product will answer.

What is the NB-IoT clock?

It is a clock with an e-paper display that synchronizes automatically through the Narrowband-IoT cellular network, without needing WiFi or LAN.

What is NB-IoT?

Narrowband-IoT is a wireless communication standard in the LPWAN (Low Power Wide Area Network) category, standardized by 3GPP, the same body that defines cellular networks such as 4G/LTE and 5G.

What advantages does it offer over NTP on WiFi?

It offers automatic global synchronization without depending on the local network infrastructure, with low consumption and energy autonomy, ideal for autonomous IoT devices.

What is the NITZ system?

NITZ (Network Identity and Time Zone) is the mechanism by which the cellular network communicates the exact local time to the device, including the time zone offset and daylight saving rules, without the device having to look them up.

Let's talk

Do you need time that works anywhere?

Tell us where the device will be installed: we help you work out whether NB-IoT is the right route before you ask for a quote.