Well, if it's just the switch, what you have there is a classic V3 micro switch. They're all the same, although some have only two connections. You have the full complement of three, but you only need two.
The pinout is shown here:
![Image]()
You might also find some moulded-in labels. The bottom connector is "common", or "COM", or "C". I recommend you connect this to your GPIO pin of choice.
The two connectors on the side are "normally open", or "NO", and "normally closed", or "NC". The upper on is normally closed.
When you press the actuator a little metal piece inside connected to COM flicks between NO and NC.
I recommend you connect NO to GND and leave NC unconnected. Then, in your software configure the GPIO as an input will pull-up turned on.
Now you will get a different reading from the GPIO pin depending on whether the switch is actuated or not.
The LED is completely independent of the switch. It has two wires to light it up. You need to know the voltage and current specifications for the LED. You also need to know the polarity of the pins, although some arcade switch LEDs are non-polarised.
The pinout is shown here:

You might also find some moulded-in labels. The bottom connector is "common", or "COM", or "C". I recommend you connect this to your GPIO pin of choice.
The two connectors on the side are "normally open", or "NO", and "normally closed", or "NC". The upper on is normally closed.
When you press the actuator a little metal piece inside connected to COM flicks between NO and NC.
I recommend you connect NO to GND and leave NC unconnected. Then, in your software configure the GPIO as an input will pull-up turned on.
Now you will get a different reading from the GPIO pin depending on whether the switch is actuated or not.
The LED is completely independent of the switch. It has two wires to light it up. You need to know the voltage and current specifications for the LED. You also need to know the polarity of the pins, although some arcade switch LEDs are non-polarised.
Statistics: Posted by ame — Fri Jul 12, 2024 7:29 am