

Kicad template
A keyboard generator tool
- Size
- 248.6 × 5.3 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 81
- Nets
- 94
- Pads
- 424
- Tracks, vias
- 1,421, 114
- Routed
- Yes
- KiCad
- KiCad 5 (file 20190605)
- Created
- 29 Sep 2019
- Updated
- 10 Dec 2021
Overview
Kicad template is an open-source printed circuit board by keyboardio, from the keyboardio/Keygen repository on GitHub. It is a 2-layer board of 248.6 × 5.3 mm with 81 parts on 94 nets, routed with 1,421 tracks and 114 vias.
It is built around the ATMEGA32U4-MU and PRTR5V0U2X. Its parts include 51 resistors, 20 capacitors, 2 ICs, 2 diodes and 1 connector. It belongs with the AVR (ATmega, ATtiny) boards of this library.
Main components
2ATMEGA32U4-MU
VQFN-44-EP(7x7)-40℃~+85℃ 10bit 16MHz 1KB 2.5KB 2.7V~5.5V 26 32KB 8 Bit AVR Built-in FLASH VQFN-44-EP(7x7) Microcontrollers (MCU/MPU/SOC) ROHSMicrochip TechnologyMicrocontrollers (MCU/MPU/SOC)PRTR5V0U2X
SOT-143-55℃~+125℃ 0.3pF、0.8pF 100W 10V、15V 5V 6.5V 6A 80nA ESD IEC 61000-4-2、IEC 61000-4-5、IEC 61000-4-4 Three channels Unidirectional SOT-143 ESD and Surge Protection (TVS/ESD) ROHSTECH PUBLICESD And Surge Protection (TVS/ESD)
README
READMESetting up:
- Install perl modules
- Check out git submodule
Perl Dependencies:
JSON::XS Moose
Non-perl Dependencies:
This tool currently builds KiCad 6.0 projects. That's not strictly necessary. If you need us to back down to 5.1, please say so.
There's a git submodule of 'kicad', which includes the keyboardio kicad footprints. Pull requests over there are welcome.
Usage:
perl layout.pl --usb=c --project=104-key --layout=kle-layouts/104.json cd 104-key kicad 104-key.pro
Notes:
It currently generates schematics and layouts assuming a ATMega32U4. The schematic has sheets for three different ways to wire things up: components-on-pcb, teensy 2.0++, arduino-micro. I know the pro micro is more popular in Japan and I'm happy to have that added as an option. It'd just need another schematic sheet in the template project and a footprint for adding it to the pcb. led support is a boolean option. Right now, LEDs are designed as dumb rgb pixels + an issi controller. the logic parts of the PCB don't get placed or connected to the switch and led matrix automatically. That's a much harder wiring problem. Instead, I hand-drew layouts for those and place them off the side of the PCB for you to drag into place and wire up. I have produced two PCBs based on earlier versions of this tool with some manual rework. They did -work-. But results are not guaranteed.
-Jesse jesse@keyboard.io
Parts
81| Qty | Value | Footprint | References |
|---|---|---|---|
| 26 | 100 | Resistor_SMD:R_0603_1608Metric | R14, R15, R17, R18, R20, R21, R23, R24, R26, R27, R29, R30, R32, R33, R35, R36 +10 |
| 13 | 140 | Resistor_SMD:R_0603_1608Metric | R13, R16, R19, R22, R25, R28, R31, R34, R37, R40, R43, R46, R49 |
| 6 | 1uF 10V X5R 10% | Capacitor_SMD:C_0603_1608Metric | C1, C2, C3, C4, C6, C8 |
| 4 | 100nF | Capacitor_SMD:C_0603_1608Metric | C15, C18, C19, C20 |
| 3 | 1uF | Capacitor_SMD:C_0603_1608Metric | C14, C16, C17 |
| 2 | 100K | Capacitor_SMD:C_0603_1608Metric | R8, R12 |
| 2 | 10K | Resistor_SMD:R_0603_1608Metric | R1, R10 |
| 2 | 1K | Capacitor_SMD:C_0603_1608Metric | R9, R11 |
| 2 | 22R | Resistor_SMD:R_0603_1608Metric | R4, R5 |
| 2 | 27pF | Capacitor_SMD:C_0603_1608Metric | C5, C7 |
| 2 | 27pF DNP | Capacitor_SMD:C_0603_1608Metric | C12, C13 |
| 2 | 4.7uF 16V X7R | Capacitor_SMD:C_0805_2012Metric | C10, C11 |
| 2 | 5.1K | Resistor_SMD:R_0603_1608Metric | R6, R7 |
| 1 | 10nF 100V | Capacitor_SMD:C_0805_2012Metric | C9 |
| 1 | 1N4148 | Diode_SMD:D_SOD-123 | D1 |
| 1 | 330R 5% | Resistor_SMD:R_0603_1608Metric | R2 |
| 1 | 500K | Resistor_SMD:R_0603_1608Metric | R3 |
| 1 | ABM3-16.000 | Keyboardio:ABM3_Crystal_Oscillator | X1 |
| 1 | ARDUINO_MICRO_SHIELD | ArduinoMicro:ARDUINO_MICRO_SHIELD | UArduinoMicro1 |
| 1 | ATMEGA32U4-MU | Keyboardio:TQFP-44_10x10mm_Pitch0.8mm-Plus-QFN_44_7x7mm_Pitch_0.5mm | U1 |
| 1 | BLM31PG391SN1L | Resistor_SMD:R_1206_3216Metric | L1 |
| 1 | ICSP | Keyboardio:Model_01_ICSP_cutout_pins | J1 |
| 1 | IS31FL3741 | Keyboardio:QFN-60_EP_7x7_Pitch0.4mm | U2 |
| 1 | PRTR5V0U2X | Keyboardio:PRTR5V0U2X | D2 |
| 1 | SW_PUSH | Button_Switch_SMD:SW_SPST_TL3342 | SW1 |
| 1 | USB_C_Receptacle | Keyboardio:USB-TYPE-C-MIDMOUNT | USB1 |
More from keyboardio/Keygen
3- 2 layers284.3 × 116.2 mm

