SlideShare a Scribd company logo
PIR SENSOR
• PIR sensors allow you to sense motion . Generally, PIR sensor can detect
animal/human movement. PIR is made of a pyro electric sensor, which is
able to detect different levels of infrared radiation.
• A Passive Infrared sensor is an electronic sensor that measures infrared
light radiating from objects. Term “passive” means that sensor is not using
any energy for detecting purposes, it just works by detecting the energy
given off by the other objects.
• PIR sensors are mostly used in PIR-based motion detectors. Also, it used
in security alarms and automatic lighting applications.
• The most widely used infrared detector is a pyroelectric detector.
• It uses as a sensor for converting human infrared radiation into electrical
signal. The detector itself does not emit any energy but passively receives
it.Pyro electric detectors are thermal detectors: Temperature fluctuations
produce a charge change on the surface of pyroelectric crystals, which
produces a corresponding electrical signal.
PIR SENSOR
• How does a PIR sensor work?
• All objects, including the human body, at temperatures above
absolute zero emit heat energy in the form of infrared
radiation. The hotter an object is, the more radiation it emits.
This radiation is not visible to the human eye because it is
emitted at infrared wavelengths. The PIR sensor is specifically
designed to detect such levels of infrared radiation.
• A PIR sensor consists of two main parts:
• A pyroelectric sensor, which you can see in the image below
as a round metal with a rectangular crystal in the center.
• A special lens called a fresnel lens which Focuses the infrared
signals on the pyroelectric sensor.
The Pyroelectric Sensor
• A pyroelectric sensor consists of a window with two
rectangular slots and is made of a material (typically
coated silicon) that allows infrared radiation to pass
through. Behind the window, there are two separate
infrared sensor electrodes, one responsible for
producing the positive output and the other for
producing the negative output.
• The two electrodes are wired such that they cancel
each other out. This is because we are looking for
changes in IR levels and not ambient IR levels. That’s
why when one half sees more or less IR radiation than
the other, we get the output.
Working
• When ever it detects change in infrared radiation it produces
digital output signal.
• When there is no movement around the sensor, both slots
detect the same amount of infrared radiation, resulting in a
zero output signal.
• But when a warm body like a human or an animal passes by, it
first intercepts half of the sensor. This causes a positive
differential change between the two halves.
• When the warm body intercepts the other half of the sensor
(leaves the sensing region), the opposite happens, and the
sensor produces a negative differential change.
• By reading this change in voltage, motion is detected.
PIR in Lighting application
• When Unoccupied
• When a space is unoccupied, the
pyroelectric sensor does not detect any change in
temperature and would remain idle.
• When Occupied
• When the human or animal body gets into the
sensors range, the infrared signal difference
between these two pyroelectric sensors will
trigger the lights to turn on.
Technical specification
Applications of PIR Sensor
• PIR sensors are used in thermal sensing
applications, such as security and motion
detection. They are commonly used in security
alarms, motion detection alarms, and
automatic lighting applications.
Ultrasonic sensor
• An ultrasonic sensor is an electronic device that measures the
distance of a target object by emitting ultrasonic sound waves,
and converts the reflected sound into an electrical signal.
Ultrasonic waves travel faster than the speed of audible sound
(i.e. the sound that humans can hear).
• Ultrasonic sensors have two main components: the transmitter
(which emits the sound using piezoelectric crystals) and the
receiver (which encounters the sound after it has travelled to
and from the target).
How the HC-SR04 Ultrasonic Distance
Sensor Works?
• It emits an ultrasound at 40 000 Hz which travels through the air and if
there is an object or obstacle on its path. It will bounce back to the
module. Considering the travel time and the speed of the sound you can
calculate the distance.
• In order to generate the ultrasound we need to set the Trig pin on a High
State for 10 µs. That will send out an 8 cycle ultrasonic burst which will
travel at the speed of sound. The Echo pins goes high right away after that
8 cycle ultrasonic burst is sent, and it starts listening or waiting for that
wave to be reflected from an object.
• It all starts when the trigger pin
is set HIGH for 10µs. In
response, the sensor transmits
an ultrasonic burst of eight
pulses at 40 kHz. This 8-pulse
pattern is specially designed so
that the receiver can
distinguish the transmitted
pulses from ambient ultrasonic
noise.
• These eight ultrasonic pulses
travel through the air away
from the transmitter.
Meanwhile the echo pin goes
HIGH to initiate the echo-back
signal.
• If those pulses are not
reflected back, the echo signal
times out and goes low after
38ms (38 milliseconds). Thus a
pulse of 38ms indicates no
obstruction within the range
of the sensor.
• IF OBJECT(obstruction) IS
NOT PRESENT
• If those pulses are reflected
back, the echo pin goes low
as soon as the signal is
received. This generates a
pulse on the echo pin
whose width varies from
150 µs to 25 ms depending
on the time taken to receive
the signal.
• IF OBJECT(obstruction)
IS PRESENT
• Let us take an example to make it more clear. Suppose we have an object
in front of the sensor at an unknown distance and we receive a pulse of
500µs width on the echo pin. Now let’s calculate how far the object is
from the sensor. For this we will use the below equation.
• Distance = Speed x Time
• Here we have the value of time i.e. 500 µs and we know the speed. Of
course it’s the speed of sound! It is 340 m/s. To calculate the distance we
need to convert the speed of sound into cm/µs. It is 0.034 cm/μs. With
that information we can now calculate the distance!
• Distance = 0.034 cm/µs x 500 µs
• But we’re not done yet! Remember that the echo pulse indicates the time
it takes for the signal to be sent and reflected back. So to get the distance,
you have to divide your result by two.
• Distance = (0.034 cm/µs x 500 µs) / 2
• Distance = 8.5 cm
• Now we know that the object is 8.5 cm away from the sensor.
Distance=(speed of sound x time)/2
Ultrasonic Sensor HC SR 04
HC-SR04 Hardware Overview
• An HC-SR04 ultrasonic distance sensor actually consists of
two ultrasonic transducers.
• One acts as a transmitter that converts the electrical signal into 40
KHz ultrasonic sound pulses. The other acts as a receiver and
listens for the transmitted pulses.
• When the receiver receives these pulses, it produces an output
pulse whose width is proportional to the distance of the object in
front.
• This sensor provides excellent non-contact range detection between
2 cm to 400 cm (~13 feet) with an accuracy of 3 mm.
Applications
• They can be found in automobile self-parking technology and anti-
collision safety systems. Ultrasonic sensors are also used in robotic
obstacle detection systems, as well as manufacturing technology.
• They are used within food and beverage to measure liquid level
in bottles,
• Ultrasonic sensors are also used in robotic obstacle detection
systems,
OBSTACLE DETECTION
Water level detection
SENSOR AND ACTUATOR
• A sensor transforms interesting, useful energy into
electrical data. By contrast, an actuator transforms
electrical data into interesting, useful energy. Our
smartphones are full of transducers — the camera
and microphone are sensors whereas the speakers
and screen are actuators.
Sensor:
• Sensor is a device used for the conversion of physical
events or characteristics into the electrical signals.
• This is a hardware device that takes the input from
environment and gives to the system by converting
it.For example, a thermometer takes the
temperature as physical characteristic and then
converts it into electrical signals for the system.
• Sensors pick physical gestures from their
environment and convert them into electrical signals-
while actuators pick the system's electrical signals to
convert them into physical gestures (heat, sound,
electricity, etc.).
Actuator:
• Actuator is a device that converts the electrical
signals into the physical events or characteristics.
• It takes the input from the system and gives output
to the environment.
For example, motors and heaters are some of the
commonly used actuators.
PIR AND ULTRASONIC PPT.pptx

