Skip to the content
2 layers89.3 × 92.6 mmArchive, the printed circuit board in 3D

Key features we have. PostTrainingQuantization(PTQ) with results simulated on the K230D chip, half-duplex serial driver with 74HCT126, asymmetric PID dependent on the IMU, custom touch sensors, and an IR camera used on…

Size
89.3 × 92.6 mm
Copper layers
2
Thickness
1.6 mm
Parts
61
Nets
115
Pads
305
Tracks, vias
896, 95
Pours
6
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
5 Jul 2025
Updated
23 Jul 2026

Overview

Archive is an open-source printed circuit board by Spadeyache, from the Spadeyache/FATEN-RCJ26 repository on GitHub. It is a 2-layer board of 89.3 × 92.6 mm with 61 parts on 115 nets, routed with 896 tracks and 95 vias.

It is built around the K230D, AP63201WU and DEV-16771, with the 1N4148WT, GF-126-0159 and SS8050 among its other parts. Its parts include 24 connectors, 17 capacitors, 6 resistors, 4 ICs and 4 diodes.

Main components

6

README

README.md

RoboCupJunior Rescue Line — Robot

Key features we have. PostTrainingQuantization(PTQ) with results simulated on the K230D chip, half-duplex serial driver with 74HCT126, asymmetric PID dependent on the IMU, custom touch sensors, and an IR camera used on the hardware.

Team FATEN logo

Firmware, vision, AI training pipeline, and electronics for team FATEN's RoboCupJunior Rescue Line robot. The robot follows a line course, handles gaps, obstacles, and intersections, then enters an evacuation zone where it detects, grabs, and carries victims using an onboard YOLO(formerly MobileNet-SSD-v2-Lite) model.

🌐 Team website: faten-1tdj.vercel.app

How the robot works

One microcontroller drives the robot; two smart co-processors digest the camera data which the control loop stays fast and deterministic.

mermaid
flowchart LR
    subgraph IN["Inputs — co-processors and sensors"]
        direction TB
        XIAO["📷 XIAO ESP32-S3<br/>camera vision:<br/>line, green, red, silver, gap"]
        K230["🧠 K230D Zero<br/>YOLOv8n victim/colour<br/>bounding boxes"]
        IMU["🧭 MPU6050 IMU"]
        TOF["📏 VL53L7CX ToF"]
        TCH["👆 Touch bumpers"]
    end
    subgraph T["Teensy 4.1 — the conductor"]
        direction TB
        RX["sensors/ — raw byte transport"]
        PROC["processing/ — decode · filter · fuse"]
        SM["state_machine/ — pick a behaviour"]
        ACT["actions/ — PID, turn, forward, arm"]
        RX --> PROC --> SM --> ACT
    end
    subgraph OUT["Outputs"]
        direction TB
        MOT["⚙️ 4× STS3032 wheels"]
        ARM["🦾 KRS arm / gripper"]
    end
    XIAO -- "UART @ 4 Mbps" --> RX
    K230 -- "UART @ 115200" --> RX

The Teensy firmware is a 5-layer architecture (drivers → sensors → processing → state_machine/actions) where calls only flow downward, with one file pair per state-machine state (LINE_Follow, LINE_Gap, LINE_Obstacle, EVAC_Entry, EVAC_SearchDeploy, EVAC_Exit, …). See teensy/STS-imuMerge/README.md and the interactive system map for the full picture.

Hardware

PartRole
Teensy 4.1Main controller: sensor fusion, state machine, motion control
Seeed XIAO ESP32-S3 SenseLine-camera co-processor: line position, green/red markers, silver tape, gap detection
Sipeed CanMV K230D ZeroAI co-processor: YOLOv8n victim / colour detection (kmodel via nncase)
MPU6050IMU — pitch / roll / yaw
Pololu VL53L7CXMultizone ToF — walls and obstacle distance
4× Feetech STS3032Serial-bus wheel servos (1 Mbps)
Kondo KRS servos & Hitech HS45HBVictim arm and grippers
Custom PCBs (EasyEDA)Power distribution, adapters, breakouts — see electronics/

The custom PCBs form a stacked electronics module. The map below shows how the boards connect:

FATEN electronics map

Repository layout

DirectoryContents
teensy/Teensy 4.1 firmware. STS-imuMerge/ is the competition firmware; other folders are hardware bring-up tests (IMU, STS servos, touch)
xiaoesp/XIAO ESP32-S3 camera firmware (XIAOdev/) + Web Serial debug viewer (esp32_camera_viewer.html)
k230-final-train/Current YOLOv8n training pipeline: dataset → train → ONNX → kmodel → simulate → compare → deploy, all in Docker, one script per step
k230-inference/MicroPython code that runs on the K230D (CanMV): live detection, UART protocol to the Teensy
k230/Legacy training pipeline + datasets (superseded by k230-final-train/)
electronics/EasyEDA projects, 3D exports, KiCad archive
Docs/Interactive HTML docs — open in a browser (see below)
dev-tools/Flashing images, servo manager, drivers, terminal tools

