Skip to the content
PCBKitNew board
2 layers66 × 60 mmCat feeder, the printed circuit board in 3D

Cat feeder

fxp/cat-feeder

AI-agent-designed automatic cat feeder (ESP32-C3 + HX711 + motor): schematic, PCB (Gerber/BOM), firmware, enclosure, docs

Size
66 × 60 mm
Copper layers
2
Thickness
1.6 mm
Parts
35
Nets
18
Pads
95
Tracks, vias
187, 32
Pours
6
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
19 Oct 2026
Updated
20 Oct 2026

Overview

Cat feeder is an open-source printed circuit board by fxp, from the fxp/cat-feeder repository on GitHub. It is a 2-layer board of 66 × 60 mm with 35 parts on 18 nets, routed with 187 tracks and 32 vias.

It is built around the ESP32-C3-WROOM-02-H4, AMS1117-3.3 and 1N5819WS, with the AO3400A among its other parts. Its parts include 9 resistors, 6 capacitors, 4 connectors, 3 diodes and 3 switches. It belongs with the ESP32 and RISC-V boards of this library.

Main components

4

README

README.md

cat-feeder — 一台由 AI Agent 团队设计的猫咪自动喂食机

ESP32-C3 + HX711 称重 + 电机下料。外壳、电路板、固件、App 由不同的 Agent(Z.ai ZCode 多 Agent 团队)分工完成, 这里是整条链路的产物:原理图、两版 PCB(Gerber / BOM / 贴片坐标)、固件、外壳、方案文档和运行记录,按两个轮次整理。

状态:Rev A 和 Rev B,都只做到「设计 + 文件」这一步。 没有在真机上验证过:固件只通过了主机测试和编译(没有烧录真机),电路板的元件取值/极性没有对照数据手册查过 (只检查了引脚一致性和可制造性,DRC 0 错误 / 0 未连接)。 Rev A 的 Gerber 已备好给嘉立创(jlc.com);Rev B 的订单包是给人工审阅的,文件里写明「没有下单」。 本仓库不记录是否付款、是否生产。

两个轮次

第一轮 — Rev A第二轮 — Rev B
元件 / 网络28 个 / 18 个32 个 / 21 个
做了什么第一块板;固件、外壳和多 Agent 运行报告加电机电流检测(INA199A2 + 20 mΩ 开尔文分流电阻 + 测试点),J1、J4 挪到右边缘;订单包
板子66×60 mm 双层,DRC 0 / 0,17 张网络布通同尺寸同安装孔,DRC 0 / 0,20/20 张网络布通
PCB 文件round-1/hardware/round-2/hardware/(订单包在 order_package/,附 SHA256SUMS)
原理图round-1/schematic/round-2/schematic/
固件 / 外壳 / 运行报告firmware/、enclosure/、reports/在私有引擎仓库里,没放进本仓库(见 round-2/README.md)

各轮的详细说明见 round-1/README.md 和 round-2/README.md。 公共的部分在根目录:docs/(场景、技术路线、营销方案、Demo 准备度、给 Hi3D 的 API 需求草稿,docs/site/ 是配套的静态展示页)和 tools/(原理图生成脚本)。

原理图

第一轮 Rev A(第二轮 Rev B 在 round-2/schematic/,多一个「6 电机电流检测」功能块):

cat_feeder rev A 原理图

文件说明
round-1/schematic/cat_feeder.kicad_sch、round-2/schematic/cat_feeder_rev_b.kicad_schKiCad 10 原理图(A3)。和同目录的 .kicad_pro、库表放在一起,直接用 KiCad 打开
…_schematic.pdf / .svg / .png导出图(PNG 为 5040×3564)
…_netlist.xml、erc_report.txt网表与 ERC 报告
round-1/schematic/easyeda/流水线自动生成的 Rev A 嘉立创 EDA 工程包(.eprj3.zip)及其原理图渲染图

这些图是怎么来的:PCB 是直接从规格 JSON 生成的,流水线本身不出原理图 (引擎文档写明 "No schematic is generated")。所以原理图是事后用 tools/gen_schematic.py 按同一份规格画出来的:元件、取值、引脚、网络都来自规格, 符号取自官方 KiCad 库,只有摆放位置是手工定的。

已核对:

  • 导出的网表与各自的规格逐网络一致(Rev A 18 个网络,Rev B 21 个,引脚集合完全相同);
  • Rev A 画图所用规格与交给嘉立创那块板(round-1/hardware/handed-off-to-jlc/cat_feeder.spec.json)的元件和网络完全一致; Rev B 画图所用规格与订单包对应工程里的规格(cat_feeder_rev_b_kicad_project.zip 内的 spec)也完全一致;
  • KiCad ERC:两版都是 0 错误,0 警告。

没有核对:符号的引脚名/编号来自 KiCad 官方库,没有对照数据手册(库里偶有错误)。

Rev A 嘉立创 EDA 工程包里自带的那张原理图(round-1/schematic/easyeda/cat_feeder_eprj3_sch_overview.png)是「网格摆一个个零件 + 网络标签」的机器布局, 大部分零件摆在图框外面,不是给人读的;它存在的目的是让 EDA 里有同一份网表。

重新生成:

bash
python3 -I tools/gen_schematic.py round-1/hardware/cat_feeder_rev_a_spec.json out/ round-1/schematic/cat_feeder.kicad_pro
python3 -I tools/gen_schematic.py round-2/hardware/cat_feeder_rev_b_spec.json out/ round-2/schematic/cat_feeder_rev_b.kicad_pro --rev B

