Professional Documents
Culture Documents
Ir Obstacle Detection PDF
Ir Obstacle Detection PDF
I R O B S TAC L E
DE T E CTI ON TO
AC T UAT E L OA D
PREPARED BY: - TARI K U ME HD I
TARI KUM18 @ G MAI L. CO M
TECHNI CAL AND VO CAT I O NAL
ED UCATI O N TRAI NI N G I NST I T U T E
AD D I S ABABA, ET HI O PI A
CONTENTS
• Abstract
• Introduction
• Description
• Methodology
• Application
• Conclusion
ABSTRACT:
The project is designed to acute a load when IR
rays are interrupted by any object. This is useful in
industries for sensing movement of material in a
conveyor belt for any action to be taken. The project
utilizes 38 KHz IR signal generated feeding an IR diode
which is received by tuned IR receiver. These IR sensors
are interfaced to a microcontroller of arduino Atmega
382.
INTRODUCTION
The IR transmitter continuously transmits rays over the receiver and when these rays are
blocked by any protest a interrupt is sent to the microcontroller. The Arduino uno according to
program written performs the desired action. A lamp is utilized as load in this project for
demonstration reason. This lamp is acted by a transfer which is interfaced to the arduino output.
So when the interrupt is sent to the controller, it turn switches ON the transfer a relay to acute
the load.
This project can be enhanced by utilizing an including counting arrangement with a display. This
arrangement will be useful in manufacturing industries where keeping a total count of production
is required.
DESCRIPTION :
Power
IR
supply
module/Circuits
Ardino
uno
LOAD
COMPONENTS
• IR module
• Arduino
• Load(LED, Relay module, Displays and etc.)
LOA
D
Arduino
PROGRAM CODE
int LED = 13;
int isObstaclePin = 7;
int isObstacle = HIGH;
void setup()
{
pinMode(LED, OUTPUT);
pinMode(isObstaclePin, INPUT);
Serial.begin(9600);
}
void loop()
{
isObstacle = digitalRead(isObstaclePin);
if (isObstacle == LOW)
{ Serial.println("OBSTACLE!!, OBSTACLE!!");
digitalWrite(LED, HIGH);
}
else { Serial.println("clear");
digitalWrite(LED, LOW); }
delay(200);
APPLICATIONS