Read the statement by Michael Teeuw here.
PIR Sensor + Raspi
- 
 Hi everyone! 
 I’ve got a doubt. I’ve been watching a few videos on youtube on how to connect the pir sensor to the raspi.
 In every video, they use an arduino or a protoboard. Is this really necesary, or with the female-female cable, the PIR sensor and the raspi is enought?Kind regards 
- 
 Hi, you do not need to use an arduino or anything else. Just connect the Pir-Sensor to the raspberry pi like this:  
- 
 I have it wired a little different. I have it connected to a different GPIO Pin. Following this guide worked beautifully. 
 https://www.raspberrypi.org/learning/parent-detector/worksheet/
- 
 @PtrBld Thank you very much! 
- 
 @PtrBld Hi! I am trying yo use the PIR-Sensor module, but I have no result, the screen never goes black. 
 I have connected the cables as the picture you post. Any idea why is not working?
- 
 @pepemujica said in PIR Sensor + Raspi: Any idea why is not working? Maybe you should calibrate your PIR sensor tuning. There are two little orange knobs where you can adjust the sensitivity of the sensor. 
  
- 
 @pepemujica Good way to make sure you have it connected correctly and that the PIR is operating is to try out the python code in the link I sent. from gpiozero import MotionSensor pir = MotionSensor(4) while True: if pir.motion_detected: print("Motion detected!")Keeping in mind for both this code and the module that you have the correct pin number. 
- 
 @McSorley said in PIR Sensor + Raspi: Keeping in mind for both this code and the module that you have the correct pin number. How do I know in what pin are the 3 cables connected? 
- 
 @pepemujica www.raspberrypi.org/documentation/usage/gpio-plus-and-raspi2/ You have 5v, Ground, then GPIO. 
- 
 @McSorley so, the (4) you’ve put in the example before, wich of the 3 cables is? 
 Sorry, I’m pretty new in this, and I can’t get it easyly
