Precision Time Interval Generator Based on CMOS Counters and Integration with IoT Timing Systems
Precise time interval generation is a cornerstone of modern measurement, automation, and distributed control systems, particularly within Internet of Things (IoT) architectures. This paper presents the design, implementation, and evaluation of a low-cost and high-precision time interval generator based on Complementary Metal-Oxide Semiconductor (CMOS) logic counters (Integrated Circuit (IC) IC 7493 and IC 4017) and inverter-based crystal oscillators (IC 74LS04). The proposed system enables frequency division from 1 MHz down to 1 Hz through a cascade of binary and Johnson counters, enhanced with digitally controlled multiplexers for output signal selection. Unlike conventional timing systems relying on expensive Field-Programmable Gate Array (FPGA) or Global Navigation Satellite System (GNSS)-based synchronization, this approach offers a robust, locally controlled reference clock suitable for IoT nodes without network access. The hardware is integrated with Arduino and ESP32 microcontrollers via General-Purpose Input/Output (GPIO) level interfacing, supporting real-time timestamping, deterministic task execution, and microsecond-level synchronization. The system was validated through Python-based simulations incorporating Gaussian jitter models, as well as real-time experimental measurements using Arduino’s micros() function. Results demonstrated stable pulse generation with timing deviations consistently below ±3 µs across various frequency modes. A comparative analysis confirms the advantages of this CMOS-based timing solution over Real-Time Clock (RTC), Network Time Protocol (NTP), and Global Positioning System (GPS)-based methods in terms of local autonomy, cost, and integration simplicity. This work provides a practical and scalable time reference architecture for educational, industrial, and distributed applications, establishing a new bridge between classical digital circuit design and modern Internet of Things (IoT) timing requirements.
Authors
- Nebojša Andrijević (ORCID: https://orcid.org/0000-0002-4459-9436)
- Zoran Lovreković
- Hadžib Salkić (ORCID: https://orcid.org/0000-0001-7201-3562)
- Svetlana Živković Radeta (ORCID: https://orcid.org/0000-0002-8778-1924)
- Vladan Radivojević
Institutions
- University of Tuzla (BA)
- University of Novi Sad (RS)
- Metropolitan University (RS)
- University Clinical Center Tuzla (BA)
- Technical College of Applied Sciences (RS)
Publication Details
- Journal
- Electronics
- Published
- 2025-08-12
- DOI
- https://doi.org/10.3390/electronics14163201
- Primary Topic
- Network Time Synchronization Technologies
- Type
- article
- Field-Weighted Citation Impact
- 0.00