Sorry it’s not an MK, but keyboard cables seem relevant still.
I needed a cable and I wasn’t really happy with the options available to purchase for keyboard cables. Either the length was wrong, the price was too high, the shipping too high, the colour too weird, the USB ends not nice, etc. etc. so I figured I’d build my own.
I got all the parts off AliExpress.
- Paracord
- USB connector with black metal shell
- USBC connector with black metal shell
- USB cable, black rubber sleeved
- Heatshrink (already had)
Sliding the cable through the paracord was surprisingly easy.
I don’t have a wire stripper but it’s not difficult to strip a wire with some wire snips (foreshadowing).
Things were going really smoothly so far, so time for hubris to kick in. Soldering onto the connectors was a bit of a nightmare. I had to desolder and recut the cable a few times, occasionally my method of desleeving caused me to cut through the wire which meant the other 3 had to be cut down to match the length as well. I burnt my hand on the soldering iron, I guess that is the blood sacrifice that it demanded for my mistakes…
I was kind of annoyed at this point and didn’t think to take a photo of the soldering process. But I captured the end result.
Now with this particular USB A connector, there are 5 pins. Apparently for micro USB compatibility. So I sounded it out with a multimeter to make sure I had the right pins and confirmed with a diagram online. I had finished assembling the cable at this point and plugged it in but it was not working… Apparently the probe slipped a little while I was checking pins AND apparently the diagram online was incorrect. So the white D- wire had to be moved over one pin. This required disassembly to fix. Luckily, it did not break anything when I plugged it in - had it been VCC in the wrong spot it might have done some damage!
Finally it was done and working and I’m happy with it. Fingers crossed my dodgy soldering does not short 🙏
I have plenty of parts left over so I plan on making more but next time I will get a wire stripping tool…
This looks interesting. Would it be feasible to make my own IBM Model M (no clue how that connector is called) to USB cable? It saves having to stack USB to PS/2 to DIN connectors…
Yes and no. For a cable with just different connectors, the kb or host would need to understand how to convert to the right protocol, PS2/XT/etc. The voltages are the same though I think (5V).
Something like this would be needed https://github.com/No0ne/ps2pico
I’ll dige around a tad mode I guess. Will the r/MechanicalKeyboard FAQ be brought over as well? (it has some useful links)
I own a Model M and converted it to USB. What you are looking for is called Soarer’s converter. You can (or could) but one from him on eBay or build own with an Arduino Pro Micro or Raspberry Pi Pico (what I did).
Looks really nice, making me want to make my own aswell
Thanks!
This is actually really impressive. I wouldn’t have even of thought to make my own cable like this. Props on the idea and execution.
LTT has a video tutorial for it if you’re interested: https://youtu.be/5_LOB-_WhJI
Cheers for the resource!
Thanks a lot!
Wow that looks really clean! Can I ask where you sourced your USB connectors from?
Thanks, I got the connectors on AliExpress here https://a.aliexpress.com/_mr3DHHQ
Awesome. Thank you!
I like the metal strain relief!
How much does it cost to make your own cable ? The end result looks clean !
Thanks. Cost about $50AUD but it’s enough materials for several cables (USB cable is 5m long). The shipping was kind of pricey unfortunately.