Electrical – Can someone tell me how to wire the MX mechanical keys to an Arduino

arduinokeyboardwiring

I am thinking of making a custom keyboard for a VJing software. I couldn't find momentary switches of size greater than 15mm, so I am thinking of buying these MX keys (they have 3 pins.) I could'nt find a wiring diagram online. So will you be able to help me out with the wiring diagram (I will connect them to an Arduino Uno R3.)

Cherry MX from aliexpress

Best Answer

You need something called a datasheet. That will have all (or most) of the information necessary for a knowledgeable designer to use the parts.

In this case, you know what the part is: a switch

You know the model series: MX

You should know the manufacturer: Cherry Americas LLC (owned by a German conglomerate and probably manufacturing the switches in Zuhai China, near Macau).

So google that and you should come up with this datasheet. A similar one is here Unfortunately I don't see any with an odd number of contact pins, unless you count the plastic locating pin in the center.

Anyway, all the information you need should be there for whatever type of switch you are looking to purchase. Unless you want the kind with a matrix diode or LED incorporated, in which case contact the manufacturer to find out the polarity of the diode(s).