(需要 macOS 上安装的 KiCad 10;脚本里的路径是 /Applications/KiCad/KiCad.app。)

已知限制

Rev A 的完整列表见 round-1/hardware/NOTES.md:没有电机电流检测;5 V 输入没有保险丝/防反接/ESD; J1 与 J4 分别在板子左侧和中央,线缆会从三个方向进出;没有给元件映射嘉立创料号(LCSC)。 Rev B 解决了「电流检测」和「线缆方向」这两条,其余仍在,见 round-2/hardware/NOTES.md 和订单包。

说明

  • docs/ 里的文档引用了一些没有放进本仓库的文件(JLC_NOTES.md、skills/… 等,属于驱动这条流水线的引擎仓库 fxp/zcode-magic,目前是私有的),那些链接在这里是断的。
  • docs/05-hi3d-api-request.md 里的测试订单号已打码。
  • 许可证:暂未指定(添加之前保留所有权利)。

Parts

35
QtyValueFootprintReferences
510kResistor_SMD:R_0603_1608MetricR1, R2, R3, R4, R7
4MountingHole_2.2mmH1, H2, H3, H4
3FiducialFID1, FID2, FID3
222uFCapacitor_SMD:C_0805_2012MetricC1, C2
1100RResistor_SMD:R_0603_1608MetricR5
1100kResistor_SMD:R_0603_1608MetricR6
1100nFCapacitor_SMD:C_0603_1608MetricC4
1100uFCapacitor_SMD:CP_Elec_6.3x5.4C6
110uFCapacitor_SMD:C_0805_2012MetricC3
11N5819WSDiode_SMD:D_SOD-323D1
11kResistor_SMD:R_0603_1608MetricR9
11uFCapacitor_SMD:C_0603_1608MetricC5
1330RResistor_SMD:R_0603_1608MetricR8
15V INConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ1
1AMS1117-3.3Package_TO_SOT_SMD:SOT-223-3_TabPin2U2
1AO3400APackage_TO_SOT_SMD:SOT-23Q1
1BOOTButton_Switch_SMD:SW_SPST_B3U-1000PSW2
1ESP32-C3-WROOM-02RF_Module:ESP32-C3-WROOM-02U1
1FEEDButton_Switch_SMD:SW_SPST_B3U-1000PSW3
1HX711 3V3 GND DT SCKConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ4
1MOTORConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ3
1RESETButton_Switch_SMD:SW_SPST_B3U-1000PSW1
1UART GND TX RXConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ2
1greenLED_SMD:LED_0603_1608MetricD2
1redLED_SMD:LED_0603_1608MetricD3

Questions

How big is the Cat feeder PCB?

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

What parts does the Cat feeder use?

35 parts, built around the ESP32-C3-WROOM-02-H4, AMS1117-3.3, 1N5819WS and AO3400A. 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 Cat feeder KiCad files?

From the fxp/cat-feeder repository on GitHub, at the commit this page was made from: the board is round-1/hardware/v2-jlc-bom/cat_feeder.kicad_pcb and its schematic round-1/schematic/cat_feeder.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Cat feeder design in my own project?

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

Similar boards

  • 2 layers83.8 × 51 mmMega wifi, the printed circuit board in 3D

    Mega wifi

    jfryman/mw-cart

    MegaWiFi Mega Drive/Genesis Wi-Fi cartridge — Rev.C fork (TI TL16C550D UART, 20 MHz / 1.25 Mbaud). Upstream: gitlab.com/doragasu/mw-cart

    56 parts
  • 4 layers85 × 40 mmWled controller, the printed circuit board in 3D

    Wled controller

    electro-practically/wled-controller

    WLED ESP32 controller powered by USB-C Power Delivery.

    99 partsCERN-OHL-P-2.0
  • 2 layers74 × 54 mmPlant esp32-onboard, the printed circuit board in 3D

    Plant esp32-onboard

    thomaslr/plant-esp32

    This directory contains the production files, Pick & Place centroid files (CPL), Bill of Materials (BOM), KiCad design source files, and 3D renders for the Monolithic Onboard SMD Edition of the Plant ESP32 watering…

    46 parts
  • 4 layers57 × 56 mmIot led strip pcb, the printed circuit board in 3D

    Iot led strip pcb

    0xjmux/iot_leddriver_hw

    ESP32-based WS2812B LED Strip Driver PCB, designed for music visualization

    85 parts9
  • 4 layers164 × 118 mmOpenEFI rev4 bkp, the printed circuit board in 3D

    OpenEFI rev4 bkp

    Churrosoft/OpenEFI-PCB

    Coleccion de PCB y planos recomendados para montar una OpenEFI

    345 parts8CERN-OHL-S-2.0
  • 2 layers37 × 70.9 mmOpendiag, the printed circuit board in 3D

    Opendiag

    maximus64/opendiag-hardware

    OpenDIAG - Open Source OBD2 Interface (Hardware)

    148 parts5CERN-OHL-S-2.0
  • 4 layers69.5 × 62.6 mmSensors Module, the printed circuit board in 3D

    Sensors Module

    Queens-Rocket-Engineering-Team/Avionics-23-26

    QRET Avionics hardware, firmware, and documentation for 2023 to 2025.

    197 parts4
  • 4 layers99.5 × 65 mmEcho, the printed circuit board in 3D

    Echo

    rh1tech/echo

    Echo: ESP32-Based VGA Board

    181 parts4