geekhack

geekhack Community => Input Devices => Topic started by: FKSSR on Wed, 24 June 2020, 12:12:32

Title: Wiring USB Switch to Mechanical Key Switch
Post by: FKSSR on Wed, 24 June 2020, 12:12:32
Hello, all!

It's been SOOOOOoooooooo long since I posted here at GH.

However, I'm in need of some help.

I have a Rosewill USB Switch (https://www.newegg.com/rosewill-rcus-17001-2-x-usb-type-a-male-to-4-x-usb-type-a-female-and-1-x-usb-mini-b-female/p/N82E16812119894) that I use to connect my keyboard and mouse to two computers. When I click the switch it comes with, it switches to the other computer, allowing me to seamlessly switch between computers with my same kb/m setup.

I want to replace the crappy switch that comes with the device to a mechanical key switch, if possible.

This is the inside of the Rosewill switch:
[attach=1]

Can anyone guide me to information on how I may be able to connect the two wires shown above to a mechanical key switch (i.e. wiring diagrams or info on where someone else may have done something similar with some other kind of switch)?

Thank you!
Title: Re: Wiring USB Switch to Mechanical Key Switch
Post by: suicidal_orange on Wed, 24 June 2020, 14:02:06
Welcome back :)

That switch has two pins but you can solder them either side of the switch.  A keyboard switch also has two pins so one wire to each and you're good.  All a switch does is connect the two pins so doesn't matter which goes where.

This is assuming the switch is a Normally Open, I would be very surprised if it isn't but if you have a continuity tester test it - the two wires should only be connected when you press the switch.  If you don't have a tester worst case is when you connect the new switch it will keep swapping which is probably not healthy, so be ready to unplug it if you see that.
Title: Re: Wiring USB Switch to Mechanical Key Switch
Post by: FKSSR on Wed, 24 June 2020, 14:33:03
Welcome back :)

That switch has two pins but you can solder them either side of the switch.  A keyboard switch also has two pins so one wire to each and you're good.  All a switch does is connect the two pins so doesn't matter which goes where.

This is assuming the switch is a Normally Open, I would be very surprised if it isn't but if you have a continuity tester test it - the two wires should only be connected when you press the switch.  If you don't have a tester worst case is when you connect the new switch it will keep swapping which is probably not healthy, so be ready to unplug itb unplug it if you see that.

Nice. That makes complete sense! I was hoping you'd say that. :D

The only thing I was concerned about is whether I needed a diode or something else in between the switch and wires, but I guess nothing like that is necessary?

I have a multimeter, so I will use that to try and test if it is normally open.

Thanks so much!!!
Title: Re: Wiring USB Switch to Mechanical Key Switch
Post by: suicidal_orange on Wed, 24 June 2020, 16:52:43
Diodes are only needed when using a switch matrix so the controller knows which switches are pressed when you press more than one, no chance of that confusion here :thumb:
Title: Re: Wiring USB Switch to Mechanical Key Switch
Post by: FKSSR on Wed, 24 June 2020, 19:07:44
Makes complete sense. Thank you!!
Title: Re: Wiring USB Switch to Mechanical Key Switch
Post by: CarnivorouSwarm on Wed, 12 May 2021, 15:44:52
Hey OP, did you manage to make this work?

I have a USB switch that uses a remote that is very finnicky, and I'm looking into figuring out if it's possible to connect a novelkeys Big Switch to a USB switch, so I'd love to hear if you had any success with this.
Title: Re: Wiring USB Switch to Mechanical Key Switch
Post by: FKSSR on Wed, 12 May 2021, 17:14:12
Hey OP, did you manage to make this work?

I have a USB switch that uses a remote that is very finnicky, and I'm looking into figuring out if it's possible to connect a novelkeys Big Switch to a USB switch, so I'd love to hear if you had any success with this.

Yes! I did exactly what suicidal_orange said - I just soldered the two wires to the two metal contacts at the bottom of the switch (one wire to one point and other wire to other point), and it has been working perfectly.

I've actually been thinking of wiring it to a Big Switch, too! :D I bought one but need to buy a base.

Title: Re: Wiring USB Switch to Mechanical Key Switch
Post by: EdwardA on Wed, 19 May 2021, 23:11:38
I think soldering is a perfect idea!  ;)