The 6 channel relay module is an electronic component designed to control multiple high-voltage devices using low-voltage signals. Each of the six relays on the module acts as an electrically operated switch, allowing you to control high-power devices such as lights, fans, or appliances with microcontrollers like Arduino, Raspberry Pi, or other control systems.
This module is widely used in home automation, industrial control systems, and robotics, where multiple devices need to be switched on or off independently.
The 6 channel relay module has two main sections: the control pins and the load terminals.
Pin Name | Description |
---|---|
VCC | Connect to the 5V power supply of the microcontroller or external source. |
GND | Ground connection. |
IN1-IN6 | Control pins for each relay. A LOW signal activates the corresponding relay. |
Terminal Name | Description |
---|---|
COM | Common terminal. Connect to the power source or load. |
NO | Normally Open terminal. Connect to the load if it should be OFF by default. |
NC | Normally Closed terminal. Connect to the load if it should be ON by default. |
Below is an example of how to control the 6 channel relay module using an Arduino UNO:
// Define the relay control pins
#define RELAY1 2
#define RELAY2 3
#define RELAY3 4
#define RELAY4 5
#define RELAY5 6
#define RELAY6 7
void setup() {
// Set relay pins as outputs
pinMode(RELAY1, OUTPUT);
pinMode(RELAY2, OUTPUT);
pinMode(RELAY3, OUTPUT);
pinMode(RELAY4, OUTPUT);
pinMode(RELAY5, OUTPUT);
pinMode(RELAY6, OUTPUT);
// Initialize all relays to OFF (HIGH state)
digitalWrite(RELAY1, HIGH);
digitalWrite(RELAY2, HIGH);
digitalWrite(RELAY3, HIGH);
digitalWrite(RELAY4, HIGH);
digitalWrite(RELAY5, HIGH);
digitalWrite(RELAY6, HIGH);
}
void loop() {
// Example: Turn relays ON and OFF sequentially
digitalWrite(RELAY1, LOW); // Turn ON relay 1
delay(1000); // Wait for 1 second
digitalWrite(RELAY1, HIGH); // Turn OFF relay 1
digitalWrite(RELAY2, LOW); // Turn ON relay 2
delay(1000); // Wait for 1 second
digitalWrite(RELAY2, HIGH); // Turn OFF relay 2
// Repeat for other relays...
}
Relays Not Activating:
LED Indicators Not Lighting Up:
Load Not Switching:
Can I use this module with a 3.3V microcontroller?
Can I control AC and DC loads simultaneously?
Do I need external components to use this module?
Can I use fewer than 6 relays?
By following this documentation, you can effectively integrate the 6 channel relay module into your projects for reliable and efficient control of multiple devices.