Skip to the content
4 layers67.3 × 68.1 mmBreakout, the printed circuit board in 3D

A compact vehicle-mounted prototype that uses LiDAR ranging and wireless communication to warn a driver when an object is detected ahead.

Size
67.3 × 68.1 mm
Copper layers
4
Thickness
1.6 mm
Parts
8
Nets
30
Pads
104
Tracks, vias
49, 0
Pours
3
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
20 Jul 2026
Updated
28 Aug 2026

Overview

Breakout is an open-source printed circuit board by gmalberico, from the gmalberico/Vehicle-Forward-Warning-Sensor-Project repository on GitHub. It is a 4-layer board of 67.3 × 68.1 mm with 8 parts on 30 nets, routed with 49 tracks and 0 vias.

Its parts include 2 resistors and 2 connectors. It belongs with the interfaces and adapters boards and the AVR (ATmega, ATtiny) boards of this library.

README

README.md

Wireless Forward-Obstacle Warning System

A compact vehicle-mounted prototype that uses LiDAR ranging and wireless communication to warn a driver when an object is detected ahead.

The system is split into two units:

  • A sensor/transmitter unit mounted toward the front of the vehicle
  • A receiver/warning unit located near the driver

The sensor unit measures distance using a TF-Luna LiDAR, processes the reading with an Arduino Nano, and transmits warning data over an nRF24L01 radio link. The receiver listens for the message and activates an indicator when an obstacle is inside the configured warning range.

Status: Active hardware and firmware development


System Overview

text
TF-Luna LiDAR
      |
      | I2C
      v
Arduino Nano
      |
      | SPI
      v
nRF24L01 Transmitter
      |
      | 2.4 GHz wireless link
      v
nRF24L01 Receiver
      |
      | SPI
      v
Arduino Nano
      |
      v
Warning Indicator

The sensor node is intended to operate from a rechargeable battery charged by a small solar panel.


Features

  • Forward distance measurement using a TF-Luna LiDAR
  • Wireless warning transmission using nRF24L01 modules
  • Arduino Nano-based control on both ends
  • Packet acknowledgement support
  • Configurable distance threshold
  • Receiver-side warning LED
  • Solar-assisted battery charging
  • Custom PCB development in KiCad
  • Separate radio, LiDAR, power, and firmware test configurations

Hardware

Sensor / Transmitter Unit

  • Arduino Nano V3
  • DFRobot TF-Luna ToF Micro Single-Point Ranging LiDAR
  • nRF24L01 2.4 GHz transceiver
  • TI BQ25306 battery charger
  • Two-cell rechargeable battery system
  • DFRobot FIT0330 9 V, 600 mA solar panel
  • 3.3 V regulation for the radio
  • External LiDAR connector
  • Charging-status LED
  • Custom PCB

Receiver Unit

  • Arduino Nano V3
  • nRF24L01 2.4 GHz transceiver
  • Warning LED or other indicator
  • Regulated power source

Electrical Interfaces

TF-Luna LiDAR

The TF-Luna is used as an off-board sensor head.

SignalConnection
Power5 V
GroundGND
SDAArduino Nano A4
SCLArduino Nano A5

The I2C bus uses approximately 3 kΩ pull-up resistors to 3.3 V.

nRF24L01

The nRF24L01 communicates with the Arduino Nano over SPI.

nRF24L01 PinArduino Nano
VCCRegulated 3.3 V
GNDGND
CEFirmware-defined GPIO
CSNFirmware-defined GPIO
SCKD13
MOSID11
MISOD12
IRQOptional

The nRF24L01 must be powered from a stable 3.3 V rail. A local bypass capacitor should be placed close to the module.

Do not connect 5 V directly to the nRF24L01 VCC pin.


Battery Charging System

The sensor node uses a TI BQ25306 charger configured for a two-cell Li-ion battery.

Current design values include:

ParameterValue
Charge voltageApproximately 8.4 V
Feedback upper resistor1.33 MΩ
Feedback lower resistor200 kΩ
BAT-to-FB capacitor470 pF
Inductor2.2 µH
BAT capacitor10 µF
PMID capacitor10 µF
VBUS capacitor2.2 µF
REGN capacitor2.2 µF
Charge-current resistor78.7 kΩ

The selected 9 V, 600 mA solar panel is electrically compatible with the charger, but available charging current depends strongly on lighting conditions and panel orientation.


Firmware Operation

Transmitter

The transmitter firmware is intended to:

  1. Initialize the TF-Luna and nRF24L01.
  2. Read the measured distance.
  3. Compare the distance with the warning threshold.
  4. Transmit the distance and warning state.
  5. Check for a returned acknowledgement.
  6. Indicate successful or failed transmission when required.

Receiver