More Related Content

What's hot

Passive infrared sensor technology(pir)
Passive infrared sensor technology(pir)Passive infrared sensor technology(pir)
Passive infrared sensor technology(pir)
Umar Shuaib
 
Critical frequency
Critical frequencyCritical frequency
Critical frequency
Gautam Saxena
 
rake reciever ppt
rake reciever pptrake reciever ppt
rake reciever ppt
Divya Shukla
 
Arduino Family
Arduino FamilyArduino Family
Arduino Family
mahalakshmimalini
 
Modulation techniques
Modulation techniquesModulation techniques
Modulation techniques
Sathish Kumar
 
Unit II arm 7 Instruction Set
Unit II arm 7 Instruction SetUnit II arm 7 Instruction Set
Unit II arm 7 Instruction Set
Dr. Pankaj Zope
 
ARDUINO AND ITS PIN CONFIGURATION
 ARDUINO AND ITS PIN  CONFIGURATION ARDUINO AND ITS PIN  CONFIGURATION
ARDUINO AND ITS PIN CONFIGURATION
soma saikiran
 
Phase Shift Keying & π/4 -Quadrature Phase Shift Keying
Phase Shift Keying & π/4 -Quadrature Phase Shift KeyingPhase Shift Keying & π/4 -Quadrature Phase Shift Keying
Phase Shift Keying & π/4 -Quadrature Phase Shift Keying
Naveen Jakhar, I.T.S
 
