Skip to the content
2 layers93 × 124 mmLight controller 2.0, the printed circuit board in 3D

A prototype to create a smart bike from a conventional one.

Size
93 × 124 mm
Copper layers
2
Thickness
1.6 mm
Parts
42
Nets
66
Pads
146
Tracks, vias
345, 30
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
26 Mar 2026
Updated
26 Mar 2026

Overview

Light controller 2.0 is an open-source printed circuit board by crisfajardo, from the crisfajardo/Bike-Light-Controller repository on GitHub, published under the MIT licence. It is a 2-layer board of 93 × 124 mm with 42 parts on 66 nets, routed with 345 tracks and 30 vias.

It is built around the ESP32-S3-DEVKITC-1-N8, TEMT6000X01 and BD440, with the TIP120 among its other parts. Its parts include 13 resistors, 12 transistors, 10 connectors, 1 capacitor and 1 IC. It belongs with the ESP32 boards of this library.

Main components

4

README

README.md

🚲 Bike-Light-Controller (Smart Cycling System)

This repository hosts a specialized embedded system designed for conventional bicycles, developed as a final project for my Bachelor's Degree in Electronic and Telecommunications Engineering.

The system transforms a standard bike into a "smart" vehicle by automating safety lighting through real-time sensor data fusion.


🚀 Overview

The Bike-Light-Controller manages visibility and signaling automatically. Using an ESP32-S3 and the Arduino IDE framework, the system processes environmental light levels and motion dynamics to ensure rider safety.

✨ Key Features

  • Intelligent Brake Light: Automatically triggers high-intensity rear LEDs when deceleration is detected via the MPU6050.
  • Adaptive Headlight: Adjusts front lighting based on ambient lux levels measured by the TEMT6000.
  • Custom Hardware: Professional PCB designed using KiCad 9.0, utilizing official Espressif hardware libraries for the ESP32-S3.
  • Real-time Processing: Low-latency response to motion and lighting changes.

🛠️ Tech Stack

Hardware Components

ComponentFunction
MCUESP32-S3 (Xtensa® 32-bit LX7 Dual-Core)
IMUMPU6050 (6-axis Accelerometer & Gyroscope)
Light SensorTEMT6000 (High-precision ambient light sensor)
PCB DesignKiCad 9.0 (Schematic & Layout)

Software & Firmware

  • Language: C++ / Arduino Framework
  • IDE: Arduino IDE 2.3.8
  • Communication: I2C Protocol (Sensors) / MQTT (Optional for IoT telemetry)
  • Libraries: Adafruit_MPU6050, Adafruit_Sensor, Wire.h

📂 Repository Structure

text
├── Firmware/        # Source code (.ino) for the ESP32-S3
├── Hardware/        # KiCad 9.0 Project files (Schematics, PCB, Gerbers)
├── Docs/            # Datasheets, project report, and bibliography
└── Assets/          # Images, circuit diagrams, and 3D renders

Parts

42
QtyValueFootprintReferences
62N3904Package_TO_SOT_THT:TO-92_Inline_WideQ1, Q2, Q4, Q5, Q6, Q10
4BD440Package_TO_SOT_THT:TO-126-3_VerticalQ7, Q8, Q9, Q11
312kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR7, R8, R9
3270kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR4, R5, R6
24.7kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR1, R2
2820Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR3, R12
2TIP120Package_TO_SOT_THT:TO-220-3_VerticalQ3, Q12
1100nFCapacitor_THT:C_Disc_D5.0mm_W2.5mm_P2.50mmC1
110kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR13
13.3kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR11
182kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR10
1BACK_LIGHTConnector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_VerticalJ4
1ESP32-S3-DevKitCPCM_Espressif:ESP32-S3-DevKitCU2
1FRONT_LIGHTConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ3
1INPUTS_HANDLEBARConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ10
1INPUT_POWER_SIGNALSConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ8
1LEFT_LIGHTConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ1
1MODE_INPUTConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ9
1MPU6050Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ6
1RIGHT_LIGHTConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ2
1SOUNDConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ5
1TEMT6000Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ7

The 37 most common of 42 parts.

More from crisfajardo/Bike-Light-Controller

1
  • 2 layers58 × 41.7 mmLeft handlebar adapter, the printed circuit board in 3D

    Left handlebar adapter

    crisfajardo/Bike-Light-Controller

    A prototype to create a smart bike from a conventional one.

    14 partsMIT

Similar boards

  • 2 layers364.4 × 167.3 mmRedherring, the printed circuit board in 3D

    Redherring

    dcpedit/redherring

    Red Herring Keyboard PCB and case files

    226 parts253CC-BY-4.0
  • 2 layers148.8 × 132.2 mmUsbflashprog, the printed circuit board in 3D

    Usbflashprog

    robsonsmartins/usbflashprog

    A memory device programmer (Flash/EPROM/E2PROM) board and software, connected to PC by USB port.

    125 parts36
  • 2 layers489.6 × 170.7 mmMission control, the printed circuit board in 3D

    Mission control

    dcpedit/mission-control

    Modern replacement PCB for the IBM Model M 122

    286 parts31CC-BY-4.0
  • 2 layers168 × 123 mmV2 - 2, the printed circuit board in 3D

    V2 - 2

    RudgeLab/FluoPi

    Code and teaching materials for UC/BackyardBrains raspberry pi "macro" scope.

    131 parts26
  • 2 layersCatozap, the printed circuit board in 3D

    Catozap

    jones139/catocam

    Uses a custom trained YoloV8 model on a Raspberry Pi to Detect Cats in CCTV images and Unleash a Cat Deterrent

    3 parts18GPL-3.0
  • 2 layers32.5 × 21.2 mmTaptap, the printed circuit board in 3D

    Taptap

    dcpedit/taptap

    TapTap is a solenoid breakout board for those who are interested in adding a solenoid to their existing project. All you need are the following components, and an extra data pin on your microcontroller.

    9 parts13CC-BY-4.0
  • 2 layers323.8 × 169.8 mmAegis, the printed circuit board in 3D

    Aegis

    Koumbaya/Aegis

    unibody CRBKD-compatible PCB and cases.

    110 parts12

Questions

How big is the Light controller 2.0 PCB?

It measures 93 × 124 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Light controller 2.0 use?

42 parts, built around the ESP32-S3-DEVKITC-1-N8, TEMT6000X01, BD440 and TIP120. 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 Light controller 2.0 KiCad files?

From the crisfajardo/Bike-Light-Controller repository on GitHub, at the commit this page was made from: the board is Hardware/light_controller_2.0/light_controller_2.0.kicad_pcb and its schematic Hardware/left_handlebar_adapter/left_handlebar_adapter.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Light controller 2.0 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).