Component: PIR Motion (Grove 101020020) (101020020) (Light): Difference between revisions
Appearance
m Text replacement - "class="wikitable" style="width:60%; background-color:#FFFFFF;"" to "class="mtx-class-macrotable wikitable"" |
m Text replacement - "style="background-color:#EAE1EA;"" to "class="mtx-class-propfolder"" |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 62: | Line 62: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Initialise''' | ||
|- | |- | ||
| colspan="2" | Configures the I/O ready for the sensor to be sampled. | | colspan="2" | Configures the I/O ready for the sensor to be sampled. | ||
| Line 76: | Line 76: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''SampleSensor''' | ||
|- | |- | ||
| colspan="2" | Returns the state of the sensor. Activated if movement detected in the sensor range. | | colspan="2" | Returns the state of the sensor. Activated if movement detected in the sensor range. | ||
| Line 91: | Line 91: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Properties''' | ||
|- | |- | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | Connections | ||
|- | |- | ||
|- | |- | ||
| Line 104: | Line 104: | ||
| 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" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | Simulation | ||
|- | |- | ||
|- | |- | ||
Latest revision as of 14:37, 13 July 2026
| Author | Matrix Ltd |
| Version | 8.0 |
| Category | Light |
PIR Motion (Grove 101020020) component
PIR motion sensor component for digital output sensors. Simulates range sensitivity and output hold.
Version information
Library Version, Component Version, Date, Author, Info 8, 8.0, 18-09-24, MW, Simulation bug, Fixed Switch and LED indicator not enabled 8, 8.0, 18-09-24, MW, Simulation only - Removed all properties and added a new Movement threshold % property
Detailed description
No detailed description exists yet for this component
Examples
A simple example that shows the PIR in action.
Macro reference
Initialise
| Initialise | |
| Configures the I/O ready for the sensor to be sampled. | |
| Return | |
SampleSensor
| SampleSensor | |
| Returns the state of the sensor. Activated if movement detected in the sensor range. | |
| Return | |
Property reference
Component Source Code
Please click here to download the component source project: FC_Comp_Source_PIR_Motion_Sensor_Grove.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_PIR_Motion_Sensor_Grove.fcfx