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

How to Use 4 Solid State Relay: Examples, Pinouts, and Specs

Image of 4 Solid State RelayDesign with 4 Solid State Relay in Cirkit Designer

Introduction

A 4-Channel Solid State Relay (SSR) module is an electronic switching device that allows for the control of high power devices using low voltage signals. Each channel of the SSR module can be controlled independently, making it suitable for applications that require multiple high-power outputs to be controlled simultaneously. Common applications include industrial automation, home automation, and any project requiring the interfacing of a microcontroller, like an Arduino, with high-power electrical loads.

Explore Projects Built with 4 Solid State Relay

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of Wi-Fi Controlled Smart Lighting System with ESP8266 and Relay Module: A project utilizing 4 Solid State Relay in a practical application
Wi-Fi Controlled Smart Lighting System with ESP8266 and Relay Module

This circuit is designed to control four AC bulbs using an ESP8266 NodeMCU microcontroller and a 4-channel relay module. The ESP8266 receives commands via a Wi-Fi connection to toggle the state of each relay, which in turn switches the connected AC bulbs on or off. Additionally, there are rocker switches that can manually override the relay states, and the system is designed to synchronize the relay states with the manual switches and report the status to a remote server.

Open Project in Cirkit Designer
Image of Arduino-Controlled 12V Relay Switching for Solenoid Actuation: A project utilizing 4 Solid State Relay in a practical application
Arduino-Controlled 12V Relay Switching for Solenoid Actuation

This circuit consists of an Arduino UNO microcontroller connected to four 12V relays, which are in turn connected to four solenoids. The relays are used to control the power supplied to the solenoids from a 12V power supply unit (PSU). The Arduino is programmed to switch the relays, which activates the solenoids, but the specific control logic is not defined in the provided code.

Open Project in Cirkit Designer

Technical Specifications

General Features

Pin Configuration and Descriptions

Pin Number Description Notes
1 Input 1 (IN1) Control signal for Relay 1
2 Input 2 (IN2) Control signal for Relay 2
3 Input 3 (IN3) Control signal for Relay 3
4 Input 4 (IN4) Control signal for Relay 4
5 Ground (GND) Common ground for input signals
6 VCC Input voltage for the module
7-10 Output Terminals (1-4) AC load connections

Usage Instructions

Connecting to a Circuit

  1. Connect the VCC pin to a 5V supply from the microcontroller board.
  2. Connect the GND pin to the common ground of the system.
  3. Connect the IN1, IN2, IN3, and IN4 pins to the digital output pins of the microcontroller.
  4. Connect the high-power AC load to the output terminals of each channel.

Best Practices

Example Code for Arduino UNO

// Define the control pins for the SSR channels
const int ssrPin1 = 2;
const int ssrPin2 = 3;
const int ssrPin3 = 4;
const int ssrPin4 = 5;

void setup() {
  // Set the digital pins as outputs
  pinMode(ssrPin1, OUTPUT);
  pinMode(ssrPin2, OUTPUT);
  pinMode(ssrPin3, OUTPUT);
  pinMode(ssrPin4, OUTPUT);
}

void loop() {
  // Turn on each SSR channel for 1 second, then off for 1 second
  digitalWrite(ssrPin1, HIGH);
  delay(1000);
  digitalWrite(ssrPin1, LOW);
  
  digitalWrite(ssrPin2, HIGH);
  delay(1000);
  digitalWrite(ssrPin2, LOW);
  
  digitalWrite(ssrPin3, HIGH);
  delay(1000);
  digitalWrite(ssrPin3, LOW);
  
  digitalWrite(ssrPin4, HIGH);
  delay(1000);
  digitalWrite(ssrPin4, LOW);
  
  // Repeat the cycle
  delay(1000);
}

Troubleshooting and FAQs

Common Issues

FAQs

Q: Can I use the SSR module with a DC load? A: This SSR module is designed for AC loads. Using it with a DC load may damage the module.

Q: Is it necessary to use a heat sink with the SSR? A: It depends on the current being switched and the ambient temperature. If operating near the maximum rating, a heat sink is recommended.

Q: Can I control the SSR module with a 3.3V logic level? A: Yes, the input control voltage range typically allows for 3.3V logic levels, but always check the specifications of your particular module.

Q: How do I know if the SSR is on or off? A: Some SSR modules have an LED indicator for each channel. If the LED is on, the corresponding relay channel is activated.

Remember to always follow safety precautions when working with high voltage and consult a professional if you are unsure about any aspect of working with electrical components.