How to Use a DPDT Relay for Circuit Control

Jun 18, 2025Leave a message

How to Use a DPDT Relay for Circuit Control

You can control two different circuits at once when you use a DPDT relay. This small device acts like a switch that you turn on or off with electricity instead of your hand. If you want to reverse a motor, swap power sources, or just make your projects smarter, learning how to wire a DPDT relay will help you do it safely and easily. Give it a try-it's easier than you might think!

 

 

Key Takeaways

 

A DPDT relay controls two circuits at once using electricity instead of a manual switch.

 

It has two poles and two throws, allowing you to reverse motors or switch power sources easily.

 

Always identify coil and contact pins correctly before wiring to avoid damage and ensure safety.

 

Use a transistor and flyback diode when controlling the relay with a microcontroller like Arduino.

 

Wire the common, normally open, and normally closed pins carefully to match your project needs.

 

Test your relay setup by listening for clicks and checking connections with a multimeter.

 

Follow safety tips like using the right voltage, tightening screws, and avoiding strong magnets.

 

Regularly inspect and replace worn relays to keep your circuits reliable and prevent failures.

 

 

DPDT Relay Basics

 

What Is a DPDT Relay

 

A DPDT relay is a special kind of electrical switch that lets you control two separate circuits at the same time. You use electricity to turn it on or off, instead of flipping a switch by hand. The letters stand for Double Pole Double Throw. That means it has two "poles" (or switches) inside, and each one can connect to two different outputs. You often see this relay in projects where you want to reverse a motor or switch between two power sources.

 

Here's a quick look at some technical specs you might find on a typical DPDT relay:

 

Specification

Value

Unit

Coil Voltage

24

VDC

Coil Current

12.5

mA

Max Voltage Rating (AC)

250

VAC

Max Voltage Rating (DC)

30

VDC

Max Current Rating (AC)

15

A

Max Current Rating (DC)

10

A

Contact Resistance

30

mOhm

Insulation Resistance

1

GOhm

Operate Time

30

ms

Release Time

20

ms

Coil Power Consumption

300

mW

Must Operate Voltage

16.8

VDC

Contact Form / Throw Config

DPDT (2 Form C)

N/A

Inductance

3

H

 

Tip: Always check the coil voltage and current ratings before you use a relay in your project. This helps you avoid damage and keeps your circuit safe.

 

 

How It Works

 

You might wonder what happens inside when you power up a DPDT relay. It's pretty simple! When you send electricity to the coil, it acts like a magnet and pulls a metal arm. This arm moves two switches at the same time. Each switch can connect to either a "normally closed" (NC) or "normally open" (NO) contact. When the relay is off, the common pin touches the NC contact. When you turn it on, the common pin moves to the NO contact.

 

Here's a breakdown of the main parts:

 

Positive terminal of the coil: This is where you connect the control voltage.

 

Negative terminal of the coil: This completes the coil circuit.

 

Common (COM): The moving part that connects to either NO or NC.

 

Normally Closed (NC): Connected to COM when the relay is off.

 

Normally Open (NO): Connected to COM when the relay is on.

 

A DPDT relay has two sets of these contacts, so you can control two circuits at once. You can see how it compares to other relays in this chart:

 

 

 

Key Features

 

You get a lot of flexibility with a DPDT relay. Here are some reasons you might choose one for your project:

 

You can control two separate circuits at the same time.

 

Each relay has two common inputs and four outputs.

 

Great for reversing the direction of a motor or switching between power sources.

 

Handles high current and voltage, so it works for bigger loads.

 

Offers more options than simple switches like SPST or SPDT.

 

Reliable and durable-some models last for over a million cycles!

 

Many relays are sealed to keep out dust and moisture, so they work well in tough environments.

 

Feature

Specification/Value

Electrical Rating

5A at 250VAC

Mechanical Life

1,000,000 cycles

Electrical Life

50,000 cycles

Environmental Rating

IP65 (dust and moisture protection)

Design

Lightweight, compact

Applications

Motor direction control, robotics, telecommunication systems

Advantages

Cost-effective, failover capabilities, versatile control of two circuits

 

Note: Some DPDT relays are built for extreme conditions, like aerospace or defense, and can handle shock, vibration, and harsh weather.

 

 

DPDT Relay Pinout

 

DPDT Relay Pinout

 

 

Pin Identification

 

