Stufin
Home Quick Cart Profile

Rocker switch 16A 250V SPDT 3PIN Red LED

Buy Now on Stufin

Component Name

Rocker Switch 16A 250V SPDT 3PIN Red LED

Overview

The Rocker Switch 16A 250V SPDT 3PIN Red LED is a type of electrical switch designed for use in various applications, including IoT devices, industrial control systems, and consumer electronics. This component combines a single-pole double-throw (SPDT) switching mechanism with a 3-pin configuration and a built-in red LED indicator.

Functionality

The Rocker Switch 16A 250V SPDT 3PIN Red LED is used to control the flow of electrical current between two circuits or devices. The switch has three terminalsone common (C) terminal and two output (NO and NC) terminals. The switch can be actuated by a physical rocker mechanism, which toggles the connection between the common terminal and one of the two output terminals.

When the switch is in the ON position, the common terminal is connected to the normally open (NO) terminal, allowing current to flow through the circuit. When the switch is in the OFF position, the common terminal is connected to the normally closed (NC) terminal, disconnecting the circuit.

Key Features

  • Rating: 16A 250V, making it suitable for applications requiring high current and voltage handling.
  • SPDT Switching: The switch can toggle between two circuits, allowing for control of devices or circuits with distinct operating modes.
  • 3-Pin Configuration: The switch has three terminals (C, NO, and NC), making it easy to integrate into a wide range of circuits and systems.
  • Red LED Indicator: A built-in red LED indicator provides visual feedback on the switch's state, illuminating when the switch is in the ON position.
  • Rocker Mechanism: The switch features a physical rocker mechanism, making it easy to operate and providing tactile feedback.
  • Durability: The switch is designed to withstand heavy usage and is suitable for industrial, commercial, and residential applications.
  • Compact Size: The component has a compact footprint, making it ideal for use in space-constrained designs.

Operating voltage

250V AC

Operating current

16A

Switching mechanism

Single-pole double-throw (SPDT)

Terminal configuration

3-pin (C, NO, NC)

LED color

Red

Actuation type

Rocker mechanism

Dimensions

[Insert dimensions]

Weight

[Insert weight]

Operating temperature range

[Insert temperature range]

Applications

The Rocker Switch 16A 250V SPDT 3PIN Red LED is suitable for a wide range of applications, including

IoT devices

Industrial control systems

Consumer electronics

Home automation systems

Lighting control systems

Security systems

Safety Precautions

When working with the Rocker Switch 16A 250V SPDT 3PIN Red LED, it is essential to follow proper safety precautions to avoid electrical shock, injury, or damage to the component. Ensure that the switch is used within its rated specifications and follow proper installation and handling procedures.

Pin Configuration

  • Rocker Switch 16A 250V SPDT 3PIN Red LED Documentation
  • Pin Description:
  • The Rocker Switch 16A 250V SPDT 3PIN Red LED has three pins, each with a specific function. Below is a detailed explanation of each pin:
  • Pin 1: Common (COM) Pin
  • Function: This pin acts as the common connection point for the switch.
  • Description: The COM pin is the central pin that connects to the load (e.g., a light, fan, or motor) and is the normal state of the switch.
  • Pin 2: Normally Open (NO) Pin
  • Function: This pin connects to the load when the switch is in the "ON" position.
  • Description: The NO pin is connected to the COM pin when the switch is activated, allowing the flow of current to the load.
  • Pin 3: LED Pin (Red LED Indicator)
  • Function: This pin supplies power to the built-in Red LED indicator, which illuminates when the switch is in the "ON" position.
  • Description: The LED pin is connected to a power source (e.g., VCC) and grounds through a suitable resistor to limit the current.
  • Connection Structure:
  • To connect the pins properly, follow this step-by-step guide:
  • Step 1: Connect the Load
  • Connect one wire from the load (e.g., a light, fan, or motor) to the COM pin (Pin 1).
  • Step 2: Connect the Power Source
  • Connect one wire from a power source (e.g., VCC) to the NO pin (Pin 2).
  • Step 3: Connect the LED Indicator
  • Connect one wire from the power source (e.g., VCC) to the LED pin (Pin 3) through a suitable resistor (e.g., 1k) to limit the current.
  • Connect the other wire from the LED pin to a suitable ground point.
  • Example Connection Diagram:
  • ```
  • +-----------+
  • | Power |
  • | Source |
  • +-----------+
  • |
  • |
  • v
  • +-----------+ +-----------+
  • | COM Pin | | Load |
  • | (Pin 1) | | (e.g., |
  • +-----------+ | Light) |
  • | |
  • | |
  • v v
  • +-----------+ +-----------+
  • | NO Pin | | Power |
  • | (Pin 2) | | Source |
  • +-----------+ +-----------+
  • |
  • |
  • v
  • +-----------+ +-----------+
  • | LED Pin | | Resistor |
  • | (Pin 3) | | (1k) |
  • +-----------+ +-----------+
  • | |
  • | |
  • v v
  • +-----------+
  • | Ground |
  • +-----------+
  • ```
  • Remember to use proper wiring and ensure the connections are secure to prevent electrical shock or damage to the components.

