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 independent circuits or functions simultaneously with a single press. It is commonly used in applications requiring momentary control, such as user interfaces, reset buttons, and circuit switching.
The following table outlines the key technical details of the Pushbutton_2P:
Parameter | Value |
---|---|
Manufacturer | Custom |
Part ID | PushButton_2p |
Switch Type | Momentary Pushbutton |
Number of Poles | 2 (Double Pole) |
Contact Configuration | Normally Open (NO) |
Maximum Voltage | 50V DC |
Maximum Current | 1A |
Contact Resistance | ≤ 50 mΩ |
Insulation Resistance | ≥ 100 MΩ |
Operating Temperature | -20°C to +70°C |
Mechanical Life | 100,000 cycles |
The Pushbutton_2P has four pins, as described in the table below:
Pin Number | Label | Description |
---|---|---|
1 | Pole 1 | First pole input terminal |
2 | Pole 1 | First pole output terminal |
3 | Pole 2 | Second pole input terminal |
4 | Pole 2 | Second pole output terminal |
Note: When the button is pressed, the input and output terminals of each pole are connected, completing the circuit.
The following example demonstrates how to use the Pushbutton_2P to control an LED with an Arduino UNO. One pole of the button is used to toggle the LED.
// 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); // Set button pin as input
pinMode(ledPin, OUTPUT); // Set LED pin as output
}
void loop() {
// Read the state of the pushbutton
buttonState = digitalRead(buttonPin);
// If button is pressed, turn on the LED
if (buttonState == HIGH) {
digitalWrite(ledPin, HIGH); // Turn LED on
} else {
digitalWrite(ledPin, LOW); // Turn LED off
}
}
Note: This example uses only one pole of the Pushbutton_2P. The second pole can be used for another independent circuit.
Button Not Responding:
LED Flickering or Unstable Output:
Overheating or Damage:
Second Pole Not Working:
Q1: Can I use the Pushbutton_2P for AC circuits?
A1: The Pushbutton_2P is designed for DC circuits with a maximum voltage of 50V. For AC applications, ensure the voltage and current ratings are not exceeded.
Q2: How do I debounce the pushbutton in software?
A2: You can use a delay or a state-change detection algorithm in your code to filter out bouncing signals.
Q3: Can I use both poles for the same circuit?
A3: Yes, you can connect both poles in parallel to increase current handling capacity, but ensure the total current does not exceed 1A.
Q4: Is the Pushbutton_2P waterproof?
A4: No, the Pushbutton_2P is not waterproof. Use it in dry environments or consider additional protection for outdoor use.