Octopus PIR Sensor Brick
OCTOPUS PIR Sensor module is a type of electronic building block based on AM412 pyroelectric digital smart sensor. It can be used in sensing and detection of human or animal motion, sensing distance is about 4-5 meters.
Specification:
Power supply 5V
Digital signal processing:<SP:
Power adjustable,save more energy
Two-way differential high impedance sensor input
Built-in filter, screen the interference by other frequency
Excellent power supply rejection, Insensitive to RF interference Schmidt REL output
Low voltage,low power consumption, instantaneous settling after power up
Working temperature -25 ~ 85
Size:<32.00mm×24.00mm
Quick Start
Hardware Connection
Connect octopus PIR sensor brick to P0 port on OCTOPUS:BIT.
Programming
Code
You can see the whole program from the link here: https://makecode.microbit.org/_EqC6UW9m2Hxr
Result
Once any movement made by human or animals within the range of 5 meters was detected by PIR sensor, micro:bit will display a rectangle; when there is no movement detected, micro:bit will display a heart.
Resources:
You can visit our wiki page for more info about this product. It will be appreciated if you can help us improve the documents, add more demo code or tutorials.