

The Mini Power Switch - SPDT (Manufacturer Part ID: COM-00102) by SparkFun Electronics is a compact single-pole double-throw (SPDT) switch designed to control the flow of electricity in a circuit. This versatile switch allows users to toggle between two different output paths, making it ideal for applications requiring simple on/off control or switching between two states.








The Mini Power Switch - SPDT is designed for low-power applications and offers reliable performance in compact spaces. Below are the key technical details:
| Parameter | Value |
|---|---|
| Switch Type | Single-Pole Double-Throw (SPDT) |
| Operating Voltage | 12V DC (maximum) |
| Operating Current | 0.5A (maximum) |
| Contact Resistance | ≤ 50 mΩ |
| Insulation Resistance | ≥ 100 MΩ |
| Mechanical Life | 10,000 cycles (minimum) |
| Dimensions | 12.7mm x 6.35mm x 5.08mm |
| Mounting Style | Through-hole |
The Mini Power Switch - SPDT has three pins, as described below:
| Pin Number | Name | Description |
|---|---|---|
| 1 | Common (C) | The input pin where the power or signal is connected. |
| 2 | Normally Open (NO) | The output pin that connects to the common pin when the switch is toggled ON. |
| 3 | Normally Closed (NC) | The output pin that connects to the common pin when the switch is toggled OFF. |
The Mini Power Switch - SPDT can be used to control an LED using an Arduino UNO. Below is an example circuit and code:
// Mini Power Switch - SPDT Example
// This code toggles an LED on/off based on the switch position.
const int ledPin = 13; // Pin connected to the LED
const int switchPin = 2; // Pin connected to the switch's NO pin
void setup() {
pinMode(ledPin, OUTPUT); // Set LED pin as output
pinMode(switchPin, INPUT_PULLUP); // Set switch pin as input with pull-up resistor
}
void loop() {
int switchState = digitalRead(switchPin); // Read the switch state
if (switchState == LOW) {
// If the switch is ON (NO connected to C), turn on the LED
digitalWrite(ledPin, HIGH);
} else {
// If the switch is OFF (NC connected to C), turn off the LED
digitalWrite(ledPin, LOW);
}
}
Switch Not Working
LED Not Lighting Up in Arduino Example
Switch Feels Loose or Unresponsive
Intermittent Behavior in Digital Circuits
Q: Can this switch handle AC voltage?
A: No, the Mini Power Switch - SPDT is designed for low-power DC applications only. Do not use it with AC voltage.
Q: Can I use this switch to toggle between two power sources?
A: Yes, you can use the switch to alternate between two power sources, provided the voltage and current ratings are not exceeded.
Q: Is the switch waterproof?
A: No, this switch is not waterproof. Avoid using it in environments with moisture or water exposure.
Q: Can I use this switch for high-current applications?
A: No, the switch is rated for a maximum current of 0.5A. For high-current applications, consider using a relay or a switch with higher ratings.