Raspberrypi With Pir Sensor
Raspberrypi With Pir Sensor
PIR sensor
PIR sensor
# 9/3, 2nd floor, Sree Laksmi Complex, opp, to Vivekananda Park, Girinagar, Bangalore - 560085,
Email: info@tenettech.com, Phone: 080 - 26722726
Passive Infra-Red (PIR) sensors basically detect temperature changes between sections of a
viewing range. This means if a person (a source of heat) moves between two sectors within the
sensors field of ‘vision’ – this is detected as movement. PIR sensors are well used in alarm
sensors. The great thing about being based on temperature is that they work in the dark and
ideally suited for sensing people. The overlap with security systems can be annoying. I found fairly
good selection of PIR sensors which would work within the 3.3v-5v range the Pi can
support. They come in a few varieties, but each has a fairly decent range (2.5-10m).
Step 1:
# 9/3, 2nd floor, Sree Laksmi Complex, opp, to Vivekananda Park, Girinagar, Bangalore - 560085,
Email: info@tenettech.com, Phone: 080 - 26722726
Circuit Connection:
The red lead goes to 5V, the black to GND and the yellow to GPIO Pin.
# 9/3, 2nd floor, Sree Laksmi Complex, opp, to Vivekananda Park, Girinagar, Bangalore - 560085,
Email: info@tenettech.com, Phone: 080 - 26722726
Step 4:
Run the program as superuser using the command:
Sudo python pir.py
For queries:
info@tenettech.com
For placing an order:
http://www.tenettech.com/product/2184/tenet-technetronicsraspberry-pi
http://www.tenettech.com/product/2583/pir-sensor-standard-motion-detection-module
# 9/3, 2nd floor, Sree Laksmi Complex, opp, to Vivekananda Park, Girinagar, Bangalore - 560085,
Email: info@tenettech.com, Phone: 080 - 26722726