A relay works as a switch by using a low-power electromagnetic coil to generate a magnetic field that physically pulls a metal armature, closing or opening a separate high-power contact circuit. To use a relay as a switch for a 120V AC, 10A resistive load, you need a relay with a 120V AC coil (or a DC coil if using a transistor driver) and a contact rating of at least 10A at 120V AC resistive. For inductive loads like motors, you must derate the contact capacity by at least 50% or select a relay specifically rated for motor switching (FLA/LRA ratings). Assuming standard 30°C ambient temperature and copper conductors, this guide provides the exact decision paths to size, wire, and test your relay without burning up your contacts.

The Two Sides of a Relay: Coil vs. Contact Wiring

Every electromechanical relay has two completely isolated circuits: the control side (coil) and the load side (contacts). Understanding this isolation is the core of how a relay works as a switch to protect low-voltage microcontrollers from high-voltage mains.

The Coil Side (Control Circuit)

The coil is an inductor made of thousands of turns of fine copper wire. When you apply the rated voltage (e.g., 12V DC or 120V AC) across the coil terminals (typically labeled A1 and A2, or pins 2 and 7 on a 14-pin socket), current flows and creates a magnetic field. This field pulls the steel armature against the spring tension. The coil draws very little current—usually between 20mA and 50mA—making it safe to drive via a bipolar junction transistor (like a 2N2222) or a dedicated relay driver IC.

The Contact Side (Load Circuit)

The contacts are the actual switches carrying your load current. They are typically labeled Common (COM), Normally Open (NO), and Normally Closed (NC). When the coil energizes, the COM terminal disconnects from NC and connects to NO. The contacts are rated for high current (10A to 30A) and are physically separated from the coil by an air gap or plastic barrier to maintain galvanic isolation.

CRITICAL DC COIL PROTECTION: If you are wiring a DC coil (e.g., 12V DC or 24V DC), you must wire a flyback diode (like a 1N4007) in reverse bias across the coil terminals (cathode to A1/positive, anode to A2/negative). When the coil de-energizes, the collapsing magnetic field generates a massive reverse voltage spike (inductive kickback). Without a flyback diode, this spike will instantly destroy your ESP32 GPIO pin or switching transistor. For AC coils, a flyback diode is not used; instead, an RC snubber network is sometimes placed across the contacts to suppress AC arcing.

Decoding Relay Ratings: Which Column Governs Your Load?

Reading a relay datasheet can be misleading if you look at the wrong column. A relay rated for '10A' might melt in seconds if used on a 10A motor. Here is the standard rating table you will find on a datasheet (referencing the industry-standard Omron General Purpose Relay Precautions):

Parameter Typical Specification What It Actually Means
Coil Voltage 12V DC, 24V AC/DC, 120V AC The exact voltage required to pull in the armature. Must be within ±10% of nominal.
Contact Rating (Resistive) 10A at 250V AC Maximum current for purely resistive loads (heaters, incandescent bulbs). Current is steady state.
Contact Rating (Inductive/Motor) 3A at 250V AC / 1/2 HP The governing rating for motors, solenoids, and transformers. Accounts for massive inrush currents and inductive arcing upon break.
Breaking Capacity 30A make / 10A break The maximum fault or inrush current the contacts can safely interrupt without welding shut.

Which Rating Column Governs This Load?

The Inductive/Motor column governs your selection if your load contains a coil, winding, or compressor. Never use the resistive column for a motor. When a motor starts, it draws Locked Rotor Amps (LRA), which can be 600% of its running current. Furthermore, when you open the relay contacts to stop an inductive load, the magnetic field collapses and creates an electrical arc across the opening contacts. This arc pits and degrades the silver-alloy contact material. Therefore, a '10A resistive' relay is typically only rated for 3A inductive.

Load Selection Decision Tree: Picking the Right Relay

Use this decision path to select the correct relay architecture based on your specific load type. This terminates in a concrete part number to eliminate guesswork.

