geekhack
geekhack Projects => Making Stuff Together! => Topic started by: Torch on Tue, 07 July 2020, 10:28:36
-
Hi Geekhack Community,
I want to share my first Keyboard Mod Project with you.
I thought I'll do a tutorial on how to do it, maybe It can help someone.
First Question you'll probably ask:
Why did you Mod your Razer Keyboard these are *insert opinion on Razer here*?
Quite easy, I'm new to the Custom Keyboard world and I quite like the BW for gaming, but I hate to have many cables on my desk.
So I thought: My custom Keyboard will have USB-C, why not add the same on the Blackwidow for KBD hotswapping.
Important:
I'm not an electrical engineer, I just do some electrical engineering as a Hobby, so If some of you would do something different, post it here.
At the end of the post will be a list of things I would do differently the next time.
Warning: The mod was only tested with an USB-A to USB-C cable. It should work with USB-C to USB-C connections because of the installed 5.1 kOhm resistors, but I haven't tested it!
The USB pass-though and AUX pass-through won't work with this mod
Now lets start:
First step the Disassembly:
1. Remove the rubber feet (red) and the plastic caps (green).
[attach=1]
2. remove screws:
[attach=2]
3. Remove plastic clips. Start with the Front(red) after that the Sites (green).
There is no need to unclip the Back, it will slide off.
Just be a little careful on the USB + AUX side and the Logo LED on the front.
[attach=3]
Opened:
[attach=4]
[attach=5]
4. Remove the diffuser on top of the Logo LED. You just have to bend one pin (red) to one site and slide the diffuser off.
[attach=6]
5. Remove the PCB from the case. Unscrew all screws (red) and carefully lift the PCB on the site without the ports.
Look at the green plastic location if the PCB is all the way off until lifting it out of the case.
[attach=7]
6. Disconnect the connector, these things sit tight. Pull on the sites of the jack until it comes off.
Desolder the shield cable (green).
[attach=8]
You've successfully disconnected the cable! Nice!
Modding the BW v2:
Now we can build our new USB cable which connects the PCB with the new USB-C Board.
Hardware required:
- USB-C breakout Board. Example: Pololu USB 2.0 Type-C Connector Breakout Board https://www.pololu.com/product/2585 (https://www.pololu.com/product/2585) [1]
- USB-C to USB-A cable [2]
- A USB cable which you can cut
- Molex Picoblade 12 Pin Crimp Housing: https://www.molex.com/molex/products/part-detail/crimp_housings/0510211200 (https://www.molex.com/molex/products/part-detail/crimp_housings/0510211200)
- Molex Picoblade Crimp Terminal: https://www.molex.com/molex/search/partSearch?pQuery=&sType=s&query=50058 (https://www.molex.com/molex/search/partSearch?pQuery=&sType=s&query=50058) [3]
- Solder Equipment
- Electrical tape and heat shrinking tube
- A Multimeter
- Hot glue
- A Beer, not required but makes everything better (As a German I'm required to say this ;D)
An adventure to the wondrous world of USB-C specs:
[1] Because the USB-C specs are huge and USB-C can be used with many configurations (qc with 20V, Source / Sink config) you should add 5.1+-20% kOhm resistors to the CC1 and CC2 Ports (Important: On both!)
The resistors will make our keyboard a sink and a UFP (Upstream Facing Port). The board from Pololu has these already.
[2] Because the BW v2 was designed for USB 2.0 it'll use max 500mA@5V (USB High power Mode) so you're safe with every USB-A to USB-C cable.
Your fancy new Smartphone on the other hand could fry your legacy USB Port, if the cable doesn't advertise itself as legacy.
Why? Because some manufacturers aren't using the right resistors. Your smartphone could think: "Nice a USB QC compatible port, I'll charge with 3A@5V", your USB port wont really like this.
This problem is still not solved so look which cable you buy. Buy only high quality ones which are USB certified or test them yourself before you use them.
Specs can be found here: https://www.usb.org/sites/default/files/USB%20Type-C%20Spec%20R2.0%20-%20August%202019.pdf (https://www.usb.org/sites/default/files/USB%20Type-C%20Spec%20R2.0%20-%20August%202019.pdf)
A list of tips and tricks: https://sites.google.com/a/chromium.org/dev/chromium-os/cable-and-adapter-tips-and-tricks (https://sites.google.com/a/chromium.org/dev/chromium-os/cable-and-adapter-tips-and-tricks)
[3] I would get a cable which is already crimped, these things are small and very hard to crimp without the right tools (which are expensive af) Example cables: https://www.molex.com/molex/search/partSearch?pQuery=&sType=a&query=214920 (https://www.molex.com/molex/search/partSearch?pQuery=&sType=a&query=214920)
A picture of the crimp terminals and the housing:
[attach=9]
Now lets begin with our modding:
Pinout:
First the Pinout for the Molex Connector:
[attach=10]
[attach=11]
1. red: USB Pass-through Port (Side) VCC (+)
2. white: USB Pass-through Port (Side) Data -
3. green: USB Pass-through Port (Side) Data +
4. black: USB Pass-through Port (Side) GND (-)
5. brown: AUX "3"
6. orange: AUX "1"
7. yellow: AUX "2"
8. blue: AUX "4"
9. purple: USB VCC (+)
10. pink: USB Data -
11. Lime: USB Data +
12. grey: USB GND (-)
13. Solderd black: USB shared shield
Building the cable:
1. Strip the wire from the coat and strip the wires.
We want to add the shield later on, so don't cut the shield.
[attach=12]
2. Attach the Molex cables with the USB wires or crimp the terminals and solder them.
[attach=13]
[attach=14]
[attach=15]
3. Isolate the wires with shrinking tube and electrical tape
[attach=16]
[attach=17]
4. wrap the shield back around the wire
[attach=18]
5. Plug the terminals in the housing. You want to use the "USB" Ports.
Cable Black (ground) plugs into housing 12
Cable Green (Data +) plugs into housing 11
Cable White (Data -) plugs into housing 10
Cable Red (VCC) plugs into housing 9
6. Add electrical tape to the cable, we don't want metal on the outside.´
7. Solder the USB-C board - Important, switch D+ and D-
Cable Black (ground) goes to GND
Cable Green (Data +) goes to Data -
Cable White (Data -) goes to Data +
Cable Red (VCC) goes to VCC
[attach=19]
8. Plug the housing into the PCB and check for shorts and connection
9. If there are no problems you should test if your Computer can communicate with the keyboard.
[attach=20]
[attach=21]
10. We are nearly finished! You just need to remove the plastic where the cable was connected and install the USB-C board.
Check if you can still close the Keyboard and verify that the USB cable plugs all the way in.
11. Glue the Board to the case. USB-C requires force to unplug so make sure its fixed.
[attach=23]
12. Route the cables in the case
[attach=22]
13. Add the PCB on top and plug the housing in the PCB.
Measure every connection again, we don't want any shorts.
[attach=24]
14. Test everything again, if your computer can communicate with the Blackwidow you can assemble the Keyboard.
You are finished! Enjoy your USB-C BW!
Finished Keyboard:
[attach=25]
[attach=26]
[attach=27]
Things I would do different:
- Use an USB-Cable which has a shield mesh which I could solder the PCB
-
Nice write up, this question has come up a few times lately for random keyboards so I'll be linking people here as an example :thumb:
-
Thank you!
I wanted to make a tutorial because I couldn't find Information on this specific case, so it would be great If it can help someone.
-
I have this exact keyboard and put it in storage for the exact reason you described. I bought a 60% board for gaming (I'm a low sens gamer so I need as much room as I can get!) and would just push the bw2 out of the way, since the cable wasn't detachable. I hate replacing working electronics so I'm thankful you posted this tutorial. I have purchased the parts you recommended, wish me luck!
-
Thank you!
I wanted to make a tutorial because I couldn't find Information on this specific case, so it would be great If it can help someone.
So I just finished this modification and it worked! The only thing I noticed is that this tutorial suggests flipping the D+ and D- lines on the usb module, but I can confirm that on my end that caused a "device descriptor request failed" error in device manager. Only when I flipped the wires back did the keyboard work properly.
Otherwise, great tutorial!
-
Hey there,
Just thought I'd say, after upgrading to a Huntsman V2 TKL, and loving the USB C port, I had a similar idea about doing this with my Blackwidow V2.
Many thanks for all the documentation, it'll be super handy.
I'm going to give this a go too, but I wanna use a USB hub internally, with a USB sound card so the passthrough and aux jack can still work.
Hopefully you like the sounds of this, and give it a go too. 👍
-
Just a quick addition, I haven't checked yet, but believe the aux it'll likely use the CTIA model. So outputs should be:
1. Left
2. Right
3. Ground
4. Mic
-
Hey there,
Just thought I'd say, after upgrading to a Huntsman V2 TKL, and loving the USB C port, I had a similar idea about doing this with my Blackwidow V2.
Many thanks for all the documentation, it'll be super handy.
I'm going to give this a go too, but I wanna use a USB hub internally, with a USB sound card so the passthrough and aux jack can still work.
Hopefully you like the sounds of this, and give it a go too. 👍
Just a quick update to say it all worked. Just used an off the shelf unpowered usb hub, and a Sabrent USB soundcard. I was going to add mic, but ended up ruining the mic port's pads on the adaptor, so just used audio instead. Also I reused the original cable, and a spare shielded USB C cable, and tied all the grounds together. If you wanna do the same thing as me, I'd suggest getting a USB Soundcard that is made for aux headsets rather than audio and mic being separate like mine.
-
Hey there,
Just thought I'd say, after upgrading to a Huntsman V2 TKL, and loving the USB C port, I had a similar idea about doing this with my Blackwidow V2.
Many thanks for all the documentation, it'll be super handy.
I'm going to give this a go too, but I wanna use a USB hub internally, with a USB sound card so the passthrough and aux jack can still work.
Hopefully you like the sounds of this, and give it a go too. 👍
Just a quick update to say it all worked. Just used an off the shelf unpowered usb hub, and a Sabrent USB soundcard. I was going to add mic, but ended up ruining the mic port's pads on the adaptor, so just used audio instead. Also I reused the original cable, and a spare shielded USB C cable, and tied all the grounds together. If you wanna do the same thing as me, I'd suggest getting a USB Soundcard that is made for aux headsets rather than audio and mic being separate like mine.
Hello..
Can you please explain how did you tie up all grounds from the USB hub & sound card and later solder it to usb-c female port shell? I'm planning to do the project, but can't understand what to do with grounds