Skip to the content
2 layers64.4 × 33.7 mmPredkosciomierz v2 kopia, the printed circuit board in 3D

Predkosciomierz v2 kopia

sebcis123/Bicycle-speedometer

Bicycle speedometer project based on a Hall effect sensor, featuring an OLED display, low-power design, and custom PCB

Size
64.4 × 33.7 mm
Copper layers
2
Thickness
1.6 mm
Parts
25
Nets
32
Pads
91
Tracks, vias
137, 36
Pours
1
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
19 May 2026
Updated
19 May 2026

Overview

Predkosciomierz v2 kopia is an open-source printed circuit board by sebcis123, from the sebcis123/Bicycle-speedometer repository on GitHub. It is a 2-layer board of 64.4 × 33.7 mm with 25 parts on 32 nets, routed with 137 tracks and 36 vias.

It is built around the LM393, BAT54J and IRLML6402, with the MBR0520 among its other parts. Its parts include 7 resistors, 4 capacitors, 3 ICs, 2 diodes and 2 connectors. It belongs with the lEDs and displays and sensors and measurement boards and the STM32 boards of this library.

Main components

4

README

README.md

Bicycle Speedometer (Prędkościomierz Rowerowy)

A compact, energy-efficient, and low-cost digital bicycle speedometer designed as a complete hardware and software system. The device measures the wheel's rotational speed using a magnetic sensor and displays real-time data on an OLED screen.


Features

  • Full System Design: Developed from scratch, including schematics, PCB layout, and simulation.
  • Low-Power Optimization: Powered by two standard AAA batteries with a high-efficiency step-up converter.
  • Reverse Polarity Protection: Features a low-loss P-MOSFET circuit to protect internal components from incorrect battery insertion.
  • Compact Ergonomics: Tailor-made, small-footprint PCB featuring integrated battery clips and accessible programming headers.

Hardware Architecture & Components

The system is split into distinct functional blocks optimized for low current draw:

  • Microcontroller: STM32G030F6P6 (ARM Cortex-M0+), chosen for its low cost, efficiency, and rich peripheral set.
  • Sensor & Signal Conditioning: DRV5055 linear Hall effect sensor paired with an LM393 comparator. It detects a wheel-mounted magnet and triggers precise external interrupts on the MCU.
  • Display: 128x64 OLED screen communicating via the I2C protocol.
  • Power Management: LT1615 step-up DC-DC converter, boosting the variable 2x AAA battery voltage (~2.4V - 3V) up to a stable 3.3V rail.
  • Protection: IRLML6402 P-channel MOSFET combined with a BAT54J Schottky diode for near-zero voltage drop reverse polarity safety.

PCB Design Specification

The printed circuit board was designed using KiCad.

  • Dimensions: 64.5 mm × 34.0 mm (highly compact).
  • Trace Widths: 0.3 mm for standard signals, 0.4 mm for power supply traces to mitigate voltage drops.
  • Layout Design: The AAA battery holder and SWD programming header are mounted on the bottom side to minimize overall dimensions and simplify enclosure manufacturing.

Parts

25
QtyValueFootprintReferences
310KResistor_SMD:R_0805_2012MetricR3, R5, R6
2100nCapacitor_SMD:C_0805_2012MetricC4, C7
210uCapacitor_SMD:C_0805_2012MetricC5, C6
1100KResistor_SMD:R_0805_2012MetricR9
11MResistor_SMD:R_0805_2012MetricR7
11mInductor_SMD:L_1210_3225MetricL1
12 x AA (2.5V - 3V)Battery:BatteryHolder_Keystone_2468_2xAAABT3
125KResistor_SMD:R_0805_2012MetricR4
14.7uInductor_SMD:L_1210_3225MetricL2
1604KResistor_SMD:R_0805_2012MetricR8
1BAT54JDiode_SMD:D_SOD-323FD3
1Conn_01x03Connector_JST:JST_EH_B3B-EH-A_1x03_P2.50mm_VerticalJ3
1Conn_01x05Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ1
1IRLML6402Package_TO_SOT_SMD:SOT-23Q1
1LM393Package_SO:SOIC-8_3.9x4.9mm_P1.27mmU3
1LT1615ES5_TRPBFLT1615ES5_TRPBF:SOT95P280X145-5NU1
1MBR0520Diode_SMD:D_SOD-123D2
1SSD1306SSD1306:128x64OLEDBrd1
1STM32G030F6PxPackage_SO:TSSOP-20_4.4x6.5mm_P0.65mmU2
1SW_PushButton_Switch_SMD:SW_SPST_TL3342SW2
1SW_SPDTButton_Switch_SMD:SW_SPDT_CK_JS102011SAQNSW1

Similar boards

  • 2 layers66 × 99.1 mmEsr meter, the printed circuit board in 3D

    Esr meter

    vpatkov/esr-meter

    AC ohmmeter

    105 parts5
  • 2 layers187.5 × 45 mmSensLord, the printed circuit board in 3D

    SensLord

    lusmdl/MySmartHomeSensor

    26 partsMIT
  • 2 layers99.3 × 78 mmFlowerManager, the printed circuit board in 3D

    FlowerManager

    HobbyFactory/PCB-Flower-Manager

    115 parts
  • 2 layers100 × 100 mmMod1base mod1base, the printed circuit board in 3D

    Mod1base mod1base

    PCBench/PCBench

    resolution = [0.5, 0.5] pcbfolder = '../PCBs/' pcbnames = ["1Bitsy1bitsy"] iters = 30 env = PCBRoutingEnv(resolution=resolution, pcbfolder=pcbfolder, pcbnames=pcbnames) obs, info = env.reset() for in range(iters): act =…

    187 parts21MIT
  • 2 layers90 × 60 mmMixers, the printed circuit board in 3D

    Mixers

    k1zmt/SSB85MultiPCB

    WIP! Don't try repeating!

    133 parts1
  • 2 layers114 × 61.4 mmLHS Breakbeat, the printed circuit board in 3D

    LHS Breakbeat

    lhndo/LH-Stinger

    Fast, Precise, Cartesian, FDM 3D Printer

    47 parts1.1k
  • 4 layers350 × 155 mmVentilator, the printed circuit board in 3D

    Ventilator

    RespiraWorks/Ventilator

    Fully-featured ICU ventilator design, optimized for manufacture using commonly available components and free to license.

    788 parts169Apache-2.0
  • 2 layers70 × 73.1 mmNeopico hd, the printed circuit board in 3D

    Neopico hd

    fliperama86/neopico-hd

    Digital video and audio capture with HDMI output for Neo Geo MVS arcade hardware using Raspberry Pi Pico 2

    37 parts90Unlicense

Questions

How big is the Predkosciomierz v2 kopia PCB?

It measures 64.4 × 33.7 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Predkosciomierz v2 kopia use?

25 parts, built around the LM393, BAT54J, IRLML6402 and MBR0520. 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 Predkosciomierz v2 kopia KiCad files?

From the sebcis123/Bicycle-speedometer repository on GitHub, at the commit this page was made from: the board is prędkościomierz_pcb/pcb/predkosciomierz_v2_kopia.kicad_pcb and its schematic prędkościomierz_pcb/pcb/predkosciomierz_v2_kopia.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Predkosciomierz v2 kopia design in my own project?

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