Interfacing PIR sensor module HC-SR501

Refer to Figure 6.15 for connection details:

Figure 6.15

As shown in Figure 6.15:

  • The ground terminal of the PIR sensor is connected to the ground pin of the Raspberry Pi GND (Pin 06)
  • The output of the sensor is connected to GPIO 19 (pin 35) of the Raspberry Pi
  • The Vcc terminal is connected to +5V (pin 04) of Raspberry Pi
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.146.255.127