5V Single Channel Relay Module (2024)

In this tutorial, we will discuss 5V single channel relay modules and their important features such as pinout, pin configuration details, features, working, interfacing with microcontrollers and applications. Relay is an electro-mechnical device which acts as a switch. DC electrical current is used to energize the relay coil which opens or closes the contact switches. Internal circuit of a single channel 5V relay consists of normally open contacts, normally closed contacts and a coil.

5V Single channel Relay Module Pinout

Let’s first discuss the pinout and pin configuration details of the 5V single channel relay module. The following diagram shows its pinout diagram. It is known as a single channel because only one relay is used and it operates on 5V.

5V Single Channel Relay Module (1)

Pin details

Relay module consists of six pins such as normally open pin , normally closed, common , signal, Vcc and ground pins.

5V Single Channel Relay Module (2)

Signal Pin : It is used to control the relay. This pin can be active low or active high. In case of active low, the relay will activate when we apply an active low signal to the signal pin. On the contrary, in the case of an active high, the relay will activate when we apply an active high signal to the signal pin. But usually, these modules work on an active high signal. This signal will energize the relay coil to make contact with the common terminal with the normally open terminal.

Vcc Pin : As its name suggests, it is a 5V relay. That means it requires 5V DC to operate. Hence, connect the 5v DC power supply to this pin.

Ground Pin : Connect it with the ground terminal of 5V power supply. Furthermore, if you are driving a relay module with a microcontroller, also connect this pin with the ground terminal of the microcontroller.

Common Pin: This terminal is connected with the load that we want to switch with the relay module.

NC Pin : As the name of the normally close terminal suggests, it is normally connected with the COM pin and forms a closed circuit. But this normally closed connection breaks when the relay is activated by applying an active high or active low signal to the signal pin of the relay module from a microcontroller.

NO Pin: This pin is normally open unless we apply an activation signal to the signal pin of the 5V single channel relay module. In this case, the COM pin breaks its connection with the NC pin and makes a connection with the NO pin.

5V Single-Channel Relay Module Components

The following figure depicts all the components of a 5V single-channel relay module.

5V Single Channel Relay Module (3)

Relay

At the heart of the module is a 5V relay covered in blue color plastic. Maximum operating current and voltage for both AC and DC load are also mentioned at the top of the relay cover. SRD-05VDC-SL-C is part number and it shows the operating voltage. It is known as a 5V relay module. Because the relay operates at 5V DC. In other words, a 5V active high or low signal activates the relay by energizing its coil. As mentioned earlier, internally a 5V relay consists of a NC, NO, COM terminals and a coil.

Output Terminal

On the left hand of this figure is an output terminal which is used to connect a DC/AC load and DC/AC input power source. We will discuss the wiring diagram to connect a LOAD and power source with this terminal in later sections of this tutorial. Each terminal of the output connector is connected with NO, NC and COM pins of 5V relay. Each point of the module has screws which make it easy to connect cables and wires with the relay module. This 5V relay module supports 10A maximum output current and maximum contact voltage of 250V AC and 30V DC. If you are using a high AC voltage and high current load with this module, you should use thick main cables.

Status LED

Status LED is SMD LED which is connected through current limiting resistor and it is available on top right corner of the module. It shows the status of the relay. In other words, the status LED turns on when the relay is active and the coil is energized through a signal input pin. The DC current passes through a relay coil.

Power LED

Power LED is also a SMD type and it shows the status of power source connected with the 5V single channel relay module. Do not connect more than 5V source to Vcc and GND pins of the module. Otherwise, higher voltage may damage the status and power LEDs.

Freewheeling Diode

A freewheeling diode is connected across the coil to avoid the effect of back EMF. It is also known as a flyback diode. The coil used in the relay is an inductive type. When the current passes through an inductive load, it produces an back EMF voltage. This back EMF may damage the circuit. Therefore, a freewheeling diode is used to avoid this effect.

Input Connector

