
This circuit features two DPDT switches that control the direction of two MRB Planetary gearbox motors. The switches are connected to a connector, allowing for external control inputs to change the motor directions.
A Double Pole Double Throw (DPDT) switch is an electromechanical device that can control two separate circuits, allowing for switching between two different outputs for each circuit. This versatile switch is commonly used in applications where it is necessary to alternate between two different power sources or to reverse the polarity of a circuit. DPDT switches are widely used in motor control, audio equipment, and various other electronic projects.

This circuit features two DPDT switches that control the direction of two MRB Planetary gearbox motors. The switches are connected to a connector, allowing for external control inputs to change the motor directions.

This circuit uses two DPDT switches to control the direction of four center shaft metal geared motors powered by a 3xAA battery pack. The switches allow for reversing the polarity of the motors, enabling forward and reverse motion.

This circuit is designed to control a DC motor using a single-pole single-throw (SPST) toggle switch. The 9V battery provides power to the motor, and the toggle switch acts as an on/off control to allow or interrupt the current flow to the motor.

This circuit consists of two toggle switches and a red lamp connected to panel mount banana sockets. The switches control the connection between the red and black banana sockets, allowing the lamp to be turned on or off depending on the switch positions.
| Parameter | Value |
|---|---|
| Voltage Rating | 250V AC / 30V DC |
| Current Rating | 5A |
| Contact Resistance | ≤ 50 mΩ |
| Insulation Resistance | ≥ 1000 MΩ |
| Dielectric Strength | 1500V AC for 1 minute |
| Mechanical Life | 50,000 cycles |
| Electrical Life | 10,000 cycles |
A DPDT switch typically has six terminals. The pin configuration is as follows:
| Pin Number | Description |
|---|---|
| 1 | Common terminal for Pole 1 |
| 2 | Normally Closed (NC) terminal for Pole 1 |
| 3 | Normally Open (NO) terminal for Pole 1 |
| 4 | Common terminal for Pole 2 |
| 5 | Normally Closed (NC) terminal for Pole 2 |
| 6 | Normally Open (NO) terminal for Pole 2 |
Here is an example of how to connect a DPDT switch to an Arduino UNO to control the direction of a DC motor.
Arduino UNO
+5V -------------+
|
[DPDT Switch]
|
GND -------------+
// Define the pins connected to the DPDT switch
const int switchPin1 = 2; // Common terminal for Pole 1
const int switchPin2 = 3; // Common terminal for Pole 2
void setup() {
// Initialize the switch pins as inputs
pinMode(switchPin1, INPUT);
pinMode(switchPin2, INPUT);
// Initialize serial communication for debugging
Serial.begin(9600);
}
void loop() {
// Read the state of the switch
int switchState1 = digitalRead(switchPin1);
int switchState2 = digitalRead(switchPin2);
// Print the switch state to the serial monitor
Serial.print("Switch State 1: ");
Serial.println(switchState1);
Serial.print("Switch State 2: ");
Serial.println(switchState2);
// Add your logic to control the motor based on the switch state
// For example, you can use an H-bridge to control the motor direction
delay(500); // Delay for stability
}
Switch Not Working:
Switch Bounce:
Incorrect Output:
Q1: Can a DPDT switch be used to reverse the polarity of a motor?
Q2: What is the difference between a DPDT switch and a SPDT switch?
Q3: How do I debounce a DPDT switch in software?
By following this documentation, users should be able to effectively utilize a DPDT switch in their electronic projects.