Skip to the content
2 layers89 × 100 mmHub16, the printed circuit board in 3D

A macro pad with 16 keys, two rotary encoders, a four port USB hub, and plenty of LEDs!

Size
89 × 100 mm
Copper layers
2
Thickness
1.6 mm
Parts
98
Nets
65
Pads
332
Tracks, vias
660, 69
Pours
2
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
3 Jan 2020
Updated
26 Jun 2021

Overview

Hub16 is an open-source printed circuit board by joshajohnson, from the joshajohnson/Hub16 repository on GitHub. It is a 2-layer board of 89 × 100 mm with 98 parts on 65 nets, routed with 660 tracks and 69 vias.

It is built around the ATMEGA32U4, TPD2S017DBV and WS2812B. Its parts include 29 diodes, 19 switches, 16 resistors, 11 capacitors and 3 connectors. It belongs with the keyboards and input boards and the AVR (ATmega, ATtiny) boards of this library.

Main components

3

README

README.md

Hub16

Hub16 assembled

Hub16 is a macropad with a bunch of features you never knew you needed. They include:

  • 16 Cherry MX compatible keys, along with switches in each encoder.
  • Two rotary encoders, enabling intuitive controls for a wide range of tools including CAD and photo / video editing.
  • Inbuilt USB 2.0 Hub with Type-C connectors, allowing connection to other keyboards, memory sticks, wireless receivers and more!
  • VIA and QMK compatibility, including a "macro" mode enabling the keys to be dynamically remapped on a host computer.
  • 11 addressable RGB LEDs to display state, or just light your desk up.

Project Status

Project is stable, with assembled boards available at Tindie.

Hub16 on desk

Getting Started Guide

Detailed Info

Repo Contents

  • Documents contains all documentation and images for the project.
  • Firmware contains both the source and precompiled binaries for Hub16.
  • Hardware contains the KiCad design files for the keyboard.
  • josh-kicad-lib is my personal KiCad parts library which contains many of the parts used.
  • Mechanicals contain the plate and case design for Hub16.
  • Production contains all the files required to produce the PCB. It also contains test scripts and jigs.
  • Software contains all the VIA config, along with template script to use Hub16 as a macropad with software on your computer.

Notes on the USB Hub

The hub is a four port USB 2.0 Hub with Type-C connectors, aimed at allowing connection of keyboards, mice, memory sticks, wireless receivers, and other small devices (including a second Hub16!) to your computer.

Due to cost and space constraints, the hub has some limitations. The hub is not:

  • USB 3.x, Power Delivery, Thunderbolt, DisplayPort, etc compatible.
  • Designed to charge your phone quickly. Only 100mA is guaranteed per port.
  • Designed to work with power hungry devices such as spinning hard drives.
  • Guaranteed to provide full USB 2.0 speeds and performance on all ports.

Might you be able to charge your phone whilst copying files at full speed of a spinning hard drive over a long cable? Maybe. However Hub16 is a macropad first, USB hub second, so if you are looking for a high performance device I'd suggest picking up a dedicated USB hub and just using Hub16 as a macropad.

Errata

  • Boards assembled in 2021 will have an issue with VIA where the LED controls are incorrect. Follow these instructions to resolve
  • Boards purchased between June 12 and June 22 2020 will not go into the bootloader upon resting from software. Workaround: reset board with physical reset button on bottom of PCB. Fix: reflash the bootloader following these instructions.
  • Firmware builds prior to 27th June do not continually send characters when the encoders are depressed.
  • Firmware builds prior to 9th June have issues with the bottom right key p not functioning correctly.
  • Some rotary encoders output flipped signals (clockwise instead of counterclockwise), if after assembly your encoders appear to be sending the wrong signals, comment in line 84 in config.h, or alter the setting in your software.

If you have any questions or comments please get in touch. Asking in the No Sharp Corners Discord Discord or opening an issue / pull request will result in the quickest response.

Parts

