
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 electrical switch designed to control two separate circuits simultaneously. It features two input terminals and can connect each input to one of two outputs, making it highly versatile for applications requiring multiple control paths. DPDT switches are commonly used in motor control, reversing polarity, audio signal routing, and other applications where dual-circuit control is needed.

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.
Below are the key technical details of a typical DPDT switch. Specifications may vary depending on the manufacturer and model.
A DPDT switch typically has six terminals. The pin configuration is as follows:
| Pin Number | Label | Description |
|---|---|---|
| 1 | Input 1 (Pole 1) | First input terminal for the first circuit. |
| 2 | Output 1A | First output terminal for the first circuit (connected when the switch is ON). |
| 3 | Output 1B | Second output terminal for the first circuit (connected when the switch is OFF). |
| 4 | Input 2 (Pole 2) | Second input terminal for the second circuit. |
| 5 | Output 2A | First output terminal for the second circuit (connected when the switch is ON). |
| 6 | Output 2B | Second output terminal for the second circuit (connected when the switch is OFF). |
A DPDT switch can be used to reverse the direction of a DC motor. Below is an example circuit and Arduino code to control the motor direction using the switch.
// Define the input pins for the DPDT switch
const int switchPin1 = 2; // Pin connected to Output 1A
const int switchPin2 = 3; // Pin connected to Output 1B
// Define the motor control pins
const int motorPin1 = 9; // Motor terminal 1
const int motorPin2 = 10; // Motor terminal 2
void setup() {
// Set up the switch pins as inputs
pinMode(switchPin1, INPUT);
pinMode(switchPin2, INPUT);
// Set up the motor pins as outputs
pinMode(motorPin1, OUTPUT);
pinMode(motorPin2, OUTPUT);
}
void loop() {
// Read the state of the DPDT switch
bool switchState1 = digitalRead(switchPin1);
bool switchState2 = digitalRead(switchPin2);
// Control the motor direction based on the switch state
if (switchState1 == HIGH && switchState2 == LOW) {
// Forward direction
digitalWrite(motorPin1, HIGH);
digitalWrite(motorPin2, LOW);
} else if (switchState1 == LOW && switchState2 == HIGH) {
// Reverse direction
digitalWrite(motorPin1, LOW);
digitalWrite(motorPin2, HIGH);
} else {
// Stop the motor
digitalWrite(motorPin1, LOW);
digitalWrite(motorPin2, LOW);
}
}
Switch Not Working:
Overheating:
Signal Noise:
Motor Not Reversing:
Q: Can I use a DPDT switch for AC circuits?
A: Yes, as long as the switch's voltage and current ratings are suitable for the AC circuit.
Q: How do I know which terminal is which?
A: Refer to the datasheet or use a multimeter to identify the connections.
Q: Can I use a DPDT switch to control LEDs?
A: Yes, but ensure the LEDs are connected with appropriate resistors to limit current.
By following this documentation, you can effectively use a DPDT switch in your projects and troubleshoot common issues.