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

How to Use SWITCH-MOMENTARY-2: Examples, Pinouts, and Specs

Image of SWITCH-MOMENTARY-2
Cirkit Designer LogoDesign with SWITCH-MOMENTARY-2 in Cirkit Designer

Introduction

The SWITCH-MOMENTARY-2 is a simple yet versatile electronic component designed to close a circuit only while it is being pressed. This momentary switch is commonly used for temporary actions, such as triggering a function, activating a device, or sending a signal in a circuit. Its compact design and ease of use make it a popular choice in a wide range of applications, including consumer electronics, prototyping, and industrial control systems.

Explore Projects Built with SWITCH-MOMENTARY-2

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Toggle Switch Controlled Lamp Circuit with Banana Sockets
Image of STAIRCASE: A project utilizing SWITCH-MOMENTARY-2 in a practical application
This circuit consists of two toggle switches and a red lamp connected to panel mount banana sockets. The switches control the connection between the red and black banana sockets, allowing the lamp to be turned on or off depending on the switch positions.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino-Controlled Input Panel with Momentary and Toggle Switches
Image of button box group 2: A project utilizing SWITCH-MOMENTARY-2 in a practical application
This circuit features an Arduino Micro Pro microcontroller connected to multiple input devices including momentary switches and rotary encoders, with toggle switches likely used for controlling power or signal paths. The microcontroller is set up to monitor and respond to the state changes of these input devices, enabling interactive control for an application.
Cirkit Designer LogoOpen Project in Cirkit Designer
Battery-Powered Green Pilot Lamp with Push Switch Control
Image of lora project: A project utilizing SWITCH-MOMENTARY-2 in a practical application
This circuit is a simple control circuit that uses a 2-pin push switch to turn on a green pilot lamp. When the switch is pressed, it completes the circuit between the battery and the lamp, allowing current to flow and illuminate the lamp. The circuit is likely used as an indicator light that can be manually toggled on and off.
Cirkit Designer LogoOpen Project in Cirkit Designer
Battery-Powered Gearmotor Control with Dual 2-Way Switches
Image of mini elavator without controller: A project utilizing SWITCH-MOMENTARY-2 in a practical application
This circuit consists of two 2-way switches connected in series with a 9V battery and a hobby gearmotor. The switches control the power flow to the motor, allowing it to be turned on or off. The configuration suggests that both switches need to be closed (on position) for the motor to operate.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with SWITCH-MOMENTARY-2

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 STAIRCASE: A project utilizing SWITCH-MOMENTARY-2 in a practical application
Toggle Switch Controlled Lamp Circuit with Banana Sockets
This circuit consists of two toggle switches and a red lamp connected to panel mount banana sockets. The switches control the connection between the red and black banana sockets, allowing the lamp to be turned on or off depending on the switch positions.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of button box group 2: A project utilizing SWITCH-MOMENTARY-2 in a practical application
Arduino-Controlled Input Panel with Momentary and Toggle Switches
This circuit features an Arduino Micro Pro microcontroller connected to multiple input devices including momentary switches and rotary encoders, with toggle switches likely used for controlling power or signal paths. The microcontroller is set up to monitor and respond to the state changes of these input devices, enabling interactive control for an application.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of lora project: A project utilizing SWITCH-MOMENTARY-2 in a practical application
Battery-Powered Green Pilot Lamp with Push Switch Control
This circuit is a simple control circuit that uses a 2-pin push switch to turn on a green pilot lamp. When the switch is pressed, it completes the circuit between the battery and the lamp, allowing current to flow and illuminate the lamp. The circuit is likely used as an indicator light that can be manually toggled on and off.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of mini elavator without controller: A project utilizing SWITCH-MOMENTARY-2 in a practical application
Battery-Powered Gearmotor Control with Dual 2-Way Switches
This circuit consists of two 2-way switches connected in series with a 9V battery and a hobby gearmotor. The switches control the power flow to the motor, allowing it to be turned on or off. The configuration suggests that both switches need to be closed (on position) for the motor to operate.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications

  • Reset buttons in electronic devices
  • Triggering events in microcontroller-based projects
  • Activating relays or other temporary circuits
  • User input in control panels or keypads
  • Testing and debugging circuits

Technical Specifications

