Engineers Garage

  • Electronic Projects & Tutorials
    • Electronic Projects
      • Arduino Projects
      • AVR
      • Raspberry pi
      • ESP8266
      • BeagleBone
      • 8051 Microcontroller
      • ARM
      • PIC Microcontroller
      • STM32
    • Tutorials
      • Audio Electronics
      • Battery Management
      • Brainwave
      • Electric Vehicles
      • EMI/EMC/RFI
      • Hardware Filters
      • IoT tutorials
      • Power Tutorials
      • Python
      • Sensors
      • USB
      • VHDL
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Product News
    • Business News
    • Company/Start-up News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • DigiKey Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Learn
    • eBooks/Tech Tips
    • Design Guides
    • Learning Center
    • Tech Toolboxes
    • Webinars & Digital Events
  • Resources
    • Digital Issues
    • EE Training Days
    • LEAP Awards
    • Podcasts
    • Webinars / Digital Events
    • White Papers
    • Engineering Diversity & Inclusion
    • DesignFast
  • Guest Post Guidelines
  • Advertise
  • Subscribe

PIR Sensor based Alarm

By D.Mohankumar November 12, 2020

This Passive InfraRed Alarm system (PIR alarm) can switch on a Lamp or Alarm when it detects the heat from an object like moving person. The name PIR (Passive Infrared) is given to the sensor because it receives the infrared rays passively and do not emit any infrared ray. The lamp or alarm remains on few minutes depending on the mono time setting of the PIR Sensor used. Ready to fix PIR Sensors are available with Fresnel lens to increase sensitivity and to filter ambient light. Its range is around 5 meters at 45 degree cone angle.

  
Passive Infrared
Human beings cannot detect infrared rays but emits infrared from the body as heat like all other warm blooded animals (animals in which body temperature remains constant- Mammals and Birds)).This is exploited in Motion detectors to detect the presence of human beings. PIR sensors (Passive InfraRed sensor) are used to activate an alarm system using the Infrared in the form of body heat from the human body. PIR sensor is an electronic device that measures the infrared in its field of view. Movement is detected by the sensor when an infrared source like human passes in front of the sensor with one temperature and comparing another temperature like that of the wall in which the sensor is mounted.
About PIR Sensor
The PIR sensor is mounted on a PCB with other semiconductors. The complete assembly is mounted in a case with a Fresnel lens molded in front of it. Behind the lens, there is a small window through which infrared enters into the sensor. The window is covered with a transparent plastic which allows only IR rays to enter into the sensor and preventsvisible light. The filtering window limits the IR rays to 8-14 micrometers similar to the IR rays from human body.
 

PIR Sensor

 

The PIR sensor is a solid state device made of ¼ inch pyroelectric material as a thin film. The pyroelectric material may be Gallium nitride (GaN), Cesium nitrate(CsNO3), Cobalt phthalocyanine, Lithium tantalite (LiTaO3) etc. They show both piezoelectric and pyroelectric properties. The sensor is made as part of the integrated circuit having 1 – 4 pixels of pyroelectric material. The paired pixels are connected to the inputs of a differential amplifier. The differential amplifier cancel each other the PIR measurements and the average temperature in the field of view is removed from the electrical signal. So that the IR energy on the sensor will not trigger the alarm. This prevents false triggering when exposed to flashes of light. The differential amplifier also minimizes the common mode interference from electric fields.The circuit in the PIR sensor can be connected to a relay switch and the sensor resets at power on and remains standby.
Circuits operation
The PIR Sensor module is a pre assembled board with circuits to compare the infrared rays from the object and that of the nearby area like the mounting wall. When a person enters within the range of the Sensor, The Fresnel lens focus the IR energy into the sensor which had previously sensed the cooler area. This change in energy level makes the sensor warmer and makes a hot spot in it. The Module then gives around 3 volts( Check the output. In some makes, output is active low) .The high output saturates T1 and it conducts. When T1 conducts, T2 also conducts to drive the relay. The AC lamp or Alarm can be connected through the Common and NO contacts of the relay switch. When the person moves, the hot spot also moves which causes the electronic circuit to deactivate the relay. If the person tries to mask the sensor with some shield, the sensor develops a cold spot which also activate the alarm. Thus the PIR sensor is fail proof. 

PIR Sensor Module

 

The circuit can be powered using 12 volt regulated power supply or battery.
Mounting of PIR Sensor
Fixing and focusing the PIR sensor is important to give maximum sensitivity and to prevent false alarms. Mounting the device on the wall at an angle of 45 degree and 2-3 meters height will give good results. The sensor may saturate if strong sunlight andhead light from vehicles fall on the sensor. Such positions should be avoided.

 

 

