The Core Anatomy: Coil Side vs. Contact Side
At its most fundamental level, a relay is an electrically operated switch. It uses a low-power control circuit to magnetically actuate a high-power load circuit, providing complete galvanic isolation between the two. If you are asking what is relay technology good for, the answer is simple: it allows a fragile 3.3V microcontroller GPIO pin to safely switch a 120V AC mains heater or a 24V DC industrial solenoid without frying the silicon.
To wire one correctly, you must treat it as two entirely separate components sharing a single plastic housing.
The Coil Side (Control Circuit)
Typically labeled A1 and A2, the coil is an electromagnet. When you apply the rated voltage (e.g., 12VDC, 24VDC, or 120VAC), current flows through the copper windings, generating a magnetic field that pulls the armature.
The Contact Side (Load Circuit)
Labeled COM (Common), NO (Normally Open), and NC (Normally Closed). The COM terminal is your moving blade. When the coil is de-energized, COM rests against NC. When energized, the magnetic field pulls COM away from NC and slams it into NO. There is no electrical connection between the A1/A2 coil pins and the COM/NO/NC contact pins; they are isolated by air and plastic.
Decoding the Nameplate: Which Rating Column Governs Your Load?
The most common mistake hobbyists and junior technicians make is looking at the highest amperage printed on the relay casing (e.g., '10A 250VAC') and assuming it can switch any 10A load. That number almost always refers to a purely resistive load. If you switch a motor with it, the contacts will weld shut.
To select the right component, you must understand IEC utilization categories. Here is how to read the rating table on a datasheet for a standard component like the Omron LY2 or Finder 40 series.
| Parameter | Typical Rating (10A Relay) | Governing Standard |
|---|---|---|
| Coil Voltage | 12VDC, 24VDC, 120VAC | Manufacturer Spec |
| Resistive (AC-1 / DC-1) | 10A @ 250VAC / 10A @ 30VDC | IEC 60947-5-1 |
| Inductive (AC-15) | 3A @ 250VAC (cos φ = 0.4) | IEC 60947-5-1 |
| Motor (AC-3) | 1/3 HP @ 120VAC / 1/2 HP @ 240VAC | NEMA / IEC |
| Breaking Capacity | 30A (for 100 operations) | UL 508 |
Selection Decision Path by Load Type
Which rating column governs this load? Always default to the lowest applicable amperage rating that matches your load's electrical characteristics. Use this decision tree to derate your relay properly:
| Load Type | Examples | Governing Column | Derating Factor |
|---|---|---|---|
| Resistive | Space heaters, incandescent bulbs, power resistors | AC-1 / DC-1 | 100% of rated current |
| Inductive | Solenoids, contactor coils, transformers, valve actuators | AC-15 | 30% to 35% of rated current |
| Motor | Compressors, pumps, fans, conveyors | AC-3 (or check LRA) | 20% of rated current (must survive Locked Rotor Amps) |
| Capacitive | Switch-mode power supplies, LED drivers with large caps | Inrush Spec | Derate based on peak inrush, not steady-state |
Circuit Protection: Matching the Let-Through Energy
A relay's contacts are only as robust as the overcurrent protection upstream of them. Never treat fuses and breakers as interchangeable when protecting relay contacts. A 10A fast-acting fuse and a 10A miniature circuit breaker (MCB) have vastly different time-current curves.
If you use a standard thermal-magnetic breaker (B-curve or C-curve) on a highly inductive motor load, the inrush current might not trip the breaker instantly. This delay allows let-through energy (I²t) to exceed the relay's breaking capacity, causing the contacts to arc and melt together. For inductive loads, match the relay's breaking capacity to a breaker with a D-curve (designed for high magnetic inrush) or use a Class CC fast-acting fuse to ensure the protective device clears the fault before the relay contacts weld shut. Always consult the breaker's time-current curve chart to verify it trips before the relay's I²t limit is reached.
Bench Testing: How to Verify a Relay Dead and Live
Before soldering or wiring a relay into a panel, verify its health on the bench using a digital multimeter (DMM).
Dead Testing (Power Removed)
- Coil Continuity: Set your DMM to resistance (Ω). Probe A1 and A2. A 12VDC coil typically reads between 150Ω and 400Ω. A 120VAC coil will read much higher, usually 4kΩ to 10kΩ. If the meter reads 'OL' (Open Loop), the internal copper winding is burned and the relay is dead.
- NC Contact Check: With the coil de-energized, probe COM and NC. You should read less than 1.0Ω.
- NO Contact Check: Probe COM and NO. The meter must read 'OL'. If you read continuity here, the contacts are welded shut from a previous overload.
Live Testing (Under Load)
Apply the rated coil voltage. You should hear a distinct mechanical 'click'. To test the contacts under actual load, measure the AC or DC voltage directly across the COM and NO terminals while the load is running. A healthy relay will show a voltage drop of less than 50mV (0.05V). If you read > 0.5V across the closed contacts, the silver-alloy contact surfaces are pitted, oxidized, or carbonized, creating a dangerous high-resistance joint that will generate heat and melt the housing.
Repair vs. Replace: When to Swap the Component
Unlike massive industrial contactors (like an Allen-Bradley 100-C series) where you can replace the contact blocks and arc chutes, standard PCB and plug-in electromechanical relays are strictly replace-only components. Do not attempt to file down pitted contacts on a sealed 10A relay; removing the silver-nickel or silver-tin-oxide plating exposes the base metal, leading to rapid oxidation and immediate failure.
Replace the relay immediately if:
- The coil reads open (OL) on a multimeter.
- The NO contacts show continuity when the coil is de-energized (welded shut).
- The contact voltage drop exceeds 0.5V under nominal load.
- The plastic housing shows any signs of thermal warping or brown discoloration near the COM terminal.
Frequently Asked Questions
What is a relay used for in an Arduino or ESP32 circuit?
In microcontroller circuits, a relay acts as a galvanic isolation barrier. An ESP32 GPIO pin can only source about 40mA at 3.3V, which is insufficient to drive a 12VDC relay coil directly. You use a relay module (which includes an optocoupler or a driving transistor like a BC817) to allow the 3.3V logic signal to switch the transistor, which in turn powers the relay coil. This protects the expensive microcontroller from high-voltage transients on the mains side.
What is the difference between a relay and a solid state relay (SSR)?
A traditional electromechanical relay (EMR) uses physical moving metal contacts, while an SSR uses semiconductor switches (like TRIACs for AC or MOSFETs for DC) with no moving parts.
| Criteria | Electromechanical Relay (EMR) | Solid State Relay (SSR) |
|---|---|---|
| Switching Speed | Slow (5ms - 15ms bounce time) | Fast (Zero-cross or instant, <1ms) |
| On-Resistance | Very low (<50mΩ, minimal heat) | Higher (generates heat, needs heatsink) |
| Failure Mode | Usually fails open (safe) | Usually fails shorted (dangerous) |
| Best Use Case | Infrequent switching, high inrush motors | PWM heating control, high-cycle automation |
What is a relay switch and why does it need a flyback diode?
A relay switch is simply the physical COM/NO/NC contact mechanism. However, the coil that drives that switch is an inductor. When you remove power from an inductor, the magnetic field collapses rapidly, inducing a massive reverse voltage spike (often hundreds of volts) to keep current flowing. A flyback diode provides a safe, localized recirculation path for this current to dissipate as heat, protecting your driving transistors and microcontrollers from catastrophic overvoltage failure.






