Live data from Hacker News

Making My Own USB Keyboard from Scratch

blakesmith.me

51–60 of 136 posts

Re: Making My Own USB Keyboard from Scratch

#51
One suggestion I have is to not mount the USB connector on the board itself, but instead on the "case" with a short pigtail leading to the board. There's a reason the majority of PC keyboards have a captive lead which runs into a strain relief on the case --- to keep the load off the solder joins when the cable moves around.

Interesting thought: The microcontroller in that keyboard is more powerful than the first IBM PC.

Re: Making My Own USB Keyboard from Scratch

#52
post #8

I have a design wish for people who make things like this: “row modules” Basically, as an example - i wouldnt be fond of the size of that spacebar, and would like other modules. What if each horizontal row of the standard length on a qwerty were its own module, and you can snap several together to make the board you want. Want a touchpad? Snap it to the base or side. Want a touchbar oled strip: snap it to the top. 9-…

I'm curious why you want modular parts rather than just designing a board that has what you want? Keyboards are surprisingly easy to design now (as seen in this article), and you can design things that would be completely unreasonable for any modular system.

I can chime in here. I've been on a quest for the last 18 months for an apple layout mech keyboard. I thought I found one in the z70 pro board, but it's just subtly off. I want 4 keys to the left of space, and 5 to the right. I don't need both up and down arrows, just one there.

The first person to build a "row" based multi layout platform will really start to hit the right spot because some people would want a function row, others not, some would want an ISO enter, others ANSI, and as long as it was plug and play, it would eat the market whole.

People on Geekhack seem to love collecting keyboards. I just want one, that I can use, that will match my mac layout.

Re: Making My Own USB Keyboard from Scratch

#53
post #17

This project looks nicer than most first efforts. Some random tips for anyone who wants to do something similar, with reservations for that it has been awhile: 1. Get a through hole supported usb connector instead of a pure smd one, since the latter likes to fall off. 2. I would avoid routing under the switches for durability, this might just be superstition though. 3. You can route the x and y of the matrix on diffe…

As for #4 this depends on what process you use. For normal SMD reflow and THT wave you want to preferably have all components on same ("top") side. For singlepass wave soldering of both SMD and THT components you want the SMD parts on the bottom side, but such process is usually only worthwhile for very high volume (and usually single layer) boards and requires special board design.

Re: Making My Own USB Keyboard from Scratch

#54
post #43

Earlier quoted context omitted.

I'm curious why you want modular parts rather than just designing a board that has what you want? Keyboards are surprisingly easy to design now (as seen in this article), and you can design things that would be completely unreasonable for any modular system.

> I'm curious why you want modular parts rather than just designing a board that has what you want? A design requires an effort (the TFA author worked for 3 months on it) and future changes to it requires extra effort. Plus you need to have the knowledge, the time, and the will to go through all this. Whereas a modular component could be assembled by anybody, tested, changed to a different format if their needs chang…

I agree, but... designing one, two, even more entire keyboards is probably easier than designing a good flexible system of modules. It only becomes a total effort savings if you get lots of buy-in from others. The idea is definitely appealing to the programmer in me, though (make the most generic/flexible/composable design possible).

I actually made some single-switch PCBs with some (IMHO) clever design ideas to make one-off keyboards much easier to solder together, but never went much further with the idea.

Re: Making My Own USB Keyboard from Scratch

#55

Has anyone seen keyboards with non-traditional touch surfaces? Such as trackpad keycaps? Backstory: My fingers slide smoothly across my ThinkPad laptop keyboard, so I was playing with optical hand tracking (with a surface mirror to better track touch) to make the entire keyboard (and surrounding laptop) into a multitouch surface. There were occlusion and jitter issues, even with fingernail markers, and I set it aside…

Yeah, Apple got their multitouch technology in 2005 by buying Fingerworks, the startup that made Touchstream keyboards, which were sort of like a giant single trackpad with key areas on it. Now that every Android phone and tablet has this feature, you could maybe use a tablet or two as a reconfigurable keyboard.

Myself, I really want more touch feedback from my keys, not less, but to each her own!

Re: Making My Own USB Keyboard from Scratch

#56
post #11

For anyone who’s tried both: are big keyboards with lots of modifiers or little keyboards with “layers” more comfortable and functional for you? I currently have a full-size mechanical PC keyboard and am debating buying a Planck.

I haven’t tried both. Nor am I a keyboard hardware enthusiast. I have just spent some time modifying my keyboard through software (Linux X Server).

I don’t get the apparent fascination that (mech) keyboard enthusiasts have with small keyboards. I can understand moving or removing the keypad since it displaces the mouse (then again, “don’t use the mouse!”), but beyond that I don’t see the appeal except for the aesthetics.

I think the happy hacking keyboard has the missing keys on the FN layer. Hopefully the FN key is programmable, or else you are stuck with whatever the manufacturer wants the FN key to mean. (Pet peeve of mine: cheap keyboards now seem to come with those dang FN keys which can’t be reprogrammed like the regular keys and are just for garbage multimedia functionality.) With a regular boring full-sized keyboard I can program/re-purpose whatever the key is on the equivalent position to the FN key, or choose another key entirely. Right now I can access all F1–F36 keys by using a series of modifier keys right in reach of the glorious Home Row (prostrates). That’s just by modifying my standard keyboard in X. And of course I can access F1–F12 without using modifier keys since I have an (almost) full-sized keyboard. That way I get the best of both worlds: I can use modifier keys to access every key from near the home row, or just one-key while using a fidget spinner with the free hand.

Re: Making My Own USB Keyboard from Scratch

#58

Has anyone seen keyboards with non-traditional touch surfaces? Such as trackpad keycaps? Backstory: My fingers slide smoothly across my ThinkPad laptop keyboard, so I was playing with optical hand tracking (with a surface mirror to better track touch) to make the entire keyboard (and surrounding laptop) into a multitouch surface. There were occlusion and jitter issues, even with fingernail markers, and I set it aside…

The Waytools text blade sounds somewhat similar to what you're describing:

https://waytools.com/

Re: Making My Own USB Keyboard from Scratch

#59
post #55

Has anyone seen keyboards with non-traditional touch surfaces? Such as trackpad keycaps? Backstory: My fingers slide smoothly across my ThinkPad laptop keyboard, so I was playing with optical hand tracking (with a surface mirror to better track touch) to make the entire keyboard (and surrounding laptop) into a multitouch surface. There were occlusion and jitter issues, even with fingernail markers, and I set it aside…

Yeah, Apple got their multitouch technology in 2005 by buying Fingerworks, the startup that made Touchstream keyboards, which were sort of like a giant single trackpad with key areas on it. Now that every Android phone and tablet has this feature, you could maybe use a tablet or two as a reconfigurable keyboard. Myself, I really want more touch feedback from my keys, not less, but to each her own!

I don't think OP is referring to a touch keyboard, but rather that the keycaps of each key would be one part of a larger multi-touch surface. As your finger left one key you could sort of "guess" the direction it was going and have something close to one big multi-touch panel that was composed of smaller surfaces. But I could be wrong as well.
Post reply on HN