Skip to the content
4 layers284.7 × 100 mmEC Pro2 Mainboard, the printed circuit board in 3D

EC Pro2 Mainboard

4pplet/EC-Pro-23

Open source replacement PCB kit for the HHKB Pro 2 keyboard.

Size
284.7 × 100 mm
Copper layers
4
Thickness
1.59 mm
Parts
138
Nets
65
Pads
490
Tracks, vias
921, 638
Pours
1
Routed
Yes
KiCad
KiCad 6 (file 20211014)
Created
12 Nov 2022
Updated
12 Nov 2022

Overview

EC Pro2 Mainboard is an open-source printed circuit board by 4pplet, from the 4pplet/EC-Pro-2 repository on GitHub, published under the MIT licence. It is a 4-layer board of 284.7 × 100 mm with 138 parts on 65 nets, routed with 921 tracks and 638 vias.

It is built around the SN74AHCT1G125DBV, OPA350UA and 74HC4051, with the PRTR5V0U2X among its other parts. Its parts include 66 switches, 26 resistors, 13 capacitors, 6 ICs and 2 connectors. It belongs with the computers and single-board computers boards and the STM32 boards of this library.

Main components

4

README

README.md

EC Pro2

Open source HHKB Pro2 Controller and mainboard.

Introduction

This project is a continuation of my development of open source EC boards.

The supported layout options are the following:

Layout option

Technical information

Mainboard

  • Layout size: HHKB Pro2 ANSI and some additions
  • Compatible switches: EC switches (Topre and NIZ)
  • Microcontroller: STM32F401
  • Connector: JST connector for controller board
  • Firmware compatibility: QMK (with VIA/VIAL support)
  • Protection hardware (present on both the mainboard and both controller versions):
    • Fused
    • ESD protection

Lite Controller board

The Lite controller board is a slimmed down version of the controller board, featuring only protection hardware and a JST connector for the mainboard.

This is cost effective choice in case the user doesn't need the USB hub feature or the aftermarket case doesn't take advantage of it.

Normal Controller board

The Normal Controller instead is a full featured controller board, featuring a USB hub, a JST connector for the mainboard and a USB Type-C connector for the PC.

The USB hub is a USB 2.0 hub, featuring 3 USB-A 2.0 ports, one of which is internal, to be used for dongles or small USB drives.

Key features of the Normal Controller are:

  • USB 2.0 hub based on the FE1.1 IC
  • 2x USB-A 2.0 ports in the same position as the original HHKB Pro 2
  • 1x internal USB-A 2.0 port
  • Per port current limit on each downstream port using MIC2026-2 for the 2 externally accessible USB ports.

NOTES

  • The internal USB port is intended only for low power devices, such as dongles and small usb drives as previously mentioned. It is not intended for high power devices. Furthermore it is not ESD protected nor current limited and shares the power rail with the rest of the controller.

  • The main USB-C port, as well as the 2x externally accessible USB-A downstream ports are ESD protected and current limited.

Keep in mind the the USB 2.0 power budget sets a typical current limit of 500mA, therefore that is the total budget available to the entire board (controller + mainboard + devices connected to the hub).

Renders and Prototypes

Render

Mainboard:

PCB Front Render

PCB Back Render

Lite Controller board: Lite Controller Render

Normal Controller board: Normal Controller Render

Prototypes

Mainboard:

PCB Front

PCB Back

Lite Controller: Lite Controller

Normal Controller: Normal Controller

Revisions and relative features

Rev1

This revision implements all the main features of the mainboard ad controllers mentioned in the specifications.

Connectivity

The Revision 1 (Rev1) implements a USB hub based on the FE1.1 USB HUB IC.

Connection to the PC is achieved through a USB-C connector while devices downstream will use USB-A ports.

Mind that the USB-C connector is wider than the original USB mini connector used, therefore modifications to enlarge the port cutout on the case will be needed. In case you will use this board in an aftermarket case already designed with USB-C in mind n o further modifications are needed.

RGB header

RGB header

The mainboard features an RGB header for connecting +5V addressable RGB strips. THe properties of the lihting can be controlled through Vial or by assigning RGB control keycodes on the board itself.

On the bottom right corner of the PCB, near the bootloader instructions, a pinout diagram shows how to connect the strip to the header:

