Skip to the content
4 layers36 × 50.2 mmRacer, the printed circuit board in 3D

These are structured into their own files. I could have used submodules, but decided against it.

Size
36 × 50.2 mm
Copper layers
4
Thickness
1.66 mm
Parts
83
Nets
71
Pads
308
Tracks, vias
546, 107
Pours
11
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
15 Oct 2024
Updated
1 Feb 2026

Overview

Racer is an open-source printed circuit board by StuckAtPrototype, from the StuckAtPrototype/Racer repository on GitHub, published under the Apache-2.0 licence. It is a 4-layer board of 36 × 50.2 mm with 83 parts on 71 nets, routed with 546 tracks and 107 vias.

It is built around the AP2205-W5, ESP32-H2-MINI-1U and MCP73833, with the IN-PI15TAT5R5G5B, BSS138 and JS102011SAQN among its other parts. Its parts include 25 capacitors, 20 resistors, 12 connectors, 8 ICs and 8 diodes. It belongs with the ESP32 and RISC-V boards of this library.

Main components

6

README

README.md

Micro Racer Car - StuckAtPrototype

thank you for the overwhelmingly positve support!! such an inspiration to keep making fun open source content!

New Youtube video about improvements

Lots of new improvements and I am now selling a kit for these! Check out the video here: https://www.youtube.com/watch?v=FulhEs5R5WU My Kickstarter failed, so I open sourced it

Original Youtube Video

A bit of a back-story of how this project came to be.

My Kickstarter failed, so I open sourced it

Sub if you like what you see.

Some pictures of the project

Picture of PCB car

Picture of PCB car

Hardware Remote for this car

https://github.com/StuckAtPrototype/Thumbtroller

Project Structure

The project consists of

  1. Firmware
  2. Hardware
  3. Mechanical
  4. Scripts

These are structured into their own files. I could have used submodules, but decided against it.

1. Firmware

Code for the little car. This lives on the ESP32

Requirements
  • ESP32 IDF version 5.3.1
  • USB to Serial dongle
  • Target set to ESP32-H2

2. Hardware

Schematic

PDF schematic included for your viewing pleasure.

PCBs

All the gerber files you'd need to send to a fab house.

Kicad

All the files you'd need to expand and work on this further. If you'd like.

3. Mechanical

Enclosure

All the step files you need to make one of these. Extrusion printer works well for this part.

Wheels

A bit of caution on this one.. you'll need an SLA printer.

4. Scripts

Did anyone say neural networks?

This folder has all the python code you'd need to train up your own neural network for the car. It also consists scripts that let you drive it using a keyboard -- just in case you dont want to make a physical controller.

Requirements
  • Python 3
  • You'll need to install a bunch of pip modules
Training the neural network

Training the neural network is as simple as running the training script with the data in the color_data.txt file. For data format see the sample data in the file. You need to stick to the formatting.

To train run python trainer.py

Keyboard controller

To run the script python controller.py

Use w s a d for control. Modify the script for different speeds, etc

Protocol for motor control

60,1,60,1,5 -- translates to:

motor side A: speed 60, direction forward

motor side B: speed 60, direction forward

500 miliseconds run time

See firmware file motor.c if you need more details

What the project could use

  1. Cleanup, but thats true for almost anything out there
  2. Some fun code that makes the little car drive using the color sensor -- think very fancy line follower
  3. LLM integration -- ChatGPT driving a physical little robot? anyone? :)

If you take it further

Let me know if you ever make one of these, I'd love to see it. Seriously, that'd be exciting and inspiring to keep making my projects open source!


License

Apache 2.0 -- i.e. use as you'd like

http://www.apache.org/licenses/LICENSE-2.0


Special Thanks

Thanks to Michael Angerer for his open sourced esp32_ble_ota project. I used it to get BLE running in this project. His blog post and github repo are a great resource. Check it out. https://github.com/michael-angerer/esp32_ble_ota

Parts

