SlideShare una empresa de Scribd logo
1 de 15
IR Sensors
Mechanism And
Interfacing With A
Micro-Controllers
Presented By
Khairun Nesa
MCSE(13114004)
University of Asia Pacific
Submitted to:
Professor Abdul Hamid Sir
A sensor is a device which is used to sense the
surroundings of it & gives some useful information
about it.
This information is used based on our
requirement.
An electronic sensor gives the information by
giving some electronic signal.
This information is used to perform a given task
which needs interaction with the surroundings.
What is a Sensor?
WHAT IS AN IR
SENSOR
 An IR sensor is a device which detects
IR radiation falling on it.
 The band of light which is a thousand
times wider than that of a visible light is
defined as Infrared light.
 Physically, light with wavelength from
0.7 m to 0.1 mm is called Infraredμ
Light.As our eyes cannot see the light
with wavelength longer than 7 × 10-5
m, thus IR light is invisible to theμ
human.
 These types of radiations are invisible
to our eyes, that can be detected by an
infrared sensor.
Different Types of IR
Sensors and Their Applications
 IR sensors are classified into different types depending on the applications.
 RadiationThermometers: IR sensors are used in radiation thermometers
to measure the temperature depend upon the temperature
 Flame Monitors: These types of devices are used for detecting the light
emitted from the flames and to monitor how the flames are burning.The
Light emitted from flames extend from UV to IR region types.
 Proximity sensors (Used inTouch Screen phones and Edge Avoiding
Robots), Contrast sensors (Used in Line Following Robots)
 Gas Analyzers: IR sensors are used in gas analyzers which use absorption
characteristics of gases in the IR region. The temperature sensor is used
for industrial temperature control.
 PIR sensor is used for automatic door opening system.
IR Imaging Devices
IR image device is one of the major applications of IR waves, primarily by virtue of
its property that is not visible. It is used for thermal imagers, night vision devices,
etc.
For examples Water, rocks, soil, vegetation, an atmosphere, and
human tissue all features emit IR radiation.
http://www.elprocus.com/
IR Sensor Circuit
 An infrared sensor circuit is one of the basic and popular sensor module in an
electronic device. This sensor is analogous to human’s visionary senses, which
can be used to detect obstacles and it is one of the common applications in real
time. This circuit comprises of the following components
 LM358 IC 2 IR transmitter and receiver pair.
 Resistors of the range of kilo ohms.
 Variable resistors.
 LED (Light Emitting Diode).
 Photodiode
Infrared IR Sensor Circuit
Diagram and Working Principle
http://www.elprocus.com/
Infrared IR Sensor
Circuit Diagram and Working
Principle
IR Sensor Board
Infrared IR Sensor Circuit
Diagram and Working Mechanism
 An IR LED is a type of LED which emits light in
the frequency range of Infra-Red, hence the
name
 A photodiode is a type of diode which
detects light.We can think of it as having a
very high resistance when no light is falling
on it.
 Variable Resistor:
