Stufin
Home Quick Cart Profile

Rocker switch 6A 250V SPDT 3 PIN Red LED

Buy Now on Stufin

Component Documentation

Rocker Switch 6A 250V SPDT 3 PIN Red LED

Overview

The Rocker Switch 6A 250V SPDT 3 PIN Red LED is a type of electrical switch designed for IoT applications that require a reliable and efficient way to control electrical circuits. This switch features a robust rocker design, high current rating, and a built-in red LED indicator, making it suitable for a wide range of applications.

Functionality

The Rocker Switch 6A 250V SPDT 3 PIN Red LED is a Single-Pole Double-Throw (SPDT) switch, which means it has three terminalsone common terminal and two output terminals. The switch allows the user to toggle between two distinct electrical paths, making it ideal for applications that require the selection of one of two options.

When the rocker is pushed to one side, the common terminal is connected to one of the output terminals, allowing current to flow through the circuit. Conversely, when the rocker is pushed to the other side, the common terminal is connected to the second output terminal, switching the circuit to the alternative path.

Key Features

  • High Current Rating: The switch is designed to handle high currents up to 6A, making it suitable for applications that require reliable switching of heavier electrical loads.
  • High Voltage Rating: The switch has a voltage rating of 250V, allowing it to be used in applications that involve high-voltage electrical circuits.
  • Red LED Indicator: The built-in red LED indicator provides a visual representation of the switch's status, allowing users to easily determine the state of the circuit.
  • Rocker Design: The rocker design provides a tactile and intuitive interface for users, making it easy to operate the switch.
  • 3-Pin Connection: The switch has a 3-pin connection, which simplifies installation and reduces the risk of wiring errors.
  • Compact Size: The switch has a compact design, making it ideal for use in applications where space is limited.
  • Reliability: The switch is built with high-quality materials and is designed to provide reliable performance over an extended period.

Applications

  • Home automation systems
  • Industrial control systems
  • Automotive systems
  • Medical devices
  • Consumer electronics
The Rocker Switch 6A 250V SPDT 3 PIN Red LED is suitable for a wide range of IoT applications, including

Technical Specifications

| Parameter | Value |

| --- | --- |

| Current Rating | 6A |

| Voltage Rating | 250V |

| Switch Type | SPDT |

| Connection Type | 3-Pin |

| LED Indicator | Red |

| Operating Temperature | -20C to 85C |

| Dimensions | 25mm x 15mm x 12mm |

Conclusion

The Rocker Switch 6A 250V SPDT 3 PIN Red LED is a high-quality electrical switch designed for IoT applications that require reliable and efficient control of electrical circuits. Its high current rating, high voltage rating, and built-in red LED indicator make it an ideal choice for a wide range of applications.

Pin Configuration

  • Rocker Switch 6A 250V SPDT 3 PIN Red LED Documentation
  • Overview
  • The Rocker Switch 6A 250V SPDT 3 PIN Red LED is a type of electrical switch that is commonly used in IoT and electrical applications. The switch has three pins and is rated for 6A at 250V, making it suitable for high-power applications. The SPDT (Single Pole Double Throw) configuration allows the switch to connect one input to one of two outputs. The switch also features a built-in red LED indicator that lights up when the switch is in the "ON" position.
  • Pin Configuration
  • The Rocker Switch 6A 250V SPDT 3 PIN Red LED has three pins, labeled as follows:
  • Pin 1: Common (COM) Pin
  • Function: Connects to the input power source
  • Description: The common pin is the central pin that connects to the input power source. When the switch is in the "ON" position, the common pin is connected to one of the two output pins.
  • Pin 2: Normally Open (NO) Pin
  • Function: Connects to the output load when the switch is in the "ON" position
  • Description: The normally open pin is one of the two output pins. When the switch is in the "ON" position, the common pin is connected to the normally open pin, allowing power to flow to the connected load.
  • Pin 3: Normally Closed (NC) Pin
  • Function: Connects to the output load when the switch is in the "OFF" position
  • Description: The normally closed pin is the other output pin. When the switch is in the "OFF" position, the common pin is connected to the normally closed pin, allowing power to flow to the connected load.
  • Connecting the Pins
  • To connect the pins of the Rocker Switch 6A 250V SPDT 3 PIN Red LED, follow these steps:
  • Step 1: Connect the Input Power Source
  • Connect the input power source (e.g., a power supply or a battery) to Pin 1 (COM). Make sure the voltage and current ratings of the power source do not exceed the switch's ratings (6A at 250V).
  • Step 2: Connect the Output Load
  • Connect the output load (e.g., a light bulb, a motor, or an IoT device) to Pin 2 (NO) if you want the load to turn on when the switch is in the "ON" position.
  • Connect the output load (e.g., a light bulb, a motor, or an IoT device) to Pin 3 (NC) if you want the load to turn on when the switch is in the "OFF" position.
  • Step 3: Verify the Switch Operation
  • Test the switch by toggling it between the "ON" and "OFF" positions. Verify that the LED indicator lights up when the switch is in the "ON" position and turns off when the switch is in the "OFF" position.
  • Verify that the output load turns on and off correctly based on the switch position.
  • Important Note
  • Make sure to follow proper safety precautions when working with electrical components, including using protective gear and ensuring the work area is well-ventilated.
  • Verify the ratings and specifications of the switch and the connected components to ensure safe and reliable operation.

