

The 12V Relay with JD-VCC is an electromechanical switch designed to control high-power devices using low-power control signals. It operates at 12 volts and features a JD-VCC pin, which allows for the separation of the control circuit from the load circuit. This design ensures safe and efficient switching, making it ideal for applications where electrical isolation is critical.








The 12V Relay module typically has the following pins:
| Pin Name | Description |
|---|---|
| VCC | Connect to the 5V power supply for the control circuit. |
| GND | Ground connection for the control circuit. |
| IN | Control signal input (logic HIGH activates the relay). |
| JD-VCC | Connect to a 12V power supply to power the relay coil. |
| COM | Common terminal for the load circuit. |
| NO | Normally Open terminal (connected to COM when the relay is activated). |
| NC | Normally Closed terminal (connected to COM when the relay is not activated). |
Note: The JD-VCC pin is used to power the relay coil separately from the control circuit. This ensures electrical isolation and prevents interference.
Power the Relay Module:
Control the Relay:
Connect the Load:
Ensure Proper Isolation:
// Example code to control a 12V Relay with JD-VCC using an Arduino UNO
const int relayPin = 7; // Define the digital pin connected to the relay IN pin
void setup() {
pinMode(relayPin, OUTPUT); // Set the relay pin as an output
digitalWrite(relayPin, LOW); // Ensure the relay is off at startup
}
void loop() {
digitalWrite(relayPin, HIGH); // Activate the relay
delay(1000); // Keep the relay on for 1 second
digitalWrite(relayPin, LOW); // Deactivate the relay
delay(1000); // Keep the relay off for 1 second
}
Note: Ensure the Arduino is powered properly, and the relay module is connected securely.
Relay Not Activating:
Control Signal Not Working:
Load Not Switching:
Interference in Control Circuit:
Q: Can I use the relay with a 3.3V microcontroller like the ESP32?
A: Yes, the relay can be triggered with a 3.3V control signal. Ensure the IN pin receives a HIGH signal of at least 3.3V.
Q: What is the purpose of the JD-VCC pin?
A: The JD-VCC pin allows the relay coil to be powered separately from the control circuit, providing electrical isolation and reducing interference.
Q: Can the relay switch both AC and DC loads?
A: Yes, the relay can switch AC loads up to 250V and DC loads up to 30V, as long as the current does not exceed 10A.
Q: Do I need a flyback diode for this relay module?
A: Most relay modules with JD-VCC include a built-in flyback diode. However, verify the module's design or add an external diode if necessary.