
This circuit features an ESP32-POE-ISO microcontroller connected to a 4-channel 30A 5V relay module. The ESP32 controls the relay channels via its GPIO pins, allowing for the switching of high-power devices through the relay module.

A Single Pole Double Throw (SPDT) relay is an electromechanical switch that allows a single input to toggle between two different outputs. This specific SPDT relay is rated for 30 amps, making it suitable for high-current applications. It is commonly used in automotive systems, home automation, industrial control systems, and other applications where high-power switching is required.

This circuit features an ESP32-POE-ISO microcontroller connected to a 4-channel 30A 5V relay module. The ESP32 controls the relay channels via its GPIO pins, allowing for the switching of high-power devices through the relay module.

This circuit features an ESP32 microcontroller interfaced with two 4-channel 30A 5V relays. The ESP32 controls the relays through its GPIO pins, enabling it to switch high-power loads on and off.

This circuit features an ESP32 microcontroller connected to a two-channel 5V relay module. The ESP32 controls the relay channels via its GPIO pins D23 and D22, allowing it to switch external devices on and off. The relay module is powered by the 3.3V and GND pins of the ESP32.

This circuit consists of an ESP32 microcontroller connected to a relay module. The ESP32's GPIO pin D13 is used to trigger the relay, allowing the microcontroller to control higher power devices. The relay module is powered by the ESP32's 3.3V output, and the ground is shared between the two components.
Below are the key technical details for the SPDT Relay (30A):
| Parameter | Value |
|---|---|
| Relay Type | SPDT (Single Pole Double Throw) |
| Rated Current | 30A |
| Rated Voltage | 12V DC (coil voltage) |
| Contact Voltage Rating | 250V AC / 30V DC |
| Coil Resistance | ~160Ω |
| Switching Mechanism | Electromechanical |
| Contact Material | Silver alloy |
| Dimensions | Varies by manufacturer, typically ~30x20x25mm |
The SPDT relay typically has five pins. Below is the pinout description:
| Pin Name | Description |
|---|---|
| Coil (+) | Positive terminal of the relay coil. Connect to the control voltage (e.g., 12V). |
| Coil (-) | Negative terminal of the relay coil. Connect to ground. |
| Common (COM) | The common terminal. This is the input for the circuit being switched. |
| Normally Open (NO) | The terminal that connects to COM when the relay is activated. |
| Normally Closed (NC) | The terminal that connects to COM when the relay is not activated. |
Below is an example of how to control the SPDT relay using an Arduino UNO:
// Define the pin connected to the relay control circuit
const int relayPin = 7;
void setup() {
// Set the relay pin as an output
pinMode(relayPin, OUTPUT);
}
void loop() {
// Activate the relay (connect COM to NO)
digitalWrite(relayPin, HIGH);
delay(5000); // Keep the relay on for 5 seconds
// Deactivate the relay (connect COM to NC)
digitalWrite(relayPin, LOW);
delay(5000); // Keep the relay off for 5 seconds
}
Relay Not Switching:
Voltage Spikes Damaging the Circuit:
Overheating:
Chattering or Unstable Operation:
Q: Can I use this relay with a 5V control signal?
A: No, the relay coil requires 12V DC to operate. You can use a transistor or relay driver circuit to interface a 5V control signal with the 12V relay.
Q: Is this relay suitable for AC loads?
A: Yes, the relay can switch AC loads up to 250V, provided the current does not exceed 30A.
Q: Can I use this relay for PWM (Pulse Width Modulation) control?
A: No, relays are not designed for high-speed switching. Use a solid-state relay or MOSFET for PWM applications.
Q: How do I know if the relay is energized?
A: Many relays include an indicator LED. If not, you can measure the voltage across the coil or listen for the clicking sound when the relay switches.