HC-SR501 PIR Human Motion Sensor
HC-SR501 is basically a motion detector sensor, which uses infrared waves for detection of an object. It is an automatic control device, also have large sensitivity and high reliability. It is used in auto-sensing control devices, where we need to perform motion detection. HC-SR501 is used in industrial projects and buildings for security purposes.
In stock
₨ 190 ₨ 200
In stock
HC-SR501 PIR Human Motion Sensor
How to use PIR Motion Sensor
The PIR sensor stands for Passive Infrared sensor. It is a low cost sensor which can detect the presence of Human beings or animals. This sensor has three output pins Vcc, Output and Ground as shown in the pin diagram above. Since the output pin is 3.3V TTL logic it can be used with any platforms like Arduino, Raspberry, PIC, ARM, 8051 etc..
The module can be powered from voltage 4.5V to 20V but, typically 5V is used. Once the module is powered allow the module to calibrate itself for few minutes, 2 minutes is a well settled time. Then observe the output on the output pin. Before we analyze the output we need to know that there are two operating modes in this sensor such as Repeatable(H) and Non- Repeatable(L) and mode. The Repeatable mode is the default mode.
The output of the sensor can be set by shorting any two pins on the left of the module as shown below. You can also notice two orange colour potentiometers that can be used to set the sensitivity and time which will be explained further below.
Pin Configuration
Pin Number | Pin Name | Description |
1 | Vcc | Input voltage is +5V for typical applications. Can range from 4.5V- 12V |
2 | High/Low Output (Dout) | Digital pulse high (3.3V) when triggered (motion detected) digital low(0V) when idle(no motion detected |
3 | Ground | Connected to ground of circuit |
- Wide range on input voltage varying from 4.V to 12V (+5V recommended)
- Output voltage is High/Low (3.3V TTL)
- Can distinguish between object movement and human movement
- Has to operating modes – Repeatable(H) and Non- Repeatable(H)
- Cover distance of about 120° and 7 meters
- Low power consumption of 65mA
- Operating temperature from -20° to +80° Celsius