Macropad
- 4 Devlogs
- 6 Total hours
A macropad with 9 keys, an OLED display, a rotary encoder, and 20 individually adressable LEDs for an underglow effect all enclosed in a two part 3d printed case. Can be programmed using QMK or KMK for now.
A macropad with 9 keys, an OLED display, a rotary encoder, and 20 individually adressable LEDs for an underglow effect all enclosed in a two part 3d printed case. Can be programmed using QMK or KMK for now.
Completed the hackpad guide!
I was going to use QMK but KMK seemed easier to use initally since I dont actually have the physical macropad yet. I also compiled everything onto a github repository for submission.
https://github.com/ZSmaster1/macropad
Finished designing the enclosure for the macropad in Fusion 360. To make sure everything fit correctly, I exported the PCB directly from KiCad and imported it into the CAD assembly as a reference. This made it much easier to design around the actual hardware instead of guessing dimensions, as well as aligning the gap on the bottom for the underglow effect.
I found models for the switches, rotary encoder, OLED display, and Seeed Studio XIAO on GrabCAD, which ended up saving a lot of time. Having the real component geometry available meant I could check clearances, mounting positions, and connector access.
I can finally see the macropad come together! The electronics, PCB, and enclosure all exist together in one assembly, now I just have to write the firmware which I am leaning towards using QMK due to its customization.
Any feedback is appreciated!
Finished the PCB layout and made some final schematic updates.
While making the PCB I realized I didn’t have any decoupling capacitors, and since I’m using 20 addressable LEDs, changing them all at once might cause voltage drops and other unexpected issues so I added one 100nf capacitor per 2 LEDs.
The PCB layout took longer than expected. I had to learn about vias, ground planes, and different constraints. Routing everything on the 2 layer board took a while and a lot of trace reroutes.
Looking at the 3d model of the PCB I can see the macropad slowly coming together. The next step is to design the case around the PCB in Fusion 360.
Finished designing the full macropad schematic in KiCad. The design includes a 3×3 key matrix, a Seeed Studio XIAO microcontroller, rotary encoder, OLED display, and a chain of addressable RGB LEDs for underglow.
A surprising amount of time went into learning KiCad itself. Organizing the schematic onto the sheet took longer than expected since I had to learn about nets, labels, power flags, etc. Furthermore I also had to learn about symbols, footprints and the ERC.
Next is the PCB where I’ll route the traces and define the physical layout of the board.