Jump to content

Component: Relay (Grove 103020005) (103020005) (General Output): Difference between revisions

From Flowcode Help
No edit summary
m Text replacement - "width="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead""
 
(3 intermediate revisions by the same user not shown)
Line 62: Line 62:


===SwitchOff===
===SwitchOff===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SwitchOff'''
| width="90%" class="mtx-class-macrohead" | '''SwitchOff'''
|-
|-
| colspan="2" | Switch off the relay, disconnecting the common pin from the normally open pin. 
| colspan="2" | Switch off the relay, disconnecting the common pin from the normally open pin. 
Line 76: Line 76:


===SwitchOn===
===SwitchOn===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SwitchOn'''
| width="90%" class="mtx-class-macrohead" | '''SwitchOn'''
|-
|-
| colspan="2" | Switch on the relay, connecting the common pin to the normally open pin. 
| colspan="2" | Switch on the relay, connecting the common pin to the normally open pin. 
Line 91: Line 91:
==Property reference==
==Property reference==


{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties'''  
| width="90%" class="mtx-class-macrohead" | '''Properties'''  
|-
|-
|-
|-

Latest revision as of 14:23, 13 July 2026

Author Matrix Ltd
Version 1.2
Category General Output


Relay (Grove 103020005) component

The Relay is a digital normally open switch capable of switching much higher voltages and currents than your normal Microcontroller outputs. When set to HIGH, the LED will light up and the relay will close allowing current to flow. The peak voltage capability is 250V at 10 amps. Simulated component, green indiacator is on when the relay is active.

Component Source Code

Please click here to download the component source project: FC_Comp_Source_Relay.fcfx

Please click here to view the component source code (Beta): FC_Comp_Source_Relay.fcfx

Detailed description

No detailed description exists yet for this component

Examples

No additional examples






Macro reference

SwitchOff

SwitchOff
Switch off the relay, disconnecting the common pin from the normally open pin. 
- VOID Return


SwitchOn

SwitchOn
Switch on the relay, connecting the common pin to the normally open pin. 
- VOID Return


Property reference

Properties
Control Pin