Wednesday, February 23, 2022

PIR Motion Sensor Based Home Security System using Arduino | Project | Proteus 8

Today, I will share a simple system to detect intruders/thieves using Arduino and PIR sensors. The PIR sensor is ideal for detecting human movement or occupancy in security systems. Download the project, library, and simulation files below.


How its work?

  1. The LCD will display "Alarm Security System" in the beginning, followed by  "LOADING **********".
  2. After loading the screen, the LCD will display "Alarm Activated".
  3. If the sensor detects movement, the LED light will blink, followed by a buzzer. Then, the LCD will display "Motion Detected Alarm Triggered".
  4. The BUZZER and LED are still ON even though the PIR sensor does not detect any movement after the alarm is triggered.
  5. Press the push button and ensure the PIR sensor did not detect any movement to reset the alarm. Then, the LCD will display "Alarm Reset" followed by "Alarm Activated".

Related Post:
References:

Components:

  1. PIR motion sensor
  2. LED
  3. Resistor
  4. Virtual terminal
  5. Logic state
  6. Pushbutton
  7. LCD I2C
  8. Buzzer

Steps
  1. Open Proteus 8 software and add PIR SENSOR, ARDUINO UNO R3, LED-RED, RESISTOR, BUZZER, SWITCH, LM016L, PCF8574, and LOGICSTATE components to the workspace.


  2. Wiring all the components according to the figure below.


  3. Double click the PIR SENSOR and click the folder icon. Go to Local Disk (C:) > Program Files (x86) > Labcenter Electronics > Proteus 8 Professional > DATA > LIBRARY > PIRSensorTEP.HEX > Open > OK.


  4. Download the PROJECT file. Extract the project file and verify.


  5. Copy the Hex file, then paste it to the project file Arduino board.


  6. Double click the BUZZER and change operating voltage to 5V; load resistance to 100.


  7. Start the simulation, and the LCD will display "Alarm Security System" in the beginning, followed by  "LOADING **********".




  8. After loading the screen, the LCD will display "Alarm Activated".


  9. Toggle the LOGICSTATE to imitate the motion. (LOGICSTATE = 1 motion detected, LOGICSTATE = 0 motion not detected). If the sensor detects movement, the LED light will blink, followed by a buzzer. Then, the LCD will display "Motion Detected Alarm Triggered".



  10. The BUZZER and LED are still ON even though the PIR sensor does not detect any movement after the alarm is triggered.


  11. Press the push button and ensure the PIR sensor did not detect any movement to reset the alarm. Then, the LCD will display "Alarm Reset" followed by "Alarm Activated".


Video:


If you have any suggestions, please write in the comment section. Thank you for your time 👷.

No comments:

Post a Comment