Finished main page, added navigation bar, and added pages for hobbies. After aligning the Fun Facts section to be more like the Current News section, I added a navigation bar to make it easier to go to each section. This also had the added benefit of acting like a “Go Back” button for each of the hobby pages. For each of the hobby pages, I updated the navigation bar based on the content of the page and used flexbox and nested divs to align the content to the left with a margin on the sides of the page. I also updated the thumbnail for the Art page to be one of my artworks, instead of the placeholder Mandelbrot image.
Added basic UI and styling to main page. I turned the name into a title and put my description in a box to make the first section look cleaner. Inspired by some other designs, I also reorganized the fun facts into separate boxes with some icons next to them. For the Current News section, I made the background a newspaper texture, but I plan on changing it later on. For the Projects and Other Hobbies sections, I made clickable icons with titles underneath. In the Other Hobbies section, I made a horizontal scrolling bar, inspired by a few HackClub event pages. I also made the icons show a different color box shadow when hovering!
Coded basic layout of website. Originally, I had the Hobbies section before the Projects section, but I couldn’t decide what to count in Projects and whether to split up the Projects section into more subsections. Instead, I decided to just put my HackClub projects in the Projects section first and then put the rest under Other Hobbies.
Added screw holes to CAD, added better animations to firmware, and updated production files. I added holes to the HackPad case to fit the heatset inserts and modeled a simple placeholder part to act as a heatset insert in my CAD (to fix the problem of the screws being too short). I also added fillets to some edges and removed the holes on the cover plate (the plate would be held to the case by the heatset inserts). Since I wanted the OLED to be responsive to key presses, I decided to redesign the firmware to have each key fill in when pressed. To do this, I separated each sprite into individual animations and drew each animation separately on the screen by moving the origin, checking key presses to display different key animations.
Made animation for OLED and finished firmware. After creating a simple sprite animation in Krita and writing the QMK firmware (it took me hours to realize that the pin labels were GPIO numbers and match everything), my keymap.c file somehow deleted itself, skipping past the recycling bin, so I had to code it twice. I also stayed up until 11:30pm and used the next morning to debug the various causes of compiler errors. Many of them were just typos like missing a comma or forgetting a semicolon after an enum, but I had to just test which function actually worked for layer switching because all the others gave the error “this statement is not necessary” somewhere in the QMK code. As I was working on the GitHub repository, I realized that the screws were too short to go through my entire case, so I’ll have to redesign it next time.
Rewired part of PCB and worked on firmware. While looking at XIAO RP2040 diagrams, I realized that the SDA and SCL pins were not connected to the right spot. I swapped the connections for those pins and row 0 and row 1. I swapped out the switches in my CAD for the .STEP files in the official resources and spent some time defining the pins in the firmware.
Realigned components on the PCB and finished most of the CAD. While trying to align the switches on the PCB to the grid, I realized that the footprints were snapping to weird increments. Eventually, I decided to use the position values in the sidebar to manually set the x and y coordinates of the switches. I also moved the XIAO RP2040 to the right and the diodes further down for more room in the CAD. After finishing the cover plate, I modeled a simple knob for the rotary encoder.
Fixed small measurement errors, realigned the components, and worked on the cover piece. While I was working on the cover piece, I noticed a small piece sticking out, a sign of a slightly mismatched measurement. It turns out that most of my plates had small measurement errors (from slightly unconstrainted rectangles made while shortening one of the sides). While realigning my components, I learned that my PCB model had misplaced holes, which meant that I couldn’t trust it for measurements. I also lowered my rotary encoder so it wouldn’t clip into the top panel.
Aligned keycaps/OLED and edited case to better fit components. After working on the top plate for a while, I realized that a lot of my parts were clipping (e.g. diodes and microcontroller), so I cut away parts of the plate to make things fit. I improved my method for aligning components after having the align the keycaps on the switches (I spent a long time trying to align the original keycap to the origin before just calculating the displacement to where I needed it to be). After putting on the top plate, I raised part of the bottom plate to make a cutout for the USB-A port and raised the OLED screen. I also started working on the decorative top plate that’ll go onto top of everything.
Created PCB and started work on assembling in CAD. I had to scale down the amount of keys and remove the LEDs because there weren’t enough pins. I spent way too long searching for OLED and Rotary Encoder symbols while making the schematic before I realized that they just need the footprints paired with generic symbols from the default library. While routing the PCB, I learned that the red and blue wires are for different layers and assigned footprints to the diodes so they would show up (I forgot to do that while working on the schematic). After aligning most of the parts in Fusion, I realized that one of the switches and the rotary encoder were overlapping and that I could just export the PCB as a .step file from KiCad.