
Led display 5digit
tommyfgj/a320-pcb
把一个 ALPS EC11 旋转编码器(带按键、5 脚)的所有信号引出到一个 JST XH 5pin 竖插端子,方便用排线接到主控板。

把一个 ALPS EC11 旋转编码器(带按键、5 脚)的所有信号引出到一个 JST XH 5pin 竖插端子,方便用排线接到主控板。
Led display 3digit is an open-source printed circuit board by tommyfgj, from the tommyfgj/a320-pcb repository on GitHub. It is a 2-layer board of 39 × 20 mm with 6 parts on 17 nets, routed with 133 tracks and 17 vias.
Its parts include 2 capacitors, 1 resistor, 1 IC and 1 connector. It belongs with the lEDs and displays boards of this library.
把一个 ALPS EC11 旋转编码器(带按键、5 脚)的所有信号引出到一个 JST XH 5pin 竖插端子,方便用排线接到主控板。
| 总览 (所有层) | 正面 F.Cu | 背面 B.Cu (GND 覆铜) |
|---|---|---|
![]() | ![]() | ![]() |
EC11 正面横放(旋钮朝外),XH 端子背面装(线缆垂直 PCB 向背面引出)。
| 项 | 值 |
|---|---|
| 板尺寸 | 18 × 20.5 mm 圆角矩形 (R 1.5mm) |
| 层数 | 2 层, 1.6mm FR-4 |
| 元件分布 | EC11 → 正面横放; XH 端子 → 背面 |
| 走线宽度 | 信号 0.3mm / GND 0.4mm,全 F.Cu |
| 背面 | GND 整板覆铜(内缩 0.5mm) |
| 丝印 | 无额外文字(仅保留 footprint 自带 ref) |
EC11 横放,旋钮中心位置 (8.5, 6.6):
XH 端子 J1 从板背面看,pin 1 → pin 5(从左到右):
| Pin | 1 | 2 | 3 | 4 | 5 |
|---|---|---|---|---|---|
| Net | A | GND | B | S1 | S2 |
| 说明 | 编码器 A 相 | 公共端 | 编码器 B 相 | 按键 | 按键 |
⚠ 跟旧版竖板的引脚顺序不同:左 3 pin 接 EC11 三脚(A/GND/B), 右 2 pin 接 EC11 两脚按键(S1/S2)。这样走线最短且不交叉。
按键 S1/S2 是 EC11 内置开关的两端(接通即按下)。外部使用时一端接 GND, 另一端接 MCU 上拉输入。
两个元件分布在板的不同 y 区段(EC11 在 y=013, J1 在 y=14.519.5),互不遮挡焊点。
EC11 横放方向:旋钮中心偏左(x=8.5),不是板中心(x=9)。这是为了让两端的 S1/S2 pad 不出板边
EC11 的 MP 扁脚不接电气,但必须焊上——旋钮按压时容易翘起,机械稳固靠这两个脚
EC11 中间椭圆 + 圆形大孔是旋钮安装孔(NPT)不焊接——塑料柱穿过去
XH 端子 pin 1 标识(数据手册有三角形或 "1" 字样),装反了 A 和 S2 会反
走线全在正面 F.Cu:5 根线都从 EC11 引脚先垂直/斜向下,绕到 EC11 主体下方(y > 13)再到 J1。背面 B.Cu 完全留给 GND 覆铜
背面 J1 silkscreen 是镜像的(在背面层),装焊时认 PCB 文件里的 net 标签,不要被丝印方向误导
| 项 | V1 竖板 | V2 横板 | V3 紧凑横板 |
|---|---|---|---|
| 板尺寸 | 17 × 26 mm | 18 × 24 mm | 18 × 20.5 mm |
| 长边 | 26 | 24 | 20.5 |
| EC11 方向 | 旋转 90° | 默认横放 | 默认横放 |
| 两脚那侧 | 板顶部 | 板右侧 | 板右侧 |
| J1 引脚顺序 | S2-A-GND-B-S1 | A-GND-B-S1-S2 | A-GND-B-S1-S2 |
| 丝印文字 | 有 | 有 | 无 |
旋钮和线缆位于 PCB 两面, 装配方向不冲突。
| 文件 | 说明 |
|---|---|
ec11_breakout.kicad_pro | 工程主文件,KiCad 里打开它 |
ec11_breakout.kicad_sch | 原理图 |
ec11_breakout.kicad_pcb | PCB |
ec11_breakout.kicad_prl | 工程本地设置(KiCAD 自动维护) |
ec11_breakout_drc_violations.json | DRC 报告 (0 错误, 5 个外观警告) |
DRC 报告里有 6 个 warning, 全部是 silk_edge_clearance — 即 footprint 自带的 reference 文字 (J1, SW1) 离板边过近, 打样时丝印会被自动裁掉, 无影响。
如需完全消除, 可以在 KiCAD 里把 J1 / SW1 的 reference 字段隐藏 (Edit Footprint → Reference → Hidden)。
EC11 在 KiCAD 默认库里没有 3D STEP 模型(只有 footprint), 因此 3D 视图里 EC11 不渲染。XH 端子 3D 模型正常显示。如需 EC11 3D, 去 GrabCAD/3DContentCentral 下载 ALPS EC11 STEP, 然后在 SW1 属性 → 3D Models 里指定路径。
| Qty | Value | Footprint | References |
|---|---|---|---|
| 1 | 03631A | led:LED_7SEG_3DIGIT_03631A | DS1 |
| 1 | 100nF_C49678 | Capacitor_SMD:C_0805_2012Metric | C1 |
| 1 | 10uF_C15850 | Capacitor_SMD:C_0805_2012Metric | C2 |
| 1 | 47k_C17713 | Resistor_SMD:R_0805_2012Metric | R1 |
| 1 | MAX7219EWG+T_C52476 | led:MAX7219_SOIC24W | U1 |
| 1 | XH2.54-5PLT_C7429683 | led:XH2.54-5PLT_SMD | J1 |

tommyfgj/a320-pcb
把一个 ALPS EC11 旋转编码器(带按键、5 脚)的所有信号引出到一个 JST XH 5pin 竖插端子,方便用排线接到主控板。

tommyfgj/a320-pcb
把一个 ALPS EC11 旋转编码器(带按键、5 脚)的所有信号引出到一个 JST XH 5pin 竖插端子,方便用排线接到主控板。

tommyfgj/a320-pcb
把一个 ALPS EC11 旋转编码器(带按键、5 脚)的所有信号引出到一个 JST XH 5pin 竖插端子,方便用排线接到主控板。

byrantech/laptop
anyon_e, a highly integrated, high end, open source laptop. Attempt the impossible.


Jcparkyn/dpoint
Open-source digital stylus using camera tracking and inertial measurements

VoronDesign/Voron-Hardware
Cool Hardware designed by the Voron Design group

hoglet67/RGBtoHDMI
Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

hackclub/OnBoard
💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

Luos-io/luos_engine
Open-source and real-time orchestrator for cyber-physical-systems, to easily design, test and deploy embedded applications and digital twins.

It measures 39 × 20 mm and has 2 copper layers, 1.6 mm thick.
6 parts. 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 tommyfgj/a320-pcb repository on GitHub, at the commit this page was made from: the board is led/led_display_3digit.kicad_pcb and its schematic ec11_breakout/ec11_breakout.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 tommyfgj before reusing the design.