
Battery bus
hackclub/OnBoard
💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

keyboard for hackclub keeb program
Keyboard is an open-source printed circuit board by shivam-hegadi, from the shivam-hegadi/keyboard repository on GitHub. It is a 2-layer board of 339.1 × 106.7 mm with 136 parts on 99 nets, routed with 913 tracks and 127 vias.
Its parts include 68 switches and 65 diodes. It belongs with the keyboards and input boards and the RP2040 boards of this library.
This document outlines my process for designing and building my first custom mechanical keyboard from scratch, including PCB design, custom keycap design, and case engineering.
Time: 1 hour 30 minutes I decided to design a 65% keyboard with circular keycaps. My goal was to create a sleek design with resin keycaps and LEDs mounted behind the switches to provide underglow lighting.
Time: 2 hours
I began designing the schematic in KiCAD but encountered difficulties visualizing where the keys should be positioned and determining appropriate key sizes. I discovered keyboard-layout-editor.com, which allowed me to create an accurate layout template before proceeding with the actual PCB design. This tool significantly improved my understanding of the final layout.
Time: 1 hour 30 minutes
I realized that the schematic does not need to be a perfectly accurate representation of the physical PCB layout. It only needs to show all electrical connections accurately. Once I understood this principle, I was able to progress more effectively with the wiring design.
Time: 2 hours
I completed the wiring of all switches in a matrix configuration. I have not yet connected this to the Pi Pico microcontroller. I also need to research and integrate the two rotary encoders into the design. This step required significant research, and I learned a great deal about how keyboard matrix scanning works.
Time: 1 hour 30 minutes
I finished wiring the complete schematic, including both rotary encoders. I added six stabilizers total, with two additional stabilizers included as spares in case they are needed during final assembly. The schematic is now complete and ready for PCB layout design.
Time: 3 hours
I placed all switches, the Pi Pico microcontroller, stabilizers, and rotary encoders on the PCB. I adjusted the spacing between switches multiple times to match my original design specifications. The next phase will involve routing all electrical traces.
Time: 4 hours
This was the most time-consuming phase of the project. I routed all traces and performed verification using KiCAD's DRC (Design Rule Check) checker. I had to ensure that no traces crossed and that all components maintained proper spacing. The design has been verified and is ready for manufacturing.
Time: 2 hours
I added personalization to the PCB by designing a custom silkscreen on the front with my name and a full board design on the back. I discovered that silkscreen designs must be rendered in black for KiCAD to display them correctly on screen.
Time: 2 hours 30 minutes
I imported the PCB STEP file into Fusion 360 and began adding three-dimensional models of the switches and rotary encoders. The diodes and Pi Pico were already included in the STEP file because they had 3D models linked to their KiCAD footprints. Although manually placing each switch in its correct position was tedious, this process allowed me to visualize the final assembly.
Time: 1 hour
I designed the plate using Fusion's 3D sketch feature to trace the keycap outlines. This approach proved to be effective and more straightforward than anticipated. I selected a bottom-mounted configuration for this keyboard design.
Time: 2 hours 30 minutes
I completed the design of all custom keycaps using a circular profile with a loft feature. The longer keycaps, such as the shift and spacebar keys, presented challenges because the 3D sketch feature does not permit vertical movement of sketches. I had to redesign these sketches multiple times before achieving the desired result. I selected resin as the material for its translucent properties.
Time: 1 hour 30 minutes
I designed the outer case with two separate pieces that sandwich the plate assembly in the middle, ensuring secure assembly. I selected wood as the case material because I plan to machine the case from wood stock that I currently have available.
I utilized my complimentary Autodesk Education cloud rendering credits to create a final visualization of the complete keyboard assembly.
In total, I spent 25 Hours and 30 Minutes on this projects design phase. As this was my first time making a PCB, I had a big learning curve with Kicad, so it took a bit longer than expected. Helpful tools such as the Marbastlib in Kicad and 3D Sketch in Fusion helped a lot with saving time. I am excited to get my grant and order the PCB and parts!
| Qty | Value | Footprint | References |
|---|---|---|---|
| 65 | 1N4148 | Diode_THT:D_DO-35_SOD27_P7.62mm_Horizontal | D1, D2, D10, D11, D12, D13, D14, D15, D16, D17, D18, D19, D20, D21, D22, D23 +49 |
| 64 | SW_Push | PCM_marbastlib-mx:SW_MX_1u | SW2, SW10, SW11, SW12, SW13, SW14, SW15, SW16, SW17, SW18, SW19, SW20, SW21, SW22, SW23, SW24 +48 |
| 2 | LOGO | LOGO | , G*** |
| 2 | RotaryEncoder | Rotary_Encoder:RotaryEncoder_Bourns_Horizontal_PEC09-2xxxF-Nxxxx | SW57, SW58 |
| 1 | DDR5 | PCM_marbastlib-mx:STAB_MX_P_6.25u | S3 |
| 1 | RaspberryPi_Pico | Module:RaspberryPi_Pico_Common_THT | A1 |
| 1 | put me back! | PCM_marbastlib-mx:SW_MX_1u | SW1 |

hackclub/OnBoard
💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

ohmtech-rdi/eurorack-blocks
Software to Hardware Prototyping for Eurorack using C++, Max/Gen~ or Faust

rgoulter/keyboard-labs
Repo with my PCB designs and keyboard firmware

Spaceboards/SpaceboardsHardware
A collection of open source hardware that has been designed by Spaceboards


NVlabs/Cypress
Cypress is a scalable, GPU-accelerated PCB placement method inspired by VLSI. It incorporates tailored cost functions, constraint handling, and optimized techniques adapted for PCB layouts.

kbob/MinimumViableSynth
A virtual analog synthesizer with lots of knobs and buttons.

zhol0777/bully-files
Bully is a keyboard designed by paaradiso keyboard design and zhol. It combines low typing angle, a plateless build, and modest but dignified design sensibilities.
It measures 339.1 × 106.7 mm and has 2 copper layers, 1.6 mm thick.
136 parts. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
From the shivam-hegadi/keyboard repository on GitHub, at the commit this page was made from: the board is hardware/keyboard.kicad_pcb and its schematic hardware/keyboard.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask shivam-hegadi before reusing the design.