PCB Design Thread


#41

What is the most appropriate trace width for keyboard PCBs?


#42

The trace width is determined by the max current flowing through it. Digital signals in general doesn’t need much current, so you can go pretty thin. I usually use 0.254mm (10mil) for signals and 0.4064mm (16mil) for Vcc, but only when designing keyboards.


#43

Is there any website that you can paste your keyboard-layout-editor raw data in and it auto makes your PCB? I need that in my life


#44

Not that I know of, but there is a similar tool that can take a kle json and convert it into a project file that included footprint placement. I’ve actually used it for a couple projects and it works quite nicely once you figure out how adjustments in the script affect component placement. You still have to run traces and map your schematic but it does eliminate a good deal of the less delicate but time consuming work. I’m not completely certain where I found the script though, so I won’t post it until I make sure I’m crediting it appropriately.

In regards to the trace width convo above, I rather like using 6mil for the matrix and 10-12mil for VCC runs. The small matrix traces makes it much easier when routing around a Teensy or Pro Micro footprint.


#45

There was a script for Eagle available on geekhack to autoplace switches using the info from KLE.

Never made it work properly. And you also need a Pro license of Eagle to be able to use it on anything bigger than a numpad.


#46

So I just want to say thank you for everyone’s help here, especially @VinnyCordeiro and @donutcat. Your patience and advice kept me inspired to see it through to the end. I was able to bring my idea to life. Honestly, I’m just excited that it works.

Of course, now I have a few other ideas I want to work on…


#47

You are welcome. :slight_smile:


#48

The board looks great! It was a great feeling for me the first time I plugged in a PCB I designed and it actually worked :slight_smile:


#49

What I haven’t figured out very easily is what is necessary to connect something like a ProMicro to a separate USB port, let’s say, to tuck the ProMicro somewhere and have the USB port in a favorable position somewhere on the edge of the board.

Any advice on how to do this?


#50

You need a panel mount extension, like this one. You may need to mod the case of the keyboard for that.


#51

Wow. I didn’t know something like that existed. Man, that would’ve been helpful for my last build.

…But actually, I was thinking of this or this. Can I connect one of these to a ProMicro/Teensy?


#52

The connector alone (1st link) is for direct PCB soldering, so it isn’t exactly the best option. The breakout board (2nd link) is better, but you still need to solder wires on it to connect on the Pro Micro/Teensy…

… which brings us to the panel mount cable I linked before. Less hassle, more direct solution.


#53

I like this advice and will use it. Thanks!