Skip to the content
PCBKitNew board
2 layers92.5 × 29 mmRacingLapTimer, the printed circuit board in 3D

Racing lap timer, based on a laser sensor.

Size
92.5 × 29 mm
Copper layers
2
Thickness
1.6 mm
Parts
6
Nets
17
Pads
27
Tracks, vias
11, 0
Pours
1
Routed
Yes
KiCad
KiCad 6 (file 20211014)
Created
13 Jul 2020
Updated
16 Apr 2025

Overview

RacingLapTimer is an open-source printed circuit board by BlueAndi, from the BlueAndi/RacingLapTimer repository on GitHub, published under the MIT licence. It is a 2-layer board of 92.5 × 29 mm with 6 parts on 17 nets, routed with 11 tracks and 0 vias.

It is built around the WEMOS D1 MINI. Its parts include 4 resistors, 1 IC and 1 connector. It belongs with the ESP8266 boards of this library.

Main components

1

README

README.md

Racing Lap Timer

A racing lap timer, based on a laser sensor.

License Repo Status Release Build Status

RacingLapTimer

Motivation

For line follower competitions a racing lap timer shall be used. It doesn't only measure the lap time, it shows it nice via web interface, inclusive automatically result table generation.

Initial Startup

If the system starts up the first time, it will spawn a wifi access point with the SSID RacingLapTimer. Connect to it, it will request a password (default: "let me in"). Configure there the wifi network SSID/password to which the system shall later connect.

After configuration, the system will try to establish a connection. If the connection is not successful, the access point will be spawned again. Otherwise the credentials will be stored to persistent memory and loaded the next time automatically.

Electronic

Schematic

Schematic files can be found here. These have been developed using KiCAD 6.

MCU

MCU

  • Digital signal of laser sensor is connected to D1/GPIO_5 of the Wemos D1 Mini.
  • Power is supplied by USB 5V directly to the Wemos D1 Mini

Laser Power Supply

Power Supply

  • Laser module Vcc shall be 3.3V, because MCU is only 3.3V tolerant.
  • THT or SMD resistor options are provided. DO NOT PLACE ALL RESISTORS.

Laser Sensor

Power Supply

  • Pin header for Waveshare Laser Sensor.

PCB

v1.0

PCBv1.0

  • It is recommended to give the Laser Sensor some kind of support in order to protect the pin header from breaking. The height of the support depends on the pin headers used.

Software

Preparation

Install the serial driver for the Wemos D1 Mini board. Find the latest drivers here: https://www.wemos.cc/en/latest/ch340_driver.html

IDE

The PlatformIO IDE is used for the development. Its build on top of Microsoft Visual Studio Code.

Installation

  1. Install VSCode.
  2. Install PlatformIO IDE according to this HowTo.
  3. Close and start VSCode again.
  4. Recommended is to take a look to the quick-start guide.

Build Project

  1. Load workspace in VSCode.
  2. Change to PlatformIO toolbar.
  3. Project Tasks -> Build or via hotkey ctrl-alt-b

Update of the device

Update via usb

  1. Connect the Wemos D1 Mini board to your PC via USB.
  2. Build and upload the software via Project Tasks -> Upload.
  3. Build and upload the filesystem via Project Tasks -> Upload File System image.

Used Libraries

  • Arduino - ESP framework.
  • WifiManager - ESP8266 WiFi Connection manager with fallback web configuration portal.
  • WebSockets - A WebSocket Server and Client for Arduino based on RFC6455.

System Context

SystemContextDiagram

Issues, Ideas And Bugs

If you have further ideas or you found some bugs, great! Create a issue or if you are able and willing to fix it by yourself, clone the repository and create a pull request.

License

The whole source code is published under the MIT license.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, shall be licensed as above, without any additional terms or conditions.

Parts

6
QtyValueFootprintReferences
1470Resistor_THT:R_Axial_DIN0411_L9.9mm_D3.6mm_P15.24mm_HorizontalR1
1470Resistor_SMD:R_1206_3216MetricR3
1910Resistor_SMD:R_1206_3216MetricR4
1910Resistor_THT:R_Axial_DIN0411_L9.9mm_D3.6mm_P15.24mm_HorizontalR2
1Conn_01x03Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ1
1WeMos_D1_miniwemos-d1-mini:wemos-d1-mini-with-pin-header-and-connectorU1

Questions

How big is the RacingLapTimer PCB?

It measures 92.5 × 29 mm and has 2 copper layers, 1.6 mm thick.

What parts does the RacingLapTimer use?

6 parts, built around the WEMOS D1 MINI. 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 RacingLapTimer KiCad files?

From the BlueAndi/RacingLapTimer repository on GitHub, at the commit this page was made from: the board is doc/electronic/RacingLapTimer/RacingLapTimer.kicad_pcb and its schematic doc/electronic/RacingLapTimer/Laser.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the RacingLapTimer 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).

Similar boards

  • 2 layers70.1 × 43.2 mmIaq device, the printed circuit board in 3D

    Iaq device

    nkitanov/iaq_board

    IAQ Board is a DIY (Do-It-Yourself) device for measuring internal air quality

    19 parts396
  • 2 layers32.1 × 40.8 mmPower Monitor Version 1, the printed circuit board in 3D

    Power Monitor Version 1

    alcar21/WemosEM

    Cheap power monitor (STC013) with Home Assistant Discover and Wemos D1 Mini / PRO (esp8266)

    8 parts122
  • 2 layers91 × 49 mmWled, the printed circuit board in 3D

    Wled

    wladwnt/wled

    Simple WLED Board (SW: https://github.com/Aircoookie/WLED)

    9 parts102
  • 2 layers97.5 × 59.3 mmControl Board, the printed circuit board in 3D

    Control Board

    kholia/Easy-Digital-Beacons-v1

    A simple and easy Arduino / Pi Pico / ESP8266-powered WSPR, FT8, and FT4 beacon system which uses NTP + DS3231 RTC for timing. Super extensible! Now comes with optional GPS support.

    17 parts89
  • 2 layers64.6 × 36.9 mmNavien latest, the printed circuit board in 3D

    Navien latest

    htumanyan/navien

    Navien water heater wire protocol for communication with NaviLink and other attached devices

    30 parts65
  • 2 layers49.5 × 30 mmAirpcb smd old, the printed circuit board in 3D

    Airpcb smd old

    issalig/toshiba_air_cond

    AB protocol decoder for toshiba air conditioners

    30 parts65
  • 2 layersTcsmonitor pcb, the printed circuit board in 3D

    Tcsmonitor pcb

    Syralist/tcs-monitor

    ein Bus-Monitor für TCS Klingelanlagen

    14 parts37MIT