User Manual V3.1
Element14 | element14.com/minode
23
g)
PIR Sensor Module
This PIR (passive infrared sensor) module detects movement, usually human, within its
range. When the PIR detects motion the modules acts like a switch, the signal line will
change from low to high and then stay high for 3 seconds before dropping back to low.
Image 3.4g – PIR Sensor Module
Module
Connect Type
Available Connectors
PIR Module
Digital IO
D12, D13, D14, D15
Electrical Characteristics
Parameter
Min.
Typical
Max.
Unit
Detection angle(solid angle)
-
-
110
°
Detection range
-
-
7
m
Delay time of high level
-
2.5
-
s
Block API
Check the PIR status
Check whether the PIR module has been triggered or not. When the PIR module is
triggered the signal line will be detected as high.
Function
PIRIsTriggered(connName: ConnName): boolean;
Parameters
‘ConnName’ is the connector's name.
PIR Detection Event
This code block configures the selected specified pin for a digital input and then executes
the associated code block whenever the PIR is triggered (movement is detected).