Skip to the content
2 layers66 × 41 mmInterlock test, the printed circuit board in 3D

CodexGlasses —— 智能眼镜平台:镜片 HUD、语音交互、第一视角采集,把 Codex / DSH 的任务连到电脑上。业余时间在公园里指挥家里的电脑干活。个人非商业许可。

Size
66 × 41 mm
Copper layers
2
Thickness
1.6 mm
Parts
18
Nets
10
Pads
47
Tracks, vias
1,313, 6
Pours
2
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
19 Oct 2026
Updated
19 Oct 2026

Overview

Interlock test is an open-source printed circuit board by miaoyhcat, from the miaoyhcat/codex-glasses repository on GitHub. It is a 2-layer board of 66 × 41 mm with 18 parts on 10 nets, routed with 1,313 tracks and 6 vias.

It is built around the MCP6547-I/P. Its parts include 7 resistors, 4 capacitors, 3 connectors, 2 ICs and 1 diode.

Main components

1

README

README.md

CodexGlasses

戴上它去公园散步。家里那台电脑,会替你把活干完。

出门前说一句「检查一下那个项目,顺手把测试跑了」,话就落到了你电脑上的 Codex 或 DSH 手里。它只在你授权的那份项目副本上动,原件不碰。 你沿着湖边走一圈,抬眼看看镜片:连上电脑了、在读代码、跑到第 3 个测试、 卡在哪儿——不用回屋,也不用盯终端。走回来的时候,结果已经在镜片上了。

本项目仅允许个人非商业学习、研究、修改及自用。未经著作权人事先书面许可,严禁将本项目原创成果用于商业用途,包括商业销售、生产销售、商业集成、商业授权或其他以商业利益为目的的使用。违者必究。

商业授权联系邮箱:3277681859@qq.com · 个人自用与商业授权 · 完整许可证

CodexGlasses — Wear your workflow

English · 产品对比 · 设计图与资料总索引 · 使用指南 · 验证记录

CodexGlasses 是一套面向开发者的智能眼镜平台。它把眼镜端固件、Android 应用、 可自托管的桌面连接器、共享协议和硬件设计资料放进同一个仓库, 围绕「说出需求、批准任务、查看真实进度、接收结果」组织交互。

一次散步,四件事

你在做什么眼镜在做什么家里那台电脑在做什么
出门前说一句话语音转写,上行等你在本机点一下批准
沿着湖边走显示「已连接 · 哪个项目 · 进行到哪一步」在项目副本上跑 inspect / fix / test
停下来看看事件逐条上屏:读文件、跑测试、哪条没过真实输出,不是「正在思考」的转圈
走回家结果和验收状态留档,下次接着来

需要批准的地方,现在可以说一句「批准」——回屋点那一下当然也行。语音批准默认是关的,要在电脑端配置里打开;口令认不出来就当没听见,任务原地不动。

接哪些 Agent:Codex 与 DSH

两类 agent 走同一条链路:眼镜 → 手机 → 电脑连接器 → 隔离 worker → agent CLI。 模型密钥留在电脑端,任务进度取自真实会话事件,容器里没有外网。

Agent怎么接现在的状态
Codex(官方 App Server)官方 JSONL stdio 塞进无外网 Docker worker按实测 0.162.1 的 schema 接入;环境初始化和配置读取可用,thread/start 未完成(详见接入说明)
DSH(DeepSeek Harness)同一个 worker,换一条命令行即可入口已留好(CODEXGLASSES_AGENT / CODEXGLASSES_AGENT_ARGS),未在真实 DSH 上实测(详见DSH 接入)

换 agent 不用改代码:

bash
# 默认就是 Codex,不设这两个变量行为不变
CODEXGLASSES_AGENT=dsh \
CODEXGLASSES_AGENT_ARGS="<DSH 的等价启动参数>" \
python3 agent-integration/codex/worker_entry.py

