A standard module relay—like the ubiquitous blue Songle SRD-05VDC-SL-C or the industrial Omron G2R series—is the workhorse of both DIY microcontroller projects and 24V industrial control panels. It provides galvanic isolation between a low-voltage logic circuit and a high-voltage or high-current load. However, the most common point of failure in these designs is not the relay itself, but a fundamental misunderstanding of its rating table and load derating.
The direct answer to sizing a module relay is this: the coil voltage governs your control circuit, but the breaking capacity (inductive rating) column governs your actual load. Never size a relay based solely on the bold '10A 250VAC' printed on the plastic shell without checking the load type. Below is the complete guide to selecting, wiring, and testing electromechanical module relays for real-world applications.
Understanding Module Relay Ratings and Load Types
Every module relay datasheet contains a rating table, but manufacturers heavily market the resistive rating because it yields the highest, most impressive numbers. When you switch an inductive load (like a solenoid or a motor), the collapsing magnetic field generates an arc across the contacts as they open. This arc pits the contact material, drastically reducing the relay's lifespan and current capacity.
| Parameter | Resistive Load | Inductive / Motor Load | Notes & Governing Rules |
|---|---|---|---|
| Coil Voltage | 5VDC / 12VDC / 24VDC | 5VDC / 12VDC / 24VDC | Governs the logic/control side. Must match your driver circuit. |
| Contact Rating (AC) | 10A @ 250VAC | 3A to 5A @ 250VAC | Resistive is for heaters. Inductive governs motors/transformers. |
| Contact Rating (DC) | 10A @ 24VDC | 2A @ 24VDC | DC arcs are harder to extinguish; DC breaking capacity is severely derated. |
| Max Breaking Capacity | 2500 VA | 750 VA | The absolute maximum VA the contacts can safely interrupt. |
| Coil Resistance | ~71 Ω (5V) / ~417 Ω (12V) | ~71 Ω (5V) / ~417 Ω (12V) | Used to calculate coil current draw (e.g., 5V / 71Ω = ~70mA). |
Selection Decision Path by Load Type
To determine which rating column governs your specific application, follow this decision path:
| Load Type | Examples | Derating Factor | Governing Column |
|---|---|---|---|
| Resistive | Space heaters, incandescent bulbs, toaster elements | None (100%) | Resistive Contact Rating |
| Inductive (AC) | AC contactor coils, solenoid valves, transformers | Derate to 30% - 50% | Inductive / Motor Rating |
| Motor (AC) | HVAC fans, pumps, compressor starters | Derate to 20% - 30% (Account for 6x LRA inrush) | Motor / Breaking Capacity |
| DC Resistive | LED strips, DC heating elements | Derate to max voltage limit (usually 24V or 30V) | DC Contact Rating |
| DC Inductive | DC motors, 12V car accessories | Derate to 10% - 20% | DC Breaking Capacity |
Wiring the Coil and Contact Sides Safely
A module relay has two completely isolated circuits: the coil (control) and the contacts (load). Mixing these up or failing to protect the coil driver will result in destroyed microcontrollers or melted wiring.
The Coil Side: Driving and Flyback Protection
The coil is an inductor. When you apply 5V or 12V, it draws a specific current (typically 30mA to 80mA). Most microcontroller GPIO pins (like the ESP32 or Arduino Uno) can only safely source 12mA to 20mA. Therefore, you must drive the coil using a logic-level NPN transistor (like a 2N2222) or a MOSFET, or use a pre-built module that includes a ULN2803 Darlington array driver.
The DC Flyback Imperative: When you de-energize a DC coil, the collapsing magnetic field induces a massive reverse-voltage spike (often 10x to 50x the supply voltage). If you do not provide a path for this energy, it will instantly destroy your driving transistor or microcontroller. You must wire a flyback diode (e.g., 1N4148 or 1N4007) in reverse bias across the coil pins (cathode to positive, anode to negative). Most commercial '1-channel 5V relay modules' include this diode on the PCB, but if you are wiring a raw relay, you must add it manually.
The Contact Side: COM, NO, and NC
The contact side features three terminals: Common (COM), Normally Open (NO), and Normally Closed (NC).
- COM: The moving armature. Connect your incoming Line (AC) or Positive (DC) here.
- NO: Connects to COM when the coil is energized. Use this for standard 'turn on when triggered' loads.
- NC: Connects to COM when the coil is de-energized. Use this for fail-safe circuits (e.g., an alarm that sounds if power is lost).
When wiring mains voltage (120V/240V AC) to the contact side, maintain strict physical separation (creepage and clearance) between the high-voltage screw terminals and the low-voltage coil pins. If using a bare relay on a custom PCB, route a physical isolation slot under the relay between the coil and contact pads to prevent arc tracking.
Testing and Troubleshooting: Dead, Live, and End-of-Life
Relays are mechanical devices with a finite lifespan. Knowing how to test them on the bench and in the field saves hours of debugging.
Dead Testing (De-energized)
Set your multimeter to Ohms (Ω) and Continuity mode. Ensure the circuit is completely de-energized and locked out before testing.
- Coil Test: Place probes across the coil pins. A healthy 5V Songle relay will read approximately 71 Ω. A 12V Omron G2R will read around 417 Ω. If it reads OL (open), the internal coil wire is broken. If it reads 0 Ω, it is shorted.
- Contact Test (Resting): Place probes on COM and NC. You should read less than 1 Ω (continuity). Place probes on COM and NO; it should read OL (infinite resistance).
- Contact Test (Actuated): Apply the rated DC voltage directly to the coil pins using a bench supply. You should hear a distinct 'click'. The COM-NO reading should now drop to < 1 Ω, and COM-NC should read OL.
Live Testing (Under Load)
If a relay clicks but the load doesn't turn on, the contacts may be carbonized or pitted. Set your multimeter to DC or AC millivolts (mV). With the relay energized and the load running, place your probes directly on the COM and NO metal terminals. A healthy contact pair will show a voltage drop of less than 50 mV. If you read 200 mV or higher, the contacts have high internal resistance due to arcing damage and are generating excess heat.
When to Repair vs. Replace
Replace the module relay if:
- The voltage drop across closed contacts exceeds 100 mV under load.
- The contacts have welded together (load stays on when coil is de-energized).
- The coil reads open or shorted.
- The plastic housing shows heat discoloration or melting near the terminals.
Never attempt to repair sealed PCB module relays. Filing down pitted contacts to 'clean' them removes the factory silver-alloy plating, exposing base brass that will oxidize and fail within hours. While large industrial contactors allow for contact replacement and arc chute servicing, sub-20A sealed module relays are strictly replaceable components. A standard Omron G2R-2-E costs roughly $4 to $6; do not risk a fire hazard to save it.
Frequently Asked Questions About Module Relays
Why did my module relay contacts weld together on a motor load?
AC motors draw a Locked Rotor Amperage (LRA) inrush current that is typically 5 to 7 times higher than their running current. If you sized your relay based on the motor's Running Load Amps (RLA) using the resistive column, the massive inrush current caused severe arcing when the contacts opened, melting the silver alloy and welding them shut. Always derate relay capacity to 20-30% of the resistive rating for direct-on-line motor starting, or use a contactor.
Can I use a 5V module relay directly with an ESP32 GPIO pin?
Generally, no. A standard 5V relay coil draws about 70mA. The ESP32 GPIO pins are rated for a maximum of 40mA absolute limit, with a recommended operating current of 20mA. Driving a 70mA coil directly will cause a brownout on the ESP32's 3.3V regulator or permanently damage the GPIO pin's internal silicon. You must use a logic-level MOSFET, a BJT transistor, or a dedicated relay module with an onboard optocoupler and driver transistor.
What is the difference between a module relay and a solid-state relay (SSR)?
An electromechanical module relay uses a physical moving metal armature, providing a near-zero voltage drop when closed, but it suffers from mechanical wear, contact bounce, and audible clicking. A Solid-State Relay (SSR) uses an optical isolator and a TRIAC or MOSFET to switch the load. SSRs have no moving parts, switch instantly at the zero-crossing point (reducing inrush), and last indefinitely, but they leak a small amount of current when 'off' and require heatsinks because they dissipate heat as a function of the load current (typically 1.5W per Amp).
How do I calculate the lifespan of a module relay under heavy inductive loads?
Manufacturers specify electrical life in operations (e.g., 100,000 cycles at rated resistive load). For inductive or motor loads, you must apply a derating curve from the datasheet: a 10A relay switching a 5A inductive load might only yield 20,000 cycles. If your application cycles the relay 50 times a day, divide 20,000 by 50 to get 400 days of expected life. If the required lifespan is shorter than your maintenance interval, upgrade to an SSR or a higher-rated industrial contactor.






