Stufin
Home Quick Cart Profile

5V 8 Channel SSR Module

Buy Now

Component Name

5V 8 Channel SSR Module

Description

The 5V 8 Channel SSR Module is a solid-state relay (SSR) module designed to control and switch multiple AC loads using a low-voltage digital signal. This module is ideal for IoT projects, automation systems, and industrial control applications where multiple relays are required to manage various loads.

Functionality

The 5V 8 Channel SSR Module consists of eight solid-state relays, each capable of switching an AC load using a 5V digital signal from a microcontroller or other control device. The module can be used to control a wide range of AC loads, including lamps, motors, and solenoids, making it a versatile component for various applications.

Key Features

  • 8 Channels: The module features eight independent solid-state relays, each with a separate input and output.
  • 5V Digital Input: The module operates on a 5V digital signal, making it compatible with most microcontrollers and digital devices.
  • Low Power Consumption: The module has a low power consumption of approximately 20mA per channel, making it suitable for battery-powered applications.
  • High Current Capability: Each channel can handle a maximum current of 2A, making it suitable for controlling small to medium-sized AC loads.
  • Isolated Output: The output of each channel is electrically isolated from the input, ensuring safe and reliable operation.
  • Optical Isolation: The module features optical isolation between the input and output, providing an additional layer of protection against voltage spikes and noise.
  • Compact Design: The module is designed to be compact and lightweight, making it ideal for use in space-constrained applications.
  • Easy to Use: The module is simple to use, with a straightforward input and output connection scheme.
  • Wide Operating Temperature: The module can operate in a wide temperature range of -25C to 75C, making it suitable for use in various environmental conditions.
  • RoHS Compliant: The module is RoHS compliant, ensuring it meets the latest environmental standards.

Input Voltage

5V

Input Current

20mA per channel

Output Voltage

240V AC (maximum)

Output Current

2A per channel (maximum)

Operating Frequency

50/60Hz

Operating Temperature

-25C to 75C

Storage Temperature

-40C to 85C

Dimensions

62mm x 45mm x 18mm (L x W x H)

Applications

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

IoT projects

Automation systems

Industrial control systems

Home automation systems

Robotics

Security systems

Wiring Diagram

A typical wiring diagram for the 5V 8 Channel SSR Module is shown below
+---------------+ | Microcontroller | +---------------+ | | v +---------------+ | 5V 8 Channel | | SSR Module | +---------------+ | | v +---------------+ | AC Load 1 | | (Lamp, Motor, | | Solenoid, etc.) | +---------------+ | | v +---------------+ | AC Load 2 | | (Lamp, Motor, | | Solenoid, etc.) | +---------------+ . . . +---------------+ | AC Load 8 | | (Lamp, Motor, | | Solenoid, etc.) | +---------------+

Conclusion

The 5V 8 Channel SSR Module is a versatile and reliable component for controlling multiple AC loads using a low-voltage digital signal. Its compact design, low power consumption, and high current capability make it an ideal choice for a wide range of applications.

Pin Configuration

Code Examples

5V 8 Channel SSR Module Documentation
Introduction
The 5V 8 Channel SSR (Solid State Relay) Module is a high-quality, compact module designed to control high-power AC or DC loads. It features 8 individual channels, each capable of handling up to 2A of continuous current, making it an ideal solution for a wide range of IoT applications.
Hardware Specifications
Input voltage: 5V
 Number of channels: 8
 Maximum current per channel: 2A
 Operating frequency: 50/60Hz
 Compatible with AC and DC loads
Pinout
The module has a simple and easy-to-use pinout:
VCC: 5V power input
 GND: Ground
 IN1-IN8: Input pins for channel 1-8 (active low)
 OUT1-OUT8: Output pins for channel 1-8 (relay output)
Code Examples
### Example 1: Basic On/Off Control using Arduino
In this example, we'll demonstrate how to use the 5V 8 Channel SSR Module to control an AC light bulb using an Arduino board.
```c++
const int relayPin = 2;  // Choose any digital pin on your Arduino board
void setup() {
  pinMode(relayPin, OUTPUT);
}
void loop() {
  digitalWrite(relayPin, LOW);  // Turn on the relay (active low)
  delay(1000);
  digitalWrite(relayPin, HIGH);  // Turn off the relay
  delay(1000);
}
```
Connect the relayPin to IN1 on the SSR module, and the light bulb to OUT1 on the SSR module. Upload the code to your Arduino board, and the light bulb will toggle on and off every second.
### Example 2: Multiple Channel Control using Raspberry Pi (Python)
In this example, we'll show how to use the 5V 8 Channel SSR Module to control multiple AC loads using a Raspberry Pi.
```python
import RPi.GPIO as GPIO
import time
GPIO.setmode(GPIO.BCM)
# Set up the input pins for the SSR module
relay_pins = [17, 23, 24, 25, 12, 16, 20, 21]
for pin in relay_pins:
    GPIO.setup(pin, GPIO.OUT)
try:
    while True:
        # Turn on all relays
        for pin in relay_pins:
            GPIO.output(pin, GPIO.LOW)
        time.sleep(2)
# Turn off all relays
        for pin in relay_pins:
            GPIO.output(pin, GPIO.HIGH)
        time.sleep(2)
except KeyboardInterrupt:
    GPIO.cleanup()
```
Connect the relay_pins to IN1-IN8 on the SSR module, and the AC loads to OUT1-OUT8 on the SSR module. Run the Python script on your Raspberry Pi, and all the loads will toggle on and off every 2 seconds.
### Example 3: IoT Automation using ESP32 (MicroPython)
In this example, we'll demonstrate how to use the 5V 8 Channel SSR Module to control an AC fan using an ESP32 board and Wi-Fi connectivity.
```python
import machine
import network
# Set up the input pins for the SSR module
relay_pin = machine.Pin(32, machine.Pin.OUT)
# Set up Wi-Fi connection
sta_if = network.WLAN(network.STA_IF)
sta_if.active(True)
sta_if.connect("your_wifi_ssid", "your_wifi_password")
while True:
    # Send a GET request to a web server to toggle the relay
    if sta_if.isconnected():
        http_client = urequests.get("http://example.com/toggle_relay")
        if http_client.text == "on":
            relay_pin.value(0)  # Turn on the relay
        else:
            relay_pin.value(1)  # Turn off the relay
    time.sleep(1)
```
Connect the relay_pin to IN1 on the SSR module, and the AC fan to OUT1 on the SSR module. Upload the MicroPython script to your ESP32 board, and the fan will toggle on and off based on the web server's response.
Remember to replace the placeholders (e.g., "your_wifi_ssid", "your_wifi_password") with your actual Wi-Fi credentials and web server URL.