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

From Flowcode Help
Jump to navigationJump to search
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

Fc9-comp-macro.png SampleSensor
Returns the state of the sensor. Activated if movement detected in the sensor range. 
Fc9-u8-icon.png - BYTE Return


Fc9-comp-macro.png Initialise
Configures the I/O ready for the sensor to be sampled. 
Fc9-void-icon.png - VOID Return



Property reference

Fc9-prop-icon.png Properties
Fc9-conn-icon.png Connections
Fc9-type-5-icon.png SIG Pin
Pin connected to the sensor element of the photo transistor 
Fc9-conn-icon.png Simulation
Fc9-type-16-icon.png Sim Mode
 
Fc9-conn-icon.png Panel Settings
Fc9-type-21-icon.png Sensitivity
Simulation range used to detect object 
Fc9-type-21-icon.png Holding Count
Number of calls to SampleSensor to repeat active state, once triggered