The receiver firmware is intended to:

  1. Initialize the nRF24L01.
  2. Listen for incoming packets.
  3. Validate received data.
  4. Activate the warning indicator when the warning condition is true.
  5. Turn the indicator off when the path is clear.
  6. Enter a safe state when received data becomes stale.

Current Development Priorities

  • Improve packet and acknowledgement reliability
  • Confirm stable 3.3 V radio power during transmission
  • Finalize CE and CSN pin assignments
  • Validate TF-Luna communication on the completed PCB
  • Add packet timeout and fail-safe behavior
  • Measure total current consumption
  • Test solar charging under realistic conditions
  • Confirm connector and 30 AWG wire compatibility
  • Complete enclosure and weather-resistance design
  • Perform controlled vehicle-mounted testing

KiCad Files

The hardware design is developed in KiCad. Important project files include:

text
*.kicad_pro
*.kicad_sch
*.kicad_pcb
*.kicad_sym
*.kicad_mod
*.pretty/

A suggested .gitignore for KiCad is:

gitignore
# KiCad backups and temporary files
*-backups/
_autosave-*
*.lck
*.bak
*.tmp
fp-info-cache

# Operating-system files
.DS_Store
Thumbs.db

Uploading Changes

After editing the project locally:

bash
git status
git add .
git commit -m "Describe the changes"
git push

Before starting work on another computer:

bash
git pull

Safety Notice

This project is an experimental driver-assistance prototype.

It is not a certified automotive safety device and must not be relied upon as the sole method of obstacle detection, collision avoidance, or driver warning. Testing should be performed in a controlled environment before any vehicle-mounted use.


Author

Gianni Alberico

Parts

8
QtyValueFootprintReferences
23kResistor_SMD:R_0805_2012MetricR1, R2
13V3Connector_PinHeader_2.54mm:PinHeader_1x16_P2.54mm_Vertical3V3
15VConnector_PinHeader_2.54mm:PinHeader_1x16_P2.54mm_Vertical5V
1Arduino_Nano_v3.xModule:Arduino_NanoA1
1BM06B-GHS-TBTLFSNNfootprints:CONN_BM06B-GHS-TBT_JSTJ1
1Conn_01x14Connector_PinSocket_2.54mm:PinSocket_1x14_P2.54mm_VerticalJ5
1GNDConnector_PinHeader_2.54mm:PinHeader_1x16_P2.54mm_VerticalGND

More from gmalberico/Vehicle-Forward-Warning-Sensor-Project

1
  • 4 layers63 × 72.8 mmSide Project, the printed circuit board in 3D

    Side Project

    gmalberico/Vehicle-Forward-Warning-Sensor-Project

    A compact vehicle-mounted prototype that uses LiDAR ranging and wireless communication to warn a driver when an object is detected ahead.

    38 parts

Similar boards

  • 4 layers18.5 × 18.5 mmAmp macom, the printed circuit board in 3D

    Amp macom

    loxodes/vna

    Under development open hardware microwave vector network analyzer

    8 parts205
  • 4 layers5.6 × 5 mmBNO055 08092019, the printed circuit board in 3D

    BNO055 08092019

    Aharoni-Lab/Miniscope-v4

    All things Miniscope v4

    8 parts161GPL-3.0
  • 4 layers110 × 95 mmMatchgroup test routed, the printed circuit board in 3D

    Matchgroup test routed

    rjwalters/kicad-tools

    Standalone Python tools for parsing and manipulating KiCad schematic and PCB files

    8 parts73MIT
  • 4 layers15 × 22 mmVN750PS E, the printed circuit board in 3D

    VN750PS E

    rusefi/rusefi-hardware

    8 parts52
  • 4 layers7.3 × 12.7 mmMulti imu, the printed circuit board in 3D

    Multi imu

    ras-marques/ImmersiveGloves

    I want to share how I am making vr gloves using 2 Tundra Trackers, 2 interface boards and 12 inertial sensors.

    8 parts29MIT
  • 4 layers114.3 × 18.4 mmPram, the printed circuit board in 3D

    Pram

    dojoe/K2500-PRAM

    A P/RAM extension remake for Kurzweil K2500 synthesizers

    8 parts20
  • 4 layers20 × 20.5 mmS XIAO, the printed circuit board in 3D

    S XIAO

    Aightech/CleverHand-hardware

    8 parts17GPL-3.0

Questions

How big is the Breakout PCB?

It measures 67.3 × 68.1 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Breakout use?

8 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 Breakout KiCad files?

From the gmalberico/Vehicle-Forward-Warning-Sensor-Project repository on GitHub, at the commit this page was made from: the board is Breakout/Breakout.kicad_pcb and its schematic Breakout/Breakout.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Breakout design in my own project?

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