The Arcade Button (White) is a push-button switch commonly used in arcade machines. It features a durable and responsive mechanism designed for frequent user input. This button is ideal for various applications, including gaming consoles, DIY electronics projects, and interactive displays.
Parameter | Value |
---|---|
Button Type | Momentary Push-Button |
Color | White |
Diameter | 28 mm |
Actuation Force | 50g |
Contact Rating | 3A @ 125V AC |
Mounting Hole | 24 mm |
Terminal Type | Solder Lug |
Material | Plastic (Housing), Metal (Contacts) |
The Arcade Button typically has two terminals:
Pin Number | Description |
---|---|
1 | Normally Open (NO) Contact |
2 | Common (COM) Contact |
Mounting the Button:
Wiring the Button:
NO
terminal to the input pin of your microcontroller or circuit.COM
terminal to the ground (GND) of your circuit.Below is an example of how to connect the Arcade Button to an Arduino UNO:
Arcade Button (White)
+-------------------+
| |
| NO ----> Pin 2 |
| COM ----> GND |
| |
+-------------------+
// Arcade Button Example with Arduino UNO
// This code reads the state of the arcade button and turns on an LED when
// the button is pressed.
const int buttonPin = 2; // Pin connected to NO terminal of the button
const int ledPin = 13; // Pin connected to an LED
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() {
int buttonState = digitalRead(buttonPin); // Read the state of the button
if (buttonState == LOW) { // Button is pressed
digitalWrite(ledPin, HIGH); // Turn on the LED
} else {
digitalWrite(ledPin, LOW); // Turn off the LED
}
}
Button Not Responding:
NO
terminal is connected to the correct input pin and the COM
terminal is connected to GND.Button Bouncing:
Button Sticking:
Q1: Can I use the Arcade Button with other microcontrollers?
Q2: How do I implement software debouncing?
if (buttonState == LOW) {
delay(50); // Wait for 50 milliseconds
if (digitalRead(buttonPin) == LOW) {
// Button press is confirmed
}
}
Q3: Can I use the Arcade Button for high-voltage applications?
By following this documentation, you should be able to effectively integrate the Arcade Button (White) into your projects. Happy building!