Documentation

The Docs/ folder holds self-contained HTML documents (open locally in any browser):

Each firmware layer also documents itself: every src/<layer>/ folder has its own README.md with that layer's rules.

Building and running

Teensy firmware

Requires Teensyduino (Arduino IDE or arduino-cli with the teensy:avr core):

powershell
cd teensy/STS-imuMerge
arduino-cli compile --fqbn "teensy:avr:teensy41:usb=serial,speed=600,opt=o2std,keys=en-us" --build-path build .

XIAO camera firmware

Build profile is pinned in sketch.yaml (esp32 core 3.3.7):

powershell
cd xiaoesp/XIAOdev
arduino-cli compile --profile xiaoesp32s3

K230D AI co-processor

  1. Flash the CanMV MicroPython image (CanMV_K230D_Zero_micropython_v1.5-legacy … nncase_v2.9.0, in dev-tools/) — see k230-inference/README.md
  2. Copy the contents of k230-inference/ plus your .kmodel to the device SD card

Training a new model

Fully reproducible in Docker — annotated dataset in, deployable .kmodel out:

powershell
cd k230-final-train
.\competition_run.ps1 -Name victim_v2 -Epochs 100

See k230-final-train/README.md for the step-by-step scripts and the PTQ search/compare workflow. Note: kmodels must be converted with nncase 2.9.0-compatible tooling to match the flashed CanMV firmware.

Acknowledgements

Sponsors

Team FATEN thanks the sponsors who made this robot possible:

EasyEDA    JLCPCB    Keeppower    Hitec    Pololu

  • EasyEDA & JLCPCB — provided the PCB design software and board fabrication credit; the integrated design-to-manufacture workflow carried our boards smoothly from schematic to delivered PCB.
  • Keeppower — supplied high-spec protected batteries, with the protection circuit custom-designed for our robot, and covered most of the battery and shipping costs.
  • Hitec — provided motors for the robot arm along with battery chargers and maintenance jigs; their high-spec LiFePO4 balance charger kept our batteries reliably charged throughout the competition.
  • Pololu — supported the team's sensor hardware, including the VL53L7CX multizone time-of-flight sensor the robot uses for wall and obstacle detection.

More photos from the competition are in our Google Drive folder.

Institutions

Our team members represent:

New York University    Columbia University    Chalmers University of Technology

Open source

This robot builds on Ultralytics YOLOv8, nncase, CanMV, Teensyduino, and the Arduino ESP32 core.

License

This project is licensed under the Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0) see LICENSE for details.

In short: you're welcome to study this project, learn from it, and build your own work on top of it, as long as you credit team FATEN (a link back to this repository) and don't use it for commercial purposes. Please don't just lift the code wholesale.

Third-party components (YOLOv8, nncase, CanMV, Teensyduino, the Arduino ESP32 core, etc.) remain under their own licenses.

Parts

61
QtyValueFootprintReferences
622uFCapacitor_SMD:C_0603_1608MetricC4, C8, C9, C10, C14, C18
6Conn_01x02Connector_TE-Connectivity:TE_440054-2_1x02_P2.00mm_VerticalJ1, J2, J17, J18, J19, J20
6Conn_01x03Connector_JST:JST_XH_B3B-XH-A_1x03_P2.50mm_VerticalJ3, J4, J7, J8, J9, J10
6Conn_01x06Connector_JST:JST_XH_B6B-XH-AM_1x06_P2.50mm_VerticalJ11, J12, J13, J14, J15, J16
41N4148WTDiode_SMD:D_SOD-523D1, D2, D3, D4
4Conn_01x08_SocketConnector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_VerticalJ21, J22, J23, J24
20.1uFCapacitor_SMD:C_0603_1608MetricC16, C17
2100nFCapacitor_SMD:C_0603_1608MetricC2, C6
2100pFCapacitor_SMD:C_0603_1608MetricC3, C7
210uFCapacitor_SMD:C_0603_1608MetricC1, C5
210uHInductor_SMD:L_1210_3225MetricL1, L2
2169kResistor_SMD:R_0603_1608MetricR5, R7
21kResistor_SMD:R_0603_1608MetricR1, R2
21uFCapacitor_SMD:C_0603_1608MetricC15, C19
230kResistor_SMD:R_0603_1608MetricR6, R8
2AP63201WUPackage_TO_SOT_SMD:TSOT-23-6U4, U6
2Conn_01x04Connector_JST:JST_XH_B4B-XH-A_1x04_P2.50mm_VerticalJ5, J6
2GF-126-0159GF_126_0159:SW_GF-126-0159S1, S2
147uFCapacitor_SMD:C_0603_1608MetricC20
1DEV-16771Transformer_SMD:Teensy4.1U1
1K230DConnector_PinSocket_2.54mm:PinSocket_2x20_P2.54mm_Vertical_SMDU2
1PMOSPackage_TO_SOT_SMD:SOT-23Q1
1SS8050Package_TO_SOT_SMD:SOT-23Q2