Spectrum Analyzer
Spectrum AnalyzerSpectrum Analyzer
Spectrum AnalyzerManasa K
 
Passive Infrared Motion Sensors
Passive Infrared Motion SensorsPassive Infrared Motion Sensors
Passive Infrared Motion Sensors
Abinash Acharya
 
Sampling Theorem
Sampling TheoremSampling Theorem
Sampling Theorem
Dr Naim R Kidwai
 
Noise
NoiseNoise
Noise
bhavyaw
 
Pluse amplitude modulatiion
Pluse amplitude modulatiionPluse amplitude modulatiion
Pluse amplitude modulatiion
KarmugilMahalingam
 
Introduction to Sensor
Introduction to SensorIntroduction to Sensor
Introduction to Sensor
utpal sarkar
 
RF transmitter & receiver
RF transmitter & receiverRF transmitter & receiver
RF transmitter & receivercodexdesign
 
Instrumentation & Measurement: Electromechanical Instruments
Instrumentation & Measurement: Electromechanical InstrumentsInstrumentation & Measurement: Electromechanical Instruments
Instrumentation & Measurement: Electromechanical Instruments
Muhammad Junaid Asif
 
4. need of digital signal
4. need of digital signal4. need of digital signal
4. need of digital signal
Sajjad Mehmood
 
Sensors
SensorsSensors
Sensors
Anirudh Gupta
 

What's hot (20)

Antenna
AntennaAntenna
Antenna
 
Spread spectrum
Spread spectrumSpread spectrum
Spread spectrum
 
Passive infrared sensor technology(pir)
Passive infrared sensor technology(pir)Passive infrared sensor technology(pir)
Passive infrared sensor technology(pir)
 
Critical frequency
Critical frequencyCritical frequency
Critical frequency
 
rake reciever ppt
rake reciever pptrake reciever ppt
rake reciever ppt
 
Arduino Family
Arduino FamilyArduino Family
Arduino Family
 
Modulation techniques
Modulation techniquesModulation techniques
Modulation techniques
 
Unit II arm 7 Instruction Set
Unit II arm 7 Instruction SetUnit II arm 7 Instruction Set
Unit II arm 7 Instruction Set
 
ARDUINO AND ITS PIN CONFIGURATION
 ARDUINO AND ITS PIN  CONFIGURATION ARDUINO AND ITS PIN  CONFIGURATION
ARDUINO AND ITS PIN CONFIGURATION
 
Phase Shift Keying & π/4 -Quadrature Phase Shift Keying
Phase Shift Keying & π/4 -Quadrature Phase Shift KeyingPhase Shift Keying & π/4 -Quadrature Phase Shift Keying
Phase Shift Keying & π/4 -Quadrature Phase Shift Keying
 
