Description
What it is
Solid state relay module board with 8 channels operating on a supply voltage of 5V. This module is designed to control electrical devices from a microcontroller like Arduino.
Features
- Solid state relay module with 8 channels
- Supply voltage: 5V
What it is for
Ideal for home or industrial automation projects, such as creating an intelligent lighting system that turns lights on and off based on motion detected by a PIR sensor. Compatible with Arduino.
Tutorial: How to use Solid State Relay Module 8 Channels 5V
The solid state relay module with 8 channels is ideal for controlling electrical devices from a microcontroller like Arduino. It is perfect for home or industrial automation projects.
What you need
- Arduino Uno
- USB cable
- External power supply
Steps
- Connect the module’s power supply to the VCC and GND pins of the Arduino.
- Connect the data bus (SDA) of the module to pin A4 of Arduino.
- Connect the clock bus (SCL) of the module to pin A5 of Arduino.
- Check the datasheet for the control signals for each relay channel and connect them to the digital pins of the Arduino.
- Download the I2Cdevlib library from GitHub or use the one already installed in your Arduino environment.
- Compile the following sketch with the ‘Upload’ button.
- Verify the activation of the relays through the Arduino Serial Monitor software.
- Explore additional features of the module by consulting the official documentation.
Example code
void setup() {
Wire.begin();
// Inizializza i pin digitali come output
}
void loop() {
digitalWrite(relè_pin, HIGH); // Attiva il relè
}
Mini project
Create an intelligent lighting system that turns lights on and off based on motion detected by a PIR sensor.
Common mistakes
- Do not verify the proper power supply of the module.
- Omit the installation of the necessary library for I2C control.
- Connect the digital pins of Arduino to the relay data signals without consulting the datasheet.
- Ignore the configuration of the relay channels in the software.
Recommended accessories
- PIR Sensor
- Programmable electrical socket
- Arduino Mega for larger projects
- LCD Display with I2C
Frequently asked questions
What is the supply voltage of the module?
5V
How many relay channels does it have?
8 channels
How do you activate a single relay?
Send HIGH to the digital pin connected to that particular relay.







Reviews
There are no reviews yet.