My awesome macropad!
Hardware- 3 Devlogs
- 5 Total hours
A minimalistic 9 key macropad with a rotary encoder for volume control.
A minimalistic 9 key macropad with a rotary encoder for volume control.
I finally figured out how the case goes together. It’s a three-part stack: the top frame, the mounting plate, and the bottom case. The switches snap into the plate first, and then their pins fit into the PCB underneath. The tolerances and dimensions for everything was a bit confusing at first.
I wrapped up the CAD files and moved to the firmware. I went with QMK since I already know my way around it. Defining the matrix, mapping the rows and columns to the RP2040, and setting up a basic default keymap was pretty straightforward.
The last step was writing the README and prepping the GitHub repo for submission. The documentation took ages because I wanted a clear image of all 3 parts of my case. I spent a while trying to figure out how to generate a spaced out diagram of the case layers until I realized I just needed to use the “explode” function in my CAD software to pull the parts along an axis.
Anyways, attached are my finished PCB, schematic and CAD!
My PCB was looking a really boring and plain so I added some orpheus graphics on the silkscreen on the front and back of the PCB.
The case is almost done, I finally figured out how to position the plate sketch.
While designing the case, I realized that the top of the XIAO RP2040 (the usb c receptacle) doesn’t fit, so I’ll have to flip it around to the other side of the PCB.
So I started designing my cool macropad today.
I decided to go with a 3x3 layout with a rotary encoder on top (I chose it because it looks cool). I put that into Keyboard Layout Editor for the PCB.
It’s a 3x3 matrix wired up to a Seeed Studio XIAO RP2040 and an EC11 switch rotary encoder.
I started the case in Fusion, this is where I hit the wall (pun intended). I can’t figure out how to do the plate for the sandwich mount, the outlines where really off and nothing was aligning properly. I guess that’s a future me problem.
I’m gonna (hopefully) figure out how the plate thingies work, add a USB C cutout for my microcontroller and I’ll be finished (again, hopefully finished).
Attached is where my case is at right now and my finished PCB + schematic. Here’s the github repo for anyone who wants to check it out =)
https://github.com/poggersv2/macropad