RGB legend

DFU

To access the DFU mode of the mainboard you can perform one of the following actions:

  • press the key to which the QK_BOOT keycode is assigned (if available)
  • while plugging in the board keep the ESC (top left corner key) pressed
  • while plugging in the board short the Boot0 pins on the mainboard

Boot0 pins

PCB order procedure

In order to have me highers compatibility possible with PCB manufacturers, I decided to design the board around the JLC7628 Stackup from JLCPCB.

The rational behind this is that the JCPCB stackup is relatively cheap and if the board worked with the stackup, it would be easier to get the board to work with pretty much any other many that offer an equivalent stackup and higher prices.

Both the Lite and Normal controllers can be instead be ordered with standard 2 layer stackup.

Production files

The production can be found in the Production folder.

As usual the *.zip files are the gerber files, BOM-*.csv are the BOM (Bill Of Material) files and POS-*.csv are the POS/CPL (Footprint POSition/Component Placement List) files.

Mainboard

As mentioned above, the mainboard is designed around the JLCPCB stackup. The mainboard is a 4 layer board.

Here are the options to select when ordering the mainboard:

  • PCB thickness: 1.6mm
  • Impedance: NO
  • Layer stackup:
    • L1(Top layer): EC_Pro2_Mainboard-F_Cu.gbr
    • L2(Inner layer1): EC_Pro2_Mainboard-In1_Cu.gbr
    • L3(Inner layer2): EC_Pro2_Mainboard-In2_Cu.gbr
    • L4(Bottom layer): EC_Pro2_Mainboard-B_Cu.gbr
  • PCB Color: whatever you like
  • Surface Finish: whatever you like
  • Material Type: FR-4 TG155

All the other options can be left as default.

Assembly options

Here follows the options to be used for assembly:

  • Assembly Side: Bottom
  • Tooling holes: Added by JLCPCB
  • Confirm Parts Placement: yes

NOTES ABOUT THE OPTIONS

  • Once you upload the gerber files wait for the system to automatically recognize the board outline and layers. It will take a while, be patient.

  • PCB thickness has been tested on both 1.6mm and 1.2mm so it's your call on which one to use.

  • For Material Type I strongly suggest to use FR-4 TG155, using the standard FR4-Standard TG130-140 material might result in the board delamination and generally is not advised on 4 layer boards.

Compatibility notice

The EC Pro2 project is intended as a full replacement kit for the OEM HHKB Pro2 controller and main PCB. Therefore it IS NOT compatible with the OEM PCBs (both controller and mainboard).

Copyright notice

This project is not endorse nor sponsored in any way by Topre Corporation and PFU Limited. The HHKB Logo and Topre logo are trademarks of their respective owners.

This project is released under the MIT License. For the license, please refer to the LICENSE.md file.

Parts

138
QtyValueFootprintReferences
57EC_SWcipulot_parts:ecs_pad_no_ringSW2, SW10, SW11, SW12, SW13, SW14, SW15, SW16, SW17, SW18, SW19, SW20, SW21, SW22, SW23, SW24 +41
17100kResistor_SMD:R_0402_1005MetricR10, R11, R12, R13, R14, R15, R16, R17, R18, R20, R21, R22, R23, R24, R25, R26 +1
17MountingHolecipulot_parts:HOLE_M2H1, H2, H3, H4, H5, H6, H7, H8, H10, H11, H12, H13, H14, H15, H16, H17 +1
8100nCapacitor_SMD:C_0402_1005MetricC4, C5, C6, C7, C8, C10, C12, C13
5100Resistor_SMD:R_0402_1005MetricR1, R2, R3, R4, R6
310kResistor_SMD:R_0402_1005MetricR7, R8, R9
31uCapacitor_SMD:C_0402_1005MetricC2, C3, C9
3EC_SWcipulot_parts:ecs_pad_no_ring_1u_edge_cutSW47, SW48, SW60
3LOGOLOGOG***, G***, G***
274HC4051cipulot_parts:TSSOP16U3, U5
11kResistor_SMD:R_0402_1005MetricR19
1220pCapacitor_SMD:C_0402_1005MetricC11
14.7uCapacitor_SMD:C_0402_1005MetricC1
1500mAFuse:Fuse_1206_3216MetricF1
18 MHzCrystal:Resonator_SMD_Murata_CSTxExxV-3Pin_3.0x1.1mmY1
1ANSI_Entercipulot_parts:ecs_pad_no_ringSW45
1ANSI_\cipulot_parts:ecs_pad_no_ringSW30
1BOOT0Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalSW1
1EC_SWcipulot_parts:ecs_pad_no_ring_stepped&normalSW32
1Ext_ResResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderJP1
1ISO_Entercipulot_parts:ecs_pad_no_ringSW31
1ISO_|cipulot_parts:ecs_pad_no_ringSW44
1JSTcipulot_parts:JST-SR-4J1
1OPA350Package_SO:SOIC-8_3.9x4.9mm_P1.27mmU4
1PRTR5V0U2XPackage_TO_SOT_SMD:SOT-143D1
1RGBConnector_PinSocket_2.54mm:PinSocket_1x03_P2.54mm_VerticalJ2
1SN74AHCT1G125Package_TO_SOT_SMD:SOT-23-5U6
1STM32F401CBUxPackage_DFN_QFN:QFN-48-1EP_7x7mm_P0.5mm_EP5.6x5.6mmU1
1XC6206PxxxMRPackage_TO_SOT_SMD:SOT-23U2

