

The 12V 8-Channel Relay Module (Manufacturer: Hong Wei, Part ID: JQC3F-12VDC-C) is a versatile electronic component designed to control multiple high-power devices using low-voltage signals. This module features 8 independent relays, each capable of switching high-voltage loads, making it ideal for home automation, industrial control systems, and robotics.








| Parameter | Value |
|---|---|
| Operating Voltage | 12V DC |
| Trigger Voltage | 5V DC (compatible with most MCUs) |
| Relay Type | SPDT (Single Pole Double Throw) |
| Maximum Load (AC) | 250V AC @ 10A |
| Maximum Load (DC) | 30V DC @ 10A |
| Number of Channels | 8 |
| Isolation | Optocoupler-based isolation |
| Dimensions | 138mm x 56mm x 18mm |
| Weight | ~150g |
| Pin Name | Description |
|---|---|
| IN1 - IN8 | Control pins for each relay channel. A HIGH signal activates the relay. |
| GND | Ground connection for the module. |
| VCC | 5V DC input for the control circuit (logic side). |
| JD-VCC | 12V DC input for the relay coils (power side). |
| Terminal Name | Description |
|---|---|
| COM | Common terminal for the relay. |
| NO | Normally Open terminal. Connect the load here for default OFF state. |
| NC | Normally Closed terminal. Connect the load here for default ON state. |
IN1-IN8, and provide 5V to VCC and GND.JD-VCC and GND. Ensure proper isolation between the control and power sides.JD-VCC pin for the relay coils.GND pin.VCC pin for the control circuit.GND pin of the module to the ground of your microcontroller.IN1-IN8 pins.COM terminal.NO terminal for devices that should be OFF by default or the NC terminal for devices that should be ON by default.INx pin to activate the corresponding relay.// Example code to control an 8-channel relay module with an Arduino UNO
// Ensure the relay module's VCC and GND are connected to the Arduino's 5V and GND pins.
#define RELAY1 2 // Define pin 2 for relay 1
#define RELAY2 3 // Define pin 3 for relay 2
#define RELAY3 4 // Define pin 4 for relay 3
#define RELAY4 5 // Define pin 5 for relay 4
#define RELAY5 6 // Define pin 6 for relay 5
#define RELAY6 7 // Define pin 7 for relay 6
#define RELAY7 8 // Define pin 8 for relay 7
#define RELAY8 9 // Define pin 9 for relay 8
void setup() {
// Set all relay pins as OUTPUT
pinMode(RELAY1, OUTPUT);
pinMode(RELAY2, OUTPUT);
pinMode(RELAY3, OUTPUT);
pinMode(RELAY4, OUTPUT);
pinMode(RELAY5, OUTPUT);
pinMode(RELAY6, OUTPUT);
pinMode(RELAY7, OUTPUT);
pinMode(RELAY8, OUTPUT);
// Initialize all relays to OFF state
digitalWrite(RELAY1, LOW);
digitalWrite(RELAY2, LOW);
digitalWrite(RELAY3, LOW);
digitalWrite(RELAY4, LOW);
digitalWrite(RELAY5, LOW);
digitalWrite(RELAY6, LOW);
digitalWrite(RELAY7, LOW);
digitalWrite(RELAY8, LOW);
}
void loop() {
// Example: Turn relays ON and OFF sequentially
digitalWrite(RELAY1, HIGH); // Turn ON relay 1
delay(1000); // Wait for 1 second
digitalWrite(RELAY1, LOW); // Turn OFF relay 1
delay(1000); // Wait for 1 second
// Repeat for other relays
digitalWrite(RELAY2, HIGH);
delay(1000);
digitalWrite(RELAY2, LOW);
delay(1000);
// Add similar code for RELAY3 to RELAY8 as needed
}
Relays Not Activating:
JD-VCC pin is connected to a 12V DC power supply.INx pins are receiving a HIGH signal (5V).Microcontroller Resetting:
Load Not Switching:
COM, NO, and NC terminals.Q: Can I use a 5V power supply for the relay coils?
A: No, the relay coils require a 12V DC power supply. The control circuit, however, operates at 5V.
Q: Can this module be used with a Raspberry Pi?
A: Yes, but you may need level shifters if the Raspberry Pi's GPIO pins output 3.3V instead of 5V.
Q: How many relays can I activate simultaneously?
A: All 8 relays can be activated simultaneously, provided your 12V power supply can handle the total current draw.
Q: Is the module safe for high-voltage applications?
A: Yes, but ensure proper insulation and follow safety guidelines when working with high voltages.