The SWITCH-MOMENTARY-2 is a single-pole, single-throw (SPST) switch that operates momentarily when pressed. Below are its key technical details:

Parameter Specification
Operating Voltage 3V to 24V DC
Maximum Current Rating 50mA
Contact Resistance ≤ 50 mΩ
Insulation Resistance ≥ 100 MΩ at 500V DC
Operating Force 160 ± 50 gf
Mechanical Life 100,000 cycles
Operating Temperature -20°C to +70°C
Dimensions 6mm x 6mm x 5mm

Pin Configuration

The SWITCH-MOMENTARY-2 typically has two pins, as shown below:

Pin Description
Pin 1 Connected to one side of the circuit
Pin 2 Connected to the other side of the circuit

When the switch is pressed, the two pins are electrically connected, allowing current to flow through the circuit.

Usage Instructions

How to Use the SWITCH-MOMENTARY-2 in a Circuit

  1. Identify the Pins: Locate the two pins of the switch. These are not polarized, so they can be connected in either orientation.
  2. Connect to the Circuit:
    • Connect one pin to the positive side of the circuit (e.g., a power source or signal input).
    • Connect the other pin to the load or the ground, depending on the circuit design.
  3. Test the Switch: Press the switch to close the circuit and observe the desired action (e.g., turning on an LED or sending a signal to a microcontroller).

Important Considerations

  • Debouncing: Momentary switches can produce electrical noise or "bouncing" when pressed. Use a capacitor or software-based debouncing techniques to ensure stable operation.
  • Current Limiting: Ensure the current through the switch does not exceed its maximum rating (50mA). Use a resistor if necessary.
  • Mounting: Secure the switch properly to avoid mechanical stress that could damage the pins or housing.

Example: Connecting to an Arduino UNO

The SWITCH-MOMENTARY-2 can be easily interfaced with an Arduino UNO for user input. Below is an example circuit and code:

Circuit Diagram

  • Connect one pin of the switch to Arduino digital pin 2.
  • Connect the other pin to the ground (GND).
  • Use a pull-up resistor (10kΩ) between digital pin 2 and 5V to ensure a stable HIGH signal when the switch is not pressed.

Arduino Code

// Define the pin connected to the momentary switch
const int switchPin = 2;

// Variable to store the switch state
int switchState = 0;

void setup() {
  // Set the switch pin as input with an internal pull-up resistor
  pinMode(switchPin, INPUT_PULLUP);

  // Initialize serial communication for debugging
  Serial.begin(9600);
}

void loop() {
  // Read the state of the switch (LOW when pressed, HIGH when not pressed)
  switchState = digitalRead(switchPin);

  // Print the switch state to the Serial Monitor
  if (switchState == LOW) {
    Serial.println("Switch Pressed");
  } else {
    Serial.println("Switch Released");
  }

  // Add a small delay to avoid spamming the Serial Monitor
  delay(100);
}

Troubleshooting and FAQs

Common Issues

  1. Switch Not Responding

    • Cause: Poor connection or incorrect wiring.
    • Solution: Check the connections and ensure the switch pins are properly soldered or inserted into the circuit.
  2. Switch Bouncing

    • Cause: Electrical noise when the switch is pressed or released.
    • Solution: Add a 0.1µF capacitor across the switch pins or implement software debouncing in your code.
  3. Exceeding Current Rating

    • Cause: The load connected to the switch draws more than 50mA.
    • Solution: Use a transistor or relay to handle higher currents.
  4. Switch Feels Stiff or Unresponsive

    • Cause: Mechanical wear or debris inside the switch.
    • Solution: Replace the switch if it has exceeded its mechanical life or clean it carefully if possible.

FAQs

Q: Can I use the SWITCH-MOMENTARY-2 for AC circuits?
A: No, this switch is designed for low-voltage DC circuits only. Using it in AC circuits may damage the switch or pose a safety hazard.

Q: How do I debounce the switch in software?
A: You can use a simple delay or a state-change detection algorithm in your code to filter out bouncing signals.

Q: Can I use this switch to directly control a motor?
A: No, the switch cannot handle high currents required by motors. Use a relay or transistor to control the motor instead.

Q: What happens if I connect the pins in reverse?
A: The switch is non-polarized, so the pins can be connected in either orientation without any issues.