

open source bike telemetry project using an nrf58240
- Size
- 60 × 99.3 mm
- Copper layers
- 4
- Thickness
- 1.6 mm
- Parts
- 73
- Nets
- 93
- Pads
- 319
- Tracks, vias
- 610, 108
- Pours
- 4
- Routed
- Yes
- KiCad
- KiCad 9.0 (file 20241229)
- Created
- 30 Apr 2024
- Updated
- 26 Oct 2026
Overview
OBike is an open-source printed circuit board by Kleptobot, from the Kleptobot/bike_telemetry repository on GitHub, published under the MIT licence. It is a 4-layer board of 60 × 99.3 mm with 73 parts on 93 nets, routed with 610 tracks and 108 vias.
It is built around the DPS368XTSA1, W25N01GVZEIGTR and MAX40200AUK, with the 74HC14, LC76G and PCF85063AT/A among its other parts. Its parts include 24 resistors, 20 capacitors, 10 ICs, 8 connectors and 7 diodes. It belongs with the SAM D and SAM boards of this library.
Main components
10DPS368XTSA1
VLGA-8(2x2.5)-40℃~+85℃ 0.5pa/K 1.7V~3.6V 100pa 27.6ms 30Kpa~1.2bar 500nA 6pa I2C、SPI No VLGA-8(2x2.5) Pressure Sensors ROHSInfineon TechnologiesPressure SensorsW25N01GVZEIGTR
WSON-8(6x8)WSON-8(6x8) NAND FLASH ROHSWinbond ElecNAND FLASHMAX40200AUK
SOT23-5Ultra-Tiny Micropower, 1A Ideal Diode with Ultra-Low Voltage DropMaxim Integrated (Analog Devices)Uncategorised74HC14
SOP-14-40℃~+85℃ 1.9V、3.98V、4.4V、5.48V、5.9V 100mV、260mV、260mV 20uA 25ns@4.5V,50pF 2V~6V 6 74HC Noise suppression function Schmitt trigger SOP-14 Inverters ROHSJSMSEMIInvertersLC76G
LCC-28_9.7X10.1LCC-28_9.7X10.1 New Arrivals ROHSQuectelUncategorisedPCF85063AT/A
SO-8-40℃~+85℃ 0.22uA 220nA 900mV~5.5V Built-in I2C Programmable clock output、Alarm function、Periodic interrupt output、Countdown timer Yes SO-8 Real Time Clocks ROHSNXP SemiconductorsReal Time Clocks1N4148W
SOD-123150mA 1A 1V@50mA 1uA@75V 400mW 4ns 75V Independent SOD-123 Switching Diodes ROHSSTMicroelectronicsSwitching DiodesESDA051-1JY
SOD-323-55℃~+150℃ 1 190pF 20A@8/20us 3nA 5V 6.2V 6.2V ESD IEC 61000-4-2、IEC 61000-4-4 Unidirectional SOD-323 ESD and Surge Protection (TVS/ESD) ROHSSTMicroelectronicsESD And Surge Protection (TVS/ESD)SS8050
SOT-323-55℃~+150℃ 1 NPN 1.5A 100MHz 100nA 200 25V 300mW 500mV 5V NPN SOT-23 Bipolar (BJT) ROHSJiangsu Changjing Electronics Technology (CJ)Bipolar (BJT)F34G-1A7Q1-E8C40
SMD,P=0.5mm-50℃~+85℃ 0.5mm 40P 500mA 50V Gold Phosphor bronze Surface Mount, Right Angle SMD,P=0.5mm FFC, FPC (Flat Flexible) Connector Assemblies ROHSAmphenolFFC, FPC (Flat Flexible) Connector Assemblies
README
Readme.mdOBike — Open Bicycle Telemetry Platform
OBike is an open-source hardware and firmware project for building a DIY bike computer that feels closer to a purpose-built cycling device than a generic microcontroller project. It combines a colour display, GPS, Bluetooth sensors, barometric altitude, and SD-card logging into a single platform you can build, modify, and improve.
If you like the idea of a compact, open bike computer that can log rides, display live metrics, and be extended with new sensors or UI ideas, this repository is a good place to start.
What this project does
OBike is intended to capture and present ride data such as:
- speed and distance
- cadence and power
- heart rate
- GPS position and track history
- barometric altitude and sensor-derived data
It presents that information on a colour screen and can log sessions to microSD in FIT, TCX, or CSV formats.
It also supports common Bluetooth cycling peripherals that implement the CSC, HRM, and CPS profiles.
What is in this repository
src/— firmware source in C++src/App.*— main application state and control flowsrc/HAL/— hardware abstraction for GPS, SD, Bluetooth, buttons, and sensorssrc/ui/— UI screens and widgetssrc/Loggers/— FIT, TCX, and CSV logging implementationssrc/display/— display driver and rendering wrappers
kicad/— KiCad schematic and PCB layout files3D_CAD/— enclosure and mounting CAD files for 3D printingsim/— desktop simulator for trying the firmware logic without hardwareplatformio.ini— PlatformIO build configuration
Hardware overview
The current hardware target is a compact embedded bike-computer build based on:
- MCU: Seeed Studio XIAO nRF52840 (Sense)
- GNSS: Quectel LC76G module
- Display: ST7789-based full-colour 240×320 SPI panel
- Sensors: RTC, barometric pressure sensor, IMU, and SD card storage
- IO: debounced physical controls and Bluetooth cycling-device support
Quick start
Build the firmware
-
Install PlatformIO.
-
From the repository root, run:
bash platformio run -
To upload to the target board:
bash platformio run --target upload
Try it without hardware
The repository includes a desktop simulator under sim/ that can exercise much of the application logic and UI without needing the embedded board.
Software features
- Firmware built with PlatformIO and the Arduino framework
- Telemetry aggregation from BLE sensors, GPS, and onboard sensors
- Logging to microSD in FIT, TCX, and CSV formats
- GPS control and NMEA handling for the LC76G module
- A simple UI for ride data and device interaction
- Bluetooth device discovery, pairing, and connection management
Dependencies
The firmware depends on a number of Arduino and embedded libraries, including:
Adafruit_GFXAdafruit_ST7789RTClibMCP23017support for the I/O expanderLSM6DS3XENSIVpressure-sensor supportArduinoJsonTinyGPSPlus
Key files to inspect
src/HAL/LC76G.cppandsrc/HAL/LC76G.hpp— GNSS driver, NMEA handling, and command flowsrc/display/Display.hppandsrc/display/Display.cpp— display wrapper and rendering layersrc/Loggers/TCXLogger.cppandsrc/Loggers/CSVLogger.cpp— ride logging implementationssrc/App.cpp— main application loop and state handlingkicad/— schematic and PCB design files3D_CAD/— printable enclosure and mounting hardware
Troubleshooting and debugging
- Serial logs are useful during development and can help trace GPS and device activity.
- Raw NMEA data can be captured to the SD card for debugging GPS behavior.
- The LC76G path has previously been sensitive to malformed or long NMEA streams, so keeping firmware updates current is important if you hit GPS issues.
Notes for first-time visitors
This project is best viewed as a hands-on, open-source bike-computer platform rather than a polished consumer product. It is a strong fit if you want to learn embedded firmware, PCB design, logging formats, BLE peripherals, and how a compact cycling computer can be assembled from open parts.
If you are curious about building your own ride-data device, this repository is a practical starting point for both the hardware and software sides of the project.
Parts
73| Qty | Value | Footprint | References |
|---|---|---|---|
| 14 | 10K | Resistor_SMD:R_0805_2012Metric | R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R22, R23, R24, R25 |
| 9 | 1.0uF | Capacitor_SMD:C_0805_2012Metric | C2, C4, C5, C6, C7, C8, C9, C12, C14 |
| 5 | 1N4148W | Diode_SMD:D_SOD-123 | D1, D2, D3, D4, D5 |
| 4 | 0.1uF | Capacitor_SMD:C_0805_2012Metric | C1, C3, C11, C13 |
| 3 | 100K | Resistor_SMD:R_0603_1608Metric | R11, R16, R17 |
| 3 | MAX40200AUK | Package_TO_SOT_SMD:SOT-23-5 | U6, U8, U10 |
| 2 | 100nF | Capacitor_SMD:C_0603_1608Metric | C17, C20 |
| 2 | 10K | Resistor_SMD:R_0603_1608Metric | R18, R37 |
| 2 | 10uF | Capacitor_SMD:C_0603_1608Metric | C10, C19 |
| 2 | 1K | Resistor_SMD:R_0603_1608Metric | R15, R38 |
| 2 | 33pF | Capacitor_SMD:C_0603_1608Metric | C16, C21 |
| 2 | Conn_01x02 | Connector_PinHeader_2.00mm:PinHeader_1x02_P2.00mm_Vertical | J6, J8 |
| 2 | ESDA051-1JY | Diode_SMD:D_SOD-323 | D6, D7 |
| 2 | SS8050 | Package_TO_SOT_SMD:SOT-23 | Q1, Q2 |
| 1 | 0R | Resistor_SMD:R_0603_1608Metric | R14 |
| 1 | 2R2 | Resistor_SMD:R_0603_1608Metric | R12 |
| 1 | 4.7uF | Capacitor_SMD:C_0603_1608Metric | C18 |
| 1 | 47R | Resistor_SMD:R_0603_1608Metric | R36 |
| 1 | 5_position_tactile | 5_pos:5-position | SW1 |
| 1 | 74HC14 | Package_SO:SOIC-14_3.9x8.7mm_P1.27mm | U4 |
| 1 | Conn_01x02 | Connector_JST:JST_PH_S2B-PH-K_1x02_P2.00mm_Horizontal | J3 |
| 1 | Conn_01x04 | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J4 |
| 1 | Conn_01x05 | Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_Vertical | J7 |
| 1 | Crystal | Jauch:OSCSC320X150X90 | Y1 |
| 1 | DPS368XTSA1 | Infineon Technologies:PG-VLGA-8-2_INF | U1 |
| 1 | F34G-1A7Q1-E8C40 | amphenol:AMPHENOL_F34G-1A7Q1-E8C40 | J1 |
| 1 | LC76G | quectel:XCVR_LC76G | U7 |
| 1 | MCP23017_SO | Package_SO:SOIC-28W_7.5x17.9mm_P1.27mm | U3 |
| 1 | Micro_SD_Card_Det1 | CUI:CUI_MSD-4-A | J2 |
| 1 | PCF85063AT | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U2 |
| 1 | Seeed Studio XIAO SAMD21 | xiao:XIAO-nRF52840-Sense-14P-2.54-21X17.8MM | U5 |
| 1 | U.FL-R-SMT-1_10_ | Hirose:HRS_U.FL-R-SMT-1_10_ | J5 |
| 1 | W25N01GVZEIG_TR | windbond:SON127P800X600X80-9N | U9 |
Similar boards
- 2 layers85.2 × 107.8 mm

