0% found this document useful (0 votes)
24 views13 pages

Digital Sensor Interfacing (IR Sensor) Using Arduino IDE & Proteus

Uploaded by

ignepilia
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views13 pages

Digital Sensor Interfacing (IR Sensor) Using Arduino IDE & Proteus

Uploaded by

ignepilia
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 13

Digital sensor Interfacing (IR sensor) using Arduino IDE &

Proteus
MINI PROJECT REPORT

Submitted by
JONNAVARAM VEERA GANGADHAR REDDY(URK20EC1048)

Under the Guidance of


MR.DR.K.MARTIN SAGAYAM (Ph.D)
Designation
Assistant professor(ECE DEPT)
Dissertation submitted in partial fulfillment of the requirements
for the award of the degree of
BACHELOR OF TECHNOLOGY
ELECTRONICS AND COMMUNICATION ENGINEERING

SCHOOL OF
ENGINEERING AND TECHNOLOGY
KARUNYA INSTITUTE OF TECHNOLOGY AND SCIENCES
(Deemed to be university)
Karunya Nagar, Coimbatore - 641 114. INDIA
February 2022

i
BONAFIDE CERTIFICATE

This is to certify that the mini project report entitled, “Digital sensor
Interfacing (IR sensor) using Arduino IDE & Proteus ” is a bonafide
record of work of the candidate who carried out the project work under
my supervision during the academic year 2021-2022

JONNAVARAM VEERA GANGADHAR REDDY (URK20EC1048)

Mr.DR.K.MARTIN Dr.D.Nirmal
SAGAYAM Head of the department
SUPERVISOR

Submitted for the Half Semester Viva Voce examination held on ……………………….

……………………….
(Internal Examiner)

ii
ACKNOWLEDGEMENT

First and foremost, I would like to thank Almighty God for all the blessings He has
bestowed upon us to work thus far and finish this project. I are grateful to our most respected
founder (late) Dr. D.G.S. Dhinakaran, C.A.I.I.B, Ph.D., and honorable chancellor Dr. Paul
Dhinakaran, M.B.A, Ph.D., for their grace and blessing.

I express our gratitude to the Vice Chancellor Dr. P. Mannar Jawahar, Ph.D., Pro
Vice Chancellor Dr. Ridling Margarat Waller, Ph.D., Pro Vice Chancellor Dr. E. J. James
and the Registrar Dr. R. Elijah Blessing, Ph.D., Karunya University, for their enduring
leadership.

I extend my thanks to our Dean, School of Engineering and Technology, Dr. Prince
Arul Raj, Ph.D., Karunya University, for his excellent encouragements in course of this
work.

I am very thankful to Dr. D. Nirmal Professor & Head i/c, Department of Electronics
and Communication Engineering for providing his constant readiness in providing help and
encouragement at all stages in my project.

My sincere and special thanks to my guide, MR.DR.K.MARTIN SAGAYAM.,Assistant

professor(ECE DEPT) , for her immense help and guidance. I would like to extend a
thankful heart for her constant support through the entire project.

I would take this opportunity to thank our Dr. NARAIN PONRAJ D., Assistant

professor(ECE DEPT), who had been always there for us. I would like to convey
gratitude to my Parents whose prayers and blessings were always there with me. Last but not
the least, I would like to thank my Friends and Others who directly or indirectly helped in
successful completion of this work.

iii
ABSTRACT

To write an embedded C program and simulate the performance of IR sensor

using Arduino IDE & Proteus tool and implement the circuit using Arduino

Uno development board

An infrared sensor is an electronic device, that emits in order to sense some


aspects of the surroundings. An IR sensor can measure the heat of an object as
well as detects the motion. These types of sensors measure only infrared
radiation, rather than emitting it that is called a passive IR sensor. Usually, in
the infrared spectrum, all the objects radiate some form of thermal radiation.

These types of radiations are invisible to our eyes, which can be detected by an
infrared sensor. The emitter is simply an IR LED (Light Emitting Diode) and
the detector is simply an IR photodiode that is sensitive to IR light of the same
wavelength as that emitted by the IR LED. When IR light falls on the
photodiode, the resistances and the output voltages will change in proportion to
the magnitude of the IR light received.