Spectrum Analyzer
Spectrum AnalyzerSpectrum Analyzer
Spectrum Analyzer
 
Passive Infrared Motion Sensors
Passive Infrared Motion SensorsPassive Infrared Motion Sensors
Passive Infrared Motion Sensors
 
Sampling Theorem
Sampling TheoremSampling Theorem
Sampling Theorem
 
Noise
NoiseNoise
Noise
 
Pluse amplitude modulatiion
Pluse amplitude modulatiionPluse amplitude modulatiion
Pluse amplitude modulatiion
 
Introduction to Sensor
Introduction to SensorIntroduction to Sensor
Introduction to Sensor
 
RF transmitter & receiver
RF transmitter & receiverRF transmitter & receiver
RF transmitter & receiver
 
Instrumentation & Measurement: Electromechanical Instruments
Instrumentation & Measurement: Electromechanical InstrumentsInstrumentation & Measurement: Electromechanical Instruments
Instrumentation & Measurement: Electromechanical Instruments
 
4. need of digital signal
4. need of digital signal4. need of digital signal
4. need of digital signal
 
Sensors
SensorsSensors
Sensors
 

Similar to PIR AND ULTRASONIC PPT.pptx

Ultrasonic sensors
Ultrasonic sensorsUltrasonic sensors
Ultrasonic sensors
AnCh24
 
Sensors - Aniket.pptx
Sensors - Aniket.pptxSensors - Aniket.pptx
Sensors - Aniket.pptx
AniketKuanra
 
Sensor technology
Sensor technologySensor technology
Sensor technology
ShyamKumar415
 
Ultasonic sensor
Ultasonic sensorUltasonic sensor
Ultasonic sensor
Priyanka Jakhar
 
Sensor.pptx
Sensor.pptxSensor.pptx
Sensor.pptx
ShoaibAhmed64967
 
Obstacle Avoidance ROBOT using ARDUINO
Obstacle Avoidance ROBOT using ARDUINOObstacle Avoidance ROBOT using ARDUINO
Obstacle Avoidance ROBOT using ARDUINO
jovin Richard
 
Robot Sensing System - 5
Robot Sensing System - 5Robot Sensing System - 5
Infrared detector
Infrared detector Infrared detector
Infrared detector
MI RAKIB
 
UNIT III_Smart Sensor.pptx
UNIT III_Smart Sensor.pptxUNIT III_Smart Sensor.pptx
UNIT III_Smart Sensor.pptx
SattiBabu16
 
Sensors in IOT
Sensors in IOTSensors in IOT
Sensors in IOT
ATS SBGI MIRAJ
 
Proximity and displacement
Proximity and displacementProximity and displacement
Proximity and displacement
RobinSolanki3
 
Proximity Sensor
Proximity SensorProximity Sensor
Proximity Sensor
RAHMAT EIE
 
robotics sensors.pptx
robotics sensors.pptxrobotics sensors.pptx
robotics sensors.pptx
GanagadharCH
 
Safety guard for blind
Safety guard for blindSafety guard for blind
Safety guard for blind
Daksh Raj Chopra
 
Obstacle detection using ultra sonic sensor
Obstacle detection using ultra sonic sensorObstacle detection using ultra sonic sensor
Obstacle detection using ultra sonic sensor
satyashanker
 
Ultrasonictransducer 120914042111-phpapp01
Ultrasonictransducer 120914042111-phpapp01Ultrasonictransducer 120914042111-phpapp01
Ultrasonictransducer 120914042111-phpapp01
Ahmad Masood Khokhar
 
Smart sensors
Smart sensorsSmart sensors
Smart sensors
Rishav Pandey
 
Sensors, Sensors’ Classification, Vision System.pdf
Sensors, Sensors’ Classification, Vision System.pdfSensors, Sensors’ Classification, Vision System.pdf
Sensors, Sensors’ Classification, Vision System.pdf
RakibSheikh6
 