Code Examples

Rocker Switch 6A 250V SPDT 3 PIN Red LED Documentation
Overview
The Rocker Switch 6A 250V SPDT 3 PIN Red LED is a single-pole double-throw (SPDT) rocker switch with a built-in red LED indicator. It is rated for 6A at 250V, making it suitable for a wide range of IoT applications. The switch has three pins: one common input, one normally open (NO) output, and one normally closed (NC) output.
Pinout
| Pin | Function |
| --- | --- |
| 1 | Common Input |
| 2 | Normally Open (NO) Output |
| 3 | Normally Closed (NC) Output |
Code Examples
### Example 1: Basic On-Off Control with LED Indicator (Arduino)
In this example, we'll use the Rocker Switch to control an LED and display its state using the built-in red LED indicator.
```c
const int ledPin = 9;  // Output pin for the external LED
const int switchPin = 2;  // Input pin for the Rocker Switch
void setup() {
  pinMode(ledPin, OUTPUT);
  pinMode(switchPin, INPUT);
}
void loop() {
  if (digitalRead(switchPin) == HIGH) {
    digitalWrite(ledPin, HIGH);  // Turn on the external LED
  } else {
    digitalWrite(ledPin, LOW);  // Turn off the external LED
  }
}
```
### Example 2: Home Automation with ESP32 (MicroPython)
In this example, we'll use the Rocker Switch to control a relay module connected to an ESP32 board, and display the switch state on an LCD screen.
```python
import machine
import utime
# Initialize the Rocker Switch pin as an input
switch_pin = machine.Pin(32, machine.Pin.IN)
# Initialize the relay module pin as an output
relay_pin = machine.Pin(33, machine.Pin.OUT)
# Initialize the LCD screen
lcd = machine.LCD(16, 2)  # 16x2 LCD screen
while True:
    if switch_pin.value() == 1:
        relay_pin.value(1)  # Turn on the relay
        lcd.print("Switch On ")
    else:
        relay_pin.value(0)  # Turn off the relay
        lcd.print("Switch Off")
    utime.sleep(0.5)  # Debounce time
```
### Example 3: Industrial Automation with Raspberry Pi (Python)
In this example, we'll use the Rocker Switch to control a motor connected to a Raspberry Pi, and display the switch state on a GUI using Tkinter.
```python
import RPi.GPIO as GPIO
import tkinter as tk
# Initialize the Rocker Switch pin as an input
GPIO.setmode(GPIO.BCM)
switch_pin = 17
GPIO.setup(switch_pin, GPIO.IN, pull_up_down=GPIO.PUD_UP)
# Initialize the motor pin as an output
motor_pin = 23
GPIO.setup(motor_pin, GPIO.OUT)
# Create a GUI window
window = tk.Tk()
window.title("Motor Control")
def toggle_motor():
    if GPIO.input(switch_pin) == GPIO.HIGH:
        GPIO.output(motor_pin, GPIO.HIGH)  # Turn on the motor
        label.config(text="Motor On")
    else:
        GPIO.output(motor_pin, GPIO.LOW)  # Turn off the motor
        label.config(text="Motor Off")
label = tk.Label(window, text="Motor Off")
label.pack()
button = tk.Button(window, text="Toggle Motor", command=toggle_motor)
button.pack()
window.mainloop()
```
These examples demonstrate how to use the Rocker Switch 6A 250V SPDT 3 PIN Red LED in various IoT applications, including basic on-off control, home automation, and industrial automation.