Content area
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.
Details
; Lovreković Zoran 2 ; Radivojević Vladan 3 ; Živković Radeta Svetlana 4
; Hadžib, Salkić 5
1 Faculty of Economics and Engineering Management, University Business Academy in Novi Sad, Cvećarska 2, 21102 Novi Sad, Serbia
2 Faculty of Technical Sciences, Department of Energy, Electronics and Telecommunications, University of Novi Sad, Dr Zorana Đinđića 1, 21000 Novi Sad, Serbia; [email protected]
3 The Academy of Applied Studies Polytechnic, Katarine Ambrozić 3, 11000 Belgrade, Serbia; [email protected]
4 Faculty of Applied Ecology “Futura”, Metropolitan University, Požeska 83a, 11000 Belgrade, Serbia; [email protected]
5 Faculty of Information Technology, FINRA University Tuzla, Mitra Trifunovića Uče 9, 75000 Tuzla, Bosnia and Herzegovina; [email protected]