You may also like:

  • battery types
    What are the different battery types for specific applications?
  • battery selection low power design
    What are the battery-selection criteria for low-power design?

  • What’s a protective relay and what does it protect?

  • What is an Actuator Sensor Interface (AS-i)?

  • What are the different types of electric vehicles?

  • What is the LoRaWAN network and how does it work?

Circuit Diagrams

pir-sensor-based-alarm
pir-sensor-based-um3561-ala


Filed Under: Circuit Design, Electronic Projects

 

Next Article

← Previous Article
Next Article →

Questions related to this article?
👉Ask and discuss on EDAboard.com and Electro-Tech-Online.com forums.



Tell Us What You Think!! Cancel reply

You must be logged in to post a comment.

EE TECH TOOLBOX

“ee
Tech Toolbox: Internet of Things
Explore practical strategies for minimizing attack surfaces, managing memory efficiently, and securing firmware. Download now to ensure your IoT implementations remain secure, efficient, and future-ready.

EE Learning Center

EE Learning Center
“engineers
EXPAND YOUR KNOWLEDGE AND STAY CONNECTED
Get the latest info on technologies, tools and strategies for EE professionals.

HAVE A QUESTION?

Have a technical question about an article or other engineering questions? Check out our engineering forums EDABoard.com and Electro-Tech-Online.com where you can get those questions asked and answered by your peers!


RSS EDABOARD.com Discussions

  • Voltage mode pushpull is a nonsense SMPS?
  • High Side current sensing
  • Reducing "shoot-through" in offline Full Bridge SMPS?
  • Multiple DC/DC converters and a single input source
  • MOSFET thermal noise in Weak vs Strong inversion

RSS Electro-Tech-Online.com Discussions

  • Siemens large industrial PLC parts
  • Wideband matching an electrically short bowtie antenna; 50 ohm, 434 MHz
  • Curved lines in PCB design
  • using a RTC in SF basic
  • Parts required for a personal project

Featured – RPi Python Programming (27 Part)

  • RPi Python Programming 21: The SIM900A AT commands
  • RPi Python Programming 22: Calls & SMS using a SIM900A GSM-GPRS modem
  • RPi Python Programming 23: Interfacing a NEO-6MV2 GPS module with Raspberry Pi
  • RPi Python Programming 24: I2C explained
  • RPi Python Programming 25 – Synchronous serial communication in Raspberry Pi using I2C protocol
  • RPi Python Programming 26 – Interfacing ADXL345 accelerometer sensor with Raspberry Pi

Recent Articles

  • What is AWS IoT Core and when should you use it?
  • AC-DC power supply extends voltage range to 800 V DC
  • Infineon’s inductive sensor integrates coil system driver, signal conditioning circuits and DSP
  • Arm Cortex-M23 MCU delivers 87.5 µA/MHz active mode
  • STMicroelectronics releases automotive amplifiers with in-play open-load detection

EE ENGINEERING TRAINING DAYS

engineering

Submit a Guest Post

submit a guest post
Engineers Garage
  • Analog IC TIps
  • Connector Tips
  • Battery Power Tips
  • DesignFast
  • EDABoard Forums
  • EE World Online
  • Electro-Tech-Online Forums
  • EV Engineering
  • Microcontroller Tips
  • Power Electronic Tips
  • Sensor Tips
  • Test and Measurement Tips
  • 5G Technology World
  • Subscribe to our newsletter
  • About Us
  • Contact Us
  • Advertise

Copyright © 2025 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy

Search Engineers Garage

  • Electronic Projects & Tutorials
    • Electronic Projects
      • Arduino Projects
      • AVR
      • Raspberry pi
      • ESP8266
      • BeagleBone
      • 8051 Microcontroller
      • ARM
      • PIC Microcontroller
      • STM32
    • Tutorials
      • Audio Electronics
      • Battery Management
      • Brainwave
      • Electric Vehicles
      • EMI/EMC/RFI
      • Hardware Filters
      • IoT tutorials
      • Power Tutorials
      • Python
      • Sensors
      • USB
      • VHDL
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Product News
    • Business News
    • Company/Start-up News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • DigiKey Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Learn
    • eBooks/Tech Tips
    • Design Guides
    • Learning Center
    • Tech Toolboxes
    • Webinars & Digital Events
  • Resources
    • Digital Issues
    • EE Training Days
    • LEAP Awards
    • Podcasts
    • Webinars / Digital Events
    • White Papers
    • Engineering Diversity & Inclusion
    • DesignFast
  • Guest Post Guidelines
  • Advertise
  • Subscribe