Component: PIR Motion BISS0001 (101020020) (Grove)
Author | Matrix Ltd |
Version | 1.0 (Release) |
Category | Grove |
Contents
PIR Motion BISS0001 (101020020) component
PIR motion sensor component for digital output sensors. Simulates range sensitivity and output hold.
It is used to sense motion, usually human, within its range. When movement is detected it will output a high value on its SIG pin. If no movement is detected a low value will be produced on the SIG pin. Make sure the SIG pin is connected to the right port in flowcode. Sensitivity and holding count can be manually adjusted for the simulation.
Examples
No additional examples
Downloadable macro reference
SampleSensor
Returns the state of the sensor.
Activated if movement detected in the sensor range.
Parameters
- This macro has no parameters
Return value
Initialise
Configures the I/O ready for the sensor to be sampled.
Parameters
- This macro has no parameters
Return value
- This call does not return a value
Simulation macro reference
This component does not contain any simulation macros
Property reference
SIG Pin
This property is of type Single digital pin and can be referenced with the variable name SIG.
Pin connected to the sensor element of the photo transistor
Sensitivity
This property is of type Unsigned integer and can be referenced with the variable name Sensitivity.
Simulation range used to detect object
Holding Count
This property is of type Unsigned integer and can be referenced with the variable name HOLD_COUNT.
Number of calls to SampleSensor to repeat active state, once triggered