Distance sensing in an embedded system
Department of Medical Laboratory Technology, College of Medical Technology, The Islamic University, Najaf, Iraq.
Open Access Research Journal of Science and Technology, 2025, 13(01), 021-028.
Article DOI: 10.53022/oarjst.2025.13.1.0026
Publication history:
Received on 14 December 2024; revised on 31 January 2025; accepted on 02 February 2025
Abstract:
The Arduino is an electronic board open -source for the development of many projects and concepts of automated control through an open-source language called Arduino c where is programmed by Arduino IDE. The purpose of this research is to develop a module to measure the distance for any body by using the concept of the ultrasonic waves (that mean using pulse velocity).
The ultrasonic ranging module HC - SRO4 is used as a distance sensor for detecting any move by measuring distance between sensor and body surface. The system consists of sensor Arduino Uno, LCD, LEDS variable resistance (it is very important to adjust the screen brightness (LCD)), Breadboard, and Wires. We adjust the distance on less than (10 cm) or to whatever value we want.
Anybody approaching from the ultrasonic sensor, the buzzer is turn on with the red led and the LCD is display the distance on the screen and this distance is measured in (cm), and if this body is stay away from this sensor (ultrasonic sensor) the buzzer is turn off and the green led is turn on.
Keywords:
Arduino; LCD; Buzzer; Sensor; Embedded Systems
Full text article in PDF:
Copyright information:
Copyright © 2024 Author(s) retain the copyright of this article. This article is published under the terms of the Creative Commons Attribution Liscense 4.0