If you are staring at a workbench covered in components and wondering what does a relay look like, the direct answer is that it typically resembles a small, sealed plastic or metal block with protruding metal pins or spade lugs. However, visually identifying a relay requires looking past the outer shell to understand its two isolated halves: the electromagnetic coil and the mechanical switch contacts. While solid-state relays (SSRs) look like flat pucks or inline blocks, standard electromechanical relays (EMRs) are the clicking, physical switches that dominate control panels, automotive harnesses, and DIY microcontroller projects.
Visual Identification: Form Factors and Pinouts
Relays come in three primary physical form factors on the bench. Recognizing these shapes tells you immediately how they mount and what kind of currents they handle.
- PCB Mount (The 'Blue Cube'): The most common relay in Arduino and ESP32 projects is the Songle SRD-05VDC-SL-C. It looks like a small, opaque blue or black plastic cube roughly 19mm x 15mm x 15mm, with five thin metal pins protruding from the bottom designed to solder directly into a printed circuit board.
- Ice Cube (Plug-in): The Omron LY2N or MY2N series looks like a clear, rectangular plastic block about the size of a matchbox, mounted on a socket with screw terminals or solder lugs. The clear case lets you see the physical armature move. They typically feature 8 or 14 pins arranged in a specific pattern to prevent reverse insertion.
- Automotive (ISO Mini): These look like chunky, black plastic cubes (roughly 25mm x 25mm x 20mm) with massive 6.3mm (1/4-inch) spade lugs on the bottom. They are designed to plug into ruggedized fuse-box sockets and handle high inrush currents for fuel pumps and cooling fans.
The Spec Sheet: Decoding Coil and Contact Ratings
Knowing what a relay looks like is only half the battle; reading its datasheet is where mistakes happen. A relay has two completely separate electrical ratings: the coil (what voltage activates it) and the contacts (what load it can switch). Below is a data-dense specification table comparing three bench-standard relays.
| Model / Type | Coil Voltage | Coil Resistance | Contact Config | Max Resistive Load | Max Inductive / Motor Load | Breaking Capacity |
|---|---|---|---|---|---|---|
| Omron G2R-1-E (PCB) | 12V DC | 277 Ω | SPDT (Form C) | 16A @ 250VAC | 5A @ 250VAC (cos φ=0.4) | 4000 VA |
| Omron LY2N (Ice Cube) | 24V DC | 650 Ω | DPDT (Form C) | 10A @ 240VAC | 5A @ 240VAC (cos φ=0.4) | 2400 VA |
| Bosch JD1914 (Auto) | 12V DC | 75 Ω | SPDT (Form C) | 30A @ 14VDC | 15A @ 14VDC (Motor) | 420 W (DC) |
| Songle SRD-05VDC (Hobby) | 5V DC | 70 Ω | SPDT (Form C) | 10A @ 250VAC | Not Rated (Resistive Only) | 2500 VA |
Which rating column governs your load? This is the most critical question in relay selection. If you are switching a heating element (resistive), the 'Max Resistive Load' column governs. However, if you are switching a solenoid, transformer, or motor, the resistive column is dangerously misleading. You must look at the 'Inductive' (often noted with a power factor like cos φ=0.4 or AC-15) or 'Motor' column. Inductive loads generate massive voltage spikes upon breaking, and motors draw 6x their running current on startup. A relay rated for 16A resistive might weld its contacts shut if used to switch a 10A motor.
Wiring the Beast: Coil vs. Contact Side & Flyback Protection
A standard SPDT (Single Pole, Double Throw) relay has five active pins. You must wire the control circuit to the coil and the load circuit to the contacts, maintaining total galvanic isolation between the two.
- The Coil Side: On PCB relays, these are the two pins furthest from the switch pins. On automotive relays, they are pins 85 and 86. On ice-cube relays, they are typically A1 and A2 (or pins 7 and 8 on an 8-pin base). Polarity usually does not matter for DC coils unless an internal suppression diode is factory-installed.
- The Contact Side: These are the Common (COM or pin 30), Normally Open (NO or pin 87), and Normally Closed (NC or pin 87a) terminals. Power enters the COM pin and is routed to either NO or NC depending on whether the coil is energized.
When you de-energize a DC relay coil, the collapsing magnetic field generates a massive reverse-voltage spike (inductive kickback) that can instantly destroy your driving transistor, ESP32 GPIO pin, or Arduino. You must wire a flyback diode (like a 1N4007) in reverse-bias across the coil pins. Connect the diode's cathode (stripe) to the positive coil pin and the anode to the negative/ground pin. This clamps the spike to a safe ~0.7V.
Selection Decision Path: Matching the Relay to Your Load
Do not blindly trust the amperage printed on the top of the relay case. That number almost always assumes a purely resistive load in a perfect ambient temperature. Use this decision tree to select the right relay based on your specific load type.
| Load Type | Examples | Governing Rating Column | Inrush Factor | Relay Selection Rule |
|---|---|---|---|---|
| Resistive | Heaters, Incandescent Bulbs | Max Resistive Load (AC-1 / DC-1) | 1.0x (None) | Select a relay where the max resistive rating exceeds your steady-state current by 20%. |
| Inductive | Solenoids, Contactors, Valves | AC-15 / DC-13 Rating | 1.5x to 2.0x | Derate the relay's resistive max by 50%. Ensure the relay has a high DC breaking voltage rating. |
| Motor | Compressors, Fans, Pumps | Motor Rating (HP or LRA) | 6.0x (LRA) | The relay MUST explicitly state a Horsepower (HP) or Locked Rotor Amps (LRA) rating. Never use a 'resistive only' hobby relay for a motor. |
| Capacitive | LED Drivers, Switching PSUs | TV-5 or Tungsten Rating | 10x to 20x | Look for relays specifically rated for 'Tungsten' or 'Ballast' loads to survive the initial capacitor charging surge. |
For deeper theoretical background on how electromagnetic fields actuate the armature in these components, the All About Circuits textbook chapter on relays provides excellent foundational physics. Additionally, Electronics-Tutorials offers great visual breakdowns of the internal contact configurations (Form A, Form B, Form C).
Bench Testing & Triage: Dead/Live Tests and When to Replace
When a circuit fails, you need to know if the relay is the culprit. Here is how to test it on the bench, followed by the golden rule of relay maintenance.
Dead Testing (Power Off)
Set your multimeter to resistance (Ohms). Measure across the coil pins. A 12V automotive relay should read between 60 and 90 ohms. A 24V ice-cube relay should read 500 to 800 ohms. If your meter reads 'OL' (Open Line), the internal coil wire has snapped; the relay is dead. Next, test the contacts: place probes on COM and NC. It should read < 1 ohm. Place probes on COM and NO; it should read 'OL'. If NO shows continuity while de-energized, the contacts have welded shut.
Live Testing (Power On)
Apply the rated coil voltage (e.g., 12VDC to pins 85/86). You should hear a distinct mechanical click. To test the contacts under load, wire a known load through the COM and NO pins. While the load is running, use your multimeter set to DC millivolts to measure the voltage drop directly across the closed contacts (probe the COM terminal and the NO terminal). A healthy relay will show a drop of less than 50mV. If you read >100mV, the contacts are pitted, oxidized, or carbon-fouled, and the relay is dropping voltage and generating heat.
When to Repair vs. Replace
The golden rule of modern electromechanical relays under 30A is: never repair, always replace. A standard Omron or Bosch relay costs between $3 and $12. Some technicians attempt to open the plastic case and file down pitted or welded contacts with sandpaper. This is a severe fire hazard. The contact surfaces are plated with specialized alloys (like silver tin oxide or silver cadmium oxide) designed to quench arcs; this plating is only microns thick. Filing it off exposes the base brass or copper, which will rapidly oxidize, weld shut on the next cycle, and potentially cause a thermal runaway.
The only exception to the replace rule is heavy industrial contactors (e.g., Allen-Bradley or Schneider Electric units rated for 100A+). In those systems, you can replace the physical contact blocks, arc chutes, and coils individually because the components are modular and the maintenance cost justifies the labor. But for the PCB, ice-cube, and automotive relays sitting on your bench, a failure means the unit goes in the bin and a fresh part goes in the socket.






