Three-Wire Configuration for Resistive Sensor Measurement Using the Analog-to-Digital Converters of Microcontrollers
Received: 5 September 2025 | Revised: 27 September 2025 | Accepted: 12 October 2025 | Online: 8 December 2025
Corresponding author: Jirapong Jittakort
Abstract
This paper presents a simple and effective three-wire configuration for accurate resistive sensor measurement using the Analog-to-Digital Converters (ADCs) of microcontrollers. The proposed method compensates for lead-wire resistance, a major source of error in long-wire sensor installations, without requiring additional analog circuitry or complex signal conditioning. The configuration is based on the Anderson current loop and exploits the internal resistances of microcontroller I/O pins to stabilize the current path. It uses a single ADC with four channels and two digital output pins to control the supply path of the measurement circuit. This architecture simplifies circuit design, reduces component count, and lowers system cost and power consumption. Experimental validation with resistances in the Resistance Temperature Detector (RTD) 1000 range (500–3,500 Ω) confirms high measurement accuracy, achieving a maximum uncertainty of 0.16%. The method is well-suited for practical, low-power, and cost-sensitive resistive sensing applications in embedded and Internet of Things (IoT)-based temperature monitoring systems.
Keywords:
three-wire configuration, resistive sensor measurement, Analog-to-Digital Converters (ADCs), microcontrollers, lead wire compensation, RTD1000, Anderson current loop, uncertainty error, Internet of Things (IoT) applications, embedded systemsDownloads
References
R. Pallás-Areny and J. G. Webster, Sensors and Signal Conditioning, 2nd ed. Hoboken, NJ, USA: John Wiley & Sons, 2012.
"Understanding RTDs." TE connectivity, 2016, [Online]. Available: https://www.te.com/content/dam/te-com/documents/sensors/global/te-sensor-solutions-applicationnote-understanding-RTDs.pdf.
Keithley Instruments, "Overview of two-wire and four-wire (Kelvin) resistance measurements, " Application Note 3176, Cleveland, OH, USA, May 2012. [Online]. Available: http://www.tek.com/sites/tek.com/files/media/document/resources/2110_2Wire4WireKelvinResistanceAppNote.pdf.
P. R. Nagarajan, B. George, and V. J. Kumar, "Improved Single-Element Resistive Sensor-to-Microcontroller Interface," IEEE Transactions on Instrumentation and Measurement, vol. 66, no. 10, pp. 2736–2744, Oct. 2017. DOI: https://doi.org/10.1109/TIM.2017.2712918
F. Reverter, A. Chandrika Sreekantan, and B. George, "Circuits for the Measurement of Remote Resistive Sensors: A Review," IEEE Transactions on Instrumentation and Measurement, vol. 74, pp. 1–13, 2025. DOI: https://doi.org/10.1109/TIM.2025.3542136
K. Elangovan, A. Antony, and A. Chandrika Sreekantan, "Simplified Digitizing Interface-Architectures for Three-Wire Connected Resistive Sensors: Design and Comprehensive Evaluation," IEEE Transactions on Instrumentation and Measurement, vol. 71, pp. 1–9, 2022. DOI: https://doi.org/10.1109/TIM.2021.3136176
E. K and A. Chandrika Sreekantan, "An Efficient Digital Readout for Four-Lead Resistance Thermometers," IEEE Sensors Letters, vol. 7, no. 12, pp. 1–4, Dec. 2023. DOI: https://doi.org/10.1109/LSENS.2023.3330115
K. Elangovan, "A Novel Triple-Slope-Based Digital Measurement Platform for Three-Wire Connected Resistive Sensors," IEEE Transactions on Instrumentation and Measurement, vol. 73, pp. 1–3, 2024. DOI: https://doi.org/10.1109/TIM.2024.3411132
S. K. Sen, T. K. Pan, and P. Ghosal, "An improved lead wire compensation technique for conventional four wire resistance temperature detectors (RTDs)," Measurement, vol. 44, no. 5, pp. 842–846, Jun. 2011. DOI: https://doi.org/10.1016/j.measurement.2011.01.019
T. Mathew, K. Elangovan, and A. C. Sreekantan, "Accurate Interface Schemes for Resistance Thermometers With Lead Resistance Compensation," IEEE Transactions on Instrumentation and Measurement, vol. 72, pp. 1–4, 2023. DOI: https://doi.org/10.1109/TIM.2023.3291739
F. Reverter, "Two Proposals of a Simple Analog Conditioning Circuit for Remote Resistive Sensors with a Three-Wire Connection," Sensors, vol. 24, no. 2, Jan. 2024, Art. no. 422. DOI: https://doi.org/10.3390/s24020422
F. Reverter, "A Microcontroller-Based Interface Circuit for Three-Wire Connected Resistive Sensors," IEEE Transactions on Instrumentation and Measurement, vol. 71, pp. 1–4, 2022. DOI: https://doi.org/10.1109/TIM.2022.3219492
F. Reverter, "A direct approach for interfacing four-wire resistive sensors to microcontrollers," Measurement Science and Technology, vol. 34, no. 3, Dec. 2022, Art. no. 037001. DOI: https://doi.org/10.1088/1361-6501/aca425
F. Reverter, M. Gasulla, and R. Pallas-Areny, "Analysis of Power-Supply Interference Effects on Direct Sensor-to-Microcontroller Interfaces," IEEE Transactions on Instrumentation and Measurement, vol. 56, no. 1, pp. 171–177, Feb. 2007. DOI: https://doi.org/10.1109/TIM.2006.887401
Z. Czaja, "Simple Measurement Method for Resistive Sensors Based on ADCs of Microcontrollers," IEEE Sensors Journal, vol. 24, no. 3, pp. 2996–3003, Feb. 2024. DOI: https://doi.org/10.1109/JSEN.2023.3341214
S. M. A. Ghaly, "LabVIEW Based Implementation of Resistive Temperature Detector Linearization Techniques," Engineering, Technology & Applied Science Research, vol. 9, no. 4, pp. 4530–4533, Aug. 2019. DOI: https://doi.org/10.48084/etasr.2894
W. Khamsen, A. Aurasopon, and C. Takeang, "Simplified Three-Wire and Four-Wire Interface for Resistive Sensor Measurement Using Microcontroller ADCs," IEEE Transactions on Instrumentation and Measurement, vol. 74, pp. 1–10, 2025. DOI: https://doi.org/10.1109/TIM.2025.3578689
"ATmega640/V-1280/V-1281/V-2560/V-2561/V, 8-bit Microcontroller with 16/32/64KB In-System Programmable Flash (Datasheet)." Microchip, [Online]. Available: https://ww1.microchip.com/downloads/en/devicedoc/atmega640-1280-1281-2560-2561-datasheet-ds40002211a.pdf.
"Wire Gauge Table." Calmont Wire & Cable, [Online]. Available: https://www.calmont.com/wp-content/uploads/calmont-eng-wire-gauge.pdf.
"Industrial platinum resistance thermometers and platinum temperature sensors." Geneva, Switzerland, Jan. 2022, 2025. [Online]. Available: https://cdn.standards.iteh.ai/samples/102478/eb22a33147f842f7a71ab9db245d92ba/IEC-60751-2022.pdf.
Downloads
How to Cite
License
Copyright (c) 2025 Apinan Aurasopon, Jirapong Jittakort

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain the copyright and grant the journal the right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) after its publication in ETASR with an acknowledgement of its initial publication in this journal.
