Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use Switch Unit: Examples, Pinouts, and Specs

Image of Switch Unit
Cirkit Designer LogoDesign with Switch Unit in Cirkit Designer

Introduction

The Switch Unit by Jeremiah (Part ID: Switch Unit) is a versatile electronic component designed to open or close an electrical circuit. By interrupting or allowing the flow of electricity, it serves as a fundamental control mechanism in countless applications. Switches can be manually operated (e.g., toggle switches, push buttons) or automated (e.g., relay-controlled switches).

Explore Projects Built with Switch Unit

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Battery-Powered UPS with Step-Down Buck Converter and BMS
Image of Mini ups: A project utilizing Switch Unit in a practical application
This circuit is a power management system that steps down a 240V AC input to a lower DC voltage using a buck converter, which then powers a 40W UPS. The UPS is controlled by a rocker switch and is backed up by a battery management system (BMS) connected to three 3.7V batteries in series, ensuring continuous power supply.
Cirkit Designer LogoOpen Project in Cirkit Designer
24V Pushbutton Control Interface with 40-Pin Connector
Image of 4 på rad: A project utilizing Switch Unit in a practical application
This circuit consists of a 24V power supply unit (PSU) connected to four pushbuttons. Each pushbutton is wired such that pressing it will send a 24V signal to a corresponding general-purpose input (GP In) on a 40-pin connector. The common return path for the pushbuttons is connected to the 0V of the PSU, which is also connected to the common (Com) for input pins on the 40-pin connector, completing the circuit for each button press.
Cirkit Designer LogoOpen Project in Cirkit Designer
Solar-Powered Battery Backup System with Automatic Transfer Switch
Image of POWER SUPPLY: A project utilizing Switch Unit in a practical application
This circuit is a solar power management system that integrates a solar panel, battery, and inverter to provide a stable 12V DC and 220V AC output. It includes automatic transfer switches (ATS) and circuit breakers for safety and reliability, as well as a low voltage disconnect to protect the battery from deep discharge.
Cirkit Designer LogoOpen Project in Cirkit Designer
12V UPS System with Dual 18650 Li-ion Battery Backup and Voltage Regulation
Image of Power supply: A project utilizing Switch Unit in a practical application
This circuit is designed to provide an uninterruptible power supply (UPS) system with a 12V DC output. It includes a 12V 5A power supply connected to an AC source through a toggle switch, which charges a pair of 18650 Li-ion batteries via a voltage regulator (XL4016). The UPS module ensures a continuous power supply to the load by switching between the power supply and the battery bank.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with Switch Unit

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of Mini ups: A project utilizing Switch Unit in a practical application
Battery-Powered UPS with Step-Down Buck Converter and BMS
This circuit is a power management system that steps down a 240V AC input to a lower DC voltage using a buck converter, which then powers a 40W UPS. The UPS is controlled by a rocker switch and is backed up by a battery management system (BMS) connected to three 3.7V batteries in series, ensuring continuous power supply.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of 4 på rad: A project utilizing Switch Unit in a practical application
24V Pushbutton Control Interface with 40-Pin Connector
This circuit consists of a 24V power supply unit (PSU) connected to four pushbuttons. Each pushbutton is wired such that pressing it will send a 24V signal to a corresponding general-purpose input (GP In) on a 40-pin connector. The common return path for the pushbuttons is connected to the 0V of the PSU, which is also connected to the common (Com) for input pins on the 40-pin connector, completing the circuit for each button press.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of POWER SUPPLY: A project utilizing Switch Unit in a practical application
Solar-Powered Battery Backup System with Automatic Transfer Switch
This circuit is a solar power management system that integrates a solar panel, battery, and inverter to provide a stable 12V DC and 220V AC output. It includes automatic transfer switches (ATS) and circuit breakers for safety and reliability, as well as a low voltage disconnect to protect the battery from deep discharge.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Power supply: A project utilizing Switch Unit in a practical application
12V UPS System with Dual 18650 Li-ion Battery Backup and Voltage Regulation
This circuit is designed to provide an uninterruptible power supply (UPS) system with a 12V DC output. It includes a 12V 5A power supply connected to an AC source through a toggle switch, which charges a pair of 18650 Li-ion batteries via a voltage regulator (XL4016). The UPS module ensures a continuous power supply to the load by switching between the power supply and the battery bank.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications and Use Cases

  • Turning electrical devices on or off (e.g., lights, fans, appliances)
  • Circuit selection in multi-path systems
  • Signal routing in communication systems
  • Safety mechanisms in industrial equipment
  • User input in electronic devices (e.g., keyboards, control panels)

