geekhack

geekhack Projects => Making Stuff Together! => Topic started by: Keyboard_Warrior364 on Sat, 14 December 2019, 08:59:53

Title: Numpad keyboard project - suggestions
Post by: Keyboard_Warrior364 on Sat, 14 December 2019, 08:59:53
Hello everyone, here I'd like to post some pictures of schematics and pcb for my numpad project. I would be grateful for your suggestions of what could be done better, or if i made any obvious mistakes.
I made a separate pcb for the usb connector. The two pcbs are supposed to be connected with this cable: MX-92315-0410.

Title: Re: Numpad keyboard project - suggestions
Post by: Keyboard_Warrior364 on Sat, 14 December 2019, 09:07:17
Here is the numpad in question
Title: Re: Numpad keyboard project - suggestions
Post by: Keyboard_Warrior364 on Sun, 15 December 2019, 08:57:24
Just realized that i posted an older schematic version with the wrong values of capacitors. Should be 100nF and 4.7uF.
Title: Re: Numpad keyboard project - suggestions
Post by: gipetto on Sun, 15 December 2019, 13:30:05
you should remove all the matrix diodes and dedicate one pin per switch, and one for the backlight.
Title: Re: Numpad keyboard project - suggestions
Post by: Findecanor on Sun, 15 December 2019, 16:20:58
Doesn't the ATmega32u4 have a grounding pad at the bottom of the package? I'm not sure if it's advisable to have vias under it.
Title: Re: Numpad keyboard project - suggestions
Post by: Applet on Mon, 16 December 2019, 02:40:02
My suggestions:
;D
Title: Re: Numpad keyboard project - suggestions
Post by: Keyboard_Warrior364 on Mon, 16 December 2019, 03:29:00
Thank you so much for the suggestions.

I've checked my package of the atmega32u4, it doesn't have a a ground pad at the bottom.

The thickness of the lines for diodes is 12mils, I'll change them to 15mils.
And will try to implement your other suggestions, especially the data lines.

I'm also making a 60% board as well and will have to make the same changes to it, luckily I haven't routed everything yet
I'll post an update of both.

Here is the current unfinished pcb.
Title: Re: Numpad keyboard project - suggestions
Post by: Applet on Mon, 16 December 2019, 03:47:57
I'd suggest rotating all the switches 180 degrees on the 60%. GMK/Cherry keycaps can hit the switch if using that rotation. Same issue on the numpad. Not sure about best rotation for the vertical stabilized keys, someone else here probably knows (I don't think it matters)
Title: Re: Numpad keyboard project - suggestions
Post by: Keyboard_Warrior364 on Mon, 16 December 2019, 04:05:35
That regarding switches is very good to know, thanks. Though I am still torn on what to do, I did orient them this way since the LEDs would be positioned on the top. As far as I've seen most keycaps that support backlight have the legends on the upper side
Title: Re: Numpad keyboard project - suggestions
Post by: gipetto on Mon, 16 December 2019, 06:07:52
if you're going to have backlight the leds should be at the top of the switch. i think it's better to have separate boards for backlit and non backlit as compromising doesn't work. the led traces turn the pcb into a rats nest so there's no advantage having them at the bottom where they are unusable.
Title: Re: Numpad keyboard project - suggestions
Post by: Keyboard_Warrior364 on Mon, 16 December 2019, 08:26:50
 gipetto you are definetelly right that it turns the board into a rats nest. When i made the first prototypes, I made two boards, one with LEDs and one without. Firstly I wanted to see if the barebones keyboard pcb works and then if the one with LEDs worked. Luckily both versions worked. Then I started doing changes to the shape of the board and routing, so that it would fit into the case that i plan on making. I thought it would be wise to ask for additional advice here seeing as there are a lot of people making their own projects.

Some of the problems I'm having is finding bright smd LEDs that are also low current, was looking at some that are 5mA. Wanted white ones, since they give a neutral look, but the ones I used on the prototype might not be bright enough.
I did find green, yellow and red ones that should be very bright though.

And thanks for taking the time to help.
Title: Re: Numpad keyboard project - suggestions
Post by: Findecanor on Mon, 16 December 2019, 08:34:34
I'd suggest rotating all the switches 180 degrees on the 60%. GMK/Cherry keycaps can hit the switch if using that rotation.
I have found that problem only with EnjoyPBT's dished F and J caps, or with silencing clips (which require GMK/Cherry and the LED window south).

Not sure about best rotation for the vertical stabilized keys, someone else here probably knows (I don't think it matters)
For Numpad-+ and Numpad-Enter keycaps, it does not matter for clearance ...
On backlit keyboards, the LED is either left or north. I think north is more common.
Title: Re: Numpad keyboard project - suggestions
Post by: Keyboard_Warrior364 on Mon, 23 December 2019, 11:17:31
Applet, you mentioned the ICSP header for changing the bootlaoder or if the board gets bricked.
What would be the advantage of changing the bootloader from the one already on the MCU?
Or if somebody else knows, I'd be grateful for the answer.
Title: Re: Numpad keyboard project - suggestions
Post by: Applet on Thu, 26 December 2019, 08:48:21
Applet, you mentioned the ICSP header for changing the bootlaoder or if the board gets bricked.
What would be the advantage of changing the bootloader from the one already on the MCU?
Or if somebody else knows, I'd be grateful for the answer.
You get a few more functions with the QMK bootloader, like being able to exit bootloader from matrix scan(button press), flashing indicator sound etc, nothing major. I have no personal experience with the QMK bootloader, I've only been using stock, so someone else should be able to give some more input.
Title: Re: Numpad keyboard project - suggestions
Post by: Keyboard_Warrior364 on Tue, 21 January 2020, 04:49:38
Hello again, its been a while since I've last posted something.
Here is a quick update:
            1. As you guys have advised, I've added an ICSP header.  (modded the footprint for tag connect so it could also support a smd 6 pin connector)
            2. Routed the data tracks for the usb differentially with an impedance of 90 Ohms.
            3. Added USBLC6-2SC6 for ESD protection.

I did the same thing for both the numpad and the 60% pcb.

Will post my schematics as well later.


Title: Re: Numpad keyboard project - suggestions
Post by: Keyboard_Warrior364 on Tue, 21 January 2020, 06:03:29
Here are a few pics.

Edit: Forgot to say thank you for all your help.
Title: Re: Numpad keyboard project - suggestions
Post by: Keyboard_Warrior364 on Sat, 22 August 2020, 08:14:11
So its been a while since I've posted anything, so i thought I'd share how the first prototype looks. Its still a bit rough, but we'll make the next version better, once we make proper tooling.

Sorry for the poor image quality.

What do you guys think so far?
Title: Re: Numpad keyboard project - suggestions
Post by: felix71 on Fri, 06 January 2023, 19:21:44
fantastic wowwww... Do you have the electronic schematic? thank you
Title: Re: Numpad keyboard project - suggestions
Post by: simplycanada on Sat, 07 January 2023, 04:10:55
I don't know if you were looking to sell these but anyhow these below are just my own comment if I was to look at one..

I appreciate the use of an usb header as to be able to use my own connector&location

and nice to have the extra row of keys on top to optionally use too (especially when some non-numpad keyboards sometimes are lacking a few keys toward the right side)

the only one thing I maybe voluntarily would had liked to see was that the pcb allowed 1u sized plus key on it as this seem quite lacking in other numpads