More from Spadeyache/FATEN-RCJ26

6
  • 2 layers71.3 × 94.1 mmMain (2), the printed circuit board in 3D

    Main (2)

    Spadeyache/FATEN-RCJ26

    Key features we have. PostTrainingQuantization(PTQ) with results simulated on the K230D chip, half-duplex serial driver with 74HCT126, asymmetric PID dependent on the IMU, custom touch sensors, and an IR camera used on…

    50 parts
  • 2 layers111.2 × 45.7 mmPower Set, the printed circuit board in 3D

    Power Set

    Spadeyache/FATEN-RCJ26

    Key features we have. PostTrainingQuantization(PTQ) with results simulated on the K230D chip, half-duplex serial driver with 74HCT126, asymmetric PID dependent on the IMU, custom touch sensors, and an IR camera used on…

    41 parts
  • 2 layers89.5 × 67.2 mmLogic Set, the printed circuit board in 3D

    Logic Set

    Spadeyache/FATEN-RCJ26

    Key features we have. PostTrainingQuantization(PTQ) with results simulated on the K230D chip, half-duplex serial driver with 74HCT126, asymmetric PID dependent on the IMU, custom touch sensors, and an IR camera used on…

    32 parts
  • 2 layers30.5 × 25.1 mmBattery Management, the printed circuit board in 3D

    Battery Management

    Spadeyache/FATEN-RCJ26

    Key features we have. PostTrainingQuantization(PTQ) with results simulated on the K230D chip, half-duplex serial driver with 74HCT126, asymmetric PID dependent on the IMU, custom touch sensors, and an IR camera used on…

    18 parts
  • 2 layersArchive, the printed circuit board in 3D

    Archive

    Spadeyache/FATEN-RCJ26

    Key features we have. PostTrainingQuantization(PTQ) with results simulated on the K230D chip, half-duplex serial driver with 74HCT126, asymmetric PID dependent on the IMU, custom touch sensors, and an IR camera used on…

    15 parts
  • 2 layersArchive, the printed circuit board in 3D

    Archive

    Spadeyache/FATEN-RCJ26

    Key features we have. PostTrainingQuantization(PTQ) with results simulated on the K230D chip, half-duplex serial driver with 74HCT126, asymmetric PID dependent on the IMU, custom touch sensors, and an IR camera used on…

    5 parts

Similar boards

  • 4 layers205.8 × 90.1 mmPll, the printed circuit board in 3D

    Pll

    pranav12321/RF-EMI-simulations

    87 parts
  • 2 layers68 × 110 mmMultimeter, the printed circuit board in 3D

    Multimeter

    schuyler4/Multimeter

    My multimeter design.

    86 parts3MIT
  • 4 layers86 × 100 mmDB25 encoder card, the printed circuit board in 3D

    DB25 encoder card

    ExcessiveMotion/controller-hardware

    217 parts87CERN-OHL-W-2.0
  • 4 layers31.4 × 70 mmUPLC Panel, the printed circuit board in 3D

    UPLC Panel

    fredriknk/uPLC-Stack

    Quick note, this is then panelization repo, head for the individual repos to get design files.

    226 parts9
  • 4 layers31.4 × 22 mmUPLC Digital, the printed circuit board in 3D

    UPLC Digital

    fredriknk/uPLC-Digital

    I now have two prototypes of the uPLC-Digital so ESP-Home integrations will come soon.

    64 parts5MIT
  • 4 layers31.4 × 22 mmUPLC Analog, the printed circuit board in 3D

    UPLC Analog

    fredriknk/uPLC-Analog

    I now have two prototypes of the uPLC-Analog so ESP-Home integrations will come soon.

    69 parts4MIT
  • 4 layers31.4 × 22 mmUplc, the printed circuit board in 3D

    Uplc

    fredriknk/uPLC-Relay

    I now have two prototypes of the uPLC-Relay so ESP-Home integrations will come soon.

    53 parts4MIT
  • 2 layers517.1 × 517.1 mmChessinator9000kicad pcb, the printed circuit board in 3D

    Chessinator9000kicad pcb

    Danneshowrang/Chessinator-9000

    A smart open source modular chessboard system.

    93 partsMIT

Questions

How big is the Archive PCB?

It measures 89.3 × 92.6 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Archive use?

61 parts, built around the K230D, AP63201WU, DEV-16771 and 1N4148WT. 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 Archive KiCad files?

From the Spadeyache/FATEN-RCJ26 repository on GitHub, at the commit this page was made from: the board is electronics/archive/Main.kicad_pcb and its schematic electronics/archive/Batter Management v3.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Archive design in my own project?

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