Technical Specifications

The Switch Unit is available in various configurations to suit different applications. Below are the general technical specifications:

Key Technical Details

  • Voltage Rating: 3V to 250V (AC/DC, depending on model)
  • Current Rating: 0.1A to 10A
  • Contact Resistance: ≤ 50 mΩ
  • Insulation Resistance: ≥ 100 MΩ
  • Operating Temperature: -20°C to 85°C
  • Mechanical Durability: Up to 1,000,000 cycles
  • Electrical Durability: Up to 100,000 cycles (at rated load)

Pin Configuration and Descriptions

The Switch Unit typically has two or more terminals, depending on the type of switch (e.g., SPST, SPDT, DPDT). Below is a table for a common SPST (Single Pole Single Throw) switch:

Pin Number Name Description
1 Input (IN) Connects to the power source or signal input.
2 Output (OUT) Connects to the load or circuit being controlled.

For a SPDT (Single Pole Double Throw) switch, the pin configuration is as follows:

Pin Number Name Description
1 Common (COM) Connects to the power source or signal input.
2 Normally Open (NO) Output when the switch is activated.
3 Normally Closed (NC) Output when the switch is deactivated.

Usage Instructions

How to Use the Switch Unit in a Circuit

  1. Identify the Switch Type: Determine whether the switch is SPST, SPDT, or another type based on your application.
  2. Connect the Terminals:
    • For SPST: Connect the Input (IN) terminal to the power source and the Output (OUT) terminal to the load.
    • For SPDT: Connect the Common (COM) terminal to the power source, and choose between NO or NC terminals based on the desired behavior.
  3. Secure the Connections: Use soldering or screw terminals to ensure reliable connections.
  4. Test the Circuit: Verify that the switch operates as expected by toggling it and observing the load.

Important Considerations and Best Practices

  • Voltage and Current Ratings: Ensure the switch can handle the voltage and current of your circuit to avoid damage or failure.
  • Debouncing: For digital circuits, consider implementing debouncing (hardware or software) to eliminate noise caused by rapid switching.
  • Mounting: Secure the switch in a stable position to prevent accidental toggling or damage.
  • Safety: Always disconnect power before wiring or modifying the switch to avoid electric shock.

Example: Connecting a Switch Unit to an Arduino UNO

Below is an example of using a push-button switch (SPST) with an Arduino UNO to control an LED:

// Define pin numbers
const int switchPin = 2;  // Pin connected to the switch
const int ledPin = 13;    // Pin connected to the LED

void setup() {
  pinMode(switchPin, INPUT_PULLUP); // Configure switch pin as input with pull-up resistor
  pinMode(ledPin, OUTPUT);          // Configure LED pin as output
}

void loop() {
  int switchState = digitalRead(switchPin); // Read the state of the switch

  if (switchState == LOW) { // If the switch is pressed (LOW due to pull-up)
    digitalWrite(ledPin, HIGH); // Turn on the LED
  } else {
    digitalWrite(ledPin, LOW);  // Turn off the LED
  }
}

Notes:

  • The INPUT_PULLUP mode is used to simplify the circuit by enabling the internal pull-up resistor of the Arduino.
  • The switch should be connected between the input pin and ground.

Troubleshooting and FAQs

Common Issues and Solutions

  1. Switch Not Working:

    • Cause: Loose or incorrect wiring.
    • Solution: Double-check the connections and ensure the switch terminals are properly connected.
  2. Switch Generates Noise in Digital Circuits:

    • Cause: Contact bounce during switching.
    • Solution: Implement hardware (e.g., capacitor) or software debouncing.
  3. Switch Overheats:

    • Cause: Exceeding the voltage or current rating.
    • Solution: Use a switch with appropriate ratings for your circuit.
  4. Switch Fails to Toggle:

    • Cause: Mechanical wear or damage.
    • Solution: Replace the switch if it has reached its durability limit.

FAQs

  • Q: Can I use the Switch Unit for AC circuits?

    • A: Yes, as long as the voltage and current ratings are within the specified range.
  • Q: What is the difference between NO and NC terminals?

    • A: NO (Normally Open) is disconnected when the switch is idle, while NC (Normally Closed) is connected when the switch is idle.
  • Q: How do I debounce a switch in software?

    • A: Use a delay or a state-checking algorithm in your code to filter out rapid toggling caused by contact bounce.

By following this documentation, you can effectively integrate the Switch Unit into your projects and troubleshoot common issues with ease.