Skip to the content
2 layers219.3 × 138.9 mmMainpcb, the printed circuit board in 3D

Uses a modified version of ergogen that supports placing arbitrary library parts.

Size
219.3 × 138.9 mm
Copper layers
2
Thickness
1.6 mm
Parts
128
Nets
65
Pads
981
Tracks, vias
0, 0
Routed
Not yet
KiCad
KiCad 6 (file 20211014)
Created
26 Jul 2022
Updated
20 Sep 2022

Overview

Mainpcb is an open-source printed circuit board by efyang, from the efyang/dovetail-kb repository on GitHub. It is a 2-layer board of 219.3 × 138.9 mm with 128 parts on 65 nets.

It is built around the WS2812B. Its parts include 38 switches, 36 diodes, 15 connectors, 2 resistors and 2 ICs.

Main components

1

README

readme.md

Dovetail Keyboard

Uses a modified version of ergogen that supports placing arbitrary library parts.

Top Down Tilted Bottom

FreeCAD Pics (some parts didn't survive the conversion process)

Flat Orthographic Tented Orthographic Tented Perspective

Features

  • underglow
  • trackpad (tm035035-2024-003)
  • solder-on 90-degree thumb clusters
  • choc spacing
  • 36 keys

To update using ergogen:

  • node ergogen/src/cli.js ergogen.yaml -o .
  • Open pcb in pcbnew
  • Tools -> Update Footprints from Library
  • Check all "Update Options"
  • Update

Parts list

QtyPartInfoLink(s)
2KB2040QMK compatible pro-micro footprint. Currently must have QMK for trackpad, recommmended RP2040https://www.adafruit.com/product/5302
2PJ-320A Jackhttps://www.aliexpress.com/item/2251832181971069.html
36Kailh Choc Hotswap Socketshttps://www.aliexpress.com/item/3256803389452947.html
3M2 StandoffsTrying M2x7https://www.aliexpress.com/item/2251832782516182.html
idk can't countM2 Screws
1FPC Cable0.5mm pitch, 12pin, same side (but probably should cut and strip yourself anyways)https://www.aliexpress.com/item/3256801417741263.html
1FPC Connector12P, 0.5mm pitchhttps://www.aliexpress.com/item/2261800162045502.html
4MCU Sockets (optional)I like these ones - PH3.5, use them with regular headershttps://www.aliexpress.com/item/2251832713321083.html
2Scroll Wheelhttps://www.aliexpress.com/item/2251832804635444.html
14WS2812b 5050https://www.aliexpress.com/item/3256802466699315.html
1TM035035-2024-003 TrackpadCirque Glide Trackpad with overlayhttps://www.mouser.com/ProductDetail/355-TM0350352024-003
2EVQ-P7C01P Reset SwitchI wanted to be fancy lolhttps://www.mouser.com/ProductDetail/667-EVQP7C01P
1Trackpad holder partProbably want 2 just in caseIn repo
11 of each PCB minimumleft-main, right-main, left-thumb, right-thumb (you could actually interchange the thumbs)In repo
2PlatesUntestedIn repo
12M2 standoffs (5mm)Untestedhttps://www.aliexpress.com/item/2251832782591461.html
21/4in lock nutUntestedhttps://www.aliexpress.com/item/3256802483856268.html
2Camera swivel thingyUntestedhttps://www.aliexpress.com/item/3256803400603212.html
2Magnetic BaseUntestedhttps://www.aliexpress.com/item/3256803496352836.html
2Palm LED DiffuserUntestedIn repo
2Palm LED Diffuser SpacerUntestedIn repo
36Diodes
1Case (optional)https://www.aliexpress.com/item/3256803532895347.html

Notes

  • Designed for 3.3v power/logic (kb2040)
    • if you want to use 5v then you have to desolder more on the trackpad pcb
  • Rectangular size (at most): ~ 14cmx11cmx5.5cm

Inspo/Useful Links

Parts

128
QtyValueFootprintReferences
36DiodeLibrary:D3_TH_SMD_v2D1, D2, D10, D11, D12, D13, D14, D15, D16, D17, D18, D19, D20, D21, D22, D23 +20
36Val**Library:PG1350SW1, SW2, SW10, SW11, SW12, SW13, SW14, SW15, SW16, SW17, SW18, SW19, SW20, SW21, SW22, SW23 +20
19M2kbd:M2_HOLE_v3H1, H2, H3, H4, H5, H6, H10, H11, H12, H13, H14, H15, H16, H17, H18, H19 +3
14WS2812bLED_SMD:LED_WS2812B_PLCC4_5.0x5.0mm_P3.2mmDS1, DS2, DS3, DS4, DS5, DS6, DS7, DS8, DS9, DS10, DS11, DS12, DS13, DS14
6 SDAkbd:JumperJ5, J6, J7, J8, J9, J10
24K7Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR1, R2
2Female 9pinLibrary:kb_90deg_connector_female_9pinJ12, J13
2I2C BreakoutConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ3, J4
2Male 9pinLibrary:kb_90deg_connector_male_9pinJ14, J15
2Pro Micro FootprintLibrary:ProMicroU1, U2
2RSTLibrary:SW_SPST_EVQP7CRST1, RST2
2Scroll WheelLibrary:EVQWGD001S1, S2
2TRRSLibrary:TRRS-PJ-320AJ1, J2
112pin FPCLibrary:Hirose_FH12-12S-0.5SH_1x12-1MP_P0.50mm_HorizontalJ11

More from efyang/dovetail-kb

4
  • 2 layers106.1 × 90.5 mmLeft main routed, the printed circuit board in 3D

    Left main routed

    efyang/dovetail-kb

    Uses a modified version of ergogen that supports placing arbitrary library parts.

    54 parts4
  • 2 layers106.1 × 90.5 mmRight main routed, the printed circuit board in 3D

    Right main routed

    efyang/dovetail-kb

    Uses a modified version of ergogen that supports placing arbitrary library parts.

    54 parts4
  • 2 layers69.5 × 50.7 mmRight thumb routed, the printed circuit board in 3D

    Right thumb routed

    efyang/dovetail-kb

    Uses a modified version of ergogen that supports placing arbitrary library parts.

    11 parts4
  • 2 layers42 × 36 mmLeft thumb routed, the printed circuit board in 3D

    Left thumb routed

    efyang/dovetail-kb

    Uses a modified version of ergogen that supports placing arbitrary library parts.

    9 parts4

Similar boards

  • 4 layers99 × 53.3 mmPSLab, the printed circuit board in 3D

    PSLab

    fossasia/pslab-hardware

    PSLab Hardware Design and Schematics https://pslab.io

    199 parts1.7kApache-2.0
  • 2 layers26 × 30 mmMicrocontroller, the printed circuit board in 3D

    Microcontroller

    FrameworkComputer/ExpansionCards

    Reference designs and documentation to create Expansion Cards for the Framework Laptop

    34 parts1.1kCC-BY-4.0
  • 4 layers82.6 × 82.5 mmJumperless2, the printed circuit board in 3D

    Jumperless2

    Architeuthis-Flux/Jumperless

    A jumperless breadboard

    208 parts914
  • 2 layers95.3 × 161.9 mmDfh badge, the printed circuit board in 3D

    Dfh badge

    tanaes/whopping_Voron_mods

    135 parts787GPL-3.0
  • 2 layers42.8 × 28.8 mmMM Skirt, the printed circuit board in 3D

    MM Skirt

    PrintersForAnts/Micron

    If you want to purchase full kits there are 3 available (Kits are slowly updating to R1 hardware just make sure to double check the included hardware in your kit and if you have any questions reach out in the discord)

    11 parts741GPL-3.0
  • 2 layers149.6 × 127.1 mmErgodash, the printed circuit board in 3D

    Ergodash

    omkbd/ErgoDash

    keyboard

    187 parts732MIT
  • 2 layers285.5 × 95 mmReviung46 ver1 1, the printed circuit board in 3D

    Reviung46 ver1 1

    gtips/reviung

    The REVIUNG41 is 41-key column staggered keyboard.

    119 parts517MIT
  • 2 layers177.7 × 144.5 mmCOMM PANEL, the printed circuit board in 3D

    COMM PANEL

    jrsteensen/OpenHornet

    OpenHornet 1:1 F/A-18C Simulator Repository

    275 parts431

Questions

How big is the Mainpcb PCB?

It measures 219.3 × 138.9 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Mainpcb use?

128 parts, built around the WS2812B. 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 Mainpcb KiCad files?

From the efyang/dovetail-kb repository on GitHub, at the commit this page was made from: the board is pcbs/mainpcb.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Mainpcb design in my own project?

Its repository states no licence, so its author keeps all rights: ask efyang before reusing the design.