前提写在 DSH 接入说明 里:worker 按「一行一个 JSON 帧」 转发,DSH 侧协议不同就得加一层适配;模型请求要能指向本机 broker(127.0.0.1:9041)。 没跑过的东西就是没跑过,不写成「已适配」。

欢迎 issue 和 star

这是个人项目,但有人在用、有人较真,它才会变好。

  • 跑不通、发现漏洞:提 issue, 写清系统、Python 版本、你执行到哪一步、报了什么错。能复现的最有价值。
  • 想要的功能:也提 issue,说清你实际想解决什么事,而不是「加个 X」。
  • 觉得有点意思:点个 star—— 这是最直接的反馈,让我知道还有人在看。

许可仍然只开放个人非商业使用,商业用途请先联系。

为什么是 CodexGlasses

核心特色用途仓库入口
随身开发任务入口检查项目、修复问题、运行测试;显示连接电脑、项目、任务阶段与结果Codex 接入 · DSH 接入
面向信息的HUD时间、通知、转写、AI文字与任务状态;手机完成中文栅格化固件与HUD
采集与本地缓存摄像、短录像、录音、媒体校验、确认后删除及断点上传固件 / 手机
自己掌握连接器设备绑定、证书核验、项目授权、本机审批及日志事件桌面端 / 协议
从设计到代码可审查KiCad、STEP/STL、OpenSCAD、BOM、装配资料、测试与演示设计总索引

看见并控制真实任务

“检查这个项目有没有Bug” → 选择授权电脑和项目 → 电脑本机批准 → 智能体工作 → HUD显示实际事件和结果。后续fix/test任务可关联会话,取消与断线恢复有明确状态。

mermaid
flowchart TD
  G["眼镜:显示 / 采集 / 缓存"] <--> P["Android:语音 / 媒体 / 网络"]
  P <--> D["桌面连接器:身份 / 授权 / 事件"]
  D <--> C["官方 Codex App Server"]
  C --> W["授权项目副本与测试"]
  W --> D

模型密钥留在电脑端,任务进度取自可获取的会话事件。回合完成与独立测试验收分别记录。架构说明与安全设计提供具体实现。

与市面上产品相比,聚焦在哪里

产品核心定位公开显示/交互特点
CodexGlasses可审查、可自托管的智能体眼镜平台H1单目HUD设计;P1近眼显示适配;自有项目上的inspect/fix/test、真实任务事件与本机审批
Ray-Ban Meta Gen 3日常拍摄与语音AICamera + Audio型号;第一视角记录、通话与日常助手
Meta Ray-Ban Display带镜片显示的消费AI眼镜单目全彩600×600;消息、字幕、导航与腕带交互
Rokid Glasses with Display轻量翻译与信息显示MicroLED、30°FOV;字幕、翻译、提词与拍摄
Even Realities G2字幕与信息辅助双目绿光640×350、27.5°FOV;轻量信息提示、沟通辅助
Brilliant Halo可编程AI眼镜彩色近眼显示;可编程应用与个人AI体验
XREAL One Pro空间大屏与外部主机显示MicroOLED、57°FOV;电脑/游戏/移动设备大屏
RayNeo X3 Pro全彩AI与空间AR双目全彩640×480、30°FOV;导航、翻译、空间应用

对比公开定位与接口;厂商规格、项目设计预算和软件验证分别注明。完整来源、参数口径及可机读表见产品比较。

两条硬件路径,一套软件链路

配置用途与资料
H1集成镜架的光学、结构、质量和功耗设计;结构CAD / 光学 / 预算
D0 + P1D0提供摄像/音频/缓存开发台架;P1使用T-Glass V2近眼显示设备;接线 / P1显示

参数按用途给出:H1的66.45g与定义混合负载8.486h是工程预算;P1显示配置单独记录。对应输入、测试范围和证据在验证报告及证据索引。

快速运行

bash
python -m venv .venv
# 激活虚拟环境后:
python -m pip install -e .
python simulator/demo.py
python scripts/verify.py

