Electromagnetic Relay Diagram

Electromagnetic Relay Diagram — circuit diagram showing component connections+-12V SupplyControl SwitchKRelay CoilFlyback DiodeRelay Contact (NO)Lamp (Load)Relay Control CircuitFlyback diode protects coilNO contact closes when coil energized
Electromagnetic Relay Diagram — interactive diagram. Open it in the editor to customise components and wiring.

This is a free printable electromagnetic relay diagram: download the diagram as SVG or open it and print to paper or PDF.

An electromagnetic relay diagram shows how a low-power control signal energises a coil to mechanically switch a separate, higher-power circuit — keeping the two circuits electrically isolated.

An electromagnetic relay is an electrically operated switch. It consists of an electromagnet (a coil wound around an iron core), a movable armature, one or more sets of contacts, and a return spring. When current flows through the coil, the resulting magnetic field attracts the armature, which physically moves the contacts from their resting (de-energised) position to the operated position. When coil current stops, the spring returns the armature and contacts to their original state.

Relay contacts are described in terms borrowed from manual switches. Normally open (NO) contacts are open when the coil is de-energised and close when it is energised. Normally closed (NC) contacts do the opposite. A relay with one common (COM), one NO, and one NC contact is called a single-pole double-throw (SPDT) relay. Double-pole double-throw (DPDT) relays provide two independent switched circuits operated by the same coil.

Main variants include the general-purpose PCB relay (small footprint, 5 V or 12 V coil, a few amperes), the power relay (DIN rail or panel mount, up to 30 A or more), and the automotive relay (ISO 280 footprint, 12 V or 24 V, typically 30 A/40 A). Latching relays use a permanent magnet to hold the armature without continuous coil power, saving energy in battery-operated systems.

A flyback (freewheeling) diode must be placed across the coil terminals in reverse-biased orientation to suppress the inductive voltage spike when coil current is interrupted. Without it, the spike can damage transistors, microcontrollers, or other switching devices driving the coil.

Relays are used wherever a small signal — from a microcontroller, timer, thermostat, or sensor — needs to switch a load that would otherwise require a large, expensive, or fragile high-power switch. Common applications include motor control, lighting circuits, HVAC equipment, automotive accessories, and industrial automation.

How to wire electromagnetic relay diagram

  1. Identify coil and contact terminals Consult the relay's datasheet or the marking on its body. Coil terminals are usually labelled A1 and A2 (IEC) or COIL+ and COIL-. Contact terminals are labelled COM, NO, and NC. For an automotive ISO relay, pin 85 and 86 are the coil; 30 is common; 87 is NO; 87a is NC.
  2. Determine coil drive method A microcontroller output (3.3 V or 5 V, typically 20–40 mA) usually cannot drive a relay coil directly. Interpose a NPN transistor (e.g., 2N2222) or a MOSFET with the relay coil as the collector/drain load. Add a 1 kΩ base resistor for a BJT. Place the flyback diode across the coil, cathode to the positive supply rail.
  3. Select contact rating for the load The contact must be rated above the load voltage and current, including inrush. Motor loads and lamp loads draw several times their running current at start-up. Choose a relay whose contact rating at the required voltage (AC or DC) comfortably exceeds the peak load current with a safety margin of at least 20 %.
  4. Wire the coil circuit Connect the coil to its rated supply voltage through the control switch or transistor. For a 12 V relay, connect A1 to +12 V and A2 to the switching device. Ensure the coil supply is stable — a collapsing supply voltage will cause relay dropout.
  5. Wire the contact circuit Connect the load supply to COM. Wire the load between NO (for energise-to-connect) or NC (for energise-to-disconnect) and the load return. Keep high-power contact wiring away from sensitive control wiring to prevent interference.
  6. Test de-energised state With coil power off, use a multimeter set to continuity or resistance to verify COM–NC is closed (near zero ohms) and COM–NO is open. This confirms correct contact identification before applying load power.
  7. Test energised state and check for arcing Apply rated coil voltage and verify the relay clicks and COM–NO closes. If switching inductive or capacitive loads, monitor for excessive contact arcing; add an RC snubber (typically 100 Ω in series with 100 nF) across the contacts if arcing is severe.

