CAD Pad
Hardware- 6 Devlogs
- 13 Total hours
12 button macropad with a layer for a Autodesk Fusion, a number pad, and general shortcuts.
12 button macropad with a layer for a Autodesk Fusion, a number pad, and general shortcuts.
Finalized PCB and case design and added a spot to attach the OLED display or the rotary encoder. They both use the same pins, so I can only have one at a time and neither is currently in the firmware, but both are options for the future! I am excited that my first PCB is ready!
The QMK docs were difficult for me to understand, and I ended up following parts of a bunch of other tutorials. Compiling the firmware took longer and longer every time I added something else. Eventually, it took 55 minutes to compile.
Instead of trying to figure out how to use the OLED display, I added seven LEDs in a 7-segment display orientation and used that to display the layer number! I also designed some decorations in Inkscape to put on the top plate of the case.
Moved the PCB edge to flush with the edge of the USB-C port, added the corresponding hole in the case, and added some text to the case. I also began the compiling process and ran into a whole bunch of errors and missed semicolons…
In the code that I am testing, all but one of the errors is fixed! I don’t understand the correct syntax for switching layers, and code in a different file is a ‘statement with no effect.’
Coded all the keys for the macropad! It is my first time coding in C, so we’ll see how many semicolons I missed later… I used several other tutorials that were not linked to in Hack Club guides.
Setting up QMK
Layers
Macros
Designed the case for the macropad in Autodesk Fusion. Not sure what the cutout should be for the rotary encoder or LED, so I may need to change that if I figure out a better guess. Discovered Lapse for tracking time, which made it much easier to track time instead of finding plugins that don’t seem to be working.
Spent two untracked hours begining working before realizing that Hackatime was not linked and fixing that issue (tutorial). Found a different guide to making mechanical keyboard PCBs with KiCAD that was way easier to follow and got this made! I am not sure how close the edge of the PCB should be to the USB-C port on the XIAO, so I may adjust that later. Other than that, I think the PCB is finished!