The switches are the hardest to get right. Fortunately I had a starting point thanks to M. DeSilva and his DSKY replica. From what I can gather, he put the spring inside the housing. I could not find a spring that would fit so I placed the spring on the outside. I also used screws to secure the microswitch instead of force fitting them onto plastic posts. I used 3mm white LEDs. I modified the key caps using a Gorton font I found at https://github.com/dakotafelder/open-gorton. I had to convert the .otf file to a .ttf file so it would work with Fusion 360. I used a small amount of white dye added to epoxy to fill in the back side of the key caps to make the letters white and to allow light to show through. Here are pictures of the switch pieces and three views of the switch.





The keys are now mechanically working. I had to sand the surfaces that grate against each other to eliminate that strange rasping sound. The set screws had to be adjusted so the keys are level with the front cover. I'm not happy with the way the key covers came out, all except the + and -, those are OK. I changed the font to Gorton Heavy and scaled the size up.
The keyboard wiring was simple enough. I chose to go with a matrix solution even though there is enough input pins on the Arduino to connect each switch to its own pin. Here is a schematic of the keyboard.

And here is a picture of the back side of the keyboard. I not only laid in 19 diodes, there is also 19 resistors to reduce the brightness of the LEDs.

I forgot to mention the LEDs. I used the smaller 3mm white LEDs. Solder two wires to the leads. You only need to shrink wrap one of the leads. The wires get pushed through the center of the switch as in the picture below.

Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.