1
\$\begingroup\$

enter image description here

I have a question regarding PCB design and rubber keypad contacts. I did this circuit for prototyping a piano keybed but some contacts seem to be unstable: when pressed it switches from 0 to 1 continuously - this isn't a classical debounce issue but some kind of electrical instability. I know that it is best to use carbon ink, but it is way too expensive for a prototype.

My question is then: do you think my design of the pad could be the issue, or is this a pull-up resistor issue, or simply some dirt?

Thanks

\$\endgroup\$
8
  • 1
    \$\begingroup\$ Have you tried shorting it with a wire? \$\endgroup\$
    – HandyHowie
    Jun 19, 2018 at 9:44
  • 3
    \$\begingroup\$ HASL surface finish? I would go for ENIG if carbon is out of the price range, likely to be a bit better then the typically unflat and prone to oxidation HASL. Also, your feature size looks very large, I would expect a lot more fingers under the button. \$\endgroup\$
    – Dan Mills
    Jun 19, 2018 at 10:40
  • 1
    \$\begingroup\$ Precisely what does this mean "switches from 0 to 1 continuously" \$\endgroup\$
    – Andy aka
    Jun 19, 2018 at 11:02
  • 1
    \$\begingroup\$ It's kind of hard to say when all we have is a photo of a part of a PCB. Is there a reason you haven't shared a schematic? \$\endgroup\$
    – Bort
    Jun 19, 2018 at 12:50
  • 1
    \$\begingroup\$ This doesn't need a scope. Thoughtful debugging of the detection scheme, along with unpowered resistance measurements should be enough to figure it out. There are short run board vendors that offer ENIG basically by default, which would be better for this kind of thing. Have to say though, a piano with a rubber keypad is not going to be pleasant. \$\endgroup\$ Jun 19, 2018 at 17:48

2 Answers 2

1
\$\begingroup\$

I finally cleaned up the rubber contacts and the pcb with some alcohol and now it works as expected - so it looks like HASL finish is very sensitive to dust - I now understand why carbon ink is used. Thanks very much all for your comments.

\$\endgroup\$
1
\$\begingroup\$

The velocity sensitivity of carbon pill based midi keyboard switches comes from having 2 pills which land at different times by virtue of the hinge geometry. The velocity is measured by the time interval between each contact point. Aftertouch is provided by a strain gauge - perhaps a piezo crystal. Piano keys are easy 'cos they're a lever. Drum pads / midi pads are harder and require the measurement of the impact. Piezo or similar again.

In answer to the OP, ENIG because it's flat and remains conductive; Higher density pcb feature - as tight as your pcb fab capabilities allow; Replacement conductive carbon pills are available from Aliexpress. Use a silicone adhesive.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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