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
Electrical Characteristics
Detection angle(solid angle)
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).