The fundamental relay function is to act as an electrically operated switch where a low-power control circuit (the coil) magnetically isolates and actuates a high-power load circuit (the contacts). Whether you are switching a 12V DC solenoid valve from an ESP32 GPIO pin or latching a 240V AC compressor motor via a thermostat, getting the electromechanical interface right prevents welded contacts, fried microcontrollers, and arc fires.
This guide skips the abstract physics and goes straight to the workbench: how to wire the two isolated sides, how to read the derating tables for inductive loads, and how to test a suspect component with a multimeter.
The Core Relay Function: Coil vs. Contact Wiring
A standard electromechanical relay has two completely isolated circuits. The coil side (typically pins A1 and A2 on industrial sockets, or the two outer pins on a PCB relay) creates the magnetic field. The contact side (Common, Normally Open, Normally Closed) carries the load current. They share no electrical connection, which is the entire point of using a relay for galvanic isolation.
Wiring the Coil Side (and the DC Flyback Rule)
When wiring the coil, you must match the control voltage. A 12V DC coil typically draws 30mA to 40mA. If you are driving this from a microcontroller like an Arduino or ESP32 (which can only source ~20mA per pin at 3.3V/5V), you must use a driver. A logic-level MOSFET like the IRLZ44N or a Darlington array like the ULN2003 is standard practice.
Wiring the Contact Side
Always switch the hot/line conductor, never the neutral or ground. Wire the Line into the Common (COM) terminal, and run your load from the Normally Open (NO) terminal. Use ferrules on stranded wire before terminating in screw sockets to prevent stray strands from causing short circuits.
Decoding the Datasheet: Which Rating Column Governs Your Load?
The most common mistake makers and junior techs make is looking at the headline "10A" rating on an Omron G2R or Finder relay and assuming it can switch any 10A load. Relay contacts are rated by load type because the arc generated when breaking the circuit varies wildly.
| Rating Parameter | Typical Value (e.g., Omron G2R-1-E) | What It Actually Means |
|---|---|---|
| Coil Voltage | 12VDC / 120VAC | Must operate between 85% and 110% of nominal. |
| Resistive Contact Rating | 10A @ 250VAC | Heaters, incandescent bulbs. No inrush, no inductive kick. |
| Inductive / Motor Rating | 3A @ 250VAC (or 1/4 HP) | Motors, transformers, solenoids. High inrush, high break-arc. |
| Breaking Capacity (Max) | 5,000 VA | Absolute maximum voltage x current the contacts can extinguish. |
Selection Decision Path by Load Type
When sizing a relay, use this decision tree to determine which rating column governs your load:
| Load Type | Inrush Characteristic | Governing Rating Column | Derating Rule / Action |
|---|---|---|---|
| Resistive (Heaters, Resistors) | None (Steady state) | Resistive AC/DC Rating | Use 80% of max rating for continuous duty (e.g., 8A on a 10A relay). |
| Inductive (Solenoids, Contactors) | Moderate break-arc | Inductive Rating (L/R time constant) | Derate to 30% of resistive rating. Add an RC snubber across the load. |
| Motor (Pumps, Compressors, Fans) | Massive inrush (6x-10x FLA) | Motor HP or LRA (Locked Rotor Amps) | Never use standard resistive rating. Relay must be explicitly rated for the motor's HP or FLA/LRA. |
| Lamp / Capacitive (LED drivers, SMPS) | High inrush (charging caps) | Tungsten / Ballast Rating | Derate to 20% of resistive rating to prevent contacts welding shut on startup. |
Bench Testing: Dead and Live Diagnostics & Repair vs. Replace
Relays are mechanical wear items. The contacts pit from arcing, and the coil wire can degrade. Here is how to test them on the bench.
Dead Testing (Power Off & Isolated)
- Coil Resistance: Set your multimeter (e.g., Fluke 87V) to Ohms. Measure across A1 and A2. A 12VDC coil should read between 100Ω and 400Ω. A 120VAC coil will read much higher (often >10kΩ). If it reads OL (open) or 0.0Ω (shorted), the coil is dead.
- Contact Continuity: Measure across COM and NC. It should read < 1Ω. Use a relay tester or apply a bench power supply to the coil to hear the click, then measure COM to NO. It should also read < 1Ω.
Live Testing (Energized and Under Load)
Dead tests miss the most common failure mode: pitted contacts that pass a multimeter's 1mA test current but fail under a 5A load.
- Coil Voltage Drop: With the circuit active, measure DC or AC voltage directly across A1 and A2. It must be at least 85% of the nominal coil voltage. If a 12V relay is only seeing 9V, it may chatter or fail to pull in fully, causing the contacts to overheat.
- Contact Voltage Drop (The Real Test): With the relay energized and the load running, switch your meter to millivolts (mV). Measure directly across the COM and NO terminals. A healthy contact pair will drop less than 50mV. If you read >100mV, the contacts are pitted and generating excess heat. If you read line voltage across closed contacts, they are welded open or mechanically jammed.
When to Repair vs. Replace
For standard PCB or plug-in DIN rail relays (like the $5 to $15 Omron, Schneider, or Finder models), always replace. Never open a sealed relay to file down pitted contacts; you will destroy the gas-filled arc-quenching environment and alter the contact pressure. The only scenario where "repair" is viable is with large, expensive ($200+) IEC-style industrial contactors (e.g., Schneider TeSys or Allen-Bradley 100-C), where you can legally and safely swap out the arc chutes and main contact pads.
Frequently Asked Questions About Relay Function
How does a relay function differently from a solid-state relay (SSR)?
An electromechanical relay uses a physical copper contact that provides near-zero voltage drop when closed, dissipating almost no heat. A Solid State Relay (SSR) uses a TRIAC or MOSFET to switch the load. While SSRs switch infinitely faster and have no moving parts, they suffer from a forward voltage drop (typically 1V to 1.5V). At 10A, an SSR dissipates 10 to 15 watts of heat, requiring a substantial heatsink, whereas an electromechanical relay dissipates less than a watt. Choose electromechanical for high-current, low-duty-cycle applications; choose SSRs for high-speed PWM or frequent switching.
Why does my relay function fail when switching a very small load like a 5mA LED indicator?
This is a classic failure caused by ignoring the wetting current specification. Electromechanical relay contacts develop a thin layer of oxidation over time. Switching a high current (like a 5A motor) creates a micro-arc that burns off this oxidation (wetting the contact). If you only switch a 5mA logic-level LED, the current is too low to break through the oxidation layer, resulting in an open circuit despite the relay physically clicking. For loads under 10mA, use gold-flashed contacts (specifically designed for low-level logic) or a solid-state optocoupler. For deeper insights on low-level switching, refer to the Electronics Tutorials guide on relay switching.
How does the relay function interact with fuses and breakers during a short circuit?
This is where understanding the breaking capacity of the relay versus the clearing time of your protective device is critical. You cannot treat fuses and circuit breakers as interchangeable here. A standard thermal-magnetic Miniature Circuit Breaker (MCB) has a time-current curve; under a massive short circuit, its magnetic trip might take 10 to 20 milliseconds to clear the fault. If your relay has a low breaking capacity (e.g., 1,000A) and the available fault current on the line is 5,000A, the relay contacts will vaporize before the breaker trips. Conversely, a High Rupturing Capacity (HRC) fuse clears the same fault in microseconds (< 1ms). When coordinating protection, if the available fault current exceeds the relay's breaking capacity, you must use current-limiting fuses upstream, not just standard breakers, to ensure the fault is cleared before the relay destroys itself. For detailed coordination metrics, consult Macromatic's technical literature on contact ratings.






