How to Test a PIR Sensor
![IMG_0246.jpg](/proxy/?url=https://content.instructables.com/F38/O8Z4/J52Q3VJN/F38O8Z4J52Q3VJN.jpg&filename=IMG_0246.jpg)
Hello! Today, I'm going to show you how to test the functionality of a PIR sensor.
Parts
![IMG_0247.jpg](/proxy/?url=https://content.instructables.com/FLQ/RDMH/J52Q3VJO/FLQRDMHJ52Q3VJO.jpg&filename=IMG_0247.jpg)
For this tester circuit, you will need:
- LED (1)
- 10k resistor (1)
- PIR sensor (1)
- Male-Male jumpers (6)
- Female-Female Jumpers (3)
- Breadboard
- 5v power supply
Here's a video of the same tutorial:
What Is a PIR Sensor?
![IMG_0249.jpg](/proxy/?url=https://content.instructables.com/FAO/XJ0Z/J52Q3VJS/FAOXJ0ZJ52Q3VJS.jpg&filename=IMG_0249.jpg)
A PIR sensor is one that senses movement in a limited range, usually around 7 feet for cheaper sensors. The sensor "senses movement" by detecting patches of infrared radiation in front of it. Everything emits some level of infrared radiation, and the more an object emits, the more the sensor can "track" it. You rsnesor module should have two small potentiometers on it. Those potentiometers adjust the sensitivity of the sensor and the delay time between mappings of the environment. Now that you have a basic knowledge of these kinds of sensor, you need to know if yours functions, so let's build the test circuit.
The Circuit
![IMG_0248.jpg](/proxy/?url=https://content.instructables.com/FTK/V4B2/J52Q3VJQ/FTKV4B2J52Q3VJQ.jpg&filename=IMG_0248.jpg)
![IMG_0250.jpg](/proxy/?url=https://content.instructables.com/F4P/87WW/J52Q3VWR/F4P87WWJ52Q3VWR.jpg&filename=IMG_0250.jpg)
Let's get right into the build.
- Take out your female-female jumpers and attach them to the header pins of the PIR sensor.
- Insert male-male jumpers in to the female-female jumpers as shown in the cover image. Now that you've got the cable made, insert the free lead so fetch male jumpers in to the breadboard.
- With the left most pin of the sensor, connect it to GND and connect the right most to positive voltage.
- Connect the middle pin of the sensor to the anode of the LED with a 10K resistor.
- Connect the cathode of the LED to GND.
That's it! I hope you enjoyed the project and found it helpful. Thanks for reading, and, as always, Happy Making!