Similar to PIR AND ULTRASONIC PPT.pptx (20)

Ultrasonic sensors
Ultrasonic sensorsUltrasonic sensors
Ultrasonic sensors
 
Sensors - Aniket.pptx
Sensors - Aniket.pptxSensors - Aniket.pptx
Sensors - Aniket.pptx
 
Sensor technology
Sensor technologySensor technology
Sensor technology
 
Ultasonic sensor
Ultasonic sensorUltasonic sensor
Ultasonic sensor
 
Sensor.pptx
Sensor.pptxSensor.pptx
Sensor.pptx
 
Obstacle Avoidance ROBOT using ARDUINO
Obstacle Avoidance ROBOT using ARDUINOObstacle Avoidance ROBOT using ARDUINO
Obstacle Avoidance ROBOT using ARDUINO
 
Robot Sensing System - 5
Robot Sensing System - 5Robot Sensing System - 5
Robot Sensing System - 5
 
Infrared detector
Infrared detector Infrared detector
Infrared detector
 
UNIT III_Smart Sensor.pptx
UNIT III_Smart Sensor.pptxUNIT III_Smart Sensor.pptx
UNIT III_Smart Sensor.pptx
 
Sensors in IOT
Sensors in IOTSensors in IOT
Sensors in IOT
 
Proximity and displacement
Proximity and displacementProximity and displacement
Proximity and displacement
 
Proximity Sensor
Proximity SensorProximity Sensor
Proximity Sensor
 
robotics sensors.pptx
robotics sensors.pptxrobotics sensors.pptx
robotics sensors.pptx
 
Safety guard for blind
Safety guard for blindSafety guard for blind
Safety guard for blind
 
Ultrasonic_Based_Security_System
Ultrasonic_Based_Security_SystemUltrasonic_Based_Security_System
Ultrasonic_Based_Security_System
 
FTIR
FTIRFTIR
FTIR
 
Obstacle detection using ultra sonic sensor
Obstacle detection using ultra sonic sensorObstacle detection using ultra sonic sensor
Obstacle detection using ultra sonic sensor
 
Ultrasonictransducer 120914042111-phpapp01
Ultrasonictransducer 120914042111-phpapp01Ultrasonictransducer 120914042111-phpapp01
Ultrasonictransducer 120914042111-phpapp01
 
Smart sensors
Smart sensorsSmart sensors
Smart sensors
 
Sensors, Sensors’ Classification, Vision System.pdf
Sensors, Sensors’ Classification, Vision System.pdfSensors, Sensors’ Classification, Vision System.pdf
Sensors, Sensors’ Classification, Vision System.pdf
 

Recently uploaded

一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证如何办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证如何办理一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证如何办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证如何办理
peuce
 
欧洲杯冠军-欧洲杯冠军网站-欧洲杯冠军|【​网址​🎉ac123.net🎉​】领先全球的买球投注平台
欧洲杯冠军-欧洲杯冠军网站-欧洲杯冠军|【​网址​🎉ac123.net🎉​】领先全球的买球投注平台欧洲杯冠军-欧洲杯冠军网站-欧洲杯冠军|【​网址​🎉ac123.net🎉​】领先全球的买球投注平台
欧洲杯冠军-欧洲杯冠军网站-欧洲杯冠军|【​网址​🎉ac123.net🎉​】领先全球的买球投注平台
andreassenrolf537
 
Building a Raspberry Pi Robot with Dot NET 8, Blazor and SignalR - Slides Onl...
Building a Raspberry Pi Robot with Dot NET 8, Blazor and SignalR - Slides Onl...Building a Raspberry Pi Robot with Dot NET 8, Blazor and SignalR - Slides Onl...
Building a Raspberry Pi Robot with Dot NET 8, Blazor and SignalR - Slides Onl...
Peter Gallagher
 
Schematic Diagram MSI MS-7309 - REV 1.0 PDF .pdf
Schematic Diagram MSI MS-7309 - REV 1.0 PDF .pdfSchematic Diagram MSI MS-7309 - REV 1.0 PDF .pdf
Schematic Diagram MSI MS-7309 - REV 1.0 PDF .pdf
nikoloco007
 
