

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 is opened 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 SWITCH-MOMENTARY-2 is a simple yet versatile component. Below are its key technical details:
| 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Ω at 500V DC |
| Operating Temperature | -20°C to +70°C |
| Mechanical Lifespan | 100,000 cycles |
The SWITCH-MOMENTARY-2 typically has two pins. Below is 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.
Below is an example of how to connect the SWITCH-MOMENTARY-2 to an Arduino UNO and read its state:
// Define the pin connected to the 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
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
Unstable Readings in Microcontroller Applications
Switch Feels Stuck or Unresponsive
Switch Fails to Close the Circuit
Q: Can I use the SWITCH-MOMENTARY-2 with AC circuits?
A: No, this switch is designed for low-voltage DC circuits only. Using it with AC circuits may damage the switch or pose safety risks.
Q: How do I debounce the switch in software?
A: You can use a delay or a state-checking algorithm in your code to filter out rapid changes in the switch state caused by bouncing.
Q: Is the switch waterproof?
A: No, the SWITCH-MOMENTARY-2 is not waterproof. Avoid using it in environments with high humidity or exposure to liquids.
Q: Can I use this switch for high-power applications?
A: No, the switch is rated for a maximum current of 50mA. For high-power applications, consider using a relay or a switch with higher ratings.
This concludes the documentation for the SWITCH-MOMENTARY-2.