Designing a Frequency Measurement Instrument Kit Based on the PIC16F628A Microcontroller
DOI:
https://doi.org/10.51601/ijse.v6i1.380Abstract
The rapid development of electronic systems has increased the need for accurate frequency measurement because many electrical and digital devices depend on stable operating frequencies for proper performance. In routine laboratory and field work, digital multimeters are frequently used for frequency checks due to their practicality and availability, yet their readings may be affected by signal conditions and instrument processing limits. This study aims to assemble and evaluate a low-cost digital frequency counter based on the PIC16F628A microcontroller for measuring crystal oscillators and external frequency signals, while benchmarking its readings against a digital multimeter. An experimental quantitative approach was applied that included hardware assembly, schematic reconstruction through PCB trace inspection, block-level functional analysis, and measurement testing using five crystal oscillators and externally generated reference signals derived from a 32.768 kHz source with frequency division. Data were recorded across test points from 1 Hz to 32.768 kHz and summarized through direct comparison between nominal frequencies and instrument readings. The frequency counter produced readings that matched the nominal test frequencies across all external test points within the display resolution limits. Crystal testing also yielded values close to nominal specifications (e.g., 8.0002 MHz for 8 MHz and 11.998 MHz for 12 MHz). The digital multimeter showed small frequency-dependent offsets at higher test points (e.g., 32.770 kHz at 32.768 kHz). These results indicate that the dedicated counter delivers stable measurements across the evaluated range. This work offers a practical reference for electronics education and routine verification by combining schematic reconstruction, reproducible block-level documentation, and empirical validation of a kit-based instrument, providing added value beyond prior studies that emphasize either theory or new system design.
Downloads
References
[1] D. Belega and G. Gasparesc, “Power system frequency and rate-of-change of frequency measurement under steady-state and dynamic conditions by means of electronic instruments,” Acta IMEKO, vol. 13, no. 4, pp. 1–8, 2024, doi: 10.21014/actaimeko.v13i4.1784.
[2] G. Crotti et al., “How Undesired Non-Idealities of the Input Signal Affect the Accuracy Evaluation of Instrument Transformers at Power Frequency,” 2023. doi: 10.1109/AMPS59207.2023.10297174.
[3] Z. Yu, T. Huang, K. Zhou, B. Peng, and Y. Zhao, “Degradation Modeling of Digital Multimeter with Multiple-Performance Indices in Dynamic Marine Environment,” 2018. doi: 10.1109/ICSRS.2018.8688827.
[4] X. Zang, J. Zhao, Y. Lu, and Q. He, “Precision Measurement System of High-Frequency Signal Based on Equivalent-Time Sampling,” Electronics, vol. 11, no. 13, p. 2098, 2022, doi: 10.3390/electronics11132098.
[5] Y. Xu, Z. Jiang, Y. Guo, Q. Zhao, J. Zhu, and K. Cao, “A software designed for automated measurement and control of digital multimeters,” 2024. doi: 10.1117/12.3055433.
[6] M. Todorakev, “Validating Low Frequency Measurement Capability for Multiproduct Calibrators,” 2024. doi: 10.1109/CPEM61406.2024.10646024.
[7] E. N. Allini, M. Skórski, O. Petura, F. Bernard, M. Laban, and V. Fischer, “Evaluation and monitoring of free running oscillators serving as source of randomness,” IACR Trans. Cryptogr. Hardw. Embed. Syst., vol. 2018, no. 3, pp. 214–242, 2018, doi: 10.13154/tches.v2018.i3.214-242.
[8] K. Suresh, J. Navas, and R. Govindaraj, “Design and development of Microcontroller instrumentation for versatile applications in accelerator-based materials research,” J. Instrum., vol. 20, no. 9, 2025, doi: 10.1088/1748-0221/20/09/T09006.
[9] K. Luangthongkham, W. Krittinatham, and S. Unai, “The smartphone and low-cost microcontroller as an AC circuit study kit for high school,” in Journal of Physics: Conference Series, 2023. doi: 10.1088/1742-6596/2431/1/012032.
[10] N. Miljkovic and M. Bjelica, “Two Simple Capacitance Sensing Solutions,” in 2018 Zooming Innovation in Consumer Technologies Conference, ZINC 2018, 2018, pp. 47–50. doi: 10.1109/ZINC.2018.8448398.
[11] A. O. Triqadafi, T. N. Zafirah, H. A. Dharmawan, and S. P. Sakti, “Four-Channels High-Resolution Frequency Counter for QCM Sensor Array Using Generic FPGA XC6SLX9 Board,” J. Electr. Comput. Eng., vol. 2023, 2023, doi: 10.1155/2023/5182455.
[12] M. Karapinar, S. Gürkan, P. A. Oner, and S. Doǧan, “Design of a multi-channel quartz crystal microbalance data acquisition system,” Meas. Sci. Technol., vol. 29, no. 7, 2018, doi: 10.1088/1361-6501/aac41c.
[13] S. Agmal, J. A. Prakosa, and C. Astuti, “Measurement Uncertainty Analysis of the Embedded System of Microcontroler for An Accurate Timer/Stopwatch,” in 7th International Conference on Electrical, Electronics and Information Engineering: Technological Breakthrough for Greater New Life, ICEEIE 2021, 2021. doi: 10.1109/ICEEIE52663.2021.9616813.
[14] L. Galleani and I. Sesia, “Estimating the Allan variance from frequency measurements with missing data,” in 2017 Joint Conference of the European Frequency and Time Forum and IEEE International Frequency Control Symposium, EFTF/IFC 2017 - Proceedings, 2017, pp. 34–37. doi: 10.1109/FCS.2017.8088794.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Ganjar Febriyani Pratiwi, Roby Fenki Mahardika Prawiro, Erfiana Wahyuningsih, Tri Nur Arifin

This work is licensed under a Creative Commons Attribution 4.0 International License.

