Specifications

Typical coil voltage range3 V, 5 V, 12 V, 24 V, 48 V DC; 24 V, 120 V, 230 V AC
Coil power consumption0.1 W – 2 W typical (varies by relay class)
Contact current rating (general purpose)1 A – 30 A depending on relay class
Contact voltage ratingUp to 250 V AC or 30 V DC for general-purpose types
Operate time (coil energised to contact closed)5 ms – 15 ms typical
Release time (coil de-energised to contact open)2 ms – 10 ms typical
Mechanical life expectancy1 × 10⁷ operations minimum (unloaded)
Electrical life expectancy1 × 10⁵ – 1 × 10⁶ operations at rated load

Safety warnings

Tools needed

Common mistakes

Troubleshooting

Relay does not energise
Cause: Insufficient coil voltage or open coil winding Fix: Measure voltage directly across coil terminals A1–A2 with coil energised. If voltage is correct but relay does not pull in, measure coil resistance — an open circuit (infinite resistance) indicates a failed coil. If voltage is low, check the driver transistor and supply wiring.
Relay energises but contacts do not switch load
Cause: Welded or open contacts, or load wired to wrong terminal Fix: With the relay energised, check continuity between COM and NO. If open, contacts may be welded open due to previous overcurrent. Replace the relay. If continuity exists, trace the load wiring — it may be connected to NC instead of NO.
Relay chatters continuously
Cause: Coil supply voltage is marginal or fluctuating Fix: Measure coil supply voltage under load. If it drops below the relay's minimum hold-in voltage, the relay releases, the load drops, voltage recovers, and the cycle repeats. Add capacitance across the supply or use a relay with a wider hold-in voltage range.
Driver transistor fails repeatedly
Cause: Missing or incorrectly rated flyback diode Fix: Verify a diode is fitted across the coil with cathode to the positive supply rail. Confirm diode type is rated for at least the coil supply voltage with a suitable reverse voltage margin. Replace the failed transistor and diode.
Excessive contact arcing when switching
Cause: Inductive load with no arc suppression Fix: Fit an RC snubber (100 Ω in series with 100 nF, voltage-rated above the contact voltage) across the contacts. For DC circuits, a transient suppression diode or varistor across the inductive load is effective.

Frequently asked questions

What is the purpose of a flyback diode in a relay circuit?

When the coil is de-energised, its collapsing magnetic field generates a reverse-polarity voltage spike that can exceed 100 V. A flyback diode (also called a snubber or freewheeling diode) placed across the coil in reverse bias clamps this spike, protecting the transistor or microcontroller output driving the coil.

What is the difference between NO and NC relay contacts?

Normally open (NO) contacts are open when the coil is de-energised — the circuit is broken at rest. Normally closed (NC) contacts are closed at rest — the circuit is made without coil power. Energising the coil reverses both states simultaneously. NC contacts are chosen when a fail-safe closed circuit is required.

Can I use a relay to switch AC and DC loads?

Most general-purpose relays can switch both AC and DC loads, but the rated current often differs between the two. DC arcing is harder to extinguish than AC (which passes through zero volts each half-cycle), so the DC rating is usually lower. Always check the manufacturer's contact rating for your specific load type and voltage.

Why does my relay chatter or fail to hold in?

Chattering usually means the coil voltage is too low to fully attract the armature, or the supply voltage is collapsing under load. Check the coil voltage against the rated pull-in voltage, inspect wiring for excessive resistance, and ensure the supply can sustain the current draw. A worn or dirty contact can also cause intermittent operation.

What is the difference between a relay and a solid-state relay?

An electromagnetic relay uses a physical armature and contacts; a solid-state relay (SSR) uses semiconductor devices (typically triacs or SCRs for AC, or MOSFETs for DC) with no moving parts. SSRs have faster switching, silent operation, and longer service life, but generate more heat and may allow small leakage current when off.

Related diagrams

Free electrical calculators

Edit this diagram free in the online editor