- 4 layers98 × 98 mm

Ads b
beam-ttm/simulaciones
Simulaciones electromagnéticas Full-Wave (Sonnet EM) y diseño final de antena patch ADS-B 1090 MHz RHCP — Proyecto CubeSat BEAM (UNLaM)
53 parts - 2 layers70 × 100 mm

- 4 layers20.3 × 53.6 mm

Sense trinket
UCSD-SEELab/light-approx
light-approx - machine-learning - src - data - output - sensor-station - src - design - sensor-trinket - src - design - feature-extraction - sdsc-weather - src - data - gps-context - src - data
43 parts1 - 4 layers132 × 68.5 mm

- 4 layers100 × 100 mm

- 4 layers100.1 × 60.2 mm

Hades
pms67/HadesFCS
Complete flight control system designed from scratch. Hardware designed with KiCad.
215 parts1kBSD-3-Clause - 2 layers38.1 × 3.8 mm

Shio
uw-x/clearbuds-hw
Errata: The design contains some errors that can be addressed in future revisions. The errors do not affect function, but do affect robustness. 1. Add 0.1uF decoupling capacitor to PDM mic (ICS-41350) Vcc. 2.
86 parts17
Questions
How big is the OBike PCB?
It measures 60 × 99.3 mm and has 4 copper layers, 1.6 mm thick.
What parts does the OBike use?
73 parts, built around the DPS368XTSA1, W25N01GVZEIGTR, MAX40200AUK and 74HC14. 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 OBike KiCad files?
From the Kleptobot/bike_telemetry repository on GitHub, at the commit this page was made from: the board is kicad/OBike.kicad_pcb and its schematic kicad/OBike.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the OBike 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).