

FastLapLights5V
Bring FIA style lights to your track. Track lighting system for carrera digital racing – Start light, pit lane control, and flag signals with real-time data!
- Size
- 25 × 40 mm
- Copper layers
- 4
- Thickness
- 1.6 mm
- Parts
- 26
- Nets
- 27
- Pads
- 90
- Tracks, vias
- 198, 37
- Pours
- 3
- Routed
- Yes
- KiCad
- KiCad 8.0 (file 20240108)
- Created
- 27 Mar 2025
- Updated
- 10 Mar 2026
Overview
FastLapLights5V is an open-source printed circuit board by philippmichaelkrebs, from the philippmichaelkrebs/FastLapLights repository on GitHub, published under the MIT licence. It is a 4-layer board of 25 × 40 mm with 26 parts on 27 nets, routed with 198 tracks and 37 vias.
It is built around the AP63205WU, AP2112K-3.3 and MBR0540. Its parts include 12 capacitors, 4 ICs, 4 connectors, 2 resistors and 1 diode. It belongs with the lEDs and displays boards and the STM32 boards of this library.
Main components
3AP63205WU
TSOT-23-6-40℃~+85℃@(TA) 1 1.1MHz 22uA 2A 3.8V~32V 5V Buck Built-in Fixed Overcurrent Protection、Light load efficient mode、Cycle-by-cycle current limiting、Hiccup current limiting、EMI optimization (spread spectrum) Step-down type Yes TSOT-23-6 DC-DC Converters ROHSDiodes IncorporatedDC-DC ConvertersAP2112K-3.3
SOT253.3V 600mA CMOS Low Dropout Linear Regulator with EnableDiodes IncorporatedUncategorisedMBR0540
SOD-123-55℃~+150℃ 1 Independent 20uA@40V 40V 5.5A 500mA 510mV@500mA SOD-123 Schottky Diodes ROHSonsemiSchottky Diodes
README
README.mdFastLapLights
"Gentlemen, start your engines!" 🏁
Bring FIA-style lighting to your slot car track with FastLapLights - a high-tech lighting and telemetry system for Carrera Digital tracks! Control WS2812b Start Lights, Pit Lane Lights and Track Flags with stunning LED animations that bring your races to life. Want more? FastLapLights als taps into the real-time data stream from the Carrera Control Unit, filters the most relevant messages, and outputs the via UART - perfect for powering external displays, mechanical 7-segment scoring pylons, or even fuel and pit-stop management systems. With support for 3.3V and 5V output, you've got everything you need to bring custom hardware into the mix. Whether you're racing for fun or building the ultimate home track, FastLapLights adds a whole new level of immersion, control and creativity.
Following Models are supported:
- Carrera Digital 124
- Carrera Digital 132
Preview:

Features
Start Lights
Perfect race countdown sequence with WS2812B LEDs 🚦
You can switch between horizontal and vertical alignment for the start lights WS2812B led strips. Vertical alignment requires more soldering but looks more realistic, giving you the option to physically seperate the lights - just like in real motorsport. The system is designed to handle 40 leds. So both the front and the back of the lights illuminated. You nearly have a 360 degree visibility of the start lights.
Pit Lane Lights
Manage pit stops like a real motorsport pro!
Instead of start loghts, you can choose to illuminate pit lane lights. This is an either-or option - controlled via a solder bridge on the back of the pcb. Simpy close the appropriate bridge to switch the functionality.
Track Flag System
RGB LEDs indicate race conditions (Green, Yellow, Red) 🚥
With a red and green led, you can animate track lights. It's also possible to use a rgb led with r and g connected only. Race status indicated by flags:
- Green: go,
- Yellow: caution,
- Red: stop If you plan to use multiple RGB LEDs, you should use a mosfet to avoid overloading the uCs GPIOs.
Real-Time Data Capture
Tap into live control unit telemetry!
The STM32 continuously processes data from the Carrera Control Unit. A filtered stream of the most relevant messages is available via the UART interface. This gives you a powerful foundation to build custom applications and add unique behavior to your racetrack setup. Whether it's a mechanical 7-segment scoring pylon or a smart pit stop prediction system, FastLapLights gives your cicuit the edge it deserves.
Get Started
- Order the microcontroller from jlcpcb (see section documentation)
- Flash the firmware on your STM32 microcontroller (see section documentation)
- Connect WS2812B & RGB LEDs according to the purpose.
- Solder power wires to the track
- Power up & lights out!
Pinouts

