

A rocker switch is a type of electrical switch that operates by rocking a lever back and forth. It is commonly used to control the power supply to devices and is characterized by its simple on/off functionality. Rocker switches are widely used in household appliances, automotive systems, and industrial equipment due to their durability and ease of use.








Below are the general technical specifications for a standard rocker switch. Note that specific values may vary depending on the manufacturer and model.
| Parameter | Specification |
|---|---|
| Voltage Rating | 12V DC, 24V DC, or 120V/240V AC |
| Current Rating | 5A, 10A, or 15A (depending on model) |
| Contact Resistance | ≤ 50 mΩ |
| Insulation Resistance | ≥ 100 MΩ |
| Operating Temperature | -25°C to +85°C |
| Mechanical Life | 10,000 to 50,000 cycles |
| Mounting Style | Panel mount |
| Actuator Type | Rocker lever |
Rocker switches typically have two or three pins, depending on whether they are single-pole single-throw (SPST) or single-pole double-throw (SPDT). Below is a table describing the pin configuration:
| Pin Number | Description |
|---|---|
| 1 | Input (Power Source) |
| 2 | Output (Load Connection) |
| Pin Number | Description |
|---|---|
| 1 | Input (Power Source) |
| 2 | Output 1 (Load 1) |
| 3 | Output 2 (Load 2) |
Below is an example of how to use a rocker switch to control an LED with an Arduino UNO:
// Define pin connections
const int rockerSwitchPin = 2; // Rocker switch connected to digital pin 2
const int ledPin = 13; // LED connected to digital pin 13
void setup() {
pinMode(rockerSwitchPin, INPUT); // Set rocker switch pin as input
pinMode(ledPin, OUTPUT); // Set LED pin as output
}
void loop() {
int switchState = digitalRead(rockerSwitchPin); // Read the state of the switch
if (switchState == HIGH) {
digitalWrite(ledPin, HIGH); // Turn on the LED if switch is ON
} else {
digitalWrite(ledPin, LOW); // Turn off the LED if switch is OFF
}
}
Switch Does Not Toggle the Circuit:
Switch Overheats:
Intermittent Operation:
LED Does Not Respond in Arduino Circuit:
Q: Can a rocker switch be used for AC circuits?
A: Yes, as long as the switch is rated for the voltage and current of the AC circuit.
Q: How do I know if my rocker switch is SPST or SPDT?
A: Check the number of pins on the switch. SPST switches have two pins, while SPDT switches have three.
Q: Can I use a rocker switch to control multiple devices?
A: Yes, an SPDT rocker switch can control two devices by toggling between Output 1 and Output 2.