RoboCup

A four-layer, 120 mm round controller board, drawn in KiCad.

Drawing
DWG 02
Revision
Final
Year
2024
Role
Electrical engineering and CAD
Status
Built, competed
Type
PCB, Electrical, Embedded
Tools
KiCad, Teensy 4.1, OpenMV H7, XBee
KiCad layout of the finalized round main board: red top and blue bottom traces, the Teensy footprint in the middle and a ring of sensor pads near the edge.
Fig. 02.1The finalized main board in KiCad.

The controller board for a small autonomous soccer robot: a Teensy 4.1, a camera, a radio and a ring of 24 infrared receivers on one round, four-layer board. Toggle the copper layers below; the drawing is the real KiCad geometry.

§01Layers

Drawn in the browser from RoboCup.kicad_pcb. Top and bottom copper are on; switch on the two inner layers to see the routing between them.

Loading the board file…

§02On the board

Controller
Teensy 4.1
Camera
OpenMV H7
Radio
XBee S2C, robot to robot
Ball sensing
24 TSOP4038 infrared receivers in a ring
Analog inputs
Three MCP3008 eight-channel ADCs
Power
Pololu D24V25F5 5 V regulator, battery connector
Stack-up
Four copper layers, 120 mm round outline, four mounting holes
Files
KiCad 6. The project folder keeps 33 timestamped backups, 6 to 27 January 2024.

§03From problem to match

Built for RoboCupJunior Soccer, where two robots per team play on a small field with an infrared ball. Team Dragon was four students; the electrical engineering and the CAD were mine.

  1. 01

    Challenge

    A small autonomous robot has to see the ball from any direction, find the goals, talk to its teammate and drive four omni wheels.

  2. 02

    Design decisions

    One round board on the top plate, so the 24 infrared receivers sit on its rim every 15 degrees and nothing on the robot blocks them. A Teensy 4.1 in the middle has the pins and speed to read the ring, the OpenMV camera (looking up into a mirror cone for a full circle of view) and the XBee radio in one loop. Four copper layers fit that routing inside 120 mm. The high-voltage kicker and the floor-facing line sensors went on their own boards, the kicker isolated from the Teensy by optocouplers.

  3. 03

    Validation

    Boards were ordered from JLCPCB, assembled and run on the robot, and whatever went wrong went back into KiCad. It took tens of iterations; January 2024 alone left 33 saved versions of this file.

  4. 04

    Outcome

    The boards raced at the US national championship, where Team Dragon finished 7th in 2022 and 5th in 2023. This is the final revision.

KiCad A4 drawing sheet with a circular blue copper pour full of white through-hole pads, a sheet border and a title block.
Fig. 02.2Bottom copper, exported from KiCad 6.0.9.
All four copper layers of the round main board, drawn from its KiCad file: red top traces, blue bottom traces and inner layers in gold and green.
Fig. 02.3All four copper layers, drawn from the KiCad file.
Next · DWG 03Portfolio →