geekhack

geekhack Projects => Making Stuff Together! => Topic started by: martin525622 on Sun, 13 December 2015, 03:51:57

Title: Starting to design and make a small gaming keypad
Post by: martin525622 on Sun, 13 December 2015, 03:51:57
Sup guys,
This is my first project over here its a small 4*6 gaming keypad like the razer tartarus or how it is caled , but with no analog nonsene .
Wanted to ask you guys I will  be usin a arduino pro micro as a controller , i need to know what firmware to use i would aprecheate some help when i will be ready with the smallest pcb posile
IŽll share it with this awsome comunity ive addet 0 ohm rezistors to make a single sidet board and keep cost down planing to get some pcb mount witches to get some flexibiliti with the layout ( you know desolder a switch or so :D its my first keyoardy project so every good coment will be  helpfull



(https://scontent-vie1-1.xx.fbcdn.net/hphotos-xap1/v/t35.0-12/12363954_1123731180972440_1663454794_o.jpg?oh=41c1a41b291cee259cb24972bbfbeb15&oe=566FC87A)
Title: Re: Starting to design and make a small gaming keypad
Post by: martin525622 on Sun, 13 December 2015, 04:03:37
EDIT

got some visualization of the layout for you guys :)
write what would you change :)

(http://i.snag.gy/q9tis.jpg)
Title: Re: Starting to design and make a small gaming keypad
Post by: TalkingTree on Sun, 13 December 2015, 04:14:25
Hi and welcome,


The Pro Micro mounts an ATmega32u4 controller so you can use hasu's TMK firmware (https://geekhack.org/index.php?topic=41989.0) for that.
Alternatively you could use a Teensy 2.0 (https://www.pjrc.com/store/teensy.html).
Lastly, since you know your  way around PCB design, why don't you include a controller directly on the board? An ATmega32u2 should be more than enough for a 6 by 4 matrix.
Title: Re: Starting to design and make a small gaming keypad
Post by: martin525622 on Sun, 13 December 2015, 04:19:21
Hi and welcome,


The Pro Micro mounts an ATmega32u4 controller so you can use hasu's TMK firmware (https://geekhack.org/index.php?topic=41989.0) for that.
Alternatively you could use a Teensy 2.0 (https://www.pjrc.com/store/teensy.html).
Lastly, since you know your  way around PCB design, why don't you include a controller directly on the board? An ATmega32u2 should be more than enough for a 6 by 4 matrix.

coul be a good idea i want to shrink the board so you dont need the extension for the controller but i need a schematic  for the  teensy .I am triing to hold the cost down so its out there for all the people :D
but i dont have a lot of money lastly you know colage :D
Title: Re: Starting to design and make a small gaming keypad
Post by: TalkingTree on Sun, 13 December 2015, 04:32:09
i need a schematic  for the  teensy
There you go (https://www.pjrc.com/teensy/schematic.html), good sir.
Title: Re: Starting to design and make a small gaming keypad
Post by: martin525622 on Sun, 13 December 2015, 08:36:50
In about 4 days the test pcb shall be made :D from then i need to wait for the parts and i think some time after christmas the first prototipe should be ready :)
Title: Re: Starting to design and make a small gaming keypad
Post by: TalkingTree on Sun, 13 December 2015, 08:55:53
Nice. Keep us posted.
Title: Re: Starting to design and make a small gaming keypad
Post by: joey on Sun, 13 December 2015, 09:09:06
How are you making the PCB?
Title: Re: Starting to design and make a small gaming keypad
Post by: VinnyCordeiro on Sun, 13 December 2015, 09:17:00
You should change two things:
I highly suggest to include a microcontroller directly on your board, you will have way more flexibility to locate it. You can use the ATmega32U4 (http://www.atmel.com/devices/ATMEGA32U4.aspx) or even the ATmega32U2 (http://www.atmel.com/devices/ATMEGA32U2.aspx), both are supported by TMK firmware. On both of them the AU and MU versions come from factory with a standard DFU bootloader, so you can upload your custom keyboard firmware directly over USB using programs like Atmel Flip or dfu-programmer.

Final question: are you going to hand make this PCB or will send it to a fab house? Because I noticed that you have made a single-sided PCB. If you are going to use a fab house you can make a double-sided with no extra cost for you, as they are the standard.

EDIT: I also have made a gaming keypad some time ago, it works beautifully. :)

(http://i.imgur.com/k5dqEk4.jpg)

(http://i.imgur.com/N9J3Oyx.jpg)
Title: Re: Starting to design and make a small gaming keypad
Post by: martin525622 on Sun, 13 December 2015, 10:34:04
Sup there thanks for info i would like to include a onboard controler but i need a schematic for the minimum of parts the controler that are needed to run ,im on a electronics colage so my teacher can etch my pcb's

It will be fototransfer and i will solder them my self :)

Could you tell me where can i get the lovest cost switches and keycaps ? :)

Also on a train to the town so write :D i will read it all

Thanks for ideas :))) aprecheate it
Title: Re: Starting to design and make a small gaming keypad
Post by: martin525622 on Sun, 13 December 2015, 10:41:13
Vinny :) nace gamepad you have there :)
Title: Re: Starting to design and make a small gaming keypad
Post by: VinnyCordeiro on Sun, 13 December 2015, 12:35:06
Sup there thanks for info i would like to include a onboard controler but i need a schematic for the minimum of parts the controler that are needed to run ,im on a electronics colage so my teacher can etch my pcb's

