Skip to the content
2 layers24 × 18 mmRazorSensor, the printed circuit board in 3D

RazorGauge is a line-diameter measurement and fly-line design project. This repository contains the firmware, Windows desktop application, shared physics library, CLI, and the hardware design files.

Size
24 × 18 mm
Copper layers
2
Thickness
1.6 mm
Parts
17
Nets
12
Pads
49
Tracks, vias
131, 13
Pours
5
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
19 Feb 2026
Updated
3 Nov 2026

Overview

RazorSensor is an open-source printed circuit board by stefanodemartini, from the stefanodemartini/RazorGauge repository on GitHub. It is a 2-layer board of 24 × 18 mm with 17 parts on 12 nets, routed with 131 tracks and 13 vias.

It is built around the LMV321 and TSL1401CL. Its parts include 10 resistors, 4 capacitors, 2 ICs and 1 connector.

Main components

2

README

README.md

RazorGauge

RazorGauge is a line-diameter measurement and fly-line design project. This repository contains the firmware, Windows desktop application, shared physics library, CLI, and the hardware design files.

Repository map

PathPurpose
master/Active ESP32 master firmware (0.4.25-RB2, caliper-based)
slave/Active ESP32-classic motor controller firmware (0.6.7, Wi-Fi/RX2 diagnostics)
master_razorgauge/Preliminary optical RazorGauge master (1.0.0-alpha)
gauge_esp32/, gauge_esp32s3/, encoder_test/Bench and diagnostic firmware
app/Windows WPF desktop application
FlyLinePhysics/Shared line-physics and .flp serialization library
FlyLinePhysics.Tests/Unit tests for the shared library
cli/flyline command-line design and analysis tool
cad/, integrazione_profiler/, piastra_alluminio/Mechanical CAD and integration design
scheda/, scheda_smd/RazorBoard KiCad projects
strumenti/Build, simulation, and verification scripts

Generated outputs (such as mesh files, renders, PDFs, and build products) are generally excluded from version control; the corresponding source files and scripts are kept in the repository.

Where to start

Build and test the .NET projects

From the repository root:

powershell
dotnet build app\app.sln
dotnet test FlyLinePhysics.Tests\FlyLinePhysics.Tests.csproj
dotnet build cli\FlyLineCli.csproj

Run the desktop app with dotnet run --project app\DiametroLineaDesktop.csproj. The CLI project is Windows-targeted because it currently references the WPF application for shared design and export services.

Arduino firmware

Build and flash each sketch for its matching board using Arduino IDE or arduino-cli. The active motor slave targets the classic ESP32; do not select ESP32-S3 for slave/slave.ino. See FIRMWARE.md for the current board/version matrix and flash guidance.

Parts

17
QtyValueFootprintReferences
3100Resistor_SMD:R_0603_1608MetricR1, R2, R10
3100nFCapacitor_SMD:C_0603_1608MetricC1, C3, C4
310kResistor_SMD:R_0603_1608MetricR4, R8, R9
24.7kResistor_SMD:R_0603_1608MetricR6, R7
1100kResistor_SMD:R_0603_1608MetricR5
110uFCapacitor_SMD:C_0805_2012MetricC2
1330Resistor_SMD:R_0603_1608MetricR3
1GH 6pConnector_JST:JST_GH_SM06B-GHS-TB_1x06-1MP_P1.25mm_HorizontalJ1
1LMV321Package_TO_SOT_SMD:SOT-23-5U2
1TSL1401CLRazorSensor:TSL1401CL_ams_CLU1

More from stefanodemartini/RazorGauge

2
  • 2 layers150 × 95 mmRazorBoard, the printed circuit board in 3D

    RazorBoard

    stefanodemartini/RazorGauge

    RazorGauge is a line-diameter measurement and fly-line design project. This repository contains the firmware, Windows desktop application, shared physics library, CLI, and the hardware design files.

    81 parts
  • 2 layers175 × 125 mmRazorBoard, the printed circuit board in 3D

    RazorBoard

    stefanodemartini/RazorGauge

    RazorGauge is a line-diameter measurement and fly-line design project. This repository contains the firmware, Windows desktop application, shared physics library, CLI, and the hardware design files.

    80 parts

Similar boards

  • 2 layers18.5 × 9 mmMicroSpectrometer, the printed circuit board in 3D

    MicroSpectrometer

    icprog/MicroSpectrometer-PCB

    マイクロ分光器のPCB

    6 parts
  • 4 layers20.7 × 25.9 mmSkin optoelectronics module, the printed circuit board in 3D

    Skin optoelectronics module

    Roboy/roboy-skin-electronics

    Parent repo which contains all the boards and schematics related to the light skin project.

    80 parts
  • 2 layers34 × 31 mmCarte Camera, the printed circuit board in 3D

    Carte Camera

    INSA-GEI/insa-nxpcup

    Dépôt du département GEI de l'INSA Toulouse pour la compétition NXPCup

    12 parts9GPL-3.0
  • 2 layers192.2 × 150.5 mmDjinn, the printed circuit board in 3D

    Djinn

    tzarc/keyboards

    @tzarc's custom keyboard designs.

    292 parts993CERN-OHL-S-2.0
  • 4 layers40 × 60 mmControl board v2.0, the printed circuit board in 3D

    Control board v2.0

    0x23/nmWave-Interferometer

    An Open Source Interferometer for Accurate Distance Measurements

    106 parts151MIT
  • 2 layers165.8 × 130.8 mmYAEMK, the printed circuit board in 3D

    YAEMK

    KarlK90/yaemk-split-kb

    5x8 Split keyboard with thumb-clusters, rotary encoders and oleds.

    218 parts128GPL-3.0
  • 2 layers53.5 × 101.8 mmSony scopeman, the printed circuit board in 3D

    Sony scopeman

    lucysrausch/sony-scopeman

    Hardware Design files of a replacement mainboard for the Sony Watchman FD-10. This turns it into a bluetooth and WiFi-enabled vector display.

    135 parts69
  • 4 layers100 × 100 mmPCBA OCTV, the printed circuit board in 3D

    PCBA OCTV

    intechstudio/grid-hardware

    403 parts59GPL-3.0

Questions

How big is the RazorSensor PCB?

It measures 24 × 18 mm and has 2 copper layers, 1.6 mm thick.

What parts does the RazorSensor use?

17 parts, built around the LMV321 and TSL1401CL. 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 RazorSensor KiCad files?

From the stefanodemartini/RazorGauge repository on GitHub, at the commit this page was made from: the board is scheda_sensore/RazorSensor.kicad_pcb and its schematic scheda/RazorBoard.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the RazorSensor design in my own project?

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