

The Pushbutton_2P is a versatile pushbutton switch manufactured by Custom, with the part ID PushButton_2p. This component features two poles, enabling it to control two separate circuits or functions simultaneously with a single press. It is commonly used in applications requiring momentary switching, such as user interfaces, control panels, and prototyping.








The following table outlines the key technical details of the Pushbutton_2P:
| Parameter | Value |
|---|---|
| Manufacturer | Custom |
| Part ID | PushButton_2p |
| Number of Poles | 2 |
| Switch Type | Momentary (normally open) |
| Maximum Voltage Rating | 50V DC |
| Maximum Current Rating | 1A |
| Contact Resistance | ≤ 50 mΩ |
| Insulation Resistance | ≥ 100 MΩ at 500V DC |
| Operating Temperature | -20°C to +70°C |
| Mechanical Lifespan | 100,000 cycles |
The Pushbutton_2P has four pins, with two pins for each pole. The pin configuration is as follows:
| Pin Number | Description |
|---|---|
| 1 | Pole 1 - Normally Open (NO) Contact |
| 2 | Pole 1 - Common (COM) Contact |
| 3 | Pole 2 - Normally Open (NO) Contact |
| 4 | Pole 2 - Common (COM) Contact |
The following example demonstrates how to use the Pushbutton_2P to control an LED with an Arduino UNO. One pole of the pushbutton is used in this example.
// Define pin numbers
const int buttonPin = 2; // Pushbutton connected to digital pin 2
const int ledPin = 13; // LED connected to digital pin 13
// Variable to store button state
int buttonState = 0;
void setup() {
pinMode(buttonPin, INPUT_PULLUP); // Set button pin as input with internal pull-up
pinMode(ledPin, OUTPUT); // Set LED pin as output
}
void loop() {
// Read the state of the pushbutton
buttonState = digitalRead(buttonPin);
// If button is pressed (LOW state due to pull-up resistor)
if (buttonState == LOW) {
digitalWrite(ledPin, HIGH); // Turn on the LED
} else {
digitalWrite(ledPin, LOW); // Turn off the LED
}
}
Button Not Responding:
LED Flickering When Button is Pressed:
Button Feels Loose or Unstable:
Multiple Circuits Not Working Simultaneously:
Q: Can I use the Pushbutton_2P to control AC circuits?
A: The Pushbutton_2P is rated for DC circuits up to 50V and 1A. It is not recommended for use in AC circuits unless the ratings are strictly adhered to.
Q: How do I debounce the pushbutton in software?
A: You can use a delay or a state-change detection algorithm in your code to filter out bouncing signals.
Q: Can I use both poles independently?
A: Yes, the two poles are electrically isolated and can be used to control two separate circuits or functions.
Q: What is the lifespan of the Pushbutton_2P?
A: The mechanical lifespan is rated at 100,000 cycles under normal operating conditions.