The 137 most common of 138 parts.

More from 4pplet/EC-Pro-2

2
  • 2 layers141.5 × 36 mmEC Pro2 Controller Normal, the printed circuit board in 3D

    EC Pro2 Controller Normal

    4pplet/EC-Pro-2

    Open source replacement PCB kit for the HHKB Pro 2 keyboard.

    51 parts3MIT
  • 2 layers141.5 × 36 mmEC Pro2 Controller Lite, the printed circuit board in 3D

    EC Pro2 Controller Lite

    4pplet/EC-Pro-2

    Open source replacement PCB kit for the HHKB Pro 2 keyboard.

    10 parts3MIT

Similar boards

  • 2 layers353 × 151 mmRF R1 8-9Xu, the printed circuit board in 3D

    RF R1 8-9Xu

    4pplet/RF_R1_8-9Xu

    Open source universal PCB for the Realforce R1 family of keyboards.

    215 parts2MIT
  • 2 layers77.1 × 137.6 mmEC23U, the printed circuit board in 3D

    EC23U

    davek184/EC23U

    Open source numpad Electrostatic Capacitive PCB.

    84 parts1MIT
  • 4 layers230.7 × 97.8 mmTako, the printed circuit board in 3D

    Tako

    ssbb/tako

    34 key EC split keyboard

    146 parts200MIT
  • 4 layers208.3 × 75.8 mmTravaulta WKL, the printed circuit board in 3D

    Travaulta WKL

    calvin-mcd/travaulta

    topre pcb for the vault35

    108 parts16
  • 4 layers285 × 94.6 mmEC60, the printed circuit board in 3D

    EC60

    4pplet/EC60

    Open source universal 60% Electrostatic Capacitive PCB.

    157 parts9MIT
  • 2 layers406.4 × 158.6 mmCDS, the printed circuit board in 3D

    CDS

    Cipulot/CDS

    Replacement PCB for the CDS Technology keyboard (CDS-G5CSKB, Topre HiPro).

    223 parts4
  • 4 layers242.9 × 76.2 mmToprevan prototype, the printed circuit board in 3D

    Toprevan prototype

    calvin-mcd/toprevan

    EC pcb for minivan keyboards

    122 parts1

Questions

How big is the EC Pro2 Mainboard PCB?

It measures 284.7 × 100 mm and has 4 copper layers, 1.59 mm thick.

What parts does the EC Pro2 Mainboard use?

138 parts, built around the SN74AHCT1G125DBV, OPA350UA, 74HC4051 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 EC Pro2 Mainboard KiCad files?

From the 4pplet/EC-Pro-2 repository on GitHub, at the commit this page was made from: the board is PCB/EC_Pro2_Mainboard/EC_Pro2_Mainboard.kicad_pcb and its schematic PCB/Controllers/EC_Pro2_Controller_Lite/EC_Pro2_Controller_Lite.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the EC Pro2 Mainboard design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).