geekhack

geekhack Projects => Making Stuff Together! => Topic started by: Tom_Kazansky on Thu, 15 March 2018, 09:18:35

Title: PCB Footprint for Kailh Hotswap Socket
Post by: Tom_Kazansky on Thu, 15 March 2018, 09:18:35
Hello!
I want to try making a PCB with hot-swappable switches and I decided to use the hot-swap socket from Kailh.
I bought some from here: https://item.taobao.com/item.htm?id=560070474120

Though I don't have the PCB footprint for it, I thought the seller would have it and asked but there is no replies so far.

Does anyone has the PCB footprint for these sockets?

Thanks for reading,
Tom.
Title: Re: PCB Footprint for Kailh Hotswap Socket
Post by: pixelpusher on Thu, 15 March 2018, 10:19:41
Have one, I do not.

I like the sockets in my iGKx so I'ma see what comes of this thread. 

I'm not sure about my surface mount soldering skills enough to build one.  I've repaired a few on my board, but never a build from scratch.
Title: Re: PCB Footprint for Kailh Hotswap Socket
Post by: funderburker on Thu, 15 March 2018, 12:29:38
Oh, this would be interesting to find out actually. I'd be very interested into making a test PCB with Kailh hot-swap sockets.

Title: Re: PCB Footprint for Kailh Hotswap Socket
Post by: senso on Thu, 15 March 2018, 16:22:24
Given that the seller has a nice printscreen, try your luck asking the seller for either the footprint(I have Altium, I can give you all the measures if you dont have it), or ask for an annotated image with the diameters and distances.
Title: Re: PCB Footprint for Kailh Hotswap Socket
Post by: hanya on Fri, 16 March 2018, 00:21:47
I've tried to make KiCAD module according to the drawing from:
https://item.taobao.com/item.htm?id=558289131998
But I've never used it. If you can test it yourself, you can have it:
https://www.dropbox.com/s/f2kuubuw87bpgwl/CPG151101S11.zip?dl=0
Title: Re: PCB Footprint for Kailh Hotswap Socket
Post by: Tom_Kazansky on Fri, 16 March 2018, 09:14:01
I've tried to make KiCAD module according to the drawing from:
https://item.taobao.com/item.htm?id=558289131998
But I've never used it. If you can test it yourself, you can have it:
https://www.dropbox.com/s/f2kuubuw87bpgwl/CPG151101S11.zip?dl=0

ah, thank you very much!  :thumb:

Given that the seller has a nice printscreen, try your luck asking the seller for either the footprint(I have Altium, I can give you all the measures if you dont have it), or ask for an annotated image with the diameters and distances.

I'm still waiting for the seller's reply, meanwhile I will work with what hanya has provided :D

Title: Re: PCB Footprint for Kailh Hotswap Socket
Post by: Parak on Fri, 16 March 2018, 09:37:31
Here's one that I made for the K-Type:

https://github.com/kiibohd/pcb/blob/master/K-Type/lib.pretty/SW_SOCKET_COMBINED_T.kicad_mod
Title: Re: PCB Footprint for Kailh Hotswap Socket
Post by: Tom_Kazansky on Sat, 24 March 2018, 06:13:04
Hi!
I think it's time I start this project.

First, I will use this board as controller:
More
[attachimg=1]
which I bought here: https://world.taobao.com/item/548316293212.htm
(yeah, the board looks different, mine is the new version)
reasons are:
- soldering the smd component with many pins, Atmega32, is a pain
- I have not figured out how to install bootloader...  :'(
by the way, the above board supports in-switch led, RGB underglow and keymapping with Bootmapper Client

As for the layout, I thought of making this:

[attachimg=2]
I don't know if it's possible to mix "hot swap" and "universal layout" but I will try.  :-\

because we're using hot-swap switches, I think smd leds are a must, I guess I just put the pads for leds in the opposite layer.

---
a bit on the progress:

- split backspace:
do you think this will work?

[attachimg=3]
there are collisions but I think it's ok.

- 1.25u and 1.5u modifiers

[attachimg=4]
hopefully the collision in the middle key is not a problem
I'm trying to make bottom row with split-spacebar and 3u spacebar in it, it's: 1.5, 1.25, 1.5, 3, 2.25, 1.5, 1.25, 1.25, 1.5

---
I have to admite that adding hot-swap and leds do increase the difficulty quite a bit.  :(
Title: Re: PCB Footprint for Kailh Hotswap Socket
Post by: hanya on Wed, 02 May 2018, 00:54:21
Datasheet for Kailh PCB Socket CPG151101S11 can be found recently.
http://www.kailhswitch.com/pcb-socket/mechanical-keyboard-switches-kailh-pcb-socket.html
Title: Re: PCB Footprint for Kailh Hotswap Socket
Post by: woodkeys on Wed, 02 May 2018, 00:56:28
I have a KiCAD footprint for the sockets in my GitHub: https://github.com/colemarkham/keyboard_parts.pretty/blob/master/Kailh_MX_Socket.kicad_mod (https://github.com/colemarkham/keyboard_parts.pretty/blob/master/Kailh_MX_Socket.kicad_mod)
Title: Re: PCB Footprint for Kailh Hotswap Socket
Post by: Tom_Kazansky on Wed, 02 May 2018, 07:42:25
Hello!
Sorry for the lack of update, I'm not much of a poster :-[

So I decided to make smaller PCB, like... 40% form factor. (to save some money and efforts)

the KLE:
[attachimg=1]

And the PCB: (I use hanya's footprint)
[attachimg=2]
[attachimg=3]
it turns out good, but I think the footprint could be "optimized" a bit, though that extra bit of space is not that useful.

I also 3D print the case:
[attachimg=4]
it needs some post-printing processing, I sanded it a bit and apply stickers on it. (that's the only thing I can/think of doing)
my design is pretty tight so I don't need any screws.
here is the result:
[attachimg=5]
---
I made few mistakes with PCB designing (the wiring above is one) though I can still work around and make it work. That relieves me a bit.  ;D

I'm going to draw a new case, this time with screws, I have never made "threads" before, I believe they can't be printed, yes?

Title: Re: PCB Footprint for Kailh Hotswap Socket
Post by: xack on Sun, 06 May 2018, 16:35:02
I'm going to draw a new case, this time with screws, I have never made "threads" before, I believe they can't be printed, yes?
Small screw threads like M3 can't really be printed, but what i usually do however is making 2.8mm holes and then tap them or (most times) just screw in the screw ;)
Depending on the project I also sometimes use brass threaded inserts but not that often.
(2.8mm works for me but depends on the printer)
Title: Re: PCB Footprint for Kailh Hotswap Socket
Post by: Tom_Kazansky on Sun, 06 May 2018, 20:16:21
I'm going to draw a new case, this time with screws, I have never made "threads" before, I believe they can't be printed, yes?
Small screw threads like M3 can't really be printed, but what i usually do however is making 2.8mm holes and then tap them or (most times) just screw in the screw ;)
Depending on the project I also sometimes use brass threaded inserts but not that often.
(2.8mm works for me but depends on the printer)

thanks, I will keep that in mind.
I will try creating the thread manually, I think it's possible for plastic case  ;D
Title: Re: PCB Footprint for Kailh Hotswap Socket
Post by: bendim on Sat, 10 November 2018, 15:39:53
A bit late, but maybe it helps someone.
https://github.com/daprice/keyswitches.pretty