Load Type Inrush Factor Contact Derating Required Concrete Part Pick
Resistive (Space heater, water heater element) 1x (No inrush) 0% (Use nominal rating) Omron G2R-1-E (10A resistive rated)
Inductive (Solenoid valve, contactor coil) 5x to 10x 70% derating required Schneider Electric RXM4AB2BD (with RC snubber module)
Motor (HVAC compressor, well pump) 6x (LRA surge) Must use HP/FLA rated contacts Omron G7J-4A-B (25A heavy-duty motor rated)
Electronic/SMPS (LED drivers, PC power supplies) 20x to 50x (Capacitive inrush) Must use high inrush capable contacts Omron G5Q-1A (Specifically rated for high inrush TV-15)
Pro-Tip for Capacitive Loads: Switching Mean Well LED drivers or server power supplies causes a massive capacitive inrush that can micro-weld standard relay contacts shut on the very first cycle. Always look for 'TV-15' or 'High Inrush' ratings on the datasheet when switching switch-mode power supplies.

Testing and Diagnostics: Dead vs. Live Checks

When a circuit fails, you need to know if the relay is the culprit. Follow these diagnostic steps using a standard digital multimeter (DMM). For deeper diagnostic theory, refer to standard Macromatic relay testing procedures.

Dead Testing (Power OFF and Locked Out)

Safety First: De-energize the panel, lock out the breaker, and verify zero voltage with a non-contact tester and DMM before touching terminals.

  1. Test the Coil: Set your DMM to Ohms (Ω). Place probes on A1 and A2. A healthy 12V DC coil will typically read between 100Ω and 400Ω. A 120V AC coil will read much higher (e.g., 2,000Ω to 5,000Ω). If you read 'OL' (Open Loop), the internal coil wire is broken. If you read 0.0Ω, the coil is shorted. In either case, the relay is dead.
  2. Test the Contacts (Unenergized): Set DMM to continuity or Ohms. Measure COM to NC. You should read less than 0.5Ω. Measure COM to NO. You should read 'OL' (infinite resistance).

Live Testing (Power ON - Extreme Caution)

Only perform live testing if you are qualified to work near exposed mains voltage. Use properly rated CAT III/IV test leads.

  1. Verify Coil Voltage: Set DMM to AC or DC Volts. Measure across A1 and A2 while the circuit is commanded 'ON'. The voltage must be within ±10% of the coil's nominal rating. A 24V DC coil receiving only 18V will chatter, overheat, and burn out.
  2. Measure Contact Voltage Drop: This is the ultimate test of contact health. With the relay energized and the load running, measure the DC or AC voltage directly across the closed contacts (e.g., from COM to NO). A healthy relay will drop less than 0.1V. If you read 0.5V or higher across a contact carrying 10A, that contact is dissipating 5 watts of heat (P = V × I). The contacts are pitted, degraded, and generating enough heat to melt the plastic socket.

Repair vs. Replace: When to Toss the Relay

Electromechanical relays are consumable components. The mechanical spring and the contact plating have a finite lifespan, usually rated between 100,000 and 500,000 electrical operations. Knowing when to repair the circuit versus replacing the relay saves time and prevents fires.

When to Replace the Relay

  • High Voltage Drop: As noted above, a voltage drop >0.2V under load indicates pitted contacts. Replace immediately.
  • Welded Contacts: If the relay drops out (coil de-energizes) but the load stays on, the contacts have micro-welded together due to arcing. This is a critical failure. Replace the relay and investigate if the load inrush exceeded the breaking capacity.
  • Burnt Smell / Discoloration: If the plastic casing is brown or smells of ozone and burnt phenolic resin, the coil has overheated or an internal arc has occurred.

When to Repair (And What NOT to Do)

You can 'repair' a relay circuit by replacing external accessories: swap out a blown flyback diode, replace a melted DIN-rail socket, or re-torque loose terminal screws (which often cause high-resistance heating that mimics a bad relay).

Never attempt to file or sandpaper relay contacts. Some hobbyists open the relay casing and file down pitted contacts to 'restore' them. This removes the microscopic layer of silver-tin oxide or silver-cadmium plating. Once you file through this plating to the base brass or copper, the contact will oxidize rapidly, lose conductivity, and weld shut on the next switching cycle, creating a severe fire hazard.

The Default Recommendation

For 90% of DIY control panels, home automation interfaces, and light industrial builds under 10A, standardizing on the Omron G2R series (specifically the G2R-2-E DPDT relay paired with a PYF14A DIN socket) is the definitive choice. It provides a transparent test lever for manual actuation during troubleshooting, clear printed contact ratings, and universal socket compatibility. For heavy motor loads exceeding 10A, bypass standard plug-in relays and step up to the Omron G7J series or use the relay to switch a heavy-duty contactor.