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
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.
The real-time display shows the PIR HAT monitoring level.
Please click here to get complete code
Open http://flow.m5stack.com and click Demo to load