Skip to the content
2 layers52.7 × 50.1 mmHub6 one, the printed circuit board in 3D

A dodecahedron globe: twelve round LCDs, each showing the Earth seen from its face

Size
52.7 × 50.1 mm
Copper layers
2
Thickness
1.6 mm
Parts
12
Nets
22
Pads
82
Tracks, vias
889, 63
Pours
2
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
25 Oct 2026
Updated
7 Nov 2026

Overview

Hub6 one is an open-source printed circuit board by yuiseki, from the yuiseki/exp-dodeca-earth repository on GitHub, published under the MIT licence. It is a 2-layer board of 52.7 × 50.1 mm with 12 parts on 22 nets, routed with 889 tracks and 63 vias.

It is built around the 74HC138. Its parts include 8 connectors, 2 capacitors, 1 IC and 1 crystal. It belongs with the lEDs and displays boards of this library.

Main components

1

README

hardware/hub6/README.md

hub6

お椀 1 個ぶん、1.28 インチ丸型 LCD (Waveshare 1.28inch LCD Module、GC9A01、PH2.0 8 ピン) 6 枚を、XIAO ESP32-S3 1 枚と 74HC138 で駆動する基板。2 つのお椀に 1 枚ずつ載せる。

  • 形: 辺までの距離 26 mm の正五角形。5 つの辺が、お椀の 5 枚の側面に 1 対 1 で向き合う。4 層、片面実装
  • お椀の中の高さ: 基板の底面を、お椀の底の外面から 17〜20 mm に置くと、壁と当たらない (3d/pentagon/v0.0.5/lcd_cup.stl を輪切りにして測った。20 mm なら、壁との隙間 1 mm を取っても辺まで 27.4 mm まで入る)。固定の仕方は未定
  • ケーブル: ディスプレイ側は PH2.0 のプラグ、基板側はより線 (26 AWG) のケーブル (Amazon B0GFCDKFH9、15 cm) を、現物合わせの長さに切って、基板の穴に直接はんだ付けする。ディスプレイ側は抜き差しできるので、基板を差し替えるときは、ケーブルごと取り替える
  • J1〜J5: 側面のディスプレイ用の穴の列 (8 個、2.54 mm おき、穴 1.0 mm)。五角形の辺に沿って並び、ケーブルは上 (お椀の口の側) から来る。列の外側に、ケーブルを押さえる結束バンド (幅 2.5 mm) 用のスロットが 2 つずつある。ホットボンドで固めてもよい
  • J6: 底面のディスプレイ用の穴の列。XIAO の右のソケット列のすぐ外側 (2.88 mm) にあり、底面のディスプレイのプラグのほぼ真上 (約 4 mm ずれ) にある。ケーブルは下から来るので、下から穴に通して、上面ではんだ付けする
  • J7、J8: XIAO 用の 1x7、2.54 mm のメスのピンソケット (XFCN PM254V-11-07-H85、LCSC C2832270、高さ 8.5 mm)。XIAO は基板の中心に挿す (手で)。USB-C は方位 72 度を向く
  • U1: 74HC138 (SOIC-16、LCSC C5602)。XIAO の下の、ソケットの 2 列の間に置く。A0、A1、A2 の 3 本から、6 枚の CS を作る。E1、E2 は GND、E3 は 3V3 に固定 (常に有効)
  • C2: 10uF (LCSC C15850)、3.3V のバルク。C3: 100nF (LCSC C14663)、U1 の 3.3V。どちらも XIAO の下

どの列がどのディスプレイか

お椀を底面で立てて、上から見て反時計回りに板 1〜5 (simulate/v0.0.5/magnets.csv と同じ番号)、そして底面。基板は、お椀の軸に中心を合わせ、方位 (上から見て反時計回り、お椀の座標と同じ) をそろえて置く。

列ディスプレイ基板上の方位CS のネットU1 の出力アドレス (A2 A1 A0)
J1板 1198 度LCD_CS0Y0 (15 番)0 (000)
J2板 2270 度LCD_CS1Y1 (14 番)1 (001)
J3板 3342 度LCD_CS2Y2 (13 番)2 (010)
J4板 454 度LCD_CS3Y3 (12 番)3 (011)
J5板 5126 度LCD_CS4Y5 (10 番)5 (101)
J6底面XIAO の右 (162 度の側)LCD_CS5Y4 (11 番)4 (100)

アドレスの 6 と 7 (Y6、Y7) は使わない。ファームウェアでは、全部の CS を「選んでいない」状態にしたいときはアドレスを 7 にする (Y7 は何にもつながっていない)。

穴の番号は、ディスプレイの PH2.0 の番号と同じ: 1 VCC、2 GND、3 DIN、4 CLK、5 CS、6 DC、7 RST、8 BL (Waveshare の配線表の順。ピン番号の並びは、実機で確かめる)。ケーブルの線 n を、穴 n に入れる。1 番の穴は、シルクの「1」の側。側面の列 (J1〜J5) では、上から見て反時計回りの端。

共有の信号 (6 枚とも同じ) と、XIAO のピン:

