Jump to content

Component: PIR Motion (Grove 101020020) (101020020) (Light): Difference between revisions

From Flowcode Help
No edit summary
No edit summary
Line 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 Pack==
==Component Source Code==


SENSORS
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" | [[File:Fc9-type-21-icon.png]]
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="90%" | Sensitivity
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Connections
|-
| 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 
|-
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Connections'''
|-
|-
|-
|-
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:#D8C9D8;" | [[File:Fc9-conn-icon.png]]
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Simulations'''
| 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


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



Property reference

Properties
Connections
SIG Pin
Pin connected to the sensor element of the photo transistor 
Simulation
Sim Mode
 
Panel Settings
Sensitivity
Simulation range used to detect object 
Holding Count
Number of calls to SampleSensor to repeat active state, once triggered