A relay is an electrically operated switch that uses a low-power control signal to operate a high-power electrical load. At its core, it provides galvanic isolation: the control circuit (like a 3.3V ESP32 GPIO or a 12V thermostat) is physically and electrically separated from the load circuit (like a 120V AC compressor or a 24V DC solenoid valve). When current flows through the relay’s internal electromagnet, it generates a magnetic field that pulls a spring-loaded metal armature, closing or opening a set of physical contacts to switch the load.
While solid-state relays (SSRs) use semiconductors to switch loads, traditional electromechanical relays (EMRs) rely on physical moving parts. This mechanical action makes them robust, cheap, and capable of switching both AC and DC, but it also introduces specific failure modes like contact arcing and mechanical wear that you must account for in your design.
Decoding Relay Ratings: Coil vs. Contact Specifications
The most common mistake makers and junior technicians make is misreading the relay’s current rating. A relay has two entirely separate specifications: the coil rating (what you need to activate the magnet) and the contact rating (what the physical switch can handle).
When asking which rating column governs your load, the answer is always the contact rating for your specific load type. Manufacturers print the highest possible number on the box—usually the 'Resistive AC' rating. However, if you are switching a motor or a DC load, that 16A rating might drop to 3A or even 500mA. Inductive loads generate massive inrush currents and sustain electrical arcs when the contacts open, severely degrading the relay's capacity.
| Part Number | Coil Voltage / Resistance | Max Resistive (AC) | Motor / Inductive Rating | DC Breaking Capacity |
|---|---|---|---|---|
| Omron G2R-1-E-DC12 | 12V DC / 274 Ω | 16A @ 250VAC | 16A (Special high-inrush) | 10A @ 24VDC |
| Finder 40.52.9.012.0000 | 12V DC / 115 Ω | 8A @ 250VAC | 3A @ 250VAC | 5A @ 24VDC |
| Song Chuan 833F-1C-C-12VDC | 12V DC / 400 Ω | 20A @ 250VAC | 10A @ 125VAC | 15A @ 14VDC |
| TE Connectivity OJE-SS-112DMF | 12V DC / 320 Ω | 10A @ 277VAC | 1/3 HP @ 120VAC | Not Recommended |
As shown in the table above, a relay like the TE Connectivity OJE series is excellent for AC resistive loads but lacks the contact mass and arc-chute geometry to safely break DC currents. Always consult the manufacturer's datasheet (such as the Omron Relay Basics guide) for the exact derating curves.
Wiring the Control and Load Sides (And Protecting the Coil)
Wiring a standard 5-pin relay involves two distinct circuits. The coil side typically uses pins 2 and 5 (or terminals A1 and A2 on industrial DIN-rail relays). The contact side uses the Common (COM/C), Normally Open (NO), and Normally Closed (NC) pins.
When you de-energize a DC relay coil, the collapsing magnetic field induces a massive reverse voltage spike ($V = -L \frac{di}{dt}$). This spike can easily exceed 100V, instantly destroying the driving transistor (like a 2N2222) or frying a microcontroller GPIO. You must wire a flyback diode (e.g., 1N4007) in reverse bias across the coil pins (cathode to the positive supply). Alternatively, use a driver IC like the ULN2003, which includes internal clamp diodes.
For the load side, wire your power source to the COM pin, and your load to the NO pin if you want the device to turn on when the relay is energized. Use the NC pin if the device should remain on until the relay is triggered. When switching AC mains, ensure your wire gauges match the load current and that all connections are torqued to spec to prevent terminal heating.
Polarity matters on the coil side only if the relay has a built-in suppression diode or an LED indicator. If it is a bare DC coil, you can wire A1 and A2 in either direction. AC coils (like a 24VAC HVAC contactor) do not have polarity.
Selection Decision Path: Matching Relays to Load Types
Selecting the right relay requires understanding the physics of your load. All About Circuits notes that AC arcs naturally extinguish 120 times a second (on a 60Hz grid) as the voltage crosses zero. DC arcs, however, do not cross zero and will sustain a plasma bridge across opening contacts, melting the silver-alloy contact pads and eventually welding them shut.
| Load Type | Inrush Multiplier | Arcing Risk | Required Relay Spec | Example Application |
|---|---|---|---|---|
| Resistive | 1x (None) | Low | Standard AC/DC rating | Heaters, incandescent bulbs |
| Inductive | 3x to 6x | High (Break) | High inrush / Inductive rating | Solenoids, transformers, chokes |
| Motor | 6x to 10x | Extreme | HP (Horsepower) or FLA/LRA rating | Compressors, fans, pumps |
| Capacitive | 20x to 40x | High (Make) | High make-capacity / Tungsten rating | LED drivers, SMPS power supplies |
If you are switching a 5A inductive load, do not buy a 5A relay. Apply a derating factor of at least 30-50%, or select a relay specifically rated for 'Motor Loads' which features heavier contact pads and stronger spring tension to snap the contacts open quickly and break the arc.
Testing, Troubleshooting, and When to Replace
When a circuit fails, the relay is often the prime suspect due to its mechanical nature. Here is how to test it properly on the bench or in the panel.
Testing Dead (De-energized)
Remove the relay from the circuit or ensure the panel is locked out and verified dead. Set your multimeter to the Ohms (Ω) setting.
- Coil Test: Measure across the coil pins (A1/A2). You should read a specific resistance matching the datasheet (e.g., ~274Ω for a 12V Omron G2R). If it reads OL (open), the internal coil wire is broken. If it reads 0.0Ω, the coil is shorted.
- Contact Test: Measure across COM and NC. It should read less than 1Ω. Measure across COM and NO. It should read OL. If COM to NO reads a low resistance while de-energized, the contacts have welded shut from arcing—a critical failure mode that leaves the load permanently energized.
Testing Live (Energized)
Apply the rated coil voltage. You should hear a distinct, sharp mechanical 'click'. If the relay chatters or hums loudly (especially on AC coils), the armature is obstructed, the voltage is too low, or the shading ring (a copper loop on the AC core that prevents chatter) is cracked.
With the coil energized, use a multimeter set to AC or DC Voltage to measure across the COM and NO terminals while the load is connected. You should read near-zero voltage drop. If you read significant voltage across the closed contacts, the contact surfaces are pitted and carbonized, introducing dangerous resistance and heat.
Repair vs. Replace
Never attempt to repair an electromechanical relay. Unlike a fuse or a breaker, a relay's internal geometry is precision-calibrated. Filing down pitted contacts removes the silver-nickel plating, exposing the base brass or copper, which will oxidize rapidly and fail catastrophically. Spring tension cannot be reliably restored once it has fatigued from thermal cycling. When a relay fails a contact resistance test or shows signs of thermal discoloration on the PCB pins, desolder it and replace it with an exact-match or upgraded equivalent.






