Engineers Garage

  • Electronic Projects & Tutorials
    • Electronic Projects
      • Arduino Projects
      • AVR
      • Raspberry pi
      • ESP8266
      • BeagleBone
      • 8051 Microcontroller
      • ARM
      • PIC Microcontroller
      • STM32
    • Tutorials
      • Complete Sensor Guide
      • Engineering Deep Dives
      • AI
      • ARDUINO Compatible Coding
      • Audio Electronics
      • Battery Management
      • Beginners Electronics Series
      • Brainwave
      • Digital electronics (DE)
      • Electric Vehicles
      • EMI/EMC/RFI
      • EVs
      • Hardware Filters
      • IoT tutorials
      • LoRa/LoRaWAN
      • Power Tutorials
      • Protocol
      • Python
      • RPI Python Programming
      • Sensors
      • USB
      • Thermal management
      • Verilog
      • 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
    • Design Guides
    • Learning Center
    • Tech Toolboxes
    • Tech Terms
    • Webinars & Digital Events
  • Resources
    • EE Training Days
    • LEAP Awards
    • Podcasts
    • White Papers
  • Guest Post Guidelines
  • Advertisers
    • Advertise
    • PR Submissions
    • Eblast Submissions
  • Subscribe

PIR Sensor based Alarm using transistor and UM3561 IC

By Ashutosh Bhatt November 15, 2018



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

Fig. 1: Image Showing 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

Fig. 2: Image of Circuit of PIR Sensor

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.

 

 

Circuit Diagrams

pir-sensor-based-alarm_0
pir-sensor-based-um3561-ala_0


Filed Under: Electronic Projects

 

Next Article

← Previous Article
Next Article →

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



Tell Us What You Think!! Cancel reply

Log in to leave a comment:

Lost your password?

Don't have an account? Register here

Submit a Guest Post

submit a guest post

EE TECH TOOLBOX

“ee
Tech Toolbox: Wide Bandgap Semiconductors
Moving from silicon to GaN or SiC feels like a whole new ballgame, doesn’t it? It isn’t just about faster switching; it’s about managing the layout parasitics and thermal realities that come with that speed. This month’s Tech Toolbox features a curated eBook that tackles these design hurdles head-on.

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 feed: EDABOARD.com Discussions. EDABOARD.com Discussions.

  • Plasma burners for cooking...
  • Boost converter blows LED up?
  • Inductor is not shielded.
  • Setting polar coords origin in KICAD?
  • FFT simulation time reduction

RSS feed: Electro-Tech-Online.com Discussions Electro-Tech-Online.com Discussions

  • Voltage Reference Generation for Opamp
  • Mikroe EasyPIC 4 Power Supply
  • How to size the capacitor for ripple
  • Plate capacitor series inductance & resistance.
  • PLC PCB Design: How Do You Handle Isolation, Noise and Protection in 24V I/O Circuits?

Featured Tutorials

LoRa and LoRaWAN: A Complete Guide to Wireless Communication

  • Best practices for securing LoRa networks
    Best practices for securing LoRa networks
  • Understanding LoRa architecture: nodes, gateways, and servers
    Understanding LoRa architecture: nodes, gateways, and servers
  • Revolutionizing RF: LoRa applications and advantages
    Revolutionizing RF: LoRa applications and advantages
  • How to build a LoRa gateway using Raspberry Pi
    How to build a LoRa gateway using Raspberry Pi
  • How LoRa enables long-range communication
    How LoRa enables long-range communication
  • How communication works between two LoRa end-node devices
    How communication works between two LoRa end-node devices
More Tutorials >

Recent Articles

  • Melexis adds 1 A automotive LIN motor drivers
  • SECO adds x86, graphics and AI in compact module
  • How to upgrade an ESP32 audio recorder with MP3 output and noise cancellation
  • UNI-T scopes combine compliance and protocol tools
  • Infineon adds 1,200 A modules for commercial EVs

EE ENGINEERING TRAINING DAYS

engineering
Engineers Garage
  • Analog IC TIps
  • Connector Tips
  • Battery Power Tips
  • 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 © 2026 Arrowfly 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 Arrowfly
Privacy Policy

Search Engineers Garage

  • Electronic Projects & Tutorials
    • Electronic Projects
      • Arduino Projects
      • AVR
      • Raspberry pi
      • ESP8266
      • BeagleBone
      • 8051 Microcontroller
      • ARM
      • PIC Microcontroller
      • STM32
    • Tutorials
      • Complete Sensor Guide
      • Engineering Deep Dives
      • AI
      • ARDUINO Compatible Coding
      • Audio Electronics
      • Battery Management
      • Beginners Electronics Series
      • Brainwave
      • Digital electronics (DE)
      • Electric Vehicles
      • EMI/EMC/RFI
      • EVs
      • Hardware Filters
      • IoT tutorials
      • LoRa/LoRaWAN
      • Power Tutorials
      • Protocol
      • Python
      • RPI Python Programming
      • Sensors
      • USB
      • Thermal management
      • Verilog
      • 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
    • Design Guides
    • Learning Center
    • Tech Toolboxes
    • Tech Terms
    • Webinars & Digital Events
  • Resources
    • EE Training Days
    • LEAP Awards
    • Podcasts
    • White Papers
  • Guest Post Guidelines
  • Advertisers
    • Advertise
    • PR Submissions
    • Eblast Submissions
  • Subscribe