-1
\$\begingroup\$

I would like to solder a push button directly to the Raspberry Pi Zero's 40 GPIO row (without the header). I am looking for instructions on how to do it and also possibly for a suitable button type/part that will nicely fit to Pi's GPIO hole dimensions. The button has to betall enough so that it could be enclosed in a 3D printed case and still be accessible with a finger from outside the case.

This 10 mm tall Omron type B3F is nice but I think the dimensions of its "legs" are not very compatible with the GPIO row.

Alternatively, I could use Zero WH with header, and solder the button directly to the header. But still a suitable button part is needed.

\$\endgroup\$

closed as off-topic by Chris Stratton, Leon Heller, MCG, Harry Svensson, winny Jun 13 '18 at 8:56

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

  • \$\begingroup\$ do you have a question? \$\endgroup\$ – jsotola Jun 12 '18 at 19:00
  • \$\begingroup\$ Yes I am looking for a suitable push button part. That is my question. \$\endgroup\$ – Kozuch Jun 12 '18 at 19:01
  • 1
    \$\begingroup\$ Questions which seek part recommendations to purchase are off-topic as a matter of site policy. Additionally, you haven't even specified how the button needs to fit - ie, the dimensions between the signals it needs to bridge and the adjacent copper it needs to avoid. And what you propose is mechanically unreliable anyway. You might consider getting some PCB stock and carving a footprint pattern in that, gluing or foam taping it to the pi board, and using small hookup wire to connect. \$\endgroup\$ – Chris Stratton Jun 12 '18 at 19:04
  • 1
    \$\begingroup\$ I am looking for a suitable push button part ... that is not a question, it is a statement that describes what you are doing .... where can I buy a switch? is a question ........ i repeat ... what is your question? \$\endgroup\$ – jsotola Jun 12 '18 at 19:05
2
\$\begingroup\$

Unfortunately most 4-pin tactile switches have pitch different from 2.54mm. Furthermore, they have contacts paired internally, so even if you find switch with suitable pitch (there are few available) you'd have to sacrifice pins 37, 38 too.

I'd suggest looking for 2-pin switches, something like Panasonic EVQ-2 series, with 5mm pitch and long pins, which would work just as fine as long button for your purpose.

enter image description here

\$\endgroup\$

Not the answer you're looking for? Browse other questions tagged or ask your own question.