Smart Sensor Lect3
Smart Sensor Lect3
Smart Sensor Lect3
Smart Sensor
Smart Sensors – Block Diagram, Architecture & Applications
• Smart sensors are different from other types of sensors because they carry
out functions like ranging, calibration and decision making for
communication and utilization of data.
Features of smart sensors
• Self-calibration: Adjust the deviation of the output of the sensor from the
desired value.
• 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.
• When there is no movement around the sensor (ambient light) , both slots
detect the same amount of infrared radiation, resulting in a zero output
signal.
• when any object passes by, it first intercepts half of the sensor. This causes
a positive differential change between the two halves.
• When object intercepts the other half of the sensor (leaves the sensing
region), the opposite happens, and the sensor produces a negative
differential change.
HC-SR501 PIR (Passive Infrared Sensor) Sensor : Motion
Detector
• By reading this change in voltage ( out pin goes high), motion is detected.
• This react to motion may be used to turn lights ON/OFF, blowing alarm,
enabling a fan, take picture of intruder etc.
Motion sensing Application
• Note :
After power up the circuit wait 30-60 seconds for the PIR to adapt to the infrared energy in the
room. The LED may blink a bit during that time. Wait until the LED is completely off
Power On Delay
• PIR sensors, after being turned on to go through the initialization sequence. At that time it learns
the ambient infrared signature of the environment and calibrating itself to the room
environment.
• False triggers are likely to occur during this calibration time, so any triggers during this time
should be ignored. Also make sure that there is not too much movement in front of the sensor
when it is undergoing self-calibration as this may interfere with the calibration process.
• When set, Wave a hand and watch the LED light up accordingly.
• This PIR output can be connected directly to a relay module to turn something ON/OFF based on
motion, or to the Microcontroller .
HC-SR501 PIR (Passive Infrared Sensor) Sensor : Motion Detector
Sensitivity Adjustment
• The PIR sensor has a potentiometer
on the back to adjust the sensitivity.
Note:
• Ideally, when the sensor is static, the gyroscope values and acceleration
values should be zero on all axis.
• On practical applications, error should be taken into account and
correction needed to get more accurate readings.
• Microcontroller code is needed to read the values from sensor using serial
communication protocol to process further.