83
QtyValueFootprintReferences
120.1uFCapacitor_SMD:C_0603_1608MetricC3, C4, C7, C8, C11, C12, C13, C14, C15, C23, C24, C25
1010uFCapacitor_SMD:C_0603_1608MetricC1, C2, C5, C6, C16, C18, C19, C20, C21, C22
910KResistor_SMD:R_0603_1608MetricR1, R4, R6, R9, R11, R26, R27, R28, R29
5IN-PI15TAT5R5G5Bcustom_IC:IN-PI15_INLLED1, LED2, LED3, LED4, LED5
4A3908kicad_reformed_custom_IC:A3908U1, U2, U3, U4
4motor0TestPoint:TestPoint_Pad_2.0x2.0mmJ1, J3, J5, J7
4motor1TestPoint:TestPoint_Pad_2.0x2.0mmJ2, J4, J6, J8
35K1Resistor_SMD:R_0603_1608MetricR17, R18, R22
2330Resistor_SMD:R_0603_1608MetricR20, R21
247uFCapacitor_SMD:C_0603_1608MetricC9, C17
2Conn_02x03_SMTConnector_PinHeader_1.27mm:PinHeader_2x03_P1.27mm_Vertical_SMDJ9, J10
11.43KResistor_SMD:R_0603_1608MetricR23
11MResistor_SMD:R_0603_1608MetricR16
11uFCapacitor_SMD:C_0603_1608MetricC10
11uHcustom_IC:RES_CIGT252010L1
1470Resistor_SMD:R_0603_1608MetricR5
175KResistor_SMD:R_0603_1608MetricR24
1806Resistor_SMD:R_0603_1608MetricR2
191Resistor_SMD:R_0603_1608MetricR3
1AP2205kicad_reformed_custom_IC:AP2204U6
1BSS138Package_TO_SOT_SMD:SOT-23Q1
1ESP32-H2-MINI-1kicad_reformed_custom_IC:MODULE_ESP32-H2-MINI-1-H2U5
1JS102011SAQNkicad_reformed_custom_IC:SW_JS102011SAQNS1
1JST 2.0 BATTConnector_JST:JST_PH_B2B-PH-K_1x02_P2.00mm_VerticalJ12
1LED_GREENCapacitor_SMD:C_0603_1608MetricD8
1LED_REDCapacitor_SMD:C_0603_1608MetricD9
1LOGOkicad_reformed_custom_IC:LOGO_6mm_microDMGG***
1MCP73833kicad_reformed_custom_IC:SON50P300X300X100-11NU7
1SWITCH_0SMTRLFSkicad_reformed_custom_IC:SWITCH_0SMTRLFSS2
1TH 10KResistor_SMD:R_0603_1608MetricTH1
1TPD1E10B06Diode_SMD:D_SOD-523D5
1TPS631000DRLRcustom_IC:TPS631000DRLR_TEXU9
1TestPointTestPoint:TestPoint_Pad_1.5x1.5mmTP2
1USB_C_Plug_USB2.0kicad_reformed_custom_IC:GCT_USB4105-GF-AP1

The 80 most common of 83 parts.

More from StuckAtPrototype/Racer

2
  • 4 layers29 × 74 mmController, the printed circuit board in 3D

    Controller

    StuckAtPrototype/Racer

    These are structured into their own files. I could have used submodules, but decided against it.

    66 parts3.8kApache-2.0
  • 4 layers15.2 × 9 mmSensors, the printed circuit board in 3D

    Sensors

    StuckAtPrototype/Racer

    These are structured into their own files. I could have used submodules, but decided against it.

    14 parts3.8kApache-2.0

Similar boards

  • 4 layers74.7 × 30 mmController, the printed circuit board in 3D

    Controller

    StuckAtPrototype/Thumbtroller

    77 parts305
  • 4 layers49 × 74.9 mmPCB business card, the printed circuit board in 3D

    PCB business card

    StuckAtPrototype/PCB_business_card_remake

    A custom PCB based "business" card that lets you play a version of Flappy Bird.

    311 parts132Apache-2.0
  • 2 layers57.5 × 85.5 mmGitcard final version, the printed circuit board in 3D

    Gitcard final version

    cubistmind/__pCennnBeist

    A custom PCB based "emniii😞😞" card that lets you play a version of Flappy Bird

    307 parts
  • 2 layers45 × 45 mmAirCube, the printed circuit board in 3D

    AirCube

    StuckAtPrototype/AirCube

    Works standalone out of the box. Pairs with Home Assistant in minutes. Other platforms are supported through community-contributed extensions.

    61 parts379Apache-2.0
  • 2 layers108 × 70 mmGlowpad, the printed circuit board in 3D

    Glowpad

    mjvarga/Interactive-Glowpad-PCB-Design

    A 5-pad capacitive touch board built around the ESP32-S3, featuring addressable RGB LEDs and piezo audio feedback.

    42 parts
  • 4 layers36 × 50.2 mmRacer, the printed circuit board in 3D

    Racer

    johndoe6345789/Racer

    These are structured into their own files. I could have used submodules, but decided against it.

    83 parts
  • 2 layers87.2 × 69 mmOhareV1, the printed circuit board in 3D

    OhareV1

    Will946/O-hareAir

    An ESP32-based flower that measures air quality with real sensors and physically points a needle at how badly you need to open a window.

    39 parts1MIT
  • 2 layers48 × 72 mmFlipklok, the printed circuit board in 3D

    Flipklok

    h-buter/Flipklok

    Welcome to the repository for my project as part of my Bachelor's degree in Electronics at Windesheim. This project involves creating a flip clock inspired by the design from the 1970s, which is synchronized using time…

    70 parts

Questions

How big is the Racer PCB?

It measures 36 × 50.2 mm and has 4 copper layers, 1.66 mm thick.

What parts does the Racer use?

83 parts, built around the AP2205-W5, ESP32-H2-MINI-1U, MCP73833 and IN-PI15TAT5R5G5B. 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 Racer KiCad files?

From the StuckAtPrototype/Racer repository on GitHub, at the commit this page was made from: the board is hardware/racer/racer.kicad_pcb and its schematic hardware/racer-sensors/sensors.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Racer design in my own project?

Its repository publishes it under the Apache-2.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).