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

From Flowcode Help
Jump to navigationJump to search
 
(2 intermediate revisions by the same user not shown)
Line 14: Line 14:
 
==PIR Motion (Grove 101020020) component==
 
==PIR Motion (Grove 101020020) component==
 
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==
 +
 +
SENSORS
  
 
==Detailed description==
 
==Detailed description==
 +
 +
 +
 +
 +
 +
  
  
Line 24: Line 34:
  
 
==Examples==
 
==Examples==
 +
 +
 +
 +
 +
 +
  
  
Line 71: 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 90: 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 98: 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 
 
|}
 
|}

Latest revision as of 17:20, 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 Pack

SENSORS

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