
OpenDeck r3.1.2
shanteacontrols/OpenDeck
A platform for building interactive control and sensing devices using MIDI and OSC built with Zephyr RTOS.

Bring-up experiments for a larger cubic-earth display: XIAO ESP32-S3, LT7680A-R and a 480x480 ST7701S panel
Hub3 is an open-source printed circuit board by yuiseki, from the yuiseki/exp-cubic-earth repository on GitHub. It is a 2-layer board of 36 × 36 mm with 9 parts on 43 nets, routed with 314 tracks and 46 vias.
It is built around the 74HC138. Its parts include 5 connectors, 2 capacitors, 1 IC and 1 crystal.
XIAO ESP32-S3 (1x7 のピンソケット 2 個に挿す)、74HC138、20 ピン 1.0mm の FFC コネクタ 3 個を載せた 36 x 36 mm の 2 層基板 (片面実装、穴なし)。ER-PCBA5981-1 を 3 枚つなぎ、lt7680_multi の構成 3 (-DNUM_BOARDS=3) と同じ配線にする (WIRING.md)。
大きさは、コネクタとソケットで決まる。横は J1 の奥行き 7.9 mm (コートヤード)、ソケット 2 列の外形 18.9 mm、J3 の奥行き 7.9 mm と、そのすき間で 36 mm。縦は J2 の帯 7.6 mm と J1、J3 の長さ 28 mm で 36 mm。XIAO の下に部品を入れないと、縦は約 39 mm になる。
すべてスクリプトから作る。回路図と基板を手で直したら、次に make.py を流すと上書きされる。
/usr/bin/python3 make.py # 回路図、部品を置いた基板、ライブラリ (KiCad 10 の pcbnew モジュールを使う)
/usr/bin/python3 route.py # Freerouting で配線し、GND のベタを塗る
./check.sh # ERC、DRC (回路図との突き合わせ込み)、test_hub3.py。どれも 0 件で通る
/usr/bin/python3 fab.py # JLCPCB 用: build/fab/ にガーバーとドリルの zip、BOM、部品配置 (CPL)make.py の先頭にあり、回路図と基板の両方がそこから作られるtest_hub3.py は make.py とは別に、WIRING.md の配線表から各パッドの網を確かめるfreerouting-2.4.1-linux-x64.zip) を ~/.local/share/freerouting/2.4.1/ に置いて使う。jar 単体は Java 25 が要るmake.py で作るたびに違う配線を返し、ときどき島や未接続を残したり、電源の線を FFC のパッドの手前で長く細らせたりする。route.py は、KiCad の DRC が 0 件で、+5V と +3V3 の 0.6 mm 未満の区間が合わせて 7.5 mm (FFC コネクタ 1 個あたり約 2.5 mm) 以下になるまで、最大 8 回やり直す。Freerouting は同じ DSN なら設定や網の順を変えても同じ結果を返すが、make.py が作るたびに部品の内部 ID が変わって DSN も変わるので、やり直すときは make.py から作り直す。1 回ごとに別のプロセスで動かす (pcbnew の SWIG は、同じプロセスで基板を読み直して編集すると落ちる)fab.py の JLC_ROTATION_OFFSET、JLCPCB の確認画面で見つけた)。BOM と CPL は LCSC の番号がある部品 (U1、C1、C2、J1〜J5)。J4、J5 は挿入部品 (THT) なので、JLCPCB の組み立てで挿入部品を受けてもらう実物 (rev B) では、下の 1 番の向きの判断は誤りだった。両端の接点が同じ面にあるケーブルでつなぐと、コネクタの n 番は ER-PCBA5981-1 の CON1 の 21-n 番につながる。テスターで、CON1 の GND (JP1 の 1 番) と XIAO の D4 (コネクタの 19 番、LCD_SCLK) が導通した。このまま電源を入れると、5V (コネクタの 3、4 番) が CON1 の 18 番 (LCD_DIN) と 17 番に入り、ER-PCBA5981-1 には GND が届かない。3.3V の網 (JP1 の 6 番) は信号線からの漏れで約 1.6V になり、LT7680 は応答しない (STSR=0xFF)。両端の接点が反対の面にあるケーブルに替えると、3 枚とも LT7680 が応答して映った (2026-10-28、lt7680_multi の NUM_BOARDS=3、STSR=0x54)。今の基板は、このケーブルで使う。
以下は発注前に書いた判断 (誤り)。
../../WIRING.md)。n 番が 21-n 番につながるのは、両端の接点が反対の面にあるケーブルを使ったときだけ| Qty | Value | Footprint | References |
|---|---|---|---|
| 1 | 100nF | Capacitor_SMD:C_0603_1608Metric | C1 |
| 1 | 10uF | Capacitor_SMD:C_0805_2012Metric | C2 |
| 1 | 74HC138 | Package_SO:SOIC-16_3.9x9.9mm_P1.27mm | U1 |
| 1 | LCD0 | cubic-earth:FFC_1.0mm_20P_Bottom_C132515 | J1 |
| 1 | LCD1 | cubic-earth:FFC_1.0mm_20P_Bottom_C132515 | J2 |
| 1 | LCD2 | cubic-earth:FFC_1.0mm_20P_Bottom_C132515 | J3 |
| 1 | XIAO | cubic-earth:XIAO_ESP32S3_Outline | X1 |
| 1 | XIAO D0-D6 | Connector_PinSocket_2.54mm:PinSocket_1x07_P2.54mm_Vertical | J4 |
| 1 | XIAO D7-5V | Connector_PinSocket_2.54mm:PinSocket_1x07_P2.54mm_Vertical | J5 |

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





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…

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

It measures 36 × 36 mm and has 2 copper layers, 1.6 mm thick.
9 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.
From the yuiseki/exp-cubic-earth repository on GitHub, at the commit this page was made from: the board is hardware/hub3/hub3.kicad_pcb and its schematic hardware/hub3/hub3.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask yuiseki before reusing the design.