15  Relay

16 Relay

A relay is an electromagnetic switch that opens and closes circuits electromechanically or electronically. A relatively small electric current that can turn on or off a much larger electric current operates a relay. Relays work like some electrical products since they receive an electrical signal and send the signal to other equipment by turning the switch on and off. Even if the relay contact is normally closed or normally open, they are not energized. Its state will change only if you apply an electrical current to the contacts.

pin name function
Normally Closed (NC) Connect to this terminal if you want your device to be off when the relay is powered and normally on when the relay is not powered.
Common Common terminal to connect the load.
Normally Open (NO) Connect your device (e.g., LED or any load) to this terminal if you want the device to be off when the relay is not powered, and on when the relay is powered.
Ground Connect with ground pin.
Vcc pin Connects to 5V pin
Signal pin Control pin for relay