Introduction: Motion Sensor Security Alarm

Hello friends, in this project, we will learn, how to make security alarm by using Pir sensor and Arduino nano. I set 10 second time delay when system turn ON. After 10 second motion sensor detects motion, it sent signal to arduino nano and arduino nano turn ON the alarm for three seconds. You can change this time from code.

Supplies

Step 1: Connect BD139 Transistor to Arduino

Step 2: Connect Voltage Regulator 7809 to Arduino Board

Step 3: Connect PIR Sensor to Arduino Nano

Step 4: Code Upload to Arduino

Code:- https://drive.google.com/file/d/1eVdTJuSq9cKHfD0YzX2Jbh9f4h2SDbcN/view?usp=sharing

Step 5: