Design and Experimental Evaluation of a Low-Cost PIC16F628A-Based Digital LC Meter Using Resonance Frequency Measurement

Author's Information:

Ogunniyi E. O

Department of Physics, Bamidele Olumilua University of Education Science and Technology Ikere-Ekiti, Ekiti State

Giwa A. B

Department of Physics, Bamidele Olumilua University of Education Science and Technology Ikere-Ekiti, Ekiti State

Enuiyin O. V

Department of Physics, Bamidele Olumilua University of Education Science and Technology Ikere-Ekiti, Ekiti State

Ogunmonewo P. O

Department of Physics, Bamidele Olumilua University of Education Science and Technology Ikere-Ekiti, Ekiti State

Vol 03 No 09 (2026):volume 3 issue 09 September 2026

Page No.: 299-310

Abstract:

Accurate measurement of inductance and capacitance is essential in electronic circuit design, component characterization, instrumentation, and educational laboratories. However, commercially available Inductance-Capacitance-Resistance (LCR) meters with high measurement accuracy are often prohibitively expensive for many institutions of higher learning and laboratories in resource-constrained environments. This study presents the design, implementation, and experimental evaluation of a low-cost PIC16F628A-based digital Inductance-Capacitance (LC) meter employing the parallel resonance principle for inductance and capacitance measurement. The developed system determines unknown component values by measuring the resonant frequency of a resonant circuit using the microcontroller's 16-bit timer/counter, while a software-assisted three-step calibration algorithm compensates for reference component tolerances and environmental variations to improve measurement accuracy and repeatability. The hardware architecture integrates a constant-current excitation circuit, an LM311 comparator-based signal conditioning stage, a Liquid Crystal Display (LCD), and a Recommended Standard 232 (RS-232) communication interface for real-time display, data logging, and computer-based analysis. The prototype was experimentally evaluated using standard inductors (2.2–150 mH) and capacitors (2.2 nF–47 µF) with known nominal values. Experimental results showed that all tested components were measured within their specified tolerance limits, with mean absolute percentage errors of 1.8% for inductance measurements and 0.8% for capacitance measurements. Repeatability tests yielded standard deviations below 0.2% of the measured values, demonstrating stable and consistent measurement performance. The locally designed and constructed instrument combines a simple hardware architecture with software-assisted calibration to provide reliable inductance and capacitance measurements at low implementation cost. Consequently, it offers a practical and affordable alternative to commercial LCR meters for educational laboratories, electronics workshops, research environments, and field-service applications.

KeyWords:

Digital LC meter, parallel resonance, PIC16F628A, embedded instrumentation, low-cost measurement system

References:

  1. Advanced Micro Devices, Microcontroller Handbook, 1988.
  2. A. Baccigalupi, P. Daponte, and D. Grimaldi, “On a circuit theory approach to evaluate the stray capacitances of two coupled inductors,” IEEE Transactions on Instrumentation and Measurement, vol. IM-43, no. 5, pp. 774–776, 1994.
  3. M. Branzila et al., “Simple-Z: A portable impedance analyzer,” IEEE Sensors Journal, 2023.
  4. C. N. Burro and G. J. Deboo, Integrated Circuit and Semiconductor Devices Theory and Application. New York, NY, USA: McGraw-Hill, 1971.
  5. N. Hagiwara, M. Yanase, and T. Saegusa, “A self-balancing type capacitance to D.C. Voltage converter for measuring small capacitance,” IEEE Transactions on Instrumentation and Measurement, vol. IM-36, no. 2, pp. 385–389, 1978.
  6. B. Haque, Alternating Current Bridge Methods. London, U.K.: Pitman, 1971.
  7. M. A. Hoque, M. R. Islam, and M. M. Rahman, “Design and implementation of an Arduino based RLC meter,” in Proceedings of the IEEE Region 10 Symposium (TENSYMP), pp. 1–5, 2019.
  8. P. M. C. Inácio, R. Guerra, and P. Stallinga, “An ultra-low-cost RCL-meter,” Sensors, vol. 22, no. 6, p. 2227, 2022, doi: 10.3390/s22062227. 
  9. D. Marioli, E. Sardini, and A. Taroni, “High accuracy measurement techniques for capacitance transducers,” Measurement Science and Technology, vol. 4, no. 3, pp. 337–343, 1993, doi: 10.1088/0957-0233/4/3/012. 
  10. OpenLCR, “Open-source LCR meter project,” GitHub, 2022.
  11. S. Qutob, M. F. Teng, and A. P. Wibawa, “Specialized capacitor meter for a portable, low cost electronics education laboratory,” in Proceedings of IEEE EDUCON, pp. 1–4, 2024.
  12. TeensyLCR, “DIY LCR meter project,” EEWorld, 2025.
  13. B. L. Theraja, A Textbook of Electrical Technology. New Delhi, India: S. Chand and company, 2000.
  14. N. T. M. Tran, V. D’Elia, L. Callegaro, and M. Ortolano, “A capacitance build-up method to determine LCR meter errors and capacitance transfer,” IEEE Transactions on Instrumentation and Measurement, vol. 69, no. 8, pp. 5727–5735, 2020, doi: 10.1109/TIM.2019.2960620. 
  15. Y. M. Xie, G. C. Wan, and M. S. Tong, “A novel LCR impedance detection system with low cost and high precision based on microcontroller unit,” in Proceedings of the Photonics and Electromagnetics Research Symposium (PIERS), pp. 1840–1845, 2023, doi: 10.1109/PIERS59004.2023.10221381. 
  16. W. Q. Yang and T. A. York, “New A.C. based capacitance tomography system,” IEE Science, Measurement and Technology, vol. 146, no. 1, pp. 47–53, 1999.