A 6x6mm tactile push button with two through-hole pins, the small momentary switch used for reset, mode and menu buttons. Choose the 5mm height for a button that sits low on the board, or 10mm for one that reaches up through a case lid or panel. Sold per switch with a minimum of 10, and the price per switch drops as you buy more.
Specifications
Quick Start
What's in the box
Sold per switch, minimum 10. Packed loose in a small clear bag.
Great for
Wiring & getting started
- Check it first
Set a multimeter to continuity. Across the two pins it should read open when released and beep when pressed.
- Wire it
Connect one pin to a digital input and the other to GND. Either pin can go either way.
- Turn on the pull-up
Use pinMode(pin, INPUT_PULLUP) in Arduino. The input reads HIGH when released and LOW when pressed.
- Debounce it
Contacts bounce briefly on every press. A 20 to 50 ms software debounce makes one press count once.
Note: the pins sit 5.0 mm apart, slightly off the 2.54 mm breadboard and stripboard grid, so these suit a PCB with a 2-pin 5 mm footprint. With only two pins they will not fill a standard 4-pin 6x6 footprint. For a 4-pin footprint, use our 6x6mm 4-pin tactile switch.