When you look at a DPDT relay, you will see eight pins on the bottom. Each pin has a special job. If you want to wire your relay correctly, you need to know which pin does what. Here's how you can identify them:

 

Pin 7 and Pin 8 are for the coil. Pin 7 connects to 0V (negative), and pin 8 connects to +24VDC (positive). This tells the relay when to switch.

The other six pins are for the two sets of contacts. Each set has a Common (COM), Normally Closed (NC), and Normally Open (NO) pin.

 

You can use a multimeter to test the coil resistance between pins 7 and 8. If you get a reading, you found the coil pins.

 

To find the contact pins, check for continuity. When the relay is off, the COM pin connects to the NC pin. When you power the coil, the COM pin connects to the NO pin.

 

Tip: Always check the relay's datasheet or the "Dimensions & Connection Diagram" if you have it. This helps you match each pin to its function.

 

Here's a simple table to help you remember:

 

Pin Number

Function

7

Coil (0V, -)

8

Coil (+24VDC, +)

1, 4

Common (COM)

2, 5

Normally Closed (NC)

3, 6

Normally Open (NO)

 

 

Internal Switching

 

Inside a DPDT relay, you will find two switches that work together. When you send power to the coil, both switches move at the same time.

 

Each switch has a common pin that can connect to either the normally closed or normally open contact. The coil creates a magnetic field that pulls a metal armature. This armature moves the contacts, so you can control two circuits at once.

 

You can think of it like this: the relay acts as two SPDT (Single Pole Double Throw) switches inside one box. When you turn on the coil, both switches flip together. This is why you can reverse a motor or switch two devices at the same time.

 

 

Reading Diagrams

 

Wiring diagrams make it much easier to understand how to connect your relay. Most diagrams show the relay as a box with eight pins. The coil pins are usually marked on one side. The contact pins are grouped in pairs for each pole.

 

Here's a simple diagram in text form:

 

[7]---Coil---[8] | | [2] [1] [3] [5] [4] [6] NC COM NO NC COM NO

 

The left group (pins 1, 2, 3) is for one circuit.

 

The right group (pins 4, 5, 6) is for the other circuit.

 

Pins 7 and 8 are for the coil.

 

Note: If you ever feel unsure, double-check the relay's datasheet. Diagrams there will show you exactly how the pins connect inside.

When you follow these steps, you will wire your DPDT relay correctly every time. Take your time, use your multimeter, and always double-check your connections.

 

 

Wiring DPDT Relay

 

Wiring DPDT Relay

 

 

Tools and Materials

 

Before you start wiring, gather everything you need. Having the right tools and materials makes the job much easier and safer. Here's a handy checklist:

 

DPDT relay (make sure it matches your voltage and current needs)

 

Wires (choose the right thickness for your load)

 

Power source (battery or DC power supply)

 

Screwdriver or small pliers

 

Wire stripper and cutter

 

Multimeter (for testing)

 

Soldering iron and solder (optional, for permanent connections)

 

Breadboard or relay socket (for easy prototyping)

 

Transistor or MOSFET (if you want to control the relay with a microcontroller)

 

Electrical tape or heat shrink tubing

 

Tip: Always double-check your relay's datasheet before you start. This helps you avoid wiring mistakes.

 

 

Wiring Steps

 

Wiring a DPDT relay might look tricky, but you can do it step by step. Let's break it down so you can follow along easily.

Coil Terminals

 

Find the two coil pins on your relay. These are usually marked on the case or in the datasheet.

 

Connect one coil pin to the positive side of your control voltage (for example, +5V or +12V).

 

Connect the other coil pin to ground (0V).

 

If you use a microcontroller (like Arduino), you can't connect the coil directly. The coil draws more current than the microcontroller can handle. Use a transistor or MOSFET as a switch. Connect the transistor's collector or drain to one coil pin, and the emitter or source to ground. The microcontroller pin connects to the transistor's base or gate through a resistor.

 

Place a diode (like 1N4007) across the coil pins. The stripe on the diode faces the positive side. This protects your circuit from voltage spikes when the relay turns off.

 

Note: Always check the coil voltage and current ratings. Using the wrong voltage can damage the relay or your control circuit.

 

 

Common, NO, NC Contacts

 

Now you can wire the load side of your relay. Each pole has three pins: Common (COM), Normally Open (NO), and Normally Closed (NC).

 

Identify the two sets of contacts. Each set has a COM, NO, and NC pin.

 