Code Examples

Rocker Switch 16A 250V SPDT 3PIN Red LED Documentation
Overview
The Rocker Switch 16A 250V SPDT 3PIN Red LED is a high-power, single-pole double-throw (SPDT) rocker switch suitable for a wide range of IoT applications. It features a 3-pin interface, a 16A/250V rating, and a red LED indicator.
Pinout
The switch has three pins:
| Pin | Function |
| --- | --- |
| 1 | Common (COM) |
| 2 | Normally Open (NO) |
| 3 | Normally Closed (NC) |
Operating Principle
The rocker switch operates by connecting the common pin (1) to either the normally open pin (2) or the normally closed pin (3) depending on the switch position.
Code Examples
### Example 1: Simple On/Off Control using Arduino
In this example, we'll use the rocker switch to control an LED connected to an Arduino board.
Hardware
Rocker Switch 16A 250V SPDT 3PIN Red LED
 Arduino Board (e.g., Arduino Uno)
 LED
 1 k resistor
 Breadboard and jumper wires
Software
```c
const int ledPin = 13;    // LED connected to digital pin 13
const int switchPin = 2;  // Rocker switch connected to digital pin 2
void setup() {
  pinMode(ledPin, OUTPUT);
  pinMode(switchPin, INPUT);
}
void loop() {
  int switchState = digitalRead(switchPin);
  if (switchState == HIGH) {
    digitalWrite(ledPin, HIGH); // Turn on LED when switch is in ON position
  } else {
    digitalWrite(ledPin, LOW); // Turn off LED when switch is in OFF position
  }
  delay(50); // Debounce switch readings
}
```
### Example 2: Home Automation using ESP32 and MicroPython
In this example, we'll use the rocker switch to control a relay connected to an ESP32 board, which in turn controls a household appliance.
Hardware
Rocker Switch 16A 250V SPDT 3PIN Red LED
 ESP32 Board (e.g., ESP32 DevKitC)
 Relay Module (e.g., SRD-05VDC-SL-C)
 Household Appliance (e.g., a lamp)
 Breadboard and jumper wires
Software
```python
import machine
# Define pin connections
switch_pin = machine.Pin(0, machine.Pin.IN)  # Rocker switch connected to GPIO 0
relay_pin = machine.Pin(2, machine.Pin.OUT)  # Relay connected to GPIO 2
while True:
    switch_state = switch_pin.value()
    if switch_state == 1:
        relay_pin.value(1)  # Turn on relay when switch is in ON position
    else:
        relay_pin.value(0)  # Turn off relay when switch is in OFF position
    time.sleep(0.1)  # Debounce switch readings
```
Note: Make sure to modify the pin connections according to your specific board and setup.
### Example 3: Industrial Control using Raspberry Pi and Python
In this example, we'll use the rocker switch to control a motor connected to a Raspberry Pi board.
Hardware
Rocker Switch 16A 250V SPDT 3PIN Red LED
 Raspberry Pi Board (e.g., Raspberry Pi 4 Model B)
 L293D Motor Driver IC
 DC Motor
 Breadboard and jumper wires
Software
```python
import RPi.GPIO as GPIO
# Define pin connections
switch_pin = 17  # Rocker switch connected to GPIO 17
motor_pin = 23  # Motor driver IC connected to GPIO 23
GPIO.setmode(GPIO.BCM)
GPIO.setup(switch_pin, GPIO.IN)
GPIO.setup(motor_pin, GPIO.OUT)
while True:
    switch_state = GPIO.input(switch_pin)
    if switch_state == 1:
        GPIO.output(motor_pin, GPIO.HIGH)  # Turn on motor when switch is in ON position
    else:
        GPIO.output(motor_pin, GPIO.LOW)  # Turn off motor when switch is in OFF position
    time.sleep(0.1)  # Debounce switch readings
```
Note: Make sure to modify the pin connections according to your specific board and setup.
Safety Precautions
Always ensure the rocker switch is rated for the desired load and voltage.
 Use proper safety measures when working with high-power circuits.
 Follow proper electrical installation and wiring practices.
By following these examples and guidelines, you can effectively incorporate the Rocker Switch 16A 250V SPDT 3PIN Red LED into your IoT projects.