Skip to content

Motion detection with a PIR Motion sensor (HC SR501) and an Arduino

NikuSirbu edited this page Feb 7, 2016 · 2 revisions

    In this document, we will connect our HC-SR501 PIR (movement) Sensor to an Arduino. The Arduino will power the PIR sensor and when movement is detected, the PIR sensor will send a signal to Digital Pin 2. The Arduino will respond to this signal by illuminating the LED attached to Pin 13.

Components:

  • Mini Breadboard 4.5cm x 3.5cm
  • PIR Motion sensor (HC-SR501)
  • LED and 330ohm resistor
  • Breadboard Jumper Wire
  • Arduino UNO (or compatible board)

    We connect our Arduino with the PIR Motion Sensor as follows:

            Fig. 1 Motion detection with a PIR Motion sensor (HC-SR501) and an Arduino

Reference

Clone this wiki locally