Connect your power source to the COM pin of the first set.

 

Connect your device (like a light or motor) to the NO pin if you want it to turn on when the relay is activated. Use the NC pin if you want it to turn on when the relay is off.

 

Repeat steps 2 and 3 for the second set of contacts. You can control a second device or use it for reversing a motor.

 

Double-check all connections before powering up.

 

Here's a quick visual guide in list form:

 

Gather your tools and materials.

 

Identify the relay pins: two commons (COM), two normally open (NO), and two normally closed (NC).

 

Connect the power source to one common terminal (COM).

 

Connect the load to one normally open terminal (NO).

 

If needed, connect the load to the normally closed terminal (NC) for "always on" when the relay is off.

 

Repeat for the second set of COM, NO, and NC pins.

 

Pro Tip: Use a breadboard or relay socket for testing. This lets you make changes without soldering.

 

 

Testing the Relay

 

You finished wiring, so now it's time to test your setup. Testing helps you catch mistakes before you connect your real devices.

 

Power up your control circuit. Listen for a "click" from the relay. This sound means the coil is working.

 

Use a multimeter to check the contacts. When the relay is off, the COM pin should connect to the NC pin. When you activate the relay, the COM pin should connect to the NO pin.

 

If you use a microcontroller, upload a simple sketch to turn the relay on and off. Watch your device or indicator light to see if it works as expected.

 

If something doesn't work, turn off the power and check your wiring. Make sure you connected the coil and contacts correctly.

 

Safety Reminder: Never touch live wires or terminals when the circuit is powered. Always disconnect power before making changes.

 

With these steps, you can wire and test a DPDT relay with confidence. Take your time, follow each step, and you'll get great results.

 

 

 

DPDT Relay Applications

DPDT Relay Applications

 

Control Two Circuits

 

You can use a DPDT relay to control two different devices at the same time. Imagine you want to turn on a fan and a light with one button.

 

You wire each device to its own set of contacts on the relay. When you press the button, the relay switches both circuits together. This setup works great for projects where you want to automate more than one thing at once.

 

Many real-world projects use this method. For example, some people build relay modules that let a microcontroller, like an ESP32, turn on two bulbs or switch between a fan and a light. You might see LED indicators showing which device is on. These projects prove how easy it is to use a DPDT relay for smart home or classroom experiments.

 

Tip: The relay keeps the control side (like your microcontroller or switch) separate from the high-power side (like your fan or light). This isolation keeps your control circuit safe from big surges or faults.

 

 

Reverse Motor Direction

 

One of the coolest tricks you can do with a DPDT relay is reverse the direction of a DC motor. You do this by swapping the wires that connect to the motor. When you activate the relay, it changes the polarity, so the motor spins the other way. This is perfect for projects like robot cars, window blinds, or anything that needs to move back and forth.

 

Here's how it works:

 

In the relay's normal state, the motor spins one way.

 

When you energize the relay, the contacts flip, and the motor spins the other way.

 

People on forums and guides often show this setup. They warn you to turn off the motor before switching directions. This helps you avoid big current surges that could damage your parts. Some builders add extra relays or manual switches for more control. Others use snubber circuits or diodes to stop sparks and protect the relay.

 

You can also find this method in many DIY guides. For example, one Instructables project shows how to wire a DPDT rocker switch to reverse a motor. The Alltrax controller guide explains how a reverse contactor, which works like a DPDT relay, safely changes motor direction. It also shows how to wire high-current connections and use snubber diodes for safety.

 

Note: If you want to control the relay with a microcontroller, use a driver circuit. This keeps your microcontroller safe and makes sure the relay gets enough power.

 

 

Switch Power Sources

 

You can use a DPDT relay to switch between two power sources. Maybe you want your project to run on batteries when the main power goes out. You wire one power source to each set of contacts. When the relay is off, your device uses the first power source. When you turn the relay on, it switches to the backup.

 

This setup is common in backup power systems, solar projects, and even some toys. You can also use it to switch between two different loads, like a fan and a light, with visual indicators to show which one is active.

 

Here's a table that shows how DPDT relays perform in real-world tests:

 

Test Aspect

Description

Why It Matters

Mechanical Life

Handles up to 10 million switches

Lasts a long time

Contact Resistance

Stays low for good performance

Keeps circuits working well

Resistive Load Tests

Works with simple loads like bulbs

Reliable for basic switching

Inductive Load Tests

Handles motors and solenoids safely