一比一原版(UCSB毕业证)圣塔芭芭拉社区大学毕业证如何办理
一比一原版(UCSB毕业证)圣塔芭芭拉社区大学毕业证如何办理一比一原版(UCSB毕业证)圣塔芭芭拉社区大学毕业证如何办理
一比一原版(UCSB毕业证)圣塔芭芭拉社区大学毕业证如何办理
aozcue
 
LORRAINE ANDREI_LEQUIGAN_GOOGLE CALENDAR
LORRAINE ANDREI_LEQUIGAN_GOOGLE CALENDARLORRAINE ANDREI_LEQUIGAN_GOOGLE CALENDAR
LORRAINE ANDREI_LEQUIGAN_GOOGLE CALENDAR
lorraineandreiamcidl
 
天博体育下载-可靠的网络天博体育下载-网络天博体育下载|【​网址​🎉ac123.net🎉​】
天博体育下载-可靠的网络天博体育下载-网络天博体育下载|【​网址​🎉ac123.net🎉​】天博体育下载-可靠的网络天博体育下载-网络天博体育下载|【​网址​🎉ac123.net🎉​】
天博体育下载-可靠的网络天博体育下载-网络天博体育下载|【​网址​🎉ac123.net🎉​】
arcosarturo900
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证如何办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证如何办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证如何办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证如何办理
aozcue
 

Recently uploaded (8)

一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证如何办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证如何办理一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证如何办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证如何办理
 
欧洲杯冠军-欧洲杯冠军网站-欧洲杯冠军|【​网址​🎉ac123.net🎉​】领先全球的买球投注平台
欧洲杯冠军-欧洲杯冠军网站-欧洲杯冠军|【​网址​🎉ac123.net🎉​】领先全球的买球投注平台欧洲杯冠军-欧洲杯冠军网站-欧洲杯冠军|【​网址​🎉ac123.net🎉​】领先全球的买球投注平台
欧洲杯冠军-欧洲杯冠军网站-欧洲杯冠军|【​网址​🎉ac123.net🎉​】领先全球的买球投注平台
 
Building a Raspberry Pi Robot with Dot NET 8, Blazor and SignalR - Slides Onl...
Building a Raspberry Pi Robot with Dot NET 8, Blazor and SignalR - Slides Onl...Building a Raspberry Pi Robot with Dot NET 8, Blazor and SignalR - Slides Onl...
Building a Raspberry Pi Robot with Dot NET 8, Blazor and SignalR - Slides Onl...
 
Schematic Diagram MSI MS-7309 - REV 1.0 PDF .pdf
Schematic Diagram MSI MS-7309 - REV 1.0 PDF .pdfSchematic Diagram MSI MS-7309 - REV 1.0 PDF .pdf
Schematic Diagram MSI MS-7309 - REV 1.0 PDF .pdf
 
一比一原版(UCSB毕业证)圣塔芭芭拉社区大学毕业证如何办理
一比一原版(UCSB毕业证)圣塔芭芭拉社区大学毕业证如何办理一比一原版(UCSB毕业证)圣塔芭芭拉社区大学毕业证如何办理
一比一原版(UCSB毕业证)圣塔芭芭拉社区大学毕业证如何办理
 
LORRAINE ANDREI_LEQUIGAN_GOOGLE CALENDAR
LORRAINE ANDREI_LEQUIGAN_GOOGLE CALENDARLORRAINE ANDREI_LEQUIGAN_GOOGLE CALENDAR
LORRAINE ANDREI_LEQUIGAN_GOOGLE CALENDAR
 