信号XIAO のピン
LCD_DIN (SPI MOSI)D0
LCD_CLK (SPI SCK)D1
LCD_DCD3
LCD_RSTD4
LCD_BLD5
A0、A1、A2 (74HC138 のアドレス)D7、D8、D9
つないでいない (予備)D2、D6、D10

この並びは、J6 の穴 3、4、6、7、8 が、XIAO の D0、D1、D3、D4、D5 の真横に来るように決めた (D2 の横は J6 の 5 番、CS)。SPI は GPIO マトリクス経由なので、どのピンでも動く。D2 (GPIO3) はストラッピングピン、D6/D7 (GPIO43/44) は UART0。D2、D6、D10 の 3 本が空いているので、2 台の同期は、配線 (予備の 1 本) か、ESP-NOW などの無線のどちらでも取れる。

74HC138 は 3.3V で動かす (HC 系は 2V から 6V)。出力の「高」は電源に近い電圧なので、ディスプレイ側の TXB0108 のしきい値 (3.3V のとき 2.15V) を超える。出力が切り替わる瞬間に、短いひげ (グリッチ) が CS に出ることがあるが、SCK が止まっている間なので、ディスプレイは何も読み込まない。ただし、アドレスは SCK が止まっているとき (転送の合間) にだけ変えること。

電源は 3.3V

ディスプレイの VCC は XIAO の 3V3 に直結し、XIAO の 5V ピンは使わない。理由: ディスプレイは 5V→3.3V の電源 IC と、TXB0108 のレベル変換 IC を載せていて、その信号側の基準電圧は VCC。VCC を 5V にすると、信号の「高」の下限は 0.65 x 5V = 3.25V (TXB0108 のデータシート 5.3) で、XIAO の 3.3V の出力 (ESP32-S3 は下限 2.64V) では読み取りが保証されない。VCC = 3.3V なら下限は 2.15V。

6 枚で約 190 mA (74HC138 は数 uA で、足しても変わらない) (Waveshare の最大値、1 枚 31.2 mA)。XIAO の 3V3 ピンは 700 mA (Seeed の記載) まで取れる。USB 給電の間は、XIAO のレギュレーターが (5 - 3.3)V x 約 0.3A = 約 0.5W の熱を出す。実機で温度を測る。

層

層中身
F.Cu信号の短い線 (各列から輪への放射状の線、XIAO から J6 と U1 への線、U1 の出力から via への線、via から側面の列の 5 番までの線)、部品
In1.CuGND の面
In2.Cu共有の 5 信号の輪 (中心を囲む同心円。半径 17.6、18.4、19.2、20.0、20.8 mm。どの信号がどの輪かは layout.json)。輪の内側 (半径 17.1 mm まで) は、U1 の 6 本の出力の線 (CS) が、ソケットのピンの隙間を縫って走る
B.Cu+3V3 の面

スルーホールのパッドは、GND と +3V3 の面に直接つながる。側面の列は内向きに、J6 は外向きに、放射状の線で輪につながる。XIAO は J6 を通して輪につながる。配線は自動配線ではなく、assign.py が探して layout.json に書いた線を make.py が引く (Freerouting は 2 層でも 4 層でも、共有バスと選択線の構造を見つけられずに止まった)。

作り方

sh
/usr/bin/python3 make.py    # 回路図、部品と配線を置いた基板、ライブラリ (KiCad 10 の pcbnew モジュールを使う)
./check.sh                  # ERC、DRC (回路図との突き合わせ込み)、test_hub6.py。どれも 0 件で通る
/usr/bin/python3 fab.py     # JLCPCB 用: build/fab/ にガーバーとドリルの zip、BOM、部品配置 (CPL)。fab6/ に写す
../../.venv/bin/python assign.py   # 配線を探し直して layout.json を書く (shapely が要る。数秒)
  • 部品と網の表は make.py の先頭にあり、回路図と基板の両方がそこから作られる
  • test_hub6.py は make.py とは別に、設計表から各パッドの網と、列の位置と向き、XIAO と部品の位置、穴とスロットの大きさを確かめる
  • assign.py: ① 共有 5 信号を、どの輪に載せるか (J6 と側面の列からの放射状の線が、互いにぶつからない順を探す。120 通りのうち 4 通りが通る)。② 74HC138 の出力 6 本を、どの列につなぎ、どこで In2 から F.Cu に上げ、In2 のどこを通すか (ソケットの隙間を通る最短経路を、見通しグラフで探す)。結果が layout.json で、make.py と test_hub6.py はこの結果を前提にする (テストの表は手で写してあるので、layout.json を変えたらテストも直す)

JLCPCB での組み立て

  • 経済的な実装 (Economic PCBA) は、4 層に対応し、片面 (上面) だけ。載せる部品はすべて上面
  • 載せる部品は U1、C2、C3 (表面実装) と、J7、J8 (XIAO のソケット、スルーホールの手はんだ、Manual Assembly、1 か所 0.0164 ドル)。J1〜J6 は穴だけで、部品はない (BOM と CPL に出ない)
  • U1 (C5602) は、JLCPCB の拡張部品 (Extended)。基本部品ではないので、部品の種類ごとに追加費用が 1 種類ぶんかかる。C2 (C15850) と C3 (C14663) は基本部品
  • 五角形の外形と、側面の列のスロット (1.3 x 2.9 mm の長穴、メッキなし) は、見積もりの画面で通るか確かめる

