Raspberry Pi Sensor
- Ang Yong Xiang Adwin

- Jan 12, 2019
- 1 min read

The Raspberry Pi has a set of connectors on the board, each with different purpose.

The PIR Motion Sensor has to connect three types of connectors. GP, GND and 5V. GPIO is the General Purpose Input/Output, GND is the Ground connector basically neutral connector and 5V is the 5V current connector.

We can adjust the delay time and the Distance (Sensitivity) settings physically on the Motion Sensor.
There is actually a library for the Motion Sensor that we can use in the codes.
With the understand of what connection the sensor requires, we can manually adjust accordingly.
Resources
Tutorial: https://maker.pro/raspberry-pi/tutorial/how-to-interface-a-pir-motion-sensor-with-raspberry-pi-gpio
GPIOZero library: https://gpiozero.readthedocs.io/en/stable/recipes.html



Comments