天博体育下载-可靠的网络天博体育下载-网络天博体育下载|【​网址​🎉ac123.net🎉​】
天博体育下载-可靠的网络天博体育下载-网络天博体育下载|【​网址​🎉ac123.net🎉​】天博体育下载-可靠的网络天博体育下载-网络天博体育下载|【​网址​🎉ac123.net🎉​】
天博体育下载-可靠的网络天博体育下载-网络天博体育下载|【​网址​🎉ac123.net🎉​】
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证如何办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证如何办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证如何办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证如何办理
 

PIR AND ULTRASONIC PPT.pptx

  • 1. PIR SENSOR • PIR sensors allow you to sense motion . Generally, PIR sensor can detect animal/human movement. PIR is made of a pyro electric sensor, which is able to detect different levels of infrared radiation. • A Passive Infrared sensor is an electronic sensor that measures infrared light radiating from objects. Term “passive” means that sensor is not using any energy for detecting purposes, it just works by detecting the energy given off by the other objects. • PIR sensors are mostly used in PIR-based motion detectors. Also, it used in security alarms and automatic lighting applications. • The most widely used infrared detector is a pyroelectric detector. • It uses as a sensor for converting human infrared radiation into electrical signal. The detector itself does not emit any energy but passively receives it.Pyro electric detectors are thermal detectors: Temperature fluctuations produce a charge change on the surface of pyroelectric crystals, which produces a corresponding electrical signal.
  • 3.
  • 4. • How does a PIR sensor work? • All objects, including the human body, at temperatures above absolute zero emit heat energy in the form of infrared radiation. The hotter an object is, the more radiation it emits. This radiation is not visible to the human eye because it is emitted at infrared wavelengths. The PIR sensor is specifically designed to detect such levels of infrared radiation. • A PIR sensor consists of two main parts: • A pyroelectric sensor, which you can see in the image below as a round metal with a rectangular crystal in the center. • A special lens called a fresnel lens which Focuses the infrared signals on the pyroelectric sensor.
  • 5.
  • 6. The Pyroelectric Sensor • A pyroelectric sensor consists of a window with two rectangular slots and is made of a material (typically coated silicon) that allows infrared radiation to pass through. Behind the window, there are two separate infrared sensor electrodes, one responsible for producing the positive output and the other for producing the negative output. • The two electrodes are wired such that they cancel each other out. This is because we are looking for changes in IR levels and not ambient IR levels. That’s why when one half sees more or less IR radiation than the other, we get the output.
  • 7. Working • When ever it detects change in infrared radiation it produces digital output signal. • When there is no movement around the sensor, both slots detect the same amount of infrared radiation, resulting in a zero output signal. • But when a warm body like a human or an animal passes by, it first intercepts half of the sensor. This causes a positive differential change between the two halves. • When the warm body intercepts the other half of the sensor (leaves the sensing region), the opposite happens, and the sensor produces a negative differential change. • By reading this change in voltage, motion is detected.
  • 8.
  • 9.
  • 10. PIR in Lighting application • When Unoccupied • When a space is unoccupied, the pyroelectric sensor does not detect any change in temperature and would remain idle. • When Occupied • When the human or animal body gets into the sensors range, the infrared signal difference between these two pyroelectric sensors will trigger the lights to turn on.
  • 11.
  • 12.
  • 14.
  • 15.
  • 16. Applications of PIR Sensor • PIR sensors are used in thermal sensing applications, such as security and motion detection. They are commonly used in security alarms, motion detection alarms, and automatic lighting applications.
  • 17. Ultrasonic sensor • An ultrasonic sensor is an electronic device that measures the distance of a target object by emitting ultrasonic sound waves, and converts the reflected sound into an electrical signal. Ultrasonic waves travel faster than the speed of audible sound (i.e. the sound that humans can hear). • Ultrasonic sensors have two main components: the transmitter (which emits the sound using piezoelectric crystals) and the receiver (which encounters the sound after it has travelled to and from the target).
  • 18. How the HC-SR04 Ultrasonic Distance Sensor Works? • It emits an ultrasound at 40 000 Hz which travels through the air and if there is an object or obstacle on its path. It will bounce back to the module. Considering the travel time and the speed of the sound you can calculate the distance. • In order to generate the ultrasound we need to set the Trig pin on a High State for 10 µs. That will send out an 8 cycle ultrasonic burst which will travel at the speed of sound. The Echo pins goes high right away after that 8 cycle ultrasonic burst is sent, and it starts listening or waiting for that wave to be reflected from an object.
  • 19. • It all starts when the trigger pin is set HIGH for 10µs. In response, the sensor transmits an ultrasonic burst of eight pulses at 40 kHz. This 8-pulse pattern is specially designed so that the receiver can distinguish the transmitted pulses from ambient ultrasonic noise. • These eight ultrasonic pulses travel through the air away from the transmitter. Meanwhile the echo pin goes HIGH to initiate the echo-back signal. • If those pulses are not reflected back, the echo signal times out and goes low after 38ms (38 milliseconds). Thus a pulse of 38ms indicates no obstruction within the range of the sensor. • IF OBJECT(obstruction) IS NOT PRESENT
  • 20. • If those pulses are reflected back, the echo pin goes low as soon as the signal is received. This generates a pulse on the echo pin whose width varies from 150 µs to 25 ms depending on the time taken to receive the signal. • IF OBJECT(obstruction) IS PRESENT
  • 21. • Let us take an example to make it more clear. Suppose we have an object in front of the sensor at an unknown distance and we receive a pulse of 500µs width on the echo pin. Now let’s calculate how far the object is from the sensor. For this we will use the below equation. • Distance = Speed x Time • Here we have the value of time i.e. 500 µs and we know the speed. Of course it’s the speed of sound! It is 340 m/s. To calculate the distance we need to convert the speed of sound into cm/µs. It is 0.034 cm/μs. With that information we can now calculate the distance! • Distance = 0.034 cm/µs x 500 µs • But we’re not done yet! Remember that the echo pulse indicates the time it takes for the signal to be sent and reflected back. So to get the distance, you have to divide your result by two. • Distance = (0.034 cm/µs x 500 µs) / 2 • Distance = 8.5 cm • Now we know that the object is 8.5 cm away from the sensor.
  • 22.
  • 25. HC-SR04 Hardware Overview • An HC-SR04 ultrasonic distance sensor actually consists of two ultrasonic transducers. • One acts as a transmitter that converts the electrical signal into 40 KHz ultrasonic sound pulses. The other acts as a receiver and listens for the transmitted pulses. • When the receiver receives these pulses, it produces an output pulse whose width is proportional to the distance of the object in front. • This sensor provides excellent non-contact range detection between 2 cm to 400 cm (~13 feet) with an accuracy of 3 mm.
  • 26.
  • 27.
  • 28. Applications • They can be found in automobile self-parking technology and anti- collision safety systems. Ultrasonic sensors are also used in robotic obstacle detection systems, as well as manufacturing technology. • They are used within food and beverage to measure liquid level in bottles, • Ultrasonic sensors are also used in robotic obstacle detection systems,
  • 31. SENSOR AND ACTUATOR • A sensor transforms interesting, useful energy into electrical data. By contrast, an actuator transforms electrical data into interesting, useful energy. Our smartphones are full of transducers — the camera and microphone are sensors whereas the speakers and screen are actuators.
  • 32. Sensor: • Sensor is a device used for the conversion of physical events or characteristics into the electrical signals. • This is a hardware device that takes the input from environment and gives to the system by converting it.For example, a thermometer takes the temperature as physical characteristic and then converts it into electrical signals for the system. • Sensors pick physical gestures from their environment and convert them into electrical signals- while actuators pick the system's electrical signals to convert them into physical gestures (heat, sound, electricity, etc.).
  • 33.
  • 34. Actuator: • Actuator is a device that converts the electrical signals into the physical events or characteristics. • It takes the input from the system and gives output to the environment. For example, motors and heaters are some of the commonly used actuators.

Editor's Notes

  1. Pyroelectricity is the property of a polar crystal to produce electrical energy when it is subjected to a change of thermal energy.