Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Just a question: Minimum practical size? #3

Open
kubycsolutions opened this issue Jan 19, 2022 · 2 comments
Open

Just a question: Minimum practical size? #3

kubycsolutions opened this issue Jan 19, 2022 · 2 comments

Comments

@kubycsolutions
Copy link

Lovely design, and many thanks for parameterizing and documenting it so well.

Apologies if I've missed this one in the docs: Have you done any experiments to see what the minimum center-to-center distance could be while still operating well? I have an button-matrix application where that's about half an inch; full-size keyboards run closer to 3/4".

@riskable
Copy link
Owner

The distance from the center of the switch to the magnet is 3.25mm (it's hard coded--for now) and the diagonal width of the sheath is ~12mm. So the minimum width/length of the switch with default settings is going to be 12mm+some space for wall thickness so it should fit within 0.5inches (12.7mm).

Another thing you can do is use 3x2mm magnets instead of 4x2mm... Then you can decrease the STEM_DIAMETER and you'll end up with a sheath that's skinnier. You can also try setting STABILIZER_STEM = true; which will give you a stem with a + that's flat instead of at a 45° angle. This would enable you to place the sheath into the body (or just a top plate with the correct cutout shape) horizontally instead of vertically. Just make sure your sensors are 3.25mm away from the center of the footprint and it should work fine. In this situation you'd be making a switch that had the magnet just below or above the center of the switch instead of diagonally in the corner.

There's all sorts of other values you can play with to squeeze the switch into a tighter space like WALL_THICKNESS, MAGNET_WALL_THICKNESS, etc etc. You can also use a smaller magnet in the stem but keep the body magnet the usual 4x2mm size (mix & match). You may have to go into sheath.scad and fudge a few of the values to make things line up though. If you read the comments I have loads of info about places where that might be necessary for certain types of adjustments.

@kubycsolutions
Copy link
Author

kubycsolutions commented Jan 20, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants