

A Double Pole Double Throw (DPDT) switch is an electrical switch designed to control two separate circuits simultaneously. It features six terminals, allowing two inputs to connect to two outputs. This configuration enables the switch to toggle between two different states for each circuit, making it highly versatile for a wide range of applications.








Below are the key technical details of a typical DPDT switch:
| Parameter | Value |
|---|---|
| Number of Poles | 2 |
| Number of Throws | 2 |
| Terminals | 6 |
| Voltage Rating | Typically 12V to 250V (varies by model) |
| Current Rating | Typically 1A to 15A (varies by model) |
| Contact Type | Mechanical |
| Mounting Style | Panel Mount or PCB Mount |
The DPDT switch has six terminals, typically arranged in two rows of three. The pin configuration is as follows:
| Pin Number | Description |
|---|---|
| 1 | Input for Circuit 1 |
| 2 | Common (Output) for Circuit 1 |
| 3 | Alternate Output for Circuit 1 |
| 4 | Input for Circuit 2 |
| 5 | Common (Output) for Circuit 2 |
| 6 | Alternate Output for Circuit 2 |
A DPDT switch can be used to reverse the direction of a DC motor. Below is an example circuit and Arduino code:
// Example code to control a DC motor with a DPDT switch and Arduino UNO
const int motorPin1 = 9; // PWM pin for motor direction 1
const int motorPin2 = 10; // PWM pin for motor direction 2
void setup() {
pinMode(motorPin1, OUTPUT); // Set motorPin1 as output
pinMode(motorPin2, OUTPUT); // Set motorPin2 as output
}
void loop() {
// Rotate motor in one direction
analogWrite(motorPin1, 255); // Full speed in one direction
analogWrite(motorPin2, 0); // Ensure the other direction is off
delay(2000); // Run for 2 seconds
// Stop the motor
analogWrite(motorPin1, 0); // Turn off motorPin1
analogWrite(motorPin2, 0); // Turn off motorPin2
delay(1000); // Pause for 1 second
// Rotate motor in the opposite direction
analogWrite(motorPin1, 0); // Ensure the first direction is off
analogWrite(motorPin2, 255); // Full speed in the opposite direction
delay(2000); // Run for 2 seconds
// Stop the motor again
analogWrite(motorPin1, 0); // Turn off motorPin1
analogWrite(motorPin2, 0); // Turn off motorPin2
delay(1000); // Pause for 1 second
}
Q: Can I use a DPDT switch to reverse a motor's direction without a microcontroller?
A: Yes, you can wire the DPDT switch directly to the motor and power supply to reverse its direction manually.
Q: What is the difference between DPDT and SPDT switches?
A: A DPDT switch controls two circuits simultaneously, while an SPDT switch controls only one circuit.
Q: Can a DPDT switch handle AC and DC currents?
A: Yes, but ensure the switch's voltage and current ratings are suitable for the type of current (AC or DC) in your application.