HC-SR501 PIR motion sensor
Passive infrared motion detector: OUT goes to 3.3 V when a person moves in front of it and stays high for the set delay (the "Time" potentiometer, about 3 s … 5 min); jumper H: every motion restarts the delay, L: one pulse per motion; after it OUT is blocked for 2.5 s. VCC 4.5–20 V (3.3 V regulator on the board), 65 µA. Switch "Motion" while the simulation runs. The warm-up of about a minute after power-on is not modelled.
Key data
- Category
- Modules
- Simulation model
- Behavioural mixed-signal model
- Manufacturer part number
- HC-SR501
- Reference prefix
- A
- Pins
- 3
- Land pattern
- PinHeader_1x03_P2.54mm_Vertical
Simulation model
A behavioural model implements the interface of the chip (registers, protocol, timing) at its pins. The pins are connected to the analog circuit like CMOS pins.
- Model
- pir
- Supply pins
- VCC / GND
Pins 3
| Pin | Name | Use |
|---|---|---|
| VCC | VCCSupply pin | Supply input: decouple with 100 nF close to the pin |
| OUT | OUTOutput pin | Logic output: drives the next input; do not tie outputs together |
| GND | GNDGround pin | Ground |
Parameters 3
motionliveSomeone moving in front of the sensor
delayHow long OUT stays high after the last motion (3 s … 300 s on the board)
triggerPCB
PinHeader_1x03_P2.54mm_VerticalHC-SR501 PIR motion sensor as a module on a 3-pin header (VCC, OUT, GND) – compare the order with your own module