Skip to the content
2 layers98 × 53 mmFinal Project PCB, the printed circuit board in 3D

Custom sensor PCB and firmware for an autonomous line-following robot.

Size
98 × 53 mm
Copper layers
2
Thickness
1.6 mm
Parts
27
Nets
10
Pads
55
Tracks, vias
34, 0
Pours
2
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
12 Jun 2026
Updated
28 Aug 2026

Overview

Final Project PCB is an open-source printed circuit board by Ae0lis, from the Ae0lis/line-following-robot repository on GitHub. It is a 2-layer board of 98 × 53 mm with 27 parts on 10 nets, routed with 34 tracks and 0 vias.

Its parts include 15 resistors, 6 diodes and 2 connectors. It belongs with the robots and motor control boards of this library.

README

README.md

Autonomous Line-Following Robot

A custom-PCB line-following robot built for the EE 201 capstone at the University of Washington. This was a one-month competition to design the fastest, most accurate line follower in the class.

Full writeup: https://ae0lis.github.io/projects/line_robot/

The finished robot

Overview

The robot follows a black line on a light surface using a custom seven-channel photoresistor array, processes the readings through a PID controller on an Arduino, and steers by driving its two motors at differing speeds. Built by a three-person team over one month; completed the full competition track.

Block diagram

Repository structure

PathContents
kicad/KiCad project — schematic, board layout, and netlist for the sensor array
kicad/PCB_share/Gerber + drill files for fabrication (open in any Gerber viewer, no KiCad needed)
firmware/Arduino control code (see note below)
renders/Exported schematic and 3D board renders
images/Photos of the assembled robot
diagrams/Diagrams for explaining the robot's systems

The sensor board

The core of the project is a custom PCB I designed and laid out in KiCad:

  • Seven-channel photoresistor array — each channel pairs a photoresistor with an LED, flooding the surface with consistent light so a change in reading reflects floor color rather than ambient light or shadow.
  • Copper pours for GND and VCC instead of hand-routed power traces, which helped keep the board compact (40 × 80 mm between mounting holes).
  • Sensor outputs map to Arduino analog pins A8–A14, matching the firmware.

Firmware

The control firmware is based on PID scaffolding provided to all teams in the course. My contribution here was mapping the controller to this board's pin assignments, configuring it, and tuning the PID constants against the competition track. Both files are included for transparency:

  • 10_5_line_follower_code_template.ino — the course-provided starting point
  • line_follower_code.ino — a recovered configured snapshot matching the final board pins and tuned gains; the exact competition-flashed sketch was not preserved

Tuned constants at competition: S 30, P 24, I 0, D 24. Four-sensor totals: ~2500 on black and ~1000 on white.

Viewing the board

  • Renders: the PNGs in renders/ show the schematic and 3D board.
  • Gerbers: open kicad/PCB_share/ in any Gerber viewer to inspect the manufacturing layers.
  • Source: open kicad/Final_Project_PCB.kicad_pro in KiCad 9.0 or newer. May work on older versions, but no promises!

Team

Built by Dat Ly, Michael Zhang, and Ben Robison for EE 201 (University of Washington). I (Ben) was responsible for the sensor PCB, firmware configuration and tuning, and much of the physical assembly.

Parts

27
QtyValueFootprintReferences
71kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR1, R2, R3, R4, R5, R6, R7
7R_PhotoOptoDevice:R_LDR_5.0x4.1mm_P3mm_VerticalR8, R9, R10, R11, R12, R13, R14
6LEDLED_THT:LED_D5.0mmD1, D2, D3, D4, D5, D6
4MountingHoleMountingHole:MountingHole_3.2mm_M3H1, H2, H3, H4
1330Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR15
1Conn_01x02_PinConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ2
1Conn_01x07_PinConnector_PinHeader_2.54mm:PinHeader_1x07_P2.54mm_VerticalJ1

Similar boards

  • 2 layers47.6 × 27.3 mmMmc usb 1, the printed circuit board in 3D

    Mmc usb 1

    rusefi/rusefi

    rusefi - GPL internal combustion engine control unit

    27 parts1.2k
  • 2 layers77.4 × 77.4 mmCORAZON LEDS CON FADE, the printed circuit board in 3D

    CORAZON LEDS CON FADE

    hackclub/OnBoard

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

    27 parts915
  • 2 layers44.2 × 29.3 mmI2c tiny usb, the printed circuit board in 3D

    I2c tiny usb

    harbaum/I2C-Tiny-USB

    Cheap and simple I²C to USB interface

    27 parts454
  • 2 layers22 × 42 mmNvme bm to e, the printed circuit board in 3D

    Nvme bm to e

    CRImier/MyKiCad

    My KiCad boards. Can't be bothered uploading individually anymore, so here you go.

    27 parts253GPL-3.0
  • 2 layers80 × 61 mmPicoProducer, the printed circuit board in 3D

    PicoProducer

    pjgpetecodes/pico-streamdeck

    This project is an OBS Controller using a Raspberry Pi Pico and CircuitPython.

    27 parts230MIT
  • 2 layers186 × 45 mmAddOnD, the printed circuit board in 3D

    AddOnD

    freeDSP/freeDSP-aurora

    freeDSP ADAU1452 with 8 analog input, 8 analog outputs, S/P-DIF I/O, ADAT I/O, USB Audio Class2, WiFi, Bluetooth

    27 parts226CC-BY-SA-4.0
  • 2 layers29.6 × 40.6 mmDbwifi revB, the printed circuit board in 3D

    Dbwifi revB

    ugcs/ddc

    Drone Show Software is software designed for drone shows, allowing flight path planning as well as control of dozens of drones simultaneously in a synchronized manner.

    27 parts223

Questions

How big is the Final Project PCB PCB?

It measures 98 × 53 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Final Project PCB use?

27 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.

Where can I download the Final Project PCB KiCad files?

From the Ae0lis/line-following-robot repository on GitHub, at the commit this page was made from: the board is kicad/Final_Project_PCB.kicad_pcb and its schematic kicad/Final_Project_PCB.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Final Project PCB design in my own project?

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