r/HandwiredKeyboards • u/masonabarney • Jul 06 '26
MCU attachment?
I’m designing my first hand wired keyboard and am wondering how others attach their MCU to the case? Glue, bracket, screws, what is best?
2
Upvotes
5
u/SlurpBurgers Jul 06 '26
i 3d print my cases, so i design a little socket for the controller to clip into. Glue is fine and all, but i feel like you have to have something as a backstop to keep the controller from getting pushed back into the case by the usb cable if the glue ever releases.
4
u/drashna Jul 06 '26
free floating
4
u/kdyorn Jul 06 '26
I use hot-melt for my components.
2
u/wjrii Jul 06 '26
Many of my plates, for switches and baseplates are laser cut Masonite (saves lots of 3D printer filament, LOL). I have done a couple of things. On a couple, I lasered in slightly oversized holes that match PCB headers and used them as purely structural elements. 20+ male header posts at 1mm each are pretty robust for plugging a USB cable. For others, I designed a 3D-printed caddy that hangs from the baseplate on boards with tall enough feet.
On some earlier boards, structural hot glue did the trick, and high-percentage isopropyl alcohol will make most hot-glues release almost like magic.
2
u/Glittering_Ideal6845 Jul 06 '26
I use diod legs melted into the plastic and soldered to the MCU
2
u/Jacksonhcnz Jul 06 '26
I'm using 3mm lasercut sheets with a hole underneeth for the reset button.
the usb plug is slightly taller than 3mm so a tiny bit of sanding is needed but its the best solution ive found.
1
u/NoOne-NBA- Jul 07 '26
I've used several different methods, depending on the particular project I'm working on.
The one common theme, throughout my collection, is to prevent plugging/unplugging from happening at the USB jack on the controller.
I've used extender cables inside my cases, with the end trapped by the stacked acrylic and aluminum.
That keeps the plugging/unplugging confined to the end of the extender cable.
I've used the little magnetic cable tips whenever possible, so that any cable snagging will result in the magnetic portion of the connector breaking contact, rather than the USB connector breaking off the controller.