Mount PIR Motion Sensor on to the Arduino

by cobbsaladlove in Circuits > Arduino

770 Views, 2 Favorites, 0 Comments

Mount PIR Motion Sensor on to the Arduino

Mount PIR2.jpg

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!!!!!!!!!!!!!!!!!!!!!!!!!!!!

The Wiring (well, Mounting)

motion sensor.jpg
Mount PIR2.jpg

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).

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.

Downloads