The 5V 8 Channel Relay Board is an electronic module designed to control up to eight devices using a 5V power supply. It acts as an interface between low-voltage control signals (e.g., from a microcontroller) and high-voltage loads, such as lights, motors, or appliances. Each relay on the board can switch devices operating at up to 250V AC or 30V DC, making it ideal for home automation, industrial control, and IoT applications.
Pin Name | Description |
---|---|
VCC | Connect to 5V power supply to power the relay board. |
GND | Ground connection for the relay board. |
IN1-IN8 | Control pins for each relay channel. A LOW signal activates the relay. |
Terminal Name | Description |
---|---|
COM | Common terminal for the relay. Connect to the power source or load. |
NO | Normally Open terminal. Connect to the load for default OFF state. |
NC | Normally Closed terminal. Connect to the load for default ON state. |
Power the Relay Board:
Connect the Control Signals:
Connect the Load:
Test the Circuit:
Below is an example of how to control the 5V 8 Channel Relay Board using an Arduino UNO:
// Example code to control an 8-channel relay board with an Arduino UNO
// Define the relay control pins
const int relayPins[] = {2, 3, 4, 5, 6, 7, 8, 9};
void setup() {
// Set all relay pins as outputs
for (int i = 0; i < 8; i++) {
pinMode(relayPins[i], OUTPUT);
digitalWrite(relayPins[i], HIGH); // Set relays to OFF state (HIGH)
}
}
void loop() {
// Example: Turn relays ON one by one, then OFF
for (int i = 0; i < 8; i++) {
digitalWrite(relayPins[i], LOW); // Activate relay (LOW signal)
delay(1000); // Wait 1 second
digitalWrite(relayPins[i], HIGH); // Deactivate relay (HIGH signal)
delay(1000); // Wait 1 second
}
}
Relays Not Activating:
Relay Stuck in ON or OFF State:
Microcontroller Resetting When Relays Activate:
Load Not Switching Properly:
Q: Can I use a 3.3V microcontroller with this relay board?
A: Yes, the relay board is compatible with 3.3V control signals, but ensure the VCC pin is powered with 5V.
Q: How many relays can I activate simultaneously?
A: You can activate all 8 relays simultaneously, provided your power supply can handle the total current draw.
Q: Can this relay board switch DC loads?
A: Yes, it can switch DC loads up to 30V at 10A.
Q: Is the relay board safe for high-voltage applications?
A: Yes, but ensure proper insulation and safety precautions when working with high voltages.