Good for motors and relays

Capacitive Load Tests

Survives big current surges

Safe for devices with big loads

Overtemperature Tests

Stays cool under heavy use

Prevents overheating

 

You get safe switching and long life, even with tough loads. The relay also keeps your control and load circuits separate, so you don't have to worry about mixing signals or causing shorts.

 

Pro Tip: Some DPDT relays have a latching feature. This means they stay in their last position even after you remove power. Others are non-latching and return to their default state when power is off. Pick the type that fits your project best.

 

 

Safety and Best Practices

 

Safe Handling

 

You want your relay projects to work safely every time. Good habits help you avoid accidents and keep your circuits running smoothly. Here are some important safety steps you should always follow:

 

Tighten all screws to the right torque. Loose screws can cause heat and even burning.

 

Double-check the polarity of your connections. Wrong polarity can mess up the switching.

 

Never drop or take apart a relay. This can break it or cause electric shock.

 

Keep relays away from strong magnets. Strong magnetic fields can cause dangerous arcs or insulation problems.

 

Use the relay only within its voltage range. Too much voltage can burn it out.

 

Replace relays on a regular schedule. Old relays can fail and cause arc problems.

 

Don't use or store relays in a vacuum. This can damage the seal.

 

Avoid turning the relay on and off too quickly. Fast cycles can overheat the coil.

 

Use a power supply with low ripple. High ripple can cause humming or voltage swings.

 

Never go over the maximum voltage or current. Too much can cause arcs or burning.

 

Only use relays within their contact ratings. Inductive loads wear out relays faster.

 

Keep relays away from water, chemicals, and oil. These can corrode or damage the relay.

 

Always turn off power and check for leftover voltage before you touch or replace a relay.

 

Use proper insulation and cover wires to keep everything safe.

 

Tip: Always read the datasheet for your relay. It tells you the safe limits and best ways to use it.

 

 

Avoiding Mistakes

 

You can prevent most problems by checking your work before you power up. Here are some common mistakes and how to avoid them:

Mixing up the coil and contact pins. Label your wires or use a diagram.

 

Forgetting the flyback diode when using a microcontroller. This can damage your board.

 

Using the wrong voltage or current. Always match your relay to your power source and load.

 

Not checking for loose wires. Tug gently on each wire to make sure it's secure.

 

Skipping the test step. Use a multimeter to check connections before adding your real devices.

 

🛑 Note: If you ever smell burning or see smoke, turn off the power right away and check your wiring.

 

 

Reliable Operation

 

You want your relay to last a long time and work every time you need it. Manufacturers test relays in many ways to make sure they are reliable. Here's a quick look at how they do it:

 

Test Aspect

Description

Importance for Validation

Resistive Load Tests

Standard life tests using resistive loads without inrush or counter currents

Shows how long the relay lasts with simple loads

Inductive Load Tests

Tests with inductive loads that create arcs and surges

Checks if the relay can handle motors and coils

Capacitive Load Tests

Tests with loads that cause big current surges

Makes sure the relay can handle sudden power spikes

Switching Cycles

Measures how many times the relay can switch on and off

Confirms the relay's lifetime

Contact Resistance

Measures resistance at the contacts over time

Finds out if the contacts are wearing out

Overtemperature Tests

Checks the relay's temperature during heavy use

Prevents overheating and failure

 

Relays use strong materials like silver cadmium oxide for the contacts. They also have insulation and air gaps to keep circuits separate. Many relays last up to 10 million cycles if you use them the right way. Following the tips above helps you get the most out of your relay and keeps your projects safe.

 

 

Troubleshooting

 

Wiring Issues

 

Wiring problems can sneak up on you, but you can find them with a careful approach. Start by breaking your circuit into smaller parts. Look at the load (like a fan), the wires between the load and the relay, the relay wiring itself, and the wires from the fuse to the relay. This makes it easier to spot where things go wrong.

 

Follow these steps to track down wiring issues:

 

Divide your circuit into sections: load, wiring to relay, relay wiring, and wiring from fuse.

 

Swap out parts, like using a different fan, to see if the problem stays or goes away.

 

Check all wires and relay terminals for damage. Look for insulation that's been poked, rubbed, or pinched by screws.

 

Take the relay out of its mount. Sometimes, you'll find hidden damage like torn tape or terminals touching metal.

 

