The 3-Pin LED Rocker Switch is a versatile and user-friendly component designed to control the flow of electricity in a circuit. It features a rocker mechanism for toggling between ON and OFF states and includes an integrated LED indicator to visually display the switch's status. This switch is widely used in various applications due to its simplicity, durability, and ease of installation.
The integrated LED indicator provides a clear visual cue, making it ideal for applications where the switch's status needs to be easily identified.
Below are the key technical details and pin configuration for the 3-Pin LED Rocker Switch:
Parameter | Value |
---|---|
Operating Voltage | 12V DC (typical) |
Current Rating | 6A @ 125V AC / 3A @ 250V AC |
LED Voltage | 12V DC |
Contact Resistance | ≤ 50 mΩ |
Insulation Resistance | ≥ 100 MΩ |
Operating Temperature | -25°C to +85°C |
Mechanical Lifespan | 10,000 cycles |
Mounting Hole Size | 20mm x 13mm (rectangular cutout) |
The 3-Pin LED Rocker Switch has three pins, as described in the table below:
Pin Number | Label | Description |
---|---|---|
1 | Load | Connects to the load (e.g., the device or circuit being powered). |
2 | Power | Connects to the positive terminal of the power supply. |
3 | Ground | Connects to the negative terminal of the power supply (also powers the LED). |
Prepare the Circuit:
Connect the Pins:
Mount the Switch:
Test the Circuit:
The 3-Pin LED Rocker Switch can be used with an Arduino UNO to control a simple LED circuit. Below is an example:
// Example code to use a 3-Pin LED Rocker Switch with Arduino UNO
// This code toggles an external LED based on the switch's state.
const int switchPin = 2; // Pin connected to the switch's Load pin
const int ledPin = 13; // Pin connected to the onboard LED
void setup() {
pinMode(switchPin, INPUT); // Set the switch pin as input
pinMode(ledPin, OUTPUT); // Set the LED pin as output
}
void loop() {
int switchState = digitalRead(switchPin); // Read the switch state
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
}
}
Issue | Possible Cause | Solution |
---|---|---|
LED indicator does not light up | Incorrect wiring or reversed polarity | Verify the wiring and ensure correct polarity for the LED. |
Switch does not control the load | Loose connections or incorrect pin usage | Check all connections and ensure the correct pins are used as per the table. |
Switch overheats during operation | Exceeding current rating | Ensure the load does not exceed the switch's current rating. |
Switch feels loose in the panel | Improper mounting | Securely mount the switch in the panel using the correct cutout dimensions. |
Can I use the switch with a 24V power supply?
Is the switch waterproof?
Can I use the switch to control AC devices?
What resistor value should I use for the LED?
This documentation provides a comprehensive guide to understanding, using, and troubleshooting the 3-Pin LED Rocker Switch. Whether you're a beginner or an experienced user, this guide will help you integrate the switch into your projects effectively.