# Mini PIR

Simple example of use mini pir (Seeed Studio) sensor. Sensor is connected by Grove port. Display a number of motion detects and idle time without any move.
Tested on UiFlow 1.4.5 firmware.

## resource files
copy these files to your m5stick device in **/res** folder

[motion_0.jpg](res/motion_0.jpg)

![res/motion_0.jpg](res/motion_0.jpg)

[motion_1.jpg](res/motion_1.jpg)

![res/motion_1.jpg](res/motion_1.jpg)

## sensor
![mini_pir_board.jpg](mini_pir_board.jpg)

## code
Blocky file: [mini_pir.m5f](mini_pir.m5f)

Python auto generated file: [mini_pir.py](mini_pir.py)

![block.jpg](block.jpg)

## overview

![disp0.jpg](disp0.jpg)![disp1.jpg](disp1.jpg)