It will be fototransfer and i will solder them my self :)
Nice! Photo transfer is the best method for hand-made PCBs. If you have problems to produce double-sided PCBs, try using some jumpers - pieces of wire soldered at the top of the PCB, as if it was the top copper layer. Just don't abuse them, or your board will be ugly and difficult to solder.

As for the microcontroller schematics, you can see the schematics of the GH60 revision A (http://blog.komar.be/wp-content/uploads/2013/02/gh60_reva.zip). Although it uses ATmega32U4 mcu, it is easy to adapt it to the ATmega32U2.

On my last post I linked Atmel's pages about the ATmega32U2 & ATmega32U4, you can download the datasheet of them there. Read them, it is very important.

Could you tell me where can i get the lovest cost switches and keycaps ? :)
The keycaps I bought at WASD (http://wasdkeyboards.com/), but it isn't the cheapest option available. You can also buy blank keycaps at Pimp My Keyboard (http://pimpmykeyboard.com/).

Switches: try to find someone who sells Gateron switches, they are good and cheaper than Cherry MX.

And finally: ATmega32U2 is cheaper than ATmega32U4, but both are not that expensive. Use the one you find easier to find/use.
Title: Re: Starting to design and make a small gaming keypad
Post by: martin525622 on Mon, 14 December 2015, 16:05:23
Some edits : working on integrating controller onboard state : need some time but i will have christmas holidays so il have enough time to do some work on it


What i doo til than il have a matrix pcb for testing in 2 days  no controller no arduino pins onboar just the matrix and some solder spots ill hand wire it tri it out give you ins and outs if it will be ok il do a doble sided board with an integrated controller and if all will go to plan ( and it probabli want )

We could push some pro pcb from osh or else where also could you give me some info on osh pricing ?

But this is future so the plan for now is :
Test layout

Make pcb with controller and make it as small as posible

Pimp it up :D. And  make it open for everybody with my small signature :)
Title: Re: Starting to design and make a small gaming keypad
Post by: regack on Tue, 05 January 2016, 07:56:40

We could push some pro pcb from osh or else where also could you give me some info on osh pricing ?


Oshpark charges $5USD per square inch.   A run of three 4x6 keypads will cost ~$66.35 (3 is the minimum order quantity for OSHpark).  It could go up or down a little depending on the exact size of your board, but the one I had still sitting in my queue there is $66.35, so, it will probably be really close to that. 

I can also recommend Dirtypcbs.com for good work and decent pricing.  PCBWing.com is great if you're going to do a small production run.

-edit: checking through my old orders, the (10) 4x6 keypads from PCBwing cost $132.66 in 2013. 
Title: Re: Starting to design and make a small gaming keypad
Post by: martin525622 on Tue, 05 January 2016, 09:35:31

We could push some pro pcb from osh or else where also could you give me some info on osh pricing ?


Oshpark charges $5USD per square inch.   A run of three 4x6 keypads will cost ~$66.35 (3 is the minimum order quantity for OSHpark).  It could go up or down a little depending on the exact size of your board, but the one I had still sitting in my queue there is $66.35, so, it will probably be really close to that. 

I can also recommend Dirtypcbs.com for good work and decent pricing.  PCBWing.com is great if you're going to do a small production run.

-edit: checking through my old orders, the (10) 4x6 keypads from PCBwing cost $132.66 in 2013.
Thanks for info momentaly waiting for switches to come and have a prototipe board ready
Title: Re: Starting to design and make a small gaming keypad
Post by: martin525622 on Sun, 10 January 2016, 04:21:24
everybody have a nice year
Title: Re: Starting to design and make a small gaming keypad
Post by: martin525622 on Tue, 26 January 2016, 10:44:23
Update guys first model put together working on another board to include some features like backlight :)