Skip to content
Research Article Open access CC BY 4.0

Measuring the Voltage, Current and Resistance of the LDR Sensor through the Arduino UNO

Kujtim R. Mustafa, Ragmi M. Mustafa, Refik M. Ramadani

Asian Journal of Research in Computer Science · pp. 211–222 · Published 27 Oct 2023

10.9734/ajrcos/2023/v16i4383

Abstract

The main purpose of this paper is to build an intelligent electronic system based on LDR (Light Dependent Resistor) sensor. A very interesting but also very useful part of this scientific research is the measurement of electrical quantities with high precision as intelligent machines know and can achieve, and one of them in this case is the Arduino Uno microcontroller. These measurements of electrical quantities such as voltage, resistance, and current intensity are used in programmable logic in the microcontroller to decide when to light a light or more and when not to light. Of course, this problem has been solved by using the LDR sensor in the electronic system. Such an electronic and programmable system works perfectly. The work itself contains solutions of electrical circuits in an analytical way, connection of electronic circuits with the Arduino Uno module, communication with the input and output devices of the ATMEGA 328P microcontroller interface and the fusion of the source code - Sketch. This paper will serve as a good basis for further research in determining the wavelength of light which represents an obstacle for people with vision problems. All the measurements of electrical quantities through the Arduino Uno microcontroller have also been confirmed with the measurements made through the universal voltmeter instrument. The results of each measurement are very approximate, of course, many times faster and more accurate than those with a microcontroller.

Sensor microcontroller Arduino sketch voltage current resistance LDR

Cited by 1

Student Records Management System SRMS using IoT

Ragmi Mustafa, Kujtim Mustafa · International Journal of Computational and Experimental Science and Engineering · 2025

Article metrics

Real usage data collected on this platform.

0

Page views

0

PDF downloads

0

Outbound clicks

1

Citations

Views by country

Approximate, from request IP at view time — not citizenship or institution. Countries with fewer than 5 views are grouped as "Other".

No views recorded yet.

Traffic sources

Referring site, by host.

No traffic recorded yet.

Views and downloads exclude known bots/crawlers. Citations combines this platform's own DOI-resolved index with each external source's own reported total — see Cited by above for individually listed citing works. Last refreshed 0 seconds ago.