Difference between revisions of "Component: PIR Motion (Grove 101020020) (101020020) (Light)"
From Flowcode Help
Jump to navigationJump to searchLine 15: | Line 15: | ||
PIR motion sensor component for digital output sensors. Simulates range sensitivity and output hold. | PIR motion sensor component for digital output sensors. Simulates range sensitivity and output hold. | ||
− | ==Component | + | ==Component Source Code== |
− | + | Please click here for the component source code: [https://www.flowcode.co.uk/wikicopy/componentsource/FC_Comp_Source_PIR_Motion_Sensor.fcfx FC_Comp_Source_PIR_Motion_Sensor.fcfx] | |
==Detailed description== | ==Detailed description== | ||
+ | |||
+ | |||
Line 32: | Line 34: | ||
==Examples== | ==Examples== | ||
+ | |||
+ | |||
Line 83: | Line 87: | ||
|- | |- | ||
|- | |- | ||
− | + | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | |
− | + | | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Connections | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | width="10%" align="center" style="background-color:# | ||
− | | width="90%" style="background-color:# | ||
|- | |- | ||
|- | |- | ||
Line 102: | Line 96: | ||
| colspan="2" | Pin connected to the sensor element of the photo transistor | | colspan="2" | Pin connected to the sensor element of the photo transistor | ||
|- | |- | ||
− | | width="10%" align="center" style="background-color:# | + | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] |
− | | width="90%" style="background-color:# | + | | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Simulation |
|- | |- | ||
|- | |- | ||
Line 110: | Line 104: | ||
|- | |- | ||
| colspan="2" | | | colspan="2" | | ||
+ | |- | ||
+ | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | ||
+ | | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Panel Settings | ||
+ | |- | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-21-icon.png]] | ||
+ | | width="90%" | Sensitivity | ||
+ | |- | ||
+ | | colspan="2" | Simulation range used to detect object | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-21-icon.png]] | ||
+ | | width="90%" | Holding Count | ||
+ | |- | ||
+ | | colspan="2" | Number of calls to SampleSensor to repeat active state, once triggered | ||
|} | |} |
Revision as of 17:49, 9 November 2022
Author | Matrix Ltd |
Version | 1.0 |
Category | Light |
Contents
PIR Motion (Grove 101020020) component
PIR motion sensor component for digital output sensors. Simulates range sensitivity and output hold.
Component Source Code
Please click here for the component source code: FC_Comp_Source_PIR_Motion_Sensor.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Downloadable macro reference
SampleSensor | |
Returns the state of the sensor. Activated if movement detected in the sensor range. | |
- BYTE | Return |
Initialise | |
Configures the I/O ready for the sensor to be sampled. | |
- VOID | Return |