A variale resistor is a 3 pin device which is used
to vary resistance. In this circuit, we use it to calibrate
the IR sensor according to the environment.We giveVcc
and GND to the terminals which are close together and
connect the center terminal to the threshold of the IC
HARDWARE DESCRIPTION
 IC Op-Amp LM358M (as a voltage comparator :LM358M is a general
purpose Dual Operational Amplifier (Op-Amp). So basically, we use it
to compare two voltages, one is fixed and the other varies with an
environmental parameter.This IC is an 8 pin IC. Check the illustration
above for the pin layout. Output (pin 1) is where we get the 5/0Volts,
Threshold (pin 2) is the fixed voltage, Input (pin 3) is where we
supply our environment controlled voltage, and pin 4 & 8 are used to
power up the IC.The best part about this IC is that it is a Dual Op-
Amp, so you can make two completely separate IR sensors using the
same IC! All you need to do is mirror all the connections on the
lower three terminals of the other half of the IC (Refer to the pin
diagram of the IC).
ared IR Sensor Circuit Diagram and Working Mec
IR Sensor Circuit Breaker Diagram
http://www.elprocus.com/
Working
Principle of IR Sensor
 When the IR receiver does not receive a signal
 The potential at the inverting input goes higher than that non-inverting
input of the comparator IC (LM339).
 Thus the output of the comparator goes low, but the LED does not glow.
 When the IR receiver module receives signal to the potential at the
inverting input goes low.
http://www.elprocus.com/
Working Principle of IR
Sensor
 Thus the output of the comparator (LM 339) goes high and the LED
starts glowing.
 Resistor R1 (10), R2 (10k ) and R3 (150) are used to ensure that
minimum 10 mA current passes through the IR LED Devices like
Photodiode and normal LEDs respectively.
 ResistorVR2 (preset=5k ) is used to adjust the output terminals.
 ResistorVR1 (preset=10k ) is used to set the sensitivity of the circuit
Diagram.
Photo Infrared sensor
interfacing with Arduino Uno R3Circuit diagram below shows the interfacing of this sensor with Arduino Uno R3.
Output of infrared sensors is connected with pin number 1 of Arduino Uno R3.To use
this sensor with Arduino and to write its code, you need to know how to use switch
with Arduino. Because this sensor output is acting as a switch.When IR receiver detect
infrared radiations, output will be high, otherwise output will be low.This is basically a
functionality similar to push button and switch.So I recommend you to first learn that
how to interface push button with Arduino Uno R3.To know about it check following
article :
Code of infrared sensor module
interfacing with Arduino
const int IR_INPUT=2; //Digital output reads pin for IR
SENSOR
void setup()
{
pinMode(13, OUTPUT); // ON Board LED to show output
pinMode(IR_Sensor,INPUT);
}
void loop()
{
if(digitalRead(IR_Sensor)==HIGH) // if no obstacle LED off
{
digitalWrite(13, LOW); // LED off when no obstacle
}
else
{
digitalWrite(13, HIGH); // LED on when there is a obstacle
}
}
Ir sensor mechanism and  interfacing with  a micro controllers.PPT

Más contenido relacionado

La actualidad más candente

IR proximity sensor report file.
IR proximity sensor report file.IR proximity sensor report file.
IR proximity sensor report file.Aman singh
 
Obstacle detection using ultra sonic sensor
Obstacle detection using ultra sonic sensorObstacle detection using ultra sonic sensor
Obstacle detection using ultra sonic sensorsatyashanker
 
Automatic Plant Irrigator -Mini Project ECE(without micro controller)
Automatic Plant Irrigator -Mini Project ECE(without micro controller) Automatic Plant Irrigator -Mini Project ECE(without micro controller)
Automatic Plant Irrigator -Mini Project ECE(without micro controller) Sushant Shankar
 
Automatic control of street light using LDR
Automatic control of street light using LDRAutomatic control of street light using LDR
Automatic control of street light using LDRDevang Loharikar
 
Mobile charger presentation
Mobile charger presentationMobile charger presentation
Mobile charger presentationYãwãr Cena
 
Passive infrared sensor technology(pir)
Passive infrared sensor technology(pir)Passive infrared sensor technology(pir)
Passive infrared sensor technology(pir)Umar Shuaib
 
Project on soil moisture sensor
Project on soil moisture sensorProject on soil moisture sensor
Project on soil moisture sensorYADAVHEMANTSANTRAM
 
Temperature Controlled DC fan using Thermistor
Temperature Controlled DC fan using ThermistorTemperature Controlled DC fan using Thermistor
Temperature Controlled DC fan using ThermistorZaheer Basha
 
Line Following Robot using Arduino UNO
Line Following Robot using Arduino UNOLine Following Robot using Arduino UNO
Line Following Robot using Arduino UNOViswanadh Ivaturi
 
Temperature Transducers
Temperature TransducersTemperature Transducers
Temperature TransducersAsim Raza
 
PIR sensors day
PIR sensors day PIR sensors day
PIR sensors day sivagamitec
 
Relay Presentation PPT by G@nesh
Relay Presentation PPT by G@neshRelay Presentation PPT by G@nesh
Relay Presentation PPT by G@neshKOMMARINASANTHOSH
 
Radar Using Arduino
Radar Using ArduinoRadar Using Arduino
Radar Using ArduinoGolu Jain
 
automatic street light
automatic street lightautomatic street light
automatic street lightAnish Anand
 

La actualidad más candente (20)

Telemetry
TelemetryTelemetry
Telemetry
 
IR proximity sensor report file.
IR proximity sensor report file.IR proximity sensor report file.
IR proximity sensor report file.
 
Obstacle detection using ultra sonic sensor
Obstacle detection using ultra sonic sensorObstacle detection using ultra sonic sensor
Obstacle detection using ultra sonic sensor
 
Automatic Plant Irrigator -Mini Project ECE(without micro controller)
Automatic Plant Irrigator -Mini Project ECE(without micro controller) Automatic Plant Irrigator -Mini Project ECE(without micro controller)
Automatic Plant Irrigator -Mini Project ECE(without micro controller)
 
Ultrasonic sensor
Ultrasonic sensorUltrasonic sensor
Ultrasonic sensor
 
Capacitive Sensors
Capacitive SensorsCapacitive Sensors
Capacitive Sensors
 
Automatic control of street light using LDR
Automatic control of street light using LDRAutomatic control of street light using LDR
Automatic control of street light using LDR
 
Mobile charger presentation
Mobile charger presentationMobile charger presentation
Mobile charger presentation
 
Passive infrared sensor technology(pir)
Passive infrared sensor technology(pir)Passive infrared sensor technology(pir)
Passive infrared sensor technology(pir)
 
Project on soil moisture sensor
Project on soil moisture sensorProject on soil moisture sensor
Project on soil moisture sensor
 
Temperature Controlled DC fan using Thermistor
Temperature Controlled DC fan using ThermistorTemperature Controlled DC fan using Thermistor
Temperature Controlled DC fan using Thermistor
 
Line Following Robot using Arduino UNO
Line Following Robot using Arduino UNOLine Following Robot using Arduino UNO
Line Following Robot using Arduino UNO
 
Types of sensors
Types of sensorsTypes of sensors
Types of sensors
 
Temperature Transducers
Temperature TransducersTemperature Transducers
Temperature Transducers
 
PIR sensors day
PIR sensors day PIR sensors day
PIR sensors day
 
SERVO MOTOR CONTROLLER
SERVO MOTOR CONTROLLERSERVO MOTOR CONTROLLER
SERVO MOTOR CONTROLLER
 
Relay Presentation PPT by G@nesh
Relay Presentation PPT by G@neshRelay Presentation PPT by G@nesh
Relay Presentation PPT by G@nesh
 
Radar Using Arduino
Radar Using ArduinoRadar Using Arduino
Radar Using Arduino
 
Advanced Sensors
Advanced SensorsAdvanced Sensors
Advanced Sensors
 
automatic street light
automatic street lightautomatic street light
automatic street light
 

Similar a Ir sensor mechanism and interfacing with a micro controllers.PPT

Infrared IR Sensor Circuit Diagram and Working Principle
Infrared IR Sensor Circuit Diagram and Working PrincipleInfrared IR Sensor Circuit Diagram and Working Principle
Infrared IR Sensor Circuit Diagram and Working Principleelprocus
 
Fire Detection & Path Deviation Robot
Fire Detection & Path Deviation RobotFire Detection & Path Deviation Robot
Fire Detection & Path Deviation RobotPalkit Jain
 
Automatic Door Opener using PIR Sensor
Automatic Door Opener using PIR SensorAutomatic Door Opener using PIR Sensor
Automatic Door Opener using PIR SensorRAGHUVARMA09
 
Therft alert system
Therft alert systemTherft alert system
Therft alert systemBadal Tushar
 
Arduino with brief description of sensorsppt.pptx
Arduino with brief description of sensorsppt.pptxArduino with brief description of sensorsppt.pptx
Arduino with brief description of sensorsppt.pptxBhuvanaN12
 
Infrared_Sensors.pptx
Infrared_Sensors.pptxInfrared_Sensors.pptx
Infrared_Sensors.pptx9731735920
 
Secure Surveillance Using Virtual Intelligent Agent With Dominating
Secure Surveillance Using Virtual Intelligent Agent With DominatingSecure Surveillance Using Virtual Intelligent Agent With Dominating
Secure Surveillance Using Virtual Intelligent Agent With Dominatingsindhuls
 
Bot Robo Tanker Sound Detector
Bot Robo  Tanker  Sound DetectorBot Robo  Tanker  Sound Detector
Bot Robo Tanker Sound Detectorncct
 
Characteristics of Different Sensors used for Distance Measurement
Characteristics of Different Sensors used for Distance MeasurementCharacteristics of Different Sensors used for Distance Measurement
Characteristics of Different Sensors used for Distance MeasurementIRJET Journal
 
Intelligent energy coservation system
Intelligent energy coservation systemIntelligent energy coservation system
Intelligent energy coservation systemvyomesh upadhyay
 
Ir switch & remote control
Ir switch & remote controlIr switch & remote control
Ir switch & remote controlVikas Pawar
 
1693579833307_Sensors.ppt
1693579833307_Sensors.ppt1693579833307_Sensors.ppt
1693579833307_Sensors.pptPrabhaCB1
 
IRJET- Virtual Eye for the Visually Challenged
IRJET-  	  Virtual Eye for the Visually ChallengedIRJET-  	  Virtual Eye for the Visually Challenged
IRJET- Virtual Eye for the Visually ChallengedIRJET Journal
 
Object follower bot
Object follower botObject follower bot
Object follower botFAHAD KHAN
 
Digital tachometer using pic18
Digital tachometer using pic18Digital tachometer using pic18
Digital tachometer using pic18Muhammad Usman
 

Similar a Ir sensor mechanism and interfacing with a micro controllers.PPT (20)

Infrared IR Sensor Circuit Diagram and Working Principle
Infrared IR Sensor Circuit Diagram and Working PrincipleInfrared IR Sensor Circuit Diagram and Working Principle
Infrared IR Sensor Circuit Diagram and Working Principle
 
Fire Detection & Path Deviation Robot
Fire Detection & Path Deviation RobotFire Detection & Path Deviation Robot
Fire Detection & Path Deviation Robot
 
Automatic Door Opener using PIR Sensor
Automatic Door Opener using PIR SensorAutomatic Door Opener using PIR Sensor
Automatic Door Opener using PIR Sensor
 
ir sensor.docx
ir sensor.docxir sensor.docx
ir sensor.docx
 
Therft alert system
Therft alert systemTherft alert system
Therft alert system
 
Arduino with brief description of sensorsppt.pptx
Arduino with brief description of sensorsppt.pptxArduino with brief description of sensorsppt.pptx
Arduino with brief description of sensorsppt.pptx
 
Infrared_Sensors.pptx
Infrared_Sensors.pptxInfrared_Sensors.pptx
Infrared_Sensors.pptx
 
Secure Surveillance Using Virtual Intelligent Agent With Dominating
Secure Surveillance Using Virtual Intelligent Agent With DominatingSecure Surveillance Using Virtual Intelligent Agent With Dominating
Secure Surveillance Using Virtual Intelligent Agent With Dominating
 
Automatic road light based on vehicles movement
Automatic road light based on vehicles movementAutomatic road light based on vehicles movement
Automatic road light based on vehicles movement
 
Bot Robo Tanker Sound Detector
Bot Robo  Tanker  Sound DetectorBot Robo  Tanker  Sound Detector
Bot Robo Tanker Sound Detector
 
Characteristics of Different Sensors used for Distance Measurement
Characteristics of Different Sensors used for Distance MeasurementCharacteristics of Different Sensors used for Distance Measurement
Characteristics of Different Sensors used for Distance Measurement
 
Intelligent energy coservation system
Intelligent energy coservation systemIntelligent energy coservation system
Intelligent energy coservation system
 
Basic Sensors
Basic Sensors Basic Sensors
Basic Sensors
 
Ir switch & remote control
Ir switch & remote controlIr switch & remote control
Ir switch & remote control
 
1693579833307_Sensors.ppt
1693579833307_Sensors.ppt1693579833307_Sensors.ppt
1693579833307_Sensors.ppt
 
IRJET- Virtual Eye for the Visually Challenged
IRJET-  	  Virtual Eye for the Visually ChallengedIRJET-  	  Virtual Eye for the Visually Challenged
IRJET- Virtual Eye for the Visually Challenged
 
Object follower bot
Object follower botObject follower bot
Object follower bot
 
Sensor technology
Sensor technologySensor technology
Sensor technology
 
Digital tachometer using pic18
Digital tachometer using pic18Digital tachometer using pic18
Digital tachometer using pic18
 
D1802051622
D1802051622D1802051622
D1802051622
 

Último

A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityMorshed Ahmed Rahath
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfKamal Acharya
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptMsecMca
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxJuliansyahHarahap1
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTbhaskargani46
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaOmar Fathy
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueBhangaleSonal
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . pptDineshKumar4165
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086anil_gaur
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXssuser89054b
 
2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projectssmsksolar
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756dollysharma2066
 

Último (20)

(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 

Ir sensor mechanism and interfacing with a micro controllers.PPT

  • 1. IR Sensors Mechanism And Interfacing With A Micro-Controllers Presented By Khairun Nesa MCSE(13114004) University of Asia Pacific Submitted to: Professor Abdul Hamid Sir
  • 2. A sensor is a device which is used to sense the surroundings of it & gives some useful information about it. This information is used based on our requirement. An electronic sensor gives the information by giving some electronic signal. This information is used to perform a given task which needs interaction with the surroundings. What is a Sensor?
  • 3. WHAT IS AN IR SENSOR  An IR sensor is a device which detects IR radiation falling on it.  The band of light which is a thousand times wider than that of a visible light is defined as Infrared light.  Physically, light with wavelength from 0.7 m to 0.1 mm is called Infraredμ Light.As our eyes cannot see the light with wavelength longer than 7 × 10-5 m, thus IR light is invisible to theμ human.  These types of radiations are invisible to our eyes, that can be detected by an infrared sensor.
  • 4. Different Types of IR Sensors and Their Applications  IR sensors are classified into different types depending on the applications.  RadiationThermometers: IR sensors are used in radiation thermometers to measure the temperature depend upon the temperature  Flame Monitors: These types of devices are used for detecting the light emitted from the flames and to monitor how the flames are burning.The Light emitted from flames extend from UV to IR region types.  Proximity sensors (Used inTouch Screen phones and Edge Avoiding Robots), Contrast sensors (Used in Line Following Robots)  Gas Analyzers: IR sensors are used in gas analyzers which use absorption characteristics of gases in the IR region. The temperature sensor is used for industrial temperature control.  PIR sensor is used for automatic door opening system.
  • 5. IR Imaging Devices IR image device is one of the major applications of IR waves, primarily by virtue of its property that is not visible. It is used for thermal imagers, night vision devices, etc. For examples Water, rocks, soil, vegetation, an atmosphere, and human tissue all features emit IR radiation.
  • 6. http://www.elprocus.com/ IR Sensor Circuit  An infrared sensor circuit is one of the basic and popular sensor module in an electronic device. This sensor is analogous to human’s visionary senses, which can be used to detect obstacles and it is one of the common applications in real time. This circuit comprises of the following components  LM358 IC 2 IR transmitter and receiver pair.  Resistors of the range of kilo ohms.  Variable resistors.  LED (Light Emitting Diode).  Photodiode Infrared IR Sensor Circuit Diagram and Working Principle
  • 7. http://www.elprocus.com/ Infrared IR Sensor Circuit Diagram and Working Principle IR Sensor Board
  • 8. Infrared IR Sensor Circuit Diagram and Working Mechanism  An IR LED is a type of LED which emits light in the frequency range of Infra-Red, hence the name  A photodiode is a type of diode which detects light.We can think of it as having a very high resistance when no light is falling on it.  Variable Resistor: A variale resistor is a 3 pin device which is used to vary resistance. In this circuit, we use it to calibrate the IR sensor according to the environment.We giveVcc and GND to the terminals which are close together and connect the center terminal to the threshold of the IC HARDWARE DESCRIPTION
  • 9.  IC Op-Amp LM358M (as a voltage comparator :LM358M is a general purpose Dual Operational Amplifier (Op-Amp). So basically, we use it to compare two voltages, one is fixed and the other varies with an environmental parameter.This IC is an 8 pin IC. Check the illustration above for the pin layout. Output (pin 1) is where we get the 5/0Volts, Threshold (pin 2) is the fixed voltage, Input (pin 3) is where we supply our environment controlled voltage, and pin 4 & 8 are used to power up the IC.The best part about this IC is that it is a Dual Op- Amp, so you can make two completely separate IR sensors using the same IC! All you need to do is mirror all the connections on the lower three terminals of the other half of the IC (Refer to the pin diagram of the IC). ared IR Sensor Circuit Diagram and Working Mec
  • 10. IR Sensor Circuit Breaker Diagram
  • 11. http://www.elprocus.com/ Working Principle of IR Sensor  When the IR receiver does not receive a signal  The potential at the inverting input goes higher than that non-inverting input of the comparator IC (LM339).  Thus the output of the comparator goes low, but the LED does not glow.  When the IR receiver module receives signal to the potential at the inverting input goes low.
  • 12. http://www.elprocus.com/ Working Principle of IR Sensor  Thus the output of the comparator (LM 339) goes high and the LED starts glowing.  Resistor R1 (10), R2 (10k ) and R3 (150) are used to ensure that minimum 10 mA current passes through the IR LED Devices like Photodiode and normal LEDs respectively.  ResistorVR2 (preset=5k ) is used to adjust the output terminals.  ResistorVR1 (preset=10k ) is used to set the sensitivity of the circuit Diagram.
  • 13. Photo Infrared sensor interfacing with Arduino Uno R3Circuit diagram below shows the interfacing of this sensor with Arduino Uno R3. Output of infrared sensors is connected with pin number 1 of Arduino Uno R3.To use this sensor with Arduino and to write its code, you need to know how to use switch with Arduino. Because this sensor output is acting as a switch.When IR receiver detect infrared radiations, output will be high, otherwise output will be low.This is basically a functionality similar to push button and switch.So I recommend you to first learn that how to interface push button with Arduino Uno R3.To know about it check following article :
  • 14. Code of infrared sensor module interfacing with Arduino const int IR_INPUT=2; //Digital output reads pin for IR SENSOR void setup() { pinMode(13, OUTPUT); // ON Board LED to show output pinMode(IR_Sensor,INPUT); } void loop() { if(digitalRead(IR_Sensor)==HIGH) // if no obstacle LED off { digitalWrite(13, LOW); // LED off when no obstacle } else { digitalWrite(13, HIGH); // LED on when there is a obstacle } }