PIR Sensor

You can connect the [PIR Sensor] block of mbuild to HaloCode, and make more creations.

1. PIR sensor (1) detects human body?

If the specified PIR sensor detects human body, the report condition is met.

Example

When the button of HaloCode is pressed, if PIR sensor 1 detects human body, the LED ring of HaloCode will light up red.


2. PIR sensor (1) number of times a human body detected

Reports the number of times a human body is detected by the specified PIR sensor.

Example

When the button of HaloCode is pressed, if the number of times a human body is detected by PIR sensor 1 is greater than 16, the LED ring of HaloCode will light up red.


3. PIR sensor (1) resets number of times

Resets the number of times a human body is detected by the specified PIR sensor.

Example

When the button of HaloCode is pressed, the number of times a human body is detected by PIR sensor 1 will be reset.


results matching ""

    No results matching ""