演示使用真实本机HTTPS完成绑定、审批、任务事件及媒体传输,智能体标注SIMULATOR。公开样例的真实Codex/本地模型复现见本地模型实验。

bash
codexglasses --state runtime init --host 电脑私网IP --name 我的开发电脑
codexglasses --state runtime project-add demo examples/demo-project --allow-snapshot-writes
codexglasses --state runtime serve --simulate

Android调试APK与Python wheel位于releases。固件构建入口:python scripts/build_firmware.py;Android构建入口:python scripts/build_android.py --sdk 官方SDK目录。

从这里找到全部资料

本次公开源码发布沿用v0.2软件与固件版本。已有记录包括62项主机测试、API26模拟器运行、两个固件目标交叉编译与公开样例的真实模型修复;证据均保留原执行日期和范围。

原创材料采用个人非商业源代码可查看许可证。第三方条款保留,见NOTICE.md。商业合作请联系 3277681859@qq.com。

Parts

18
QtyValueFootprintReferences
2100k 1%R3, R5
21uFC1, C2
1100kR7
1100nFC4
110kR6
11nFC3
122.1k 1%R4
1232k 1%R2
1330R1
13V3_INJ1
1CAMERA_3V3_OUTJ3
1EXTERNAL_MASTER_SWITCHSW1
1MCP6547-I/PU1
1MCU_CTRLJ2
1TPS22918DBVRU2
1VISIBLE_GREEN_LEDD1

Similar boards

  • 2 layers27.9 × 16.5 mmPowerSSO-24 breakout, the printed circuit board in 3D

    PowerSSO-24 breakout

    rusefi/rusefi

    rusefi - GPL internal combustion engine control unit

    18 parts1.2k
  • 2 layers42.7 × 13.7 mmStm32-mini12864, the printed circuit board in 3D

    Stm32-mini12864

    VoronDesign/Voron-Hardware

    Cool Hardware designed by the Voron Design group

    18 parts1.1kGPL-3.0
  • 2 layers41.2 × 46.6 mmThumb cluster left, the printed circuit board in 3D

    Thumb cluster left

    JesusFreke/lalboard

    A 3D-printed keyboard inspired by the DataHand

    18 parts993
  • 2 layers44 × 51.3 mm4272MAVcoder R4, the printed circuit board in 3D

    4272MAVcoder R4

    hackclub/OnBoard

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

    18 parts915
  • 2 layers28.3 × 14.3 mmTap Photosensor PCB, the printed circuit board in 3D

    Tap Photosensor PCB

    VoronDesign/Voron-Tap

    Tap is a nozzle-based z-probe for the V2 and Trident printer designs. The entire toolhead moves to trigger an optical switch. Tap offers many advantages:

    18 parts716GPL-3.0
  • 2 layers20.3 × 15.2 mmL0 stepper driver, the printed circuit board in 3D

    L0 stepper driver

    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.

    18 parts546MIT
  • 2 layersMooltipass, the printed circuit board in 3D

    Mooltipass

    limpkin/mooltipass

    Github repository dedicated to the mooltipass project

    18 parts531
  • 2 layers42.5 × 28.8 mmC5VRX JACK DIY V2, the printed circuit board in 3D

    C5VRX JACK DIY V2

    Twotoz/C5VRX

    Ultra-minimal, zero-CPU 5.8 GHz analog FPV video receiver using ESP32-C5 Wi-Fi 6 PHY MODEM_DIAG, BitScrambler WBFM demodulation & resistor DAC CVBS

    18 parts515GPL-3.0

Questions

How big is the Interlock test PCB?

It measures 66 × 41 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Interlock test use?

18 parts, built around the MCP6547-I/P. 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 Interlock test KiCad files?

From the miaoyhcat/codex-glasses repository on GitHub, at the commit this page was made from: the board is hardware/pcb/interlock-test-coupon/interlock-test.kicad_pcb and its schematic hardware/schematics/interlock.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Interlock test design in my own project?

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