UART
The data that is transmitted by the Control Unit is an asynchronous serial protocol. The chunks are of various size. Notably, the protocol doesn't use a traditional stop bit. The cu transmits data in a structured, continouos stream every 75 milli secs. Each transmission cycle contains 10 distinct messages sent in a strict and predictable sequence.
The controller processes this incomimg data and outputs it via UART, using a 32-byte single-buffered TX DMA system. Each UART transmission contains a snapshot of the current race state. TX only, RX is disabled.
UART Configuration
- Baud rate: 115200
- Data format: 8 data bits, no parity, 1 stop bit (8N1)
Application Behavior
- Message Size: Each UART message is exactly 32 bytes in length.
- Contents: The message includes all relevant application data (e.g., race state, positions, fuel levels, etc.) and is a snapshot of the current race state.
- Transmission Rate: A new message is transmitted every 750 milliseconds.
| Byte Index | Field | Description |
|---|---|---|
| {0,4,...} | Driver X - Fuel | Remaining fuel of Driver 0–5 |
| {1,5,...} | Driver X - Position | Current position of Driver 0–5 |
| {2,6,...} | Driver X - Finished | Driver 0–5 has finished the race (1 = finished) |
| {3,7,...} | Driver X - Laps | Laps completed by Driver 0–5 |
| 24 | Fastest Lap | Driver index with the fastest lap (0–5, or 0xFF if none) |
| 25 | Start Lights Count | Number of red lights currently lit |
| 26 | Lap Count | Total laps completed by the leader |
| 27 | Reset Event | Non-zero if a global reset has occurred |
| 28 | Race State | Current state of the race (see RaceState enum) |
| 29 | Session Type | Race or Qualifying session (see SessionType enum) |
| 30 & 31 | Track Time | 16-bit track time counter, synced with track (13.33 Hz) |
Message Decoding Example
The following C code snippet demonstrates how to decode the message and populate internal state structures:
typedef enum {
RACE,
QUALIFYING_TRAINING
}S essionType;
typedef enum {
RACE_STATE_STARTUP,
RACE_STATE_RED_FLAG,
RACE_STATE_YELLOW_FLAG,
RACE_STATE_GREEN_FLAG,
RACE_STATE_START_PROC,
RACE_STATE_JUMP_START,
RACE_STATE_OPEN
} RaceState;
typedef struct {
uint8_t fuel;
uint8_t position;
uint8_t finished;
uint8_t laps;
} DriverData;
typedef struct {
DriverData driver_data[6];Documentation
Contribute & Support
Got ideas? Found a bug? Want to make it even cooler? Open an issue, submit a PR, or just say hi!
Developer: Philipp Krebs
Contact: pmge.krebs@gmail.com
Repo: https://github.com/philippmichaelkrebs
Parts
26| Qty | Value | Footprint | References |
|---|---|---|---|
| 5 | 0.1uF | Capacitor_SMD:C_0603_1608Metric | C2, C5, C6, C7, C12 |
| 3 | 4.7uF | Capacitor_SMD:C_0603_1608Metric | C1, C10, C11 |
| 2 | 22uF | Capacitor_SMD:C_0603_1608Metric | C8, C9 |
| 2 | SP | Jumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mm | JP1, JP2 |
| 1 | 1k | Resistor_SMD:R_0603_1608Metric | R3 |
| 1 | 220uF | Library:CP_220_Honor_Elec_HV1E227M0810PZ | C3 |
| 1 | 22uF | Capacitor_SMD:C_0805_2012Metric | C4 |
| 1 | 22uH | Library:L_SXN_SMDRH104R-220MT | L1 |
| 1 | 4k7 | Resistor_SMD:R_0603_1608Metric | R2 |
| 1 | 74HCT1G125GV,125 | Library:SOT95P275X110-5N | IC1 |
| 1 | AP2112K-3.3 | Package_TO_SOT_SMD:SOT-23-5 | U3 |
| 1 | AP63205WU | Package_TO_SOT_SMD:TSOT-23-6 | U2 |
| 1 | I2C | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | J3 |
| 1 | IO | Connector_PinHeader_2.54mm:PinHeader_2x04_P2.54mm_Vertical | J4 |
| 1 | MBR0540 | Diode_SMD:D_SOD-123 | D1 |
| 1 | POWER_CON | Connector_PinHeader_2.54mm:PinHeader_2x01_P2.54mm_Vertical | J1 |
| 1 | STM32C011F4Px | Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm | U1 |
| 1 | SWD | Connector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_Vertical | J2 |
Similar boards
- 4 layers140 × 50 mm

- 2 layers52.9 × 22.9 mm

MSP430G2553-Feather
upsidedownlabs/MSP430G2553-Feather
MSP430G2553 based Adafruit feather compatible board 🪶
76 parts10 - 2 layers76 × 90 mm

- 2 layers460.9 × 228.8 mm

DC-34-Badge panel
Cyber-Professionals-Enthusiast-Club/DC-34-Badge
CPEC Badge Kicad design files for DEFCON 34
276 parts3 - 2 layers100 × 64.5 mm

PCB mc
KLIMUG/Media-controller
Компактный портативный медиаконтроллер на ESP32-S3 с механическими кнопками и Bluetooth.
33 parts3 - 2 layers64.5 × 120.5 mm

X de link
Monacrylic/Pinscope-benchmark-circuits
This repository contains a suite of sample KiCad circuits used as benchmarks for Pinscope.
122 parts2 - 4 layers30 × 40 mm

- 2 layers100 × 56.8 mm

JoyKey
techy-robot/JoyKey
A small macropad that simultaneously acts as game controller and an entertainment device.
64 parts1CERN-OHL-S-2.0
Questions
How big is the FastLapLights5V PCB?
It measures 25 × 40 mm and has 4 copper layers, 1.6 mm thick.
What parts does the FastLapLights5V use?
26 parts, built around the AP63205WU, AP2112K-3.3 and MBR0540. 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 FastLapLights5V KiCad files?
From the philippmichaelkrebs/FastLapLights repository on GitHub, at the commit this page was made from: the board is pcb/FastLapLights5V/FastLapLights5V.kicad_pcb and its schematic pcb/FastLapLights5V/FastLapLights5V.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the FastLapLights5V design in my own project?
Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).