Mount PIR Motion Sensor on to the Arduino

Introduction: Mount PIR Motion Sensor on to the Arduino

Hello everybody! I just wanted to share how you can mount a PIR motion sensor directly onto the Arduino.

What you will need:

  • 1 PIR motion sensor
  • 1 Arduino (in this tutorial I am using a uno)

NO WIRES NEEDED!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Step 1: The Wiring (well, Mounting)

Your motion sensor should have three pins. These pins are +, -, and s (shown in the picture on the left). Your's may not be exactly the same but close enough to mine that you can figure it out. Insert the sensor on the digital pin side so that - goes into GND, + goes into pin 13, and s goes into pin 12 (shown in the picture on the right).

Step 2: The Code

So, in the code you will see that the power for the motion sensor comes from pin 13, the input is pin 12, and the ground is grounded so you don't need code for that.

Share

    Recommendations

    • Metalworking Contest

      Metalworking Contest
    • Tiny Home Contest

      Tiny Home Contest
    • Water Contest

      Water Contest

    Discussions