Skip to content
If this is your first visit, please click here to learn about shipping and delivery.
If this is your first visit, please touch here to learn about shipping and delivery.
DPDT bistable relay with a nominal 5 V coil

Drive a Latching Relay Correctly: Coil Types, Pulse Timing and State Verification

A latching relay can hold its contact position without continuous coil power. That makes it useful in battery-operated instruments, signal routing and equipment that changes state only occasionally. However, “send a pulse” is not a complete wiring instruction.

The driver must match the relay's coil arrangement, apply the correct polarity and duration, and leave the system in a known state after a restart. This guide explains how to establish those details before connecting a load. Initial experiments should use an isolated low-voltage bench circuit and a modest test load.

Identify the mechanism before designing the driver

Three behaviours are easy to confuse. A single-coil magnetic latching relay normally uses opposite-polarity pulses for set and reset. A dual-coil version uses separate set and reset windings. A stepping or ratchet mechanism may change state with successive identical pulses, but that behaviour must be explicitly specified.

Omron's latching relay explanation illustrates the single- and double-winding arrangements. Its relay terminology guide separately describes stepping and ratchet operation. Do not infer one mechanism from the word “bistable”.

PMD Way's latching relay collection includes a DPDT relay with a nominal 5 V coil. Before designing around it, obtain the exact supplied part's coil diagram, set/reset polarity and minimum pulse specification. A short catalogue description about repeated pulses should not replace those details.

Keep coil specifications separate from contact specifications

Two independent sides of a latching relay
Coil side Contact side
Rated drive voltage and winding resistance Permitted switched voltage and current
Set/reset arrangement and polarity Common, normally open and normally closed terminals
Minimum pulse and permitted duty Load category, inrush and electrical endurance
Driver transient protection Contact protection and load suppression

A 5 V coil does not imply that the contacts should switch a 5 V load, nor does a contact current rating describe coil demand. Likewise, an AC contact rating must not be transferred to a DC load. Match the actual load type, including inrush and inductive behaviour, to the relay's specified conditions.

DPDT means two changeover poles operated by the same mechanism. It does not mean two independently controllable relays. Confirm the drawing's viewing direction before laying out a PCB: a bottom-view pin diagram can be mirrored when copied into a top-view wiring sketch.

Select a driver that can produce both operations

A single-coil relay requiring reversed polarity can be driven by a suitable H-bridge. A dual-coil relay needs a driver arrangement for each winding with controls that prevent an unintended simultaneous command. Check the actual common-terminal arrangement rather than assuming every dual-coil part is wired identically.

Texas Instruments' latching-relay driver discussion describes using bridge drivers with these coil types. Select a driver from its supply, output-current, logic-input and protection specifications; a motor-driver label alone does not prove compatibility with the relay.

Do not drive the coil directly from a microcontroller pin. As an illustrative calculation, a 5 V winding dissipating 150 mW at its nominal operating point draws 0.15/5 = 30 mA. Verify the real winding resistance, tolerances and driver voltage drop before using that estimate in a design.

Ensure the driver's reset state leaves the coil unpowered. If the microcontroller stalls, the output should not remain energised indefinitely merely because a software delay never completes. Use the driver's documented behaviour and, where needed, a bounded hardware pulse mechanism.

Operate time is not the required pulse width

Operate or set time describes a mechanical transition under stated test conditions. Minimum pulse width describes how long the coil must be energised to achieve reliable latching. Contact bounce is another interval, and it can continue after the first apparent transition.

Panasonic's relay application guidance treats pulse duration and rated coil voltage as explicit design conditions. Apply the pulse requirements for your exact relay rather than copying a duration from a different family or treating a catalogue operate-time figure as the recommended drive pulse.

Measure voltage at the coil during the pulse, especially with a battery source or long leads. A pulse that is wide enough in software may still fail if the supply collapses or the driver drops too much voltage. Test set and reset separately at the intended supply and temperature limits.

Protect the driver without blocking reverse drive

Coils store energy, so switching them off requires a controlled current path. TE Connectivity's coil-suppression guidance explains that the suppression arrangement can influence relay dynamics as well as semiconductor stress.

A conventional diode placed directly across a coil for one drive polarity can conduct during the opposite commanded polarity. That makes it unsuitable as an unexamined addition to a reversing single-coil circuit. Follow the bridge driver's specified recirculation and clamp arrangement, and confirm allowable voltage and energy for all components.

Coil protection and load protection are separate design tasks. A protected driver does not prevent an inductive load from stressing the relay contacts. Conversely, suppressing the load does not protect an inadequately designed coil driver.

Treat commanded state and observed state separately

After sending a set pulse, software knows what it requested. It does not automatically know whether the contacts moved. A stored Boolean can become wrong after a weak pulse, interrupted power or mechanical fault.

For a low-voltage prototype, verify contact continuity with the load disconnected. Where the finished application needs feedback, design an appropriate sensing path or use a suitable auxiliary contact arrangement. A spare pole can provide useful information, but it is not automatically safety-rated proof of every load contact's condition.

At startup, choose a deliberate policy: read available feedback, issue a specified set/reset operation when appropriate, or declare the state unknown until an operator resolves it. A latching relay may retain an energising contact position after controller power disappears, so removing coil power is not a guaranteed load-off command.

Build a repeatable bench test

  1. Confirm the exact part marking and diagram before applying power.
  2. Map both contact poles with the coil unpowered.
  3. Apply the documented set pulse through the intended driver and verify the resulting contacts.
  4. Apply the documented reset pulse and verify both poles again.
  5. Remove all coil drive and confirm that the intended position remains.
  6. Repeat with controlled supply variation and controller restarts, recording every failure.

Keep the coil waveform, driver settings and contact observations with the circuit notes. A reliable latching design saves holding power while making the two state-changing operations explicit, measurable and recoverable.

Previous article Battery Power for Arduino Projects: Voltage Range, Runtime and Regulator Heat