Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

How to Use 1 Channel Relay 5V: Examples, Pinouts, and Specs

Image of 1 Channel Relay 5VDesign with 1 Channel Relay 5V in Cirkit Designer

Introduction

The 1 Channel Relay 5V is an electromechanical switch that allows a low voltage control signal (e.g., from a microcontroller) to control a higher voltage circuit. This module is widely used in automation, home appliances, and control systems to switch devices such as lights, fans, motors, or other high-power loads. It operates at 5V, making it compatible with most microcontrollers, including Arduino and Raspberry Pi.

Explore Projects Built with 1 Channel Relay 5V

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!

Common Applications

Technical Specifications

Below are the key technical details of the 1 Channel Relay 5V module:

Parameter Value
Operating Voltage 5V DC
Trigger Voltage 3.3V to 5V DC
Maximum Load Voltage 250V AC / 30V DC
Maximum Load Current 10A
Relay Type SPDT (Single Pole Double Throw)
Isolation Optocoupler for signal isolation
Dimensions ~50mm x 26mm x 18mm
Weight ~15g

Pin Configuration

The 1 Channel Relay 5V module has the following pinout:

Input Pins (Control Side)

Pin Name Description
1 VCC Connect to 5V power supply (e.g., from Arduino or external source).
2 GND Ground connection.
3 IN Control signal input. A HIGH signal activates the relay, and a LOW signal deactivates it.

Output Pins (Load Side)

Pin Name Description
1 COM Common terminal. Connect to one side of the load or power source.
2 NO Normally Open terminal. Connect to the load if you want it to be OFF by default.
3 NC Normally Closed terminal. Connect to the load if you want it to be ON by default.

Usage Instructions

How to Use the 1 Channel Relay 5V in a Circuit

  1. Power the Relay Module: Connect the VCC pin to a 5V power source and the GND pin to ground.
  2. Connect the Control Signal: Connect the IN pin to a digital output pin of your microcontroller (e.g., Arduino).
  3. Connect the Load:
    • Identify whether you want the load to be normally ON or OFF.
    • For a normally OFF configuration, connect the load between the NO (Normally Open) terminal and COM (Common) terminal.
    • For a normally ON configuration, connect the load between the NC (Normally Closed) terminal and COM terminal.
  4. Control the Relay: Send a HIGH signal (5V) to the IN pin to activate the relay and switch the load. Send a LOW signal (0V) to deactivate the relay.

Important Considerations

Example: Connecting to an Arduino UNO

Below is an example of how to connect and control the 1 Channel Relay 5V module using an Arduino UNO:

Circuit Connections

Arduino Code

// Define the relay control pin
const int relayPin = 7;

void setup() {
  // Set the relay pin as an output
  pinMode(relayPin, OUTPUT);
  
  // Ensure the relay is off at startup
  digitalWrite(relayPin, LOW);
}

void loop() {
  // Turn the relay ON
  digitalWrite(relayPin, HIGH);
  delay(5000); // Keep the relay ON for 5 seconds
  
  // Turn the relay OFF
  digitalWrite(relayPin, LOW);
  delay(5000); // Keep the relay OFF for 5 seconds
}

Best Practices

Troubleshooting and FAQs

Common Issues and Solutions

  1. Relay Not Activating:

    • Cause: Insufficient voltage or current to the relay module.
    • Solution: Verify that the VCC pin is receiving 5V and the IN pin is receiving a HIGH signal (3.3V to 5V).
  2. Load Not Switching:

    • Cause: Incorrect wiring of the load terminals (COM, NO, NC).
    • Solution: Double-check the wiring and ensure the load is connected to the correct terminals.
  3. Relay Stuck in ON or OFF State:

    • Cause: Damaged relay due to overloading or voltage spikes.
    • Solution: Replace the relay module and ensure the load does not exceed the rated voltage/current.
  4. Microcontroller Resets When Relay Activates:

    • Cause: Voltage drop due to high current draw from the relay.
    • Solution: Use a separate power supply for the relay module or add a capacitor across the microcontroller's power supply.

FAQs

Q1: Can I use the 1 Channel Relay 5V with a 3.3V microcontroller?
A1: Yes, the relay module can be triggered with a 3.3V control signal, but ensure the VCC pin is powered with 5V.

Q2: Can this relay module switch DC loads?
A2: Yes, it can switch DC loads up to 30V and 10A.

Q3: Is the relay module safe for high-voltage applications?
A3: Yes, but ensure proper insulation and safety precautions when working with voltages up to 250V AC.

Q4: Can I control multiple relays with one microcontroller?
A4: Yes, as long as each relay is connected to a separate digital output pin and the microcontroller can handle the total current draw.