Introduction: Arduino - PIR MOTION DETECTOR DSN-FIR800 - RCW 0506

Picture of Arduino - PIR MOTION DETECTOR DSN-FIR800 - RCW 0506

Hello world! Today i made an example on how to build a simple pir motion detector/alarm. I will build one that sends a sms on detection with a gsm shield later.

The motion detector simply reads high or low value. High on detection LOW on no Detection.

You can add anything to it to let the motion sensor trigger something.. such as switching on or off relays to turn on or off a device when motion is detected.

Follow the next step for the Schematic, Code & parts list.

Step 1: Schematic, Code & Parts List.

Picture of Schematic, Code & Parts List.

Just wire it up like the schematic and it should work after uploading the code.

Parts list.

  1. Arduino uno or other.
  2. Pir motion sensor, (DSN-FIR800)
  3. Buzzer.
  4. Led. Any color will do.
  5. Jumper wires, MM/FF/MF

Good luck!

Comments

Louis-simonC made it! (author)2017-03-07

Hello, your code is very interesting, but the loop for configuration is useless, you can use the delay () function like this: delay (1000 * calibrationTime); To set your waiting time in seconds. Also, because "calibarationTime" is a constant, it is strongly recommended to use #define to define your number, this does not take memory into the Arduino unlike the variables that are stored in the flash memory.

cordially.

Louis-S.C.

About This Instructable

3,327views

18favorites

License:

Bio: Hello world! I make simple & Advanced projects for people who want to learn programming and electronics. Most of my Instructables are about arduino and the ... More »
More by vandenbrande:ARDUINO - SOLID STATE RELAY FAN/ventilator Control Using the W1209 Thermistor and SSR-25 DA Arduino - SSR-25 DA Solid State Relay and DS3231 RTC Automatic Timer Lamp Arduino & C# - RGB LED / LED STRIP CONTROL C# Application
Add instructable to: