Skip to main content

Relay Module Reference

Electrically operated switch

Relay-Module

Pin names

NameDescription
VCCSupply voltage
GNDGround
INControl signal (e.g. from micro-controller)
NCNormally closed
COMCommon pin
NONormally open

Attributes

NameDescriptionDefault value
transistor"npn" (active-high) or "pnp" (active-low)"npn"

Operation

The relay is an electronic switch.

When the IN pin is high / disconnected, COM is connected to NC (NC means normally closed).

When the IN pin is low, COM is connected to NO (NO means normally open).

Setting the "transistor" attribute to "pnp" inverts the logic: when IN is high, COM is connected to NO, and when IN is low / disconnected, COM is connected to NC.

Simulator Examples