Stufin
Home Quick Cart Profile

5V 1 Channel SSR Module

Buy Now on Stufin

VCC

5V DC input (connect to a 5V power source)

GND

Ground (connect to ground)

IN

Input signal (connect to a digital output from a microcontroller, Arduino, or Raspberry Pi)

OUT

Output terminal (connect to the high-power device you want to control)

Operating Characteristics

Operating Temperature

-20C to 75C

Storage Temperature

-40C to 85C

Humidity

20% to 80% RH

Applications

The 5V 1 Channel SSR Module is suitable for a wide range of applications, including

Industrial automation

Home automation

IoT projects

Robotics

LED lighting control

Motor control

Pump control

Safety Precautions

Ensure the module is used within the specified operating temperature and humidity range.

Avoid overvoltage and overcurrent conditions to prevent damage to the module.

Use proper wiring and insulation to prevent electrical shock or fire hazards.

Follow proper safety procedures when working with high-power devices.

By following the guidelines and precautions outlined above, the 5V 1 Channel SSR Module can provide reliable and efficient control of high-power devices in a variety of applications.

Pin Configuration

  • 5V 1 Channel SSR Module Documentation
  • Pinout Explanation
  • The 5V 1 Channel SSR Module has 6 pins, which are explained below:
  • Pin 1: VCC (5V Power Supply)
  • Description: This pin provides the power supply to the module.
  • Voltage: 5V
  • Connection: Connect to a 5V power source, such as a battery or a USB connection.
  • Pin 2: GND (Ground)
  • Description: This pin is the ground connection for the module.
  • Connection: Connect to the ground of the power source or a common ground point in the circuit.
  • Pin 3: IN (Input)
  • Description: This pin is the input signal to control the solid-state relay (SSR).
  • Voltage: 3.3V to 5V
  • Connection: Connect to a digital output of a microcontroller or a logic circuit to control the SSR.
  • Pin 4: NO (Normally Open)
  • Description: This pin is the normally open output of the SSR.
  • Connection: Connect to the load (device being controlled) in series with the power supply.
  • Pin 5: COM (Common)
  • Description: This pin is the common output of the SSR.
  • Connection: Connect to the power supply of the load (device being controlled).
  • Pin 6: NC (Normally Closed)
  • Description: This pin is the normally closed output of the SSR (not used in this module).
  • Connection: Not connected (NC) in this module.
  • Connecting the Pins
  • To use the 5V 1 Channel SSR Module, follow these steps:
  • 1. Power Supply Connection:
  • Connect VCC (Pin 1) to a 5V power source (e.g., a battery or a USB connection).
  • Connect GND (Pin 2) to the ground of the power source or a common ground point in the circuit.
  • 2. Input Signal Connection:
  • Connect IN (Pin 3) to a digital output of a microcontroller or a logic circuit.
  • 3. Load Connection:
  • Connect NO (Pin 4) to one terminal of the load (device being controlled).
  • Connect COM (Pin 5) to the power supply of the load (device being controlled).
  • Example Connection Diagram
  • ```
  • +-----------+
  • | 5V Power |
  • | Source |
  • +-----------+
  • |
  • |
  • v
  • +-----------+
  • | VCC (Pin 1) |
  • +-----------+
  • |
  • |
  • v
  • +-----------+
  • | GND (Pin 2) |
  • +-----------+
  • |
  • |
  • v
  • +-----------+
  • | Microcontroller|
  • | or Logic Circuit|
  • +-----------+
  • |
  • |
  • v
  • +-----------+
  • | IN (Pin 3) |
  • +-----------+
  • |
  • |
  • v
  • +-----------+
  • | Load |
  • | (Device being |
  • | controlled) |
  • +-----------+
  • |
  • |
  • v
  • +-----------+
  • | NO (Pin 4) |
  • | COM (Pin 5) |
  • +-----------+
  • ```
  • By following these connections, you can control the load using the 5V 1 Channel SSR Module.

Code Examples

5V 1 Channel SSR Module Documentation
Overview
The 5V 1 Channel SSR (Solid State Relay) Module is a low-cost, compact, and widely used IoT component that allows you to control AC loads using a microcontroller or other digital devices. It is suitable for a wide range of applications, including home automation, industrial control, and robotics.
Pinouts and Connections
VCC: 5V power supply input
 GND: Ground connection
 IN: Input signal pin (TTL level, active high)
 NO ( Normally Open ): Output pin for the AC load
 NC ( Normally Closed ): Output pin for the AC load
Features
5V input signal compatible with most microcontrollers
 Supports AC loads up to 2A
 Isolation between input and output circuits
 Low power consumption
 Compact size and easy to use
Code Examples
### Example 1: Basic On/Off Control using Arduino
In this example, we will use an Arduino Uno to control a lamp connected to the SSR Module.
Hardware Connection
Connect the VCC pin of the SSR Module to the 5V pin of the Arduino Uno
 Connect the GND pin of the SSR Module to the GND pin of the Arduino Uno
 Connect the IN pin of the SSR Module to digital pin 2 of the Arduino Uno
 Connect the NO pin of the SSR Module to one terminal of the lamp
 Connect the other terminal of the lamp to AC power (e.g., wall outlet)
Arduino Code
```c
const int ssrPin = 2;  // choose a digital pin on the Arduino
void setup() {
  pinMode(ssrPin, OUTPUT);
}
void loop() {
  digitalWrite(ssrPin, HIGH);  // turn the lamp on
  delay(1000);
  digitalWrite(ssrPin, LOW);  // turn the lamp off
  delay(1000);
}
```
### Example 2: Home Automation using ESP32 and Blynk App
In this example, we will use an ESP32 board to control a fan connected to the SSR Module remotely using the Blynk app.
Hardware Connection
Connect the VCC pin of the SSR Module to the 5V pin of the ESP32 board
 Connect the GND pin of the SSR Module to the GND pin of the ESP32 board
 Connect the IN pin of the SSR Module to digital pin 12 of the ESP32 board
 Connect the NO pin of the SSR Module to one terminal of the fan
 Connect the other terminal of the fan to AC power (e.g., wall outlet)
ESP32 Code (Blynk Library)
```c
#include <WiFi.h>
#include <BlynkSimpleEsp32.h>
char auth[] = "Your_Blynk_Authorization_Token";
char ssid[] = "Your_WiFi_SSID";
char pass[] = "Your_WiFi_Password";
const int ssrPin = 12;  // choose a digital pin on the ESP32
BlynkTimer timer;
void setup() {
  Serial.begin(115200);
  Blynk.begin(auth, ssid, pass);
  pinMode(ssrPin, OUTPUT);
  timer.setInterval(1000, controlFan);
}
void controlFan() {
  int fanState = digitalRead(0);  // read the state of a virtual pin in Blynk app
  if (fanState == HIGH) {
    digitalWrite(ssrPin, HIGH);  // turn the fan on
  } else {
    digitalWrite(ssrPin, LOW);  // turn the fan off
  }
}
void loop() {
  Blynk.run();
  timer.run();
}
```
Note: In this example, you need to replace the `Your_Blynk_Authorization_Token`, `Your_WiFi_SSID`, and `Your_WiFi_Password` placeholders with your actual Blynk app token and WiFi credentials. Additionally, you need to create a virtual pin in the Blynk app and configure it to send digital signals to the ESP32 board.