bschwind / key-ripper

Apache License 2.0
235 stars 14 forks source link

Case Construction #27

Open bschwind opened 1 year ago

bschwind commented 1 year ago

Tasks

PCB

Plates

Case

Summary

I'd like to create a case for this keyboard, with three varieties:

Ideally one PCB design will be able to work for all three case styles.

Measurements

USB-C Connector

Screen Shot 2022-10-29 at 10 57 56 PM

Flash Memory

Screen Shot 2022-10-29 at 10 13 35 PM

Kailh Hotswap Socket

Screen Shot 2022-10-29 at 10 18 50 PM

Constraints

Bottom Plate Design

Following on the design of other keyboards (such as the 7spro), there will be M2 spacers which go through the main PCB, with screws securing it to the top and bottom plates.

Image 2

I would try to get away with 8mm spacers first if the USB connector isn't as tall as it says in the datasheet, otherwise 9mm spacers will have to do.

The screws should be as flat as possible to stay flush with the top and bottom plate. 3-4mm length should be fine.

Screen Shot 2022-10-29 at 10 48 15 PM Screen Shot 2022-10-29 at 10 48 22 PM

3D Case Design

Instead of having a bottom plate, the PCB will rest on the bottom of the case, with a slot cut out for the USB connector. There should be raised edges on the top and bottom edges of the case which the PCB will sit on.

There should be slot cutouts of some sort on the PCB edge to allow it to pass through to the bottom, with equivalent "posts" on the case itself, which will prop up the top plate on its edges and keep it at the right height away from the PCB.

IMG_4838

Screen Shot 2022-10-29 at 11 12 48 PM

These can run along the top and bottom of the PCB, the sides may not be necessary.

The "posts" in the 3D case which support the top plate should have M2-sized holes in them to allow for screws to tap into

To Be Determined

skywhale commented 1 year ago

If you are okay with an aluminum back plate, then using rivet nuts (an example) is one easy way to make custom feet attachable.

bschwind commented 1 year ago

Here's a good video showing how a non-hotswap keyboard is expected to be constructed in a case similar to what I want to build:

https://youtu.be/017aGAJiNJg

bschwind commented 1 year ago

Some findings from @mcginty for adding threading to the PCB:

https://www.keyelco.com/category.cfm/Spacers-Standoffs/Standoffs-Spacers-Inserts-Surface-Mount/id/1335

https://www.mouser.com/ProductDetail/Keystone-Electronics/24929?qs=Znm5pLBrcAJPd1Bwfdw1vA%3D%3D

Specifically part 24939 which has an M3 thread.

These could be soldered directly to the PCB as a solid, no-fuss solution to adding threading points on the PCB.

Very similar to @skywhale 's suggestion of rivet nuts, but without the need of a special tool (besides a soldering iron) for attaching it.

bschwind commented 1 year ago

Progress with the "PCB with threaded inserts" version of the case:

Screen Shot 2022-12-04 at 9 35 01 PM
bschwind commented 1 year ago

More progress!

Screen Shot 2023-01-24 at 1 01 07 AM Screen Shot 2023-01-25 at 11 33 14 PM