- 2 layers

- 2 layers14 × 5.3 mm

Similar boards
- 2 layers344 × 124.5 mm

- 2 layers285 × 95.1 mm

- 2 layers285 × 95.1 mm

- 2 layers285.7 × 95.5 mm

Jones
jpskenn/Jones
Row-staggered 60% keyboard with gapless R2-R3 row. GH60 case compatible.
249 parts12MIT - 2 layers285 × 95.1 mm

Nora
jpskenn/Nora
Narrow pitch keyboard with Choc switches and keycaps. GH60 compatible.
303 parts12MIT - 2 layers209.6 × 76.2 mm

Didaktik
calvin-mcd/Didaktik-40
a 40s keyboard inspired by the Didaktik computer & keyboard
129 parts9GPL-3.0 - 2 layers228.4 × 85 mm

LeChiffre
paindrivendev/le-yiffre
Le Yiffre is a modified hotswap Le Chiffre pcb as an experimental design with different thumb clusters.Thanks to tominabox1 for creating Le Chiffre Keyboard and making it open source.
108 parts8 - 2 layers302.4 × 230.7 mm

Questions
How big is the Kicad template PCB?
It measures 248.6 × 5.3 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Kicad template use?
81 parts, built around the ATMEGA32U4-MU and PRTR5V0U2X. 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.
Where can I download the Kicad template KiCad files?
From the keyboardio/Keygen repository on GitHub, at the commit this page was made from: the board is kicad-template/kicad-template.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Can I use the Kicad template design in my own project?
Its repository states no licence, so its author keeps all rights: ask keyboardio before reusing the design.