geekhack

geekhack Community => Keyboards => Topic started by: sethk_ on Mon, 10 November 2014, 18:17:12

Title: How to solder 2 individual switches to a teensy?
Post by: sethk_ on Mon, 10 November 2014, 18:17:12
Hi, I am working on making a 2 key matrix, and I have 2 MX blacks, and 2 enables(don't need to use them, bought them just in case), and I plan on buying a teensy tonight. Before I buy it though, I was wondering what all I will need in terms of resistors and what not, since I have no clue what else I need. All help will be appreciated!
Title: Re: How to solder 2 individual switches to a teensy?
Post by: OverKill on Mon, 10 November 2014, 18:21:53
What version of teensy are you getting?
Title: Re: How to solder 2 individual switches to a teensy?
Post by: sethk_ on Mon, 10 November 2014, 18:27:09
The Teensy 3.0 with pins. This is what the Ergodox website has, so would these diodes be fine? http://www.digikey.com/product-detail/en/1N4148/1N4148FS-ND/458603
Title: Re: How to solder 2 individual switches to a teensy?
Post by: Smasher816 on Mon, 10 November 2014, 18:44:25
Just be aware that most of the firmware is written for the Teensy 2.0, not 3.0 (and they are not compatible). You will have to find some software for the Teensy 3, or possibly write your own.
Title: Re: How to solder 2 individual switches to a teensy?
Post by: sethk_ on Mon, 10 November 2014, 18:46:31
I have no problem using the Teensy 2.0 either. I really don't care which one I use, but at this point it does seem like a better idea to use the 2.0. If I am using that Teensy, then what else do I need to work with the enablers? Just diodes and some wire to connect to the Teensy?
Title: Re: How to solder 2 individual switches to a teensy?
Post by: Melvang on Mon, 10 November 2014, 19:43:53
With only two switches all you will need is wire to connect them. Each pin on the switches will go to a pad on the teensy with no need for diodes at all.
Title: Re: How to solder 2 individual switches to a teensy?
Post by: sethk_ on Mon, 10 November 2014, 20:06:14
Thanks!
Title: Re: How to solder 2 individual switches to a teensy?
Post by: dorkvader on Mon, 10 November 2014, 23:04:12
You can use a KB controller like soarer's or hasu's. Soarer's converter code even has a provision for up to three additional switches, so there are a lot of options.

Melvang is right, since you have pins a'plenty you can wire them up individually, or you can tie two pins together and wire up the other 2 to the teensy for a simple matrix (using only 3 pins and a bit less wire). If you would like more info about any of these options, I can tell you but it's easier to make a recommendation once I know more of what sort of project you have in mind.

Another option is to get a techkeys business card
http://techkeys.us/collections/accessories/products/techkeys-keyboard-business-card
Title: Re: How to solder 2 individual switches to a teensy?
Post by: Smasher816 on Mon, 10 November 2014, 23:27:27
Some more threads:
http://geekhack.org/index.php?topic=53234.0
http://geekhack.org/index.php?topic=59833.0