Home > Projects > Sensor – Transducer – Detector Projects > An Easy Way to Build an Arduino Powered Motion Sensor Alarm

An Easy Way to Build an Arduino Powered Motion Sensor Alarm

Summary of An Easy Way to Build an Arduino Powered Motion Sensor Alarm


This article explains how to build an Arduino-based intruder detection system using a PIR motion sensor. When the sensor detects human body heat, it sends a 5V signal to the Arduino, which triggers a piezo buzzer to sound an alarm. The project requires basic hardware components and the Arduino IDE software to function effectively for security applications like burglar alarms.

Parts used in the Arduino Motion Sensor Burglar Alarm:

  • Arduino or an Arduino clone board
  • PIR Motion Sensor
  • Piezo buzzer or an 8-ohm speaker
  • 9V Battery and connector
  • Connecting wires

Have you ever wanted to build a project that had could detect the presence of a person in a room? If so, then you can do this very easily using the PIR (Passive Infra Red) Motion sensor. This Arduino motion sensor can detect the presence of a person in a room. Therefore, you can build projects such as burglar alarms and automated appliances. Attach this motion sensor along with an Arduino and place it in your room to build an intruder detection system.

An Easy Way to Build an Arduino Powered Motion Sensor Alarm

This tutorial will show you to interface a motion sensor with an Arduino and to use it to build a burglar alarm. This system detects the presence of an intruder in your room and sends a signal to the Arduino. The Arduino then creates an alarm sound using a buzzer to scare the intruder away.

Required Materials

Hardware:

  1. Arduino or an Arduino clone board (freeduino), or you can make your own custom Arduino board.
  2. PIR Motion Sensor.
  3. A piezo buzzer or an 8-ohm speaker.
  4. 9V Battery and connector.
  5. Connecting wires.

Software:

Arduino IDE

How Does it Work?

Here, we are using a PIR motion sensor. PIR stands for Passive InfraRed. This motion sensor consists of a fresnel lens, an infrared detector, and supporting detection circuitry. The lens on the sensor focuses any infrared radiation present around it towards the infrared detector. Our bodies generate infrared heat and as a result, this gets picked up by the motion sensor. The sensor outputs a 5V signal for a period of one minute as soon as it detects the presence of a person. It offers a tentative range of detection of about 6-7 m and is highly sensitive.

schematic - An Easy Way to Build an Arduino Powered Motion Sensor Alarm

When the PIR motion sensor detects a person, it outputs a 5V signal to the Arduino. Thus, an interrupt on Arduino is triggered. We define what the Arduino should do as it detects an intruder. Here, we are creating an alarm sound through a piezo buzzer. When the sensor detects an intruder, an alarm sound will get triggered through the buzzer.

 

Read More:   An Easy Way to Build an Arduino Powered Motion Sensor Alarm

Quick Solutions to Questions related to Arduino Motion Sensor Burglar Alarm:

  • What is the primary function of the PIR motion sensor in this project?
    The sensor detects the presence of a person by picking up infrared heat generated by bodies.
  • How does the system trigger the alarm?
    When the sensor detects an intruder, it outputs a 5V signal that triggers an interrupt on the Arduino.
  • Can this system be used as a burglar alarm?
    Yes, the tutorial specifically demonstrates building a system to detect intruders and scare them away with an alarm sound.
  • What is the tentative range of detection for the PIR sensor?
    The sensor offers a tentative range of detection of about 6-7 meters.
  • How long does the sensor output a 5V signal after detecting a person?
    The sensor outputs a 5V signal for a period of one minute upon detection.
  • Which software is required to program the Arduino for this project?
    The Arduino IDE is the required software to interface the sensor and control the alarm.
  • What component creates the alarm sound in this setup?
    A piezo buzzer or an 8-ohm speaker is used to create the alarm sound.
  • Does the PIR sensor require active power emission to work?
    No, it is a Passive InfraRed sensor that focuses existing infrared radiation towards its detector.

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter
Scroll to Top