What Actually Happens Inside a Relay
A relay is an electrically operated switch that uses a low-power control circuit to manage a high-power load circuit, keeping the two electrically isolated. When you look inside a relay, the core mechanism consists of three main components: an electromagnetic coil wound around an iron core, a movable iron armature, and a set of spring-loaded electrical contacts.
When current flows through the coil, it generates a magnetic field. This flux pulls the armature against the tension of a return spring. The armature is mechanically linked to the movable contact, forcing it to bridge the Normally Open (NO) terminal or break away from the Normally Closed (NC) terminal. When the coil is de-energized, the spring rapidly snaps the armature back. This snap-action is critical: it minimizes the time the contacts spend in the 'arcing zone' as they separate, reducing contact pitting and welding.
Decoding the Rating Table: Coil vs. Contact Side
The most common mistake makers and junior technicians make is confusing the control side with the load side. To answer the fundamental question: the coil rating governs the control circuit, while the contact rating governs the load circuit. They are entirely separate specifications.
| Parameter | Coil Side (Control) | Contact Side (Load) |
|---|---|---|
| Voltage | Max continuous voltage to energize the magnet (e.g., 24VDC, 120VAC). | Max switching voltage (e.g., 250VAC, 30VDC). DC breaking is harder than AC. |
| Current | Determined by coil resistance (typically 20mA to 100mA). | Max continuous thermal current (e.g., 10A, 16A) and max inrush current. |
| Breaking Capacity | N/A (Diodes handle coil kickback). | Max load the contacts can safely interrupt without welding (e.g., 2500VA). |
| Insulation | Dielectric strength between coil and core (typically 2000VAC+). | Dielectric strength between open contacts (typically 1000VAC+). |
A relay stamped '10A' is rarely 10A for every load. According to Macromatic's relay application guides, a 10A resistive rating might drop to 3A for a motor load due to inrush currents. Always check the specific load column on the manufacturer's datasheet.
Wiring the Coil and Contacts (With DC Flyback Protection)
Wiring a relay requires treating it as two separate components sharing a plastic housing.
The Contact Side (Load)
Wire your power source (Line) to the Common (C or COM) terminal. Wire your load to either the NO (Normally Open) or NC (Normally Closed) terminal. For safety-critical applications, wire the load to the NO terminal so the device defaults to 'off' if the relay coil loses power or the control circuit fails.
The Coil Side (Control) and the DC Flyback Diode
If you are driving a DC coil with a transistor (like a 2N2222 BJT or an IRLZ44N MOSFET) from an ESP32 or Arduino, you must install a flyback diode. A coil is an inductor. When the transistor switches off, the collapsing magnetic field induces a massive reverse voltage spike ($V = -L \frac{di}{dt}$) that can easily reach hundreds of volts, instantly destroying your silicon driver.
The Fix: Wire a standard rectifier diode (like a 1N4007) in reverse parallel across the coil terminals. Connect the diode's cathode (stripe) to the positive coil terminal and the anode to the negative/ground terminal. The diode remains reverse-biased during normal operation but safely clamps the inductive spike when the coil is switched off. If using an AC coil, a flyback diode will short out the AC; instead, use an RC snubber network across the contacts if arc suppression is needed.
Selection Decision Path: Matching Load to Relay Type
Do not default to a 'general purpose' relay for every application. Use this decision tree to select the correct component based on your specific load physics.
| Load Type | Physics & Hazard | Relay Selection Rule | Concrete Part Pick |
|---|---|---|---|
| Resistive (Heaters, incandescent bulbs) | Steady current. Inrush is minimal (1x to 1.5x steady state). | Standard General Purpose (GP) relay. Match the nominal continuous current rating. | Omron G2R-1-E (24VDC) 16A at 250VAC. |
| Inductive (Solenoids, transformers, contactor coils) | High inrush (5x-10x steady state) and severe DC arcing on break. | Select a relay with a high DC breaking capacity, or add an RC snubber across the load. | Finder 40.52 (24VDC) Heavy-duty contacts, good DC break rating. |
| Motor (Compressors, fans, pumps) | Locked Rotor Amps (LRA) can be 6x Full Load Amps (FLA). High starting torque causes contact bounce. | Calculate LRA. If LRA > 10A, abandon standard PCB/DIN relays. Use a Definite Purpose Contactor. | Eaton C25DND230 (24VAC coil) 30A inductive, 3HP rating. |
The Default Recommendation: For 90% of DIY home automation, ESP32/Arduino projects, and light industrial DIN-rail tasks switching resistive or light inductive loads under 10A, standardize on the Omron G2R-1-E DC24. It features a robust 16A contact rating, a sealed plastic housing to keep out flux and dust, and a widely available socket footprint. If your load involves a motor drawing more than 1.5A continuous, skip the G2R and buy the Eaton C25 series contactor.
Testing and Troubleshooting: Dead, Live, and When to Replace
Relays fail in two primary ways: the coil burns open, or the contacts pit and weld. Here is how to diagnose both states on the bench.
Testing Dead (Power Removed)
- Coil Test: Set your multimeter to the Ohms (Ω) setting. Place probes across the coil pins (A1 and A2). A healthy 24VDC coil typically reads between 150Ω and 600Ω (Power = V²/R; 24² / 400Ω ≈ 1.4W). If it reads 'OL' (open), the internal winding is burned. If it reads 0.0Ω, it is shorted.
- Contact Test: Switch the meter to Continuity or low-Ohms. Measure Common to NC: it should beep and read < 0.5Ω. Measure Common to NO: it should read 'OL'. If NO reads a low resistance while de-energized, the contacts have welded shut from a previous over-current event.
Testing Live (Energized)
- Apply the rated coil voltage. You should hear a crisp, solid 'click' (or a quiet hum for AC relays).
- With the load connected and running, set your multimeter to AC or DC Voltage. Place the probes directly across the Common and NO terminals. A healthy closed contact will drop less than 0.1V. If you read 2V, 5V, or more across the closed contacts, the silver alloy plating is severely pitted, creating a high-resistance bottleneck that will eventually melt the relay housing.
When to Repair vs. Replace
Never attempt to repair a relay. Some older maintenance guides suggest 'filing down' pitted contacts to restore conductivity. This is dangerous. Modern relay contacts are plated with specific alloys like silver tin oxide (AgSnO2) or silver cadmium oxide to resist welding and arc erosion. Filing the contacts removes this microscopic plating, exposing the base metal, which will rapidly oxidize and weld shut on the next high-inrush cycle, potentially causing a fire. When a relay fails a dead test, drops excessive voltage under load, or shows heat discoloration on the plastic casing, throw it in the e-waste bin and socket a new one.
For deeper theory on electromechanical switching and arc suppression physics, refer to the All About Circuits industrial control textbook. Always verify your final selection against the specific datasheet for your exact part number and ambient temperature derating curves.