iv
CONTENTS

Chapter Page No

ACKNOWLEDGEMENT 3
ABSTRACT 4
LIST OF FIGURES 6

1. INTRODUCTION 7
2. COMPONENTS REQUIRED 8
3. HARDWARE/SOFTWARE 8
4. WORKING 9
5. RESULTS 13
6. CONCLUSION 13
7. REFERENCES 13

v
LIST OF FIGURES
Fig.no Description Page no.

3.1 Interface diagram 7

3.2 circuit(IR sensor) 11

vi
INTRODUCTION

An infrared sensor is an electronic device, that emits in order to sense some


aspects of the surroundings. An IR sensor can measure the heat of an object as
well as detects the motion. These types of sensors measure only infrared
radiation, rather than emitting it that is called a passive IR sensor. Usually, in
the infrared spectrum, all the objects radiate some form of thermal radiation.

These types of radiations are invisible to our eyes, which can be detected by an
infrared sensor. The emitter is simply an IR LED (Light Emitting Diode) and
the detector is simply an IR photodiode that is sensitive to IR light of the same
wavelength as that emitted by the IR LED. When IR light falls on the
photodiode, the resistances and the output voltages will change in proportion to
the magnitude of the IR light received.

Fig.3.1 Interface diagram

vii
COMPONENTS REQUIRED

Arduino IDE

Arduino UNO

LM35

Hyper terminal

Ground

Wires

SOFTWARE

 Arduino IDE

 Proteus professional

HARDWARE

 Arduino Uno board

 IR sensor module

 USB cable,

 Breadboard

 Connecting wires

viii
WORKING

The working principle of an infrared sensor is similar to the object detection


sensor. This sensor includes an IR LED & an IR Photodiode, so by combining
these two can be formed as a photo-coupler otherwise optocoupler. The physics
laws used in this sensor are planks radiation, Stephan Boltzmann & weins
displacement.

IR LED is one kind of transmitter that emits IR radiations. This LED looks
similar to a standard LED and the radiation which is generated by this is not
visible to the human eye. Infrared receivers mainly detect the radiation using an
infrared transmitter. These infrared receivers are available in photodiodes form.
IR Photodiodes are dissimilar as compared with usual photodiodes because they
detect simply IR radiation. Different kinds of infrared receivers mainly exist
depending on the voltage, wavelength, package, etc.

Once it is used as the combination of an IR transmitter & receiver, then the


receiver’s wavelength must equal the transmitter. Here, the transmitter is IR
LED whereas the receiver is IR photodiode. The infrared photodiode is
responsive to the infrared light that is generated through an infrared LED. The
resistance of photo-diode & the change in output voltage is in proportion to the
infrared light obtained. This is the IR sensor’s fundamental working principle.

Once the infrared transmitter generates emission, then it arrives at the object &
some of the emission will reflect back toward the infrared receiver. The sensor
output can be decided by the IR receiver depending on the intensity of the
response.

ix
CODE:

int IRSensor1 = 1;
int IRSensor2 = 2;
int MOTOR = 13;
void setup()
{
pinMode (IRSensor1, INPUT);
pinMode (IRSensor2, INPUT);
pinMode (MOTOR, OUTPUT);
}
void loop()
{
int statusSensor1 = digitalRead (IRSensor1);
int statusSensor2 = digitalRead (IRSensor2);

if ((statusSensor1 == 1)&& (statusSensor2 == 1))


{
digitalWrite(MOTOR, HIGH);
}

else
{
digitalWrite(MOTOR, LOW);
}
}

x
Fig.3.2:circuit(IR sensor)

xi
FLOW CHART :

xii
RESULT

By simulating the digital sensor interfacing(IR sensor) circuit using arduino

IDE and proteus .IR sensor is an electronic device, that emits the light in order

to sense some object of the surroundings. An IR sensor can measure the heat of

an object as well as detects the motion

CONCULSION

Thus the performance of IR sensorusing Arduino IDE & Proteus tool and

implemented the circuit using Arduino development board and verified.

REFERENCES

By referring books and with teachers &

https://www.elprocus.com/infrared-ir-sensor-circuit-and-working/

xiii

You might also like