Reference
Last revision 2025/12/26
The article explores the pyroelectric infrared motion sensor, detailing its principles, library installation, communication protocols, API description, and MakeCode block module, enabling users to create effective body motion detection applications.
Principle
The pyroelectric infrared motion sensor integrates a digital integrated body pyroelectric infrared detector, whose model is AM412. This detector is a digital intelligent PIR sensor. It interfaces directly with up to two conventional PIR sensors via a high impedance differential input. The PIR signal is converted to a 15 bit digital value on chip. A LED indicates whenever the PIR signal is above the selected threshold. All signal processing is performed digitally.
When the pyroelectric infrared motion sensor detects the movement of a body within the detection range, the output pin will output a high level(3V) and the output led is ON; Without an infrared Pyroelectric signal, the output pin will output low level(0V) and the output led is OFF. Pay attention: Once the IR signal disappears, the output pin will output low level delay roughly 2.3~3 seconds. So we can quickly establish a body motion detection application according to this feature.
Other Supplementary Information
Was this article helpful?
