PIR HAT is an M5StickC compatible human body induction sensor, it belongs to "Passive pyroelectric infrared detector", that detect the infrared come from the human body. When the infrared is detected, the sensor will output HIGH and last for two seconds until the next detecting round.
*Notice: There exist 2 seconds delay*
Resources | Parameter |
---|---|
Net weight | 5g |
Gross weight | 12g |
Product Size | 24*25*20mm |
Package Size | 136*92*21mm |
EasyLoader is a concise and fast program writer, which has a built-in case program related to the product. It can be burned to the main control by simple steps to perform a series of function verification.
M5StickC | GPIO36 | 5V | GND |
---|---|---|---|
HAT PIR | OUT | 5V | GND |
Please click here to get complete code
Open http://flow.m5stack.com and click Demo to load