Publishing Journal • Multidisciplinary Indonesian Center Journal (MICJO)

A SIMPLE STRATEGY OF LINEAR REGRESSION ON 8-BIT MICROCONTROLLER ADC TO IMPROVE SENSOR VALUE READING ACCURACY

DOI: 10.62567/micjo.v2i4.1468 Published: 30 October 2025 Pages: 21-35 (Vol. 2, No. 4) Views: 1
Authors & Researchers
T
Tur, Turahyo Sekolah Tinggi teknologi Bontang1
n
novi, Noviarianto Politeknik Maritim Negeri Indonesia2

Abstract

This study proposes a linear regression-based intelligent calibration approach to improve the accuracy of water turbidity sensor readings in an Arduino microcontroller-based embedded system. The primary objective of this research is to develop a mathematical model capable of converting analog values ​​from the Analog-to-Digital Converter (ADC) into a numerical representation that reflects the actual water turbidity level in Nephelometric Turbidity Units (NTU). The calibration process was performed using a standard Hanna Turbidity Meter with water samples ranging from 0.56 NTU to 500 NTU. Measurement results demonstrated a strong linear relationship between the ADC value (495–686) and NTU, with an average system accuracy level above 90%. Comparison of sensor measurements with the standard instrument showed an error margin below 5%, confirming the reliability of the linear regression model in compensating for optical sensor nonlinearities.

Indexing Journal

Multidisciplinary Indonesian Center Journal (MICJO) Cover

Multidisciplinary Indonesian Center Journal (MICJO)

ISSN: 3032-2472 Publisher: PT. Jurnal Center Indonesia Publisher