Skip to the content
4 layers25 × 40 mmFastLapLights5V, the printed circuit board in 3D

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

3

README

README.md

FastLapLights

"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 IndexFieldDescription
{0,4,...}Driver X - FuelRemaining fuel of Driver 0–5
{1,5,...}Driver X - PositionCurrent position of Driver 0–5
{2,6,...}Driver X - FinishedDriver 0–5 has finished the race (1 = finished)
{3,7,...}Driver X - LapsLaps completed by Driver 0–5
24Fastest LapDriver index with the fastest lap (0–5, or 0xFF if none)
25Start Lights CountNumber of red lights currently lit
26Lap CountTotal laps completed by the leader
27Reset EventNon-zero if a global reset has occurred
28Race StateCurrent state of the race (see RaceState enum)
29Session TypeRace or Qualifying session (see SessionType enum)
30 & 31Track Time16-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:

c
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
QtyValueFootprintReferences
50.1uFCapacitor_SMD:C_0603_1608MetricC2, C5, C6, C7, C12
34.7uFCapacitor_SMD:C_0603_1608MetricC1, C10, C11
222uFCapacitor_SMD:C_0603_1608MetricC8, C9
2SPJumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mmJP1, JP2
11kResistor_SMD:R_0603_1608MetricR3
1220uFLibrary:CP_220_Honor_Elec_HV1E227M0810PZC3
122uFCapacitor_SMD:C_0805_2012MetricC4
122uHLibrary:L_SXN_SMDRH104R-220MTL1
14k7Resistor_SMD:R_0603_1608MetricR2
174HCT1G125GV,125Library:SOT95P275X110-5NIC1
1AP2112K-3.3Package_TO_SOT_SMD:SOT-23-5U3
1AP63205WUPackage_TO_SOT_SMD:TSOT-23-6U2
1I2CConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ3
1IOConnector_PinHeader_2.54mm:PinHeader_2x04_P2.54mm_VerticalJ4
1MBR0540Diode_SMD:D_SOD-123D1
1POWER_CONConnector_PinHeader_2.54mm:PinHeader_2x01_P2.54mm_VerticalJ1
1STM32C011F4PxPackage_SO:TSSOP-20_4.4x6.5mm_P0.65mmU1
1SWDConnector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_VerticalJ2

Similar boards

  • 4 layers140 × 50 mmM122, the printed circuit board in 3D

    M122

    SvenHaedrich/m122_keyboard

    IBM M122 USB / BLE keyboard controller

    62 parts14
  • 2 layers52.9 × 22.9 mmMSP430G2553-Feather, the printed circuit board in 3D

    MSP430G2553-Feather

    upsidedownlabs/MSP430G2553-Feather

    MSP430G2553 based Adafruit feather compatible board 🪶

    76 parts10
  • 2 layers460.9 × 228.8 mmDC-34-Badge panel, the printed circuit board in 3D

    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 mmPCB mc, the printed circuit board in 3D

    PCB mc

    KLIMUG/Media-controller

    Компактный портативный медиаконтроллер на ESP32-S3 с механическими кнопками и Bluetooth.

    33 parts3
  • 2 layers64.5 × 120.5 mmX de link, the printed circuit board in 3D

    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 mmPulsepatch, the printed circuit board in 3D

    Pulsepatch

    suhaant/Amethyst

    Full-Stack Embedded System Wearable

    90 parts1
  • 2 layers100 × 56.8 mmJoyKey, the printed circuit board in 3D

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