発注の前に確かめること

  • XIAO で 6 枚を実際に駆動して、画面の乱れ、更新の速さ (40MHz で 6 枚を順に送ると約 7fps)、XIAO のレギュレーターの温度を確かめる (実機でしか分からない)
  • JLCPCB の部品配置の確認画面で、U1 と J7、J8 の向き。SOIC-16 とソケットの JLCPCB 上の向きは、cubic-earth の hub3 で確かめた補正 (fab.py の JLC_ROTATION_OFFSET) を使っているが、この基板では未確認
  • 4 層の基板の費用
  • ケーブルの 1 番の線の色。ディスプレイ側のヘッダーの 1 番 (VCC) が、ケーブルのどの色の線になるかを、テスターで確かめてから穴に入れる
  • 底面のディスプレイのプラグの 1 番が、J6 の 1 番 (XIAO の USB-C の側) と同じ向きか。逆なら、線が 8 本とも J6 の上で交差する (動きはするが、はんだ付けの間違いが起きやすい)

Parts

12
QtyValueFootprintReferences
1100nFCapacitor_SMD:C_0603_1608MetricC3
110uFCapacitor_SMD:C_0805_2012MetricC2
174HC138Package_SO:SOIC-16_3.9x9.9mm_P1.27mmU1
1XIAOdodecahedron-earth:XIAO_ESP32S3_HangingX1
1XIAO 5V-D7Connector_PinSocket_2.54mm:PinSocket_1x07_P2.54mm_VerticalJ8
1XIAO D0-D6Connector_PinSocket_2.54mm:PinSocket_1x07_P2.54mm_VerticalJ7
1basedodecahedron-earth:Wire_2x04_P2.54J6
1plate 1dodecahedron-earth:Wire_1x08_P2.80J1
1plate 2dodecahedron-earth:Wire_1x08_P2.80J2
1plate 3dodecahedron-earth:Wire_1x08_P2.80J3
1plate 4dodecahedron-earth:Wire_1x08_P2.80J4
1plate 5dodecahedron-earth:Wire_1x08_P2.80J5

More from yuiseki/exp-dodeca-earth

1
  • 2 layers61.1 × 58.1 mmHub6, the printed circuit board in 3D

    Hub6

    yuiseki/exp-dodeca-earth

    A dodecahedron globe: twelve round LCDs, each showing the Earth seen from its face

    10 partsMIT

Similar boards

  • 2 layers181 × 97 mmOpenDeck r3.1.2, the printed circuit board in 3D

    OpenDeck r3.1.2

    shanteacontrols/OpenDeck

    A platform for building interactive control and sensing devices using MIDI and OSC built with Zephyr RTOS.

    262 parts960Apache-2.0
  • 4 layers243.8 × 171.5 mmNeotron Pico, the printed circuit board in 3D

    Neotron Pico

    Neotron-Compute/Neotron-Pico

    A Neotron powered by the Raspberry Pi Pico

    242 parts250
  • 2 layers380 × 148.5 mmKeyboard, the printed circuit board in 3D

    Keyboard

    InkboxSoftware/all-screen-keyboard

    The first open source all-screen keyboard

    500 parts241MIT
  • 4 layers100 × 100 mm2063-Z80, the printed circuit board in 3D

    2063-Z80

    Z80-Retro/2063-Z80

    Retro Z80 CPU Board

    86 parts96
  • 2 layers275 × 200 mmMidi grid, the printed circuit board in 3D

    Midi grid

    zukaitis/midi-grid

    DIY midi controller project

    328 parts92
  • 2 layers99.1 × 99.1 mmAv board, the printed circuit board in 3D

    Av board

    rjw57/buri

    This repository contains my work on designing, building and programming a 6502 microcomputer from scratch. The 6502 was the CPU used in the original Apple 1, BBC Microcomputer, NES console and many other systems from…

    42 parts68MIT
  • 2 layers216 × 150 mmMotherboard-101, the printed circuit board in 3D

    Motherboard-101

    artemisamsx/artemisa

    Schematics, PCB designs and HDL simulations to build a 8-bits MSX computer

    124 parts67
  • 2 layers144.8 × 88.9 mmPotentiostat, the printed circuit board in 3D

    Potentiostat

    iorodeo/potentiostat

    Rodeostat design files, software and firmware

    142 parts57CC-BY-4.0

Questions

How big is the Hub6 one PCB?

It measures 52.7 × 50.1 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Hub6 one use?

12 parts, built around the 74HC138. 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 Hub6 one KiCad files?

From the yuiseki/exp-dodeca-earth repository on GitHub, at the commit this page was made from: the board is hardware/hub6_one/hub6_one.kicad_pcb and its schematic hardware/hub6/hub6.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Hub6 one 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).