

The SWITCH-MOMENTARY-2 is a momentary push-button switch that temporarily closes a circuit only while it is being pressed. Once released, the circuit opens again. This type of switch is widely used in applications where a temporary connection is required, such as in doorbells, reset buttons, and user input interfaces.








The following table outlines the key technical details of the SWITCH-MOMENTARY-2:
| Parameter | Value |
|---|---|
| Switch Type | Momentary (Normally Open) |
| Operating Voltage | 3V to 24V DC |
| Maximum Current Rating | 50mA |
| Contact Resistance | ≤ 50 mΩ |
| Insulation Resistance | ≥ 100 MΩ |
| Operating Temperature | -20°C to +70°C |
| Mechanical Lifespan | 100,000 cycles |
The SWITCH-MOMENTARY-2 typically has two pins. The table below describes the pin configuration:
| Pin | Description |
|---|---|
| Pin 1 | Connects to one side of the circuit |
| Pin 2 | Connects to the other side of the circuit |
Note: The switch is non-polarized, meaning the pins are interchangeable.
Basic Connection:
Debouncing:
Pull-Up or Pull-Down Resistors:
Below is an example of how to connect the SWITCH-MOMENTARY-2 to an Arduino UNO and read its state:
// Example code for using SWITCH-MOMENTARY-2 with Arduino UNO
const int switchPin = 2; // Pin connected to the switch
int switchState = 0; // Variable to store the switch state
void setup() {
pinMode(switchPin, INPUT_PULLUP); // Set pin as input with internal pull-up
Serial.begin(9600); // Initialize serial communication
}
void loop() {
switchState = digitalRead(switchPin); // Read the state of the switch
if (switchState == LOW) {
// Switch is pressed (LOW because of pull-up resistor)
Serial.println("Switch Pressed");
} else {
// Switch is not pressed
Serial.println("Switch Released");
}
delay(100); // Small delay to avoid spamming the serial monitor
}
| Issue | Possible Cause | Solution |
|---|---|---|
| Switch does not respond when pressed | Loose or incorrect wiring | Verify connections and ensure proper wiring. |
| Erratic behavior when pressing the switch | Electrical noise or bouncing | Add a debouncing circuit or use software debouncing. |
| Microcontroller does not detect input | Missing pull-up or pull-down resistor | Use an internal or external pull-up/pull-down resistor. |
| Switch feels stuck or unresponsive | Mechanical wear or debris inside the switch | Replace the switch or clean it carefully. |
Can I use the SWITCH-MOMENTARY-2 with AC circuits?
No, this switch is designed for low-voltage DC circuits only. Using it with AC circuits may damage the switch or cause unsafe operation.
What is the lifespan of the switch?
The mechanical lifespan is rated at 100,000 cycles under normal operating conditions.
Do I need an external pull-up resistor when using this switch with an Arduino?
No, you can use the Arduino's internal pull-up resistor by configuring the pin as INPUT_PULLUP.
Can I use this switch for high-current applications?
No, the maximum current rating is 50mA. For high-current applications, consider using a relay or transistor in conjunction with the switch.
By following this documentation, you can effectively integrate the SWITCH-MOMENTARY-2 into your projects and troubleshoot any issues that arise.