

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.








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 |
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.
The SWITCH-MOMENTARY-2 can be easily interfaced with an Arduino UNO for user input. Below is an example circuit and 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);
}
Switch Not Responding
Switch Bouncing
Exceeding Current Rating
Switch Feels Stiff or Unresponsive
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.