Trace each wire, especially where it goes through tight spots or near moving parts. Cut cable ties and open tubing if you need to check for hidden breaks.

 

Use a digital multimeter to test for continuity and voltage at different points.

 

Work through each section step by step, just like following a flowchart.

 

🔎 Tip: Always look for loose wires or signs of wear. A careful inspection saves you time later.

 

 

 

Faulty Relays

 

Sometimes, the relay itself causes trouble. You might see problems if the relay has been dropped or handled roughly. Even a hard bump during shipping can cause damage inside. If water or dust gets in, the relay may work only sometimes or not at all. Bent or loose terminals can also stop the relay from working right.

 

Here's what you can do to check for a bad relay:

 

Look for cracks, dents, or bent pins on the relay case.

 

Test the relay's insulation with a Hi-Pot tester if you have one. This checks for hidden shorts.

 

Measure the coil resistance with a multimeter. If you get no reading or a strange value, the coil may be broken.

 

Test the relay contacts by running the relay with the right voltage and current. Try at least 6V DC and 100mA, but 12V DC and 500mA works even better.

 

Listen for buzzing or clicking sounds. If the relay buzzes or doesn't click, it may have a contact problem.

 

Don't trust only an ohm-meter or logic probe for contact testing. Sometimes, these tools miss problems.

 

⚠️ Note: Intermittent relay failures can disappear when you handle the relay. Always test it in your actual circuit if you suspect trouble.

 

 

Performance Tips

 

You want your relay to work smoothly every time. Here are some tips to keep your circuit running strong:

 

Use the right voltage and current for your relay. Too much or too little can cause problems.

 

Keep your wiring neat and secure. Loose wires can cause random failures.

 

Replace relays that show signs of wear, like pitted contacts or weak clicking sounds.

 

Avoid switching the relay on and off too quickly. Give it a moment to settle between cycles.

 

Store relays in a dry, clean place to prevent rust or corrosion.

 

Test your relay under real working conditions, not just on the bench.

 

Problem

What to Check

Quick Fix

No click sound

Coil voltage, wiring

Check power and wires

Device won't run

Contact wiring, load

Test with another load

Relay gets hot

Overload, wrong voltage

Use correct rating

Random failures

Loose wires, bad relay

Tighten, replace relay

 

🛠️ Pro Tip: Keep a spare relay handy. Swapping in a new one is often the fastest way to confirm a problem.

 

You've learned how to wire, test, and use a relay for circuit control. Always double-check your connections and use non-magnetic materials when you want to avoid interference. Keep your workspace organized and cables tidy to prevent noise. Try new setups, like reversing a motor or switching power sources. If you want to go further, look into advanced projects that use relays in experiments with shielding or remote monitoring. Stay curious and keep building!

 

 

FAQ

 

How do you know if your DPDT relay is working?

 

Listen for a click when you power the coil. You can also use a multimeter to check if the common pin connects to the NO pin when the relay turns on. If nothing changes, double-check your wiring.

 

 

Can you use a DPDT relay with an Arduino?

 

Yes, you can! Use a transistor or MOSFET to drive the relay, since the Arduino pin cannot supply enough current. Don't forget to add a flyback diode across the relay coil for protection.

 

 

What happens if you wire the coil backwards?

 

Most DPDT relays work fine either way, unless they have a built-in diode. If your relay has a diode, wiring it backwards can damage the diode or your circuit. Always check the datasheet before connecting.

 

 

How much current can a DPDT relay handle?

 

Check the relay's datasheet for the maximum current rating. Many DPDT relays handle 5 to 15 amps. Never exceed this limit, or you might burn the contacts or cause the relay to fail.

 

 

Why does your relay get hot?

 

A hot relay usually means you're running too much current or using the wrong voltage. Make sure your load matches the relay's ratings. If the relay still gets hot, replace it with a higher-rated one.

 

 

Can you reverse a motor with just one DPDT relay?

 

Yes! Wire the motor to the relay's contacts so that flipping the relay swaps the polarity. This makes the motor spin in the opposite direction. Always turn off the motor before switching to avoid damage.

 

 

What's the difference between latching and non-latching DPDT relays?

 

A latching relay stays in its last position even after you remove power. A non-latching relay returns to its default state when power goes off. Choose the type that fits your project's needs.

 

 

Do you need to use both sets of contacts?

 

No, you don't have to use both sets. You can use just one set if your project only needs to switch one circuit. The other set will stay unused and won't affect how the relay works.