98
QtyValueFootprintReferences
16DDiode_SMD:D_SOD-323D5, D6, D7, D8, D11, D12, D13, D14, D17, D18, D19, D20, D24, D25, D26, D27
16KEYSWkeyboard:SW_Cherry_MX1A_1.00u_PCBK1, K2, K3, K4, K6, K7, K8, K9, K11, K12, K13, K14, K16, K17, K18, K19
1210KResistor_SMD:R_0603_1608MetricR2, R5, R6, R7, R8, R9, R10, R11, R13, R14, R15, R16
11WS2812Bkeyboard:LED_WS2812B_PLCC4_5.0x5.0mm_P3.2mmD2, D3, D4, D10, D16, D22, D23, D29, D30, D31, D32
10JumperJumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mmJP1, JP2, JP3, JP4, JP5, JP6, JP7, JP8, JP9, JP10
7100nCapacitor_SMD:C_0603_1608MetricC1, C6, C7, C8, C9, C10, C11
4MH-M3MountingHole:MountingHole_3.2mm_M3_ISO14580H1, H2, H3, H4
21KResistor_SMD:R_0603_1608MetricR1, R12
21uCapacitor_SMD:C_0603_1608MetricC4, C5
222RResistor_SMD:R_0603_1608MetricR3, R4
222pCapacitor_SMD:C_0603_1608MetricC2, C3
2LEDLED_SMD:LED_0603_1608MetricD1, D9
2Rotary_Encoder_Switchkeyboard:RotaryEncoder_Alps_EC11E-Switch_Vertical_H20mm_CircularMountingHolesSW2, SW3
116MHzCrystal:Crystal_SMD_3225-4Pin_3.2x2.5mmY1
1500mAkeyboard:Fuse_0805_2012MetricF1
1ATMEGA32U4Package_QFP:TQFP-44_10x10mm_P0.8mmU2
1AVR-ISP-6keyboard:AVR_Programmer_SMDJ2
1SW_Pushkeyboard:Small_Tact_SwitchSW1
1TPD2S017Package_TO_SOT_SMD:SOT-23-6U1
1USB_B_Microkeyboard:MicroUSB_AliexpressJ1
1WS2812B Stripkeyboard:PinPad_1x03_P2.54mmJ3

The 96 most common of 98 parts.

More from joshajohnson/Hub16

5
  • 2 layers89 × 100 mmHub16, the printed circuit board in 3D

    Hub16

    joshajohnson/Hub16

    A macro pad with 16 keys, two rotary encoders, a four port USB hub, and plenty of LEDs!

    132 parts388
  • 2 layers89 × 100 mmHub16, the printed circuit board in 3D

    Hub16

    joshajohnson/Hub16

    A macro pad with 16 keys, two rotary encoders, a four port USB hub, and plenty of LEDs!

    132 parts388
  • 2 layers89 × 100 mmHub16, the printed circuit board in 3D

    Hub16

    joshajohnson/Hub16

    A macro pad with 16 keys, two rotary encoders, a four port USB hub, and plenty of LEDs!

    117 parts388
  • 2 layers89 × 100 mmHub16, the printed circuit board in 3D

    Hub16

    joshajohnson/Hub16

    A macro pad with 16 keys, two rotary encoders, a four port USB hub, and plenty of LEDs!

    116 parts388
  • 2 layers89 × 100 mmHub16, the printed circuit board in 3D

    Hub16

    joshajohnson/Hub16

    A macro pad with 16 keys, two rotary encoders, a four port USB hub, and plenty of LEDs!

    109 parts388

Similar boards

  • 2 layers285.8 × 103 mmKEEB, the printed circuit board in 3D

    KEEB

    M0N0S0DIUM/Monolinear1.1

    PCB and schematic files for a custom designed keyboard

    87 parts
  • 4 layers100 × 66 mmVNA, the printed circuit board in 3D

    VNA

    joshajohnson/vna

    25MHz to 1.25GHz Vector Network Analyser

    254 parts25GPL-3.0
  • 2 layersAtmega32u4-au v1, the printed circuit board in 3D

    Atmega32u4-au v1

    adamws/kle2netlist

    Keyboard's layout json to KiCad netlist

    17 parts7MIT
  • 4 layers38 × 15 mmRuuvilogger reva1, the printed circuit board in 3D

    Ruuvilogger reva1

    ruuvi/ruuvilogger_hw

    You can find RuuviLogger related hardware design files from this repository. Design is almost finished, but not 100% ready. If RuuviLogger project continues, Rev.A version will be probably deprecated.

    93 parts5
  • 4 layers200 × 150 mmMicrowave SDR PCB, the printed circuit board in 3D

    Microwave SDR PCB

    artificer123/Microwave_SDR_PCB

    Collection of files used in development of a Xilinx Zynq based SDR with transverters for the V/UHF bands

    481 parts2
  • 2 layers197.1 × 44.7 mmCearusTab, the printed circuit board in 3D

    CearusTab

    Damocles2/CaerusTab

    A well engineered and uniquely shaped mechanical macro keyboard made for the open source community!

    42 parts1GPL-3.0
  • 4 layers64 × 59 mmDoorbell, the printed circuit board in 3D

    Doorbell

    gunnarbeutner/doorbell

    doorbell.kicadsch / doorbell.kicadpcb are the authoritative source — edit them in KiCad. build.sh never authors copper; it runs the checks KiCad's own DRC/ERC can't express and exports the fab outputs:

    119 parts1MIT
  • 2 layers110 × 82 mmInvertor, the printed circuit board in 3D

    Invertor

    victorstoica114/Invertor_board

    This repository contains an ESP-IDF firmware for an ESP32 board that bridges, translates, decodes, and exposes battery/inverter communication over CAN and RS485.

    151 parts1

Questions

How big is the Hub16 PCB?

It measures 89 × 100 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Hub16 use?

98 parts, built around the ATMEGA32U4, TPD2S017DBV and 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 Hub16 KiCad files?

From the joshajohnson/Hub16 repository on GitHub, at the commit this page was made from: the board is Hardware/0.1/Hub16.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Hub16 design in my own project?

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