A relay control module isolates low-voltage logic (like an ESP32 or Arduino GPIO) from high-power AC or DC loads using an electromagnetic coil. While hobbyists often grab the first blue 5V module they find on Amazon and wire it to a 10A heater, this approach leads to welded contacts and melted plastic when driving inductive or motor loads. To select the right module, you must match the contact's specific breaking capacity to your load type—not just the nominal current rating.

Decoding the Spec Sheet: Coil vs. Contact Ratings

Every electromechanical relay has two entirely isolated circuits: the coil side (the low-voltage electromagnet) and the contact side (the high-power mechanical switch). The most common mistake beginners make is looking only at the '10A 250VAC' printed on the plastic cover and assuming it can switch any 10A load. That rating is almost always for a purely resistive load. According to Macromatic's technical guidelines, inductive and motor loads generate massive inrush currents and voltage spikes upon opening, which severely derate the relay's actual capacity.

Below is a spec-sheet comparison of common relay control modules you will encounter in DIY and prototyping environments. Notice how the motor breaking capacity (measured in Horsepower or Locked Rotor Amps) is a fraction of the resistive rating.

Table 1: Electromechanical Relay Module Specifications (Real-World Values)
Module / Base Relay Model Coil Voltage Coil Current Draw Contact Rating (Resistive) Breaking Capacity (Motor / Inductive)
Songle SRD-05VDC-SL-C (Generic Blue) 5V DC ~71 mA (70Ω coil) 10A @ 250VAC / 30VDC 1/10 HP @ 120VAC (approx 1.2A)
Omron G5LE-14-DC5 5V DC ~40 mA (125Ω coil) 10A @ 250VAC / 30VDC 1/3 HP @ 120VAC (approx 3.5A)
Finder 40.52.8.012.0000 12V DC ~53 mA (230Ω coil) 8A @ 250VAC 1/4 HP @ 120VAC (approx 2.9A)
Panasonic JW2SN-DC24V 24V DC ~21 mA (1150Ω coil) 10A @ 250VAC 1/2 HP @ 120VAC (approx 5.8A)

Note: Coil current draw is critical when driving relays directly from microcontrollers. An ESP32 GPIO pin can safely source/sink about 12mA to 20mA. A 71mA Songle coil will brownout your ESP32 or fry the GPIO trace if driven directly without a transistor or optocoupler module.

Load-Type Decision Path: Which Rating Governs?

When sizing a relay control module, the governing rating column depends entirely on the physics of your load. As detailed in All About Circuits, opening a circuit with inductance causes the collapsing magnetic field to induce a massive voltage spike ($V = L \cdot di/dt$). This spike sustains an electrical arc across the separating contacts, vaporizing the silver-alloy material over time.

Use this decision tree to determine which column on the datasheet governs your application and how much you must derate the relay.

Table 2: Load-Type Selection and Derating Decision Tree
Load Type Examples Inrush / Spike Multiplier Governing Rating Column Required Derating / Action
Resistive Incandescent bulbs, space heaters, toasters 1.0x (Nominal) Resistive Contact Rating None. Use nominal rating (e.g., 10A).
Inductive Solenoids, transformer primaries, AC contactor coils 10x to 15x (Break spike) Inductive Breaking Capacity (or LRA) Derate to 30% of resistive rating. Add RC snubber across contacts.
Motor HVAC fans, pumps, compressors, power tools 6x to 8x (Locked Rotor Amps) Motor HP Rating or LRA Derate to 20% of resistive rating. Use a contactor for >1/2 HP.
Capacitive Switching power supplies, LED drivers, capacitor banks 20x to 40x (Inrush) Resistive Rating (but verify inrush) Derate to 10-20%. Add NTC thermistor to limit inrush.

Wiring the Coil and Contact Sides

A standard multi-channel relay control module features an optocoupler (usually a PC817) to provide galvanic isolation between your microcontroller and the relay coil. Here is how to wire both sides safely.

The Coil Side (Low Voltage Logic)

Most modules have three logic pins per channel: VCC, GND, and IN.
1. Connect VCC to your logic supply (e.g., 5V from the ESP32's 5V pin, not the 3.3V pin).
2. Connect GND to the system ground.
3. Connect IN to your GPIO. Note that many modules are active-low, meaning the relay triggers when the GPIO is pulled to GND (LOW). Check the jumper on the module to see if it's set to high-level or low-level trigger.

⚠️ CRITICAL WARNING: DC Coil Flyback Protection

When a DC relay coil is de-energized, the collapsing magnetic field generates a reverse voltage spike that can easily exceed 100V, instantly destroying your microcontroller's GPIO pin or the module's driver transistor. Never wire a raw DC relay coil without a flyback diode. Ensure your control module has a 1N4148 or 1N4007 diode soldered in reverse-bias across the coil pins. If you are wiring a bare relay, solder the diode's cathode (stripe) to the positive coil terminal and the anode to the negative terminal.

The Contact Side (Mains / High Power)

The contact side features three screw terminals per channel: COM (Common), NO (Normally Open), and NC (Normally Closed).
1. De-energize the mains circuit at the breaker panel and verify it is dead with a non-contact voltage tester and a multimeter.
2. Wire your Line (Hot) voltage to the COM terminal.
3. Wire the load's hot input to the NO terminal (for loads that should turn ON when triggered).
4. The Neutral and Ground wires bypass the relay entirely and connect directly to the load.

Safety Note: A relay is a control device, not a protective device. Never treat a relay and a circuit breaker as interchangeable. A breaker relies on a specific thermal-magnetic trip curve to clear fault currents safely; a relay's contacts will simply weld shut or vaporize under a dead short. Always install a correctly sized fuse or breaker upstream of the relay's COM terminal.

Bench Testing and End-of-Life Diagnostics

Relays are consumable components. The mechanical life (no load) might be 10 million operations, but the electrical life (under full rated load) is often just 100,000 operations. Here is how to test them and know when to throw them out.

Testing Dead (Unpowered)

Remove the module from the circuit and set your multimeter to the Ohms (Ω) setting.
1. Test the Coil: Place probes across the coil's VCC and GND pins (or the raw coil pins on a bare relay). A standard 5V DC coil should read between 60Ω and 130Ω. If it reads infinite (OL), the coil wire is broken. If it reads < 5Ω, the coil is shorted internally.
2. Test the Contacts: Set the meter to continuity or low-ohms. Place probes across COM and NO. It should read infinite (OL). Manually press the relay armature down with a non-conductive tool; the meter should drop to < 100 milliohms. If it reads > 1 ohm, the contacts are pitted or carbon-fouled.

Testing Live (Powered Under Load)

Warning: Only perform live testing if you are qualified to work around energized mains voltage.
With the load running, set your multimeter to AC or DC Volts (matching the load). Place the probes directly on the COM and NO screw terminals while the relay is engaged. You are measuring the voltage drop across the closed contacts.
A healthy relay will show a drop of < 0.1V. If you measure 1.5V across a contact carrying 5A, that contact is dissipating 7.5 Watts of heat ($P = V \times I$) directly inside the plastic housing. This is a severe fire hazard and indicates imminent failure.

When to Repair vs. Replace

Never attempt to repair a mains-voltage electromechanical relay. Some hobbyists try to file down welded or pitted contacts with sandpaper. This removes the silver-tin oxide or silver-nickel plating, exposing the base brass or copper. The bare metal will oxidize rapidly, increasing resistance, generating extreme heat, and causing a fire. Furthermore, if a relay has failed in a 'welded closed' state due to an inductive spike, the internal spring tension is often compromised. Electromechanical relay modules are cheap ($2 to $8); when they fail, cut the wires, strip them back, and install a new module.