geekhack

geekhack Community => Keyboards => Topic started by: xAmendaaa on Thu, 27 October 2016, 09:41:53

Title: handwirering 3 key keyboard?
Post by: xAmendaaa on Thu, 27 October 2016, 09:41:53
This is my first keyboard related thing im doing i have 0 understanding of computers and stuf. So i wanted to handwire a keyboard from 3 key i do understand most of the putting thing together, but not the prgramming part and which mini microcontroller to use i found a few cheap once, wich one is the best for the 3 key keyboard and what should i do with extra pins if there is. i dont mind a few more keys but 3 keys is the best
Title: Re: handwirering 3 key keyboard?
Post by: mike52787 on Thu, 27 October 2016, 09:46:25
http://techkeys.us/collections/accessories/products/techkeys-keyboard-business-card (http://techkeys.us/collections/accessories/products/techkeys-keyboard-business-card)

http://techkeys.us/collections/accessories/products/sixkeyboard (http://techkeys.us/collections/accessories/products/sixkeyboard)

http://techkeys.us/collections/accessories/products/techkeys-programmable-keyboard-business-card (http://techkeys.us/collections/accessories/products/techkeys-programmable-keyboard-business-card)
Title: Re: handwirering 3 key keyboard?
Post by: xAmendaaa on Thu, 27 October 2016, 10:47:05
i dont want some 30 dollar keyboard for 3 or 4 keys thats why im making it myself i have most of the stuff at home
Title: Re: handwirering 3 key keyboard?
Post by: Pennyz on Mon, 31 October 2016, 01:13:33
Oh,its tiny and convient.
Title: Re: handwirering 3 key keyboard?
Post by: suicidal_orange on Mon, 31 October 2016, 03:42:41
You need 3 IO pins and if you want to do complicated things with the keys it would be a good idea to get an ATMega with native USB (32u4 as found on a Teensy or arduino pro micro clone is overkill, a 16u? would be ideal) as there is firmware available to use.

If it's only basics you want then you could write your own in the Arduino keyboard library.  If you want really basic the Trinket will work but you'll need to deal with v-usb - there are tutorials online for a Trinket keyboard.

Your last option is just a USB port with wires so no use at all (unless you're planning to use a big case with the controller not near the edge...)