12×12 mm tactile button pinout
12×12 mm tactile button (4 pins), 12×12 tactile button, 5 V logic, 14.5×12.7 mm, 4 pins
partly verified17.10.2026
Top view: 4 top left, 3 top right, 2 bottom left, 1 bottom right (as in the Omron datasheet).
Download PNG- Chip
- 12×12 tactile button
- Logic
- 5 V
Important
- Pins 6.5 mm apart (12.5 mm on the 12×12) are always connected internally; the button joins them to the other pair. If both wires go to connected pins, the button reads as always pressed.
- Simplest: one pin to a GPIO, the diagonal pin to GND, pinMode(pin, INPUT_PULLUP) in code: released = HIGH, pressed = LOW.
- On a breadboard, place it across the center channel: the connected pins end up in different halves.
All pins
| Label | Number | Functions | Limits | Check |
|---|---|---|---|---|
| 4 | pin 4 | Pair 4–3 (connected internally) | not from manufacturerThe 12×12 layout follows the B3F-4000 (Omron); no-name 12×12 buttons have the same 4–3/2–1 scheme, but the 12.5×5 pitch may be 12×5. | |
| 2 | pin 2 | Pair 2–1 (connected internally) | not from manufacturerThe 12×12 layout follows the B3F-4000 (Omron); no-name 12×12 buttons have the same 4–3/2–1 scheme, but the 12.5×5 pitch may be 12×5. | |
| 3 | pin 3 | Pair 4–3 (connected internally) | not from manufacturerThe 12×12 layout follows the B3F-4000 (Omron); no-name 12×12 buttons have the same 4–3/2–1 scheme, but the 12.5×5 pitch may be 12×5. | |
| 1 | pin 1 | Pair 2–1 (connected internally) | not from manufacturerThe 12×12 layout follows the B3F-4000 (Omron); no-name 12×12 buttons have the same 4–3/2–1 scheme, but the 12.5×5 pitch may be 12×5. |
Sources
Not verified against the manufacturer: 4 of 4 pins. The pin card says what confirms each one and where sources disagree.
- Omron B3F Tactile Switch (6×6, 12×12)datasheet, checked 17.10.2026top view: pins 4 and 3 are connected, 2 and 1 are connected, the button is between the pairs; 6×6: pins 6.5 mm apart (connected) and 4.5 mm; 12×12 (B3F-4000): 12.5 and 5.0 mm; 50 mA, 24 V
Size: 12×12 body; pins 12.5×5.0 mm drawn at 12.7×5.08 (breadboard grid) (approximate).