On the right hand side of the relay module is an input connector. It is used to provide input signal and 5V power supply. Furthermore, it also provides power to the status LED, power LED and relay coil.

Switching Transistor

We usually provide an input signal to a relay from the general-purpose input-output pins of microcontrollers such as Arduino, TM4C123, ESP32, etc. But the maximum current sourcing capability of GPIO pins is generally less than 20mA. Hence, a switching transistor is used in this relay module to amplify current to the level of the minimum current requirement of the relay coil. By using a switching transistor, we can control the relay from the GPIO pin of a microcontroller.

Note: Some relay modules also come with an optoisolator as a switching device to provide optical isolation between low and high voltage circuits.

But if you are using a standalone relay without a module and you want to use multiple relays in your projects. You can use a relay driver IC to drive multiple arrays from GPIO pins of a microcontroller. You can read about relay driver ICs here:

  • ULN2003
  • Relay driver circuit using uln2003
  • Microcontroller interfacing to relays using ULN2003
  • INTRODUCTION TO ULN2803 – relay driver IC

How to use 5V Single Channel Relay Module?

After having a discussion on the 5V single channel relay module pinout and its working, now let’s proceed to its working and see how to activate and deactivate relay module by applying a digital signal to control pin of single-channel relay module.

The following circuit shows the internal circuit diagram of a 5V single channel relay module.

5V Single Channel Relay Module (4)

As you can see in the circuit diagram, the internal circuit of 5V single-channel relay module consists of a transistors, two resistors, two light emitting diodes and one 5V relay.

There are two types of relay modules according to a type of control signal used for relay activation. One comes with a NPN transistor and the other with a PNP transistor. If a NPN Transistor is used, the relay will become active when we apply an active high signal on the control pin. On the other hand, if a PNP transistor is used the relay will become active on an active low signal on the control pin.

Proteus Simulation

Now let’s see its working with proteus simulation software. In this proteus simulation, we have designed a NPN type 5 volt single channel relay module. Now as soon as we apply an active high signal to the control pin of a relay, the coil energizes and the relay becomes active by making connection of the COM pin with a Normally open pin. Similarly, when we apply an active low no signal to the control pin of the relay, the coil de-energize through a freewheeling diode and the relay becomes deactivated.

5V Single Channel Relay Module (5)

Similarly for PNP type relay modules, an active low signal, activates the relay and an active high signal deactivates the relay.

Control 5V Single-Channel Relay Module with Microcontroller

To control a 5V single-channel relay module with any microcontroller, we need to use a GPIO pin as a digital output pin. Digital output pin provides an active low and active high signal to control pin of relay module. When the relay switches, we can hear an audible clicking sound coming from the relay module.

You can explore further by reading these topics on relay module use with different microcontrollers:

  • ESP32 web server control relay and 220 volt lamp
  • Relay Module interfacing with pic16f877a microcontroller
  • Relay Module interfacing with arduino

Applications

  • Home Automation Projects
  • Switching an AC voltage load from low voltage DC current
  • Electrical isolation between low and high power sources
  • Motors speed control with start-delta converters
  • Under and over voltage protection system

Here is a list of our previously published projects which we used single channel, two channel and four channel relay modules:

Datasheet

dOWNLOAD DATASHEET

  • Touch Screen Based Home Automation System
  • wifi based home automation system over cloud using Arduino
  • Ethernet based home automation project using Arduino – IoT
  • Bluetooth Based Home Automation project using Arduino
  • GSM Based Home Automation project using Arduino
  • Voice controlled Home Automation using Arduino
  • IR remote controlled home automation system using Arduino
  • PC based home automation using Arduino
5V Single Channel Relay Module (2024)

FAQs

What is the use of 5V single channel relay module? ›

The 5V relay module can be used to control a load such as a lighting system, motor, or solenoid. It can also be used to switch AC or DC voltages. The maximum voltage and current that the 5V relay module can control is dependent on the specifications of the relay.

What is the difference between a 12V relay and a 5V relay? ›

You can, however, use a 5V relay instead of a 12V relay as long as you put the appropriate resistor in series with the relay coil (so that the relay coil sees the same voltage across it and thus current through it that it normally needs).

What is the voltage of a single channel relay module? ›

Operating voltage: DC 5V; Trigger current: 5mA; Normally open interface maximum load: AC 250V/10A, DC 30V/10A.

How much current can a 5V relay output? ›

Features of 5-Pin 5V Relay
  • Trigger Voltage (Voltage across coil) : 5V DC.
  • Trigger Current (Nominal current) : 70mA.
  • Maximum AC load current: 10A @ 250/125V AC.
  • Maximum DC load current: 10A @ 30/28V DC.
  • Compact 5-pin configuration with plastic moulding.
  • Operating time: 10msec Release time: 5msec.
Sep 26, 2017

What is the purpose of single channel relay? ›

The Single Channel Relay Module is a convenient board which can be used to control high voltage, high current load such as motor, solenoid valves, lamps and AC load. It is designed to interface with microcontroller such as Arduino, PIC and etc.

Can a 5V relay handle 12V? ›

For over a year now, I have been using one of these with my Pi (2B and now 3) to switch a 12 volt supply on and off to control some fans in a server cabinet I made when none of my Network Attached Storage devices are on.

Can a 5V relay work on 3.3 V? ›

A typical good relay, like an OMRON, is generally spec'd to close at 75% to 120% of the nominal voltage, so 3.75V for a 5V relay. So 3.3V might close a particular a five volt relay, but you probably can't count on it. Check the datasheet of your particular relay.

Can I power a 5V relay with 9V? ›

Can the 9v battery work on the input of the relay specifically for the solid state relay from the 5v input? If the relay module is not specced for 9V then a 9V battery may damage the relay. Additionally, relays have no voltage regulation mechanisms so whatever is downstream from the relay would also be exposed to 9V.

Can 5V relay work on 9V battery? ›

As you can see from my examples above, running a 5V relay on 9V is almost four times the heat, which will shorten the life of the relay.

How does a 5V relay work? ›

A 5v relay is an automatic switch that is commonly used in an automatic control circuit and to control a high-current using a low-current signal. The input voltage of the relay signal ranges from 0 to 5V.

What does an Arduino 5V relay do? ›

* A relay basically allows a relatively low voltage to easily control higher power circuits. A relay accomplishes this by using the 5V outputted from an Arduino pin to energize the electromagnet which in turn closes an internal, physical switch to turn on or off a higher power circuit.

How does a single relay module work? ›

Single Channel Relay Module Parts

Coil: The coil generates a magnetic field when an electrical current is passed through it, which is used to open or close the switch contacts. 2. Contacts: The contacts are the switching elements of the relay and can be normally open (NO) or normally closed (NC).

How do you use a relay module? ›

Relay Module Arduino Connection
  1. Begin by connecting the ground (GND) pin on the Arduino to the ground pin on the module. ...
  2. Next, connect the signal (S) pin on the Arduino to the IN1 pin on the module. ...
  3. Finally, connect the device or component you wish to control using the Arduino with relay module.
Nov 14, 2022

Top Articles
Latest Posts
Article information

Author: Kareem Mueller DO

Last Updated:

Views: 5935

Rating: 4.6 / 5 (66 voted)

Reviews: 81% of readers found this page helpful

Author information

Name: Kareem Mueller DO

Birthday: 1997-01-04

Address: Apt. 156 12935 Runolfsdottir Mission, Greenfort, MN 74384-6749

Phone: +16704982844747

Job: Corporate Administration Planner

Hobby: Mountain biking, Jewelry making, Stone skipping, Lacemaking, Knife making, Scrapbooking, Letterboxing

Introduction: My name is Kareem Mueller DO, I am a vivacious, super, thoughtful, excited, handsome, beautiful, combative person who loves writing and wants to share my knowledge and understanding with you.