Skip to the content
4 layers70 × 100 mmIndoor bike computer motherboard, the printed circuit board in 3D

Indoor bike computer motherboard

Wh1teRabbitHU/indoor-bike-computer1

It's a custom computer for indoor bikes to measure cadence, speed and power, store sessions, visualise ongoing statistics and replace non chargeable solutions

Size
70 × 100 mm
Copper layers
4
Thickness
1.6 mm
Parts
143
Nets
154
Pads
543
Tracks, vias
1,318, 306
Pours
12
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
26 Feb 2024
Updated
20 Jul 2025

Overview

Indoor bike computer motherboard is an open-source printed circuit board by Wh1teRabbitHU, from the Wh1teRabbitHU/indoor-bike-computer repository on GitHub, published under the GPL-3.0 licence. It is a 4-layer board of 70 × 100 mm with 143 parts on 154 nets, routed with 1,318 tracks and 306 vias.

It is built around the ESP32-WROOM-32, CH340G and LMV321, with the LDL1117S33R, MAX17055ETB+T and USBLC6-2SC6 among its other parts. Its parts include 41 capacitors, 41 resistors, 11 ICs, 8 connectors and 8 switches. It belongs with the computers and single-board computers boards and the ESP32 and STM32 boards of this library.

Main components

8

README

README.md

indoor-bike-computer

Description

It's a custom computer for indoor bikes to measure cadence, speed and power, store sessions, visualise ongoing statistics and replace non chargeable solutions. This project is created for the Joroto X2 Pro indoor bike, but can be used with any other, similarly operating bikes as well!

The sensors connect to the unit the following way:

There are 2 sensor headers on the computer, one for the Candelance sensor and the other to measure the manual difficulty adjustment knob.

Sensors

Candelance sensor

You need to connect the following 2 pins:

  • Revolution signal: This signal sends a pulse whenever the bike's crank is aligned with the sensor. The signal is triggered once every revolution and the speed is calculated based on the time difference between two pulse. For precise distance measurement, you can change the default values of the bike in the settings.
  • GND: This is the shared GND line

Difficulty sensor

You need to connect the following 3 pins:

  • +3V3: This powers the sensor on the bike
  • Difficulty signal: This comes from the knob, and depending on the current difficulty level, it provides a voltage between GND and +3V3 volt. (it's not a linear value and there is a starting and ending voltage level) This can be calibrated in the settings on the computer for a precise measurement.
  • GND: This is the shared GND line

Firmware

I'm using LVGL an open source embedded graphics library, to handle the UI elements for the computer. The drivers for the various chips and the bike are custom made and can be located under the Firmware/STM32F446/Core/Inc/Drivers and Firmware/STM32F446/Core/Src/Drivers folders.

List of drivers:

  • ER_TFT035: Display driver. Details
  • MCP3421: ADC chip from MicroChip. Details
  • SD card: SD card middleware on top of the FatFS implementation, to make handling file read and write simpler

Images

Computer 3D render, Front

Computer 3D - Front

Computer 3D render, Back

Computer 3D - Back

Parts

143
QtyValueFootprintReferences
200.1uFCapacitor_SMD:C_0402_1005MetricC12, C13, C14, C15, C16, C18, C24, C29, C30, C31, C32, C35, C37, C38, C39, C40 +4
1310kResistor_SMD:R_0402_1005MetricR10, R12, R13, R14, R15, R16, R17, R20, R24, R25, R29, R32, R33
610KResistor_SMD:R_0402_1005MetricR8, R9, R34, R36, R38, R40
51KResistor_SMD:R_0402_1005MetricR7, R35, R37, R39, R41
54.7uFCapacitor_SMD:C_0402_1005MetricC2, C3, C4, C11, C36
41uFCapacitor_SMD:C_0402_1005MetricC1, C9, C17, C23
42k2Resistor_SMD:R_0402_1005MetricR18, R19, R21, R23
4Button_01Button_Switch_SMD:SW_SPST_TL3342SW5, SW6, SW7, SW8
3100Resistor_SMD:R_0402_1005MetricR22, R30, R31
310uFCapacitor_SMD:C_0805_2012MetricC7, C10, C25
322uFCapacitor_SMD:C_0805_2012MetricC26, C27, C28
210ΩResistor_SMD:R_1206_3216MetricR27, R28
212pFCapacitor_SMD:C_0402_1005MetricC21, C22
215pFCapacitor_SMD:C_0402_1005MetricC33, C34
226pFCapacitor_SMD:C_0402_1005MetricC19, C20
25.1kΩResistor_SMD:R_0402_1005MetricR2, R3
2BC849Package_TO_SOT_SMD:SOT-23Q2, Q3
11.5kResistor_SMD:R_0402_1005MetricR1
1100kResistor_SMD:R_0402_1005MetricR4
110mΩCustom:Resistor_SMD_4527R11
112MHzCrystal:Crystal_HC49-4H_VerticalY3
11K1ΩResistor_SMD:R_0402_1005MetricR5
1220Resistor_SMD:R_0402_1005MetricR26
132768HzCrystal:Crystal_Round_D1.5mm_VerticalY2
139nHInductor_SMD:L_0805_2012MetricL1
1590ΩResistor_SMD:R_0402_1005MetricR6
18MHzCrystal:Crystal_SMD_Abracon_ABM8G-4Pin_3.2x2.5mmY1
1AIN_JMPJumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mmJP1
1AO3401APackage_TO_SOT_SMD:SOT-23Q1
1APX803L05-36SA-7Package_TO_SOT_SMD:SOT-23W_HandsolderingU1
1BQ24078RGTRPackage_DFN_QFN:VQFN-16-1EP_3x3mm_P0.5mm_EP1.45x1.45mmU2
1Battery TerminalConnector_Hirose:Hirose_DF13-02P-1.25DSA_1x02_P1.25mm_VerticalJ2
1CH340GPackage_SO:SOIC-16_3.9x9.9mm_P1.27mmU11
1Candelance HeaderConnector_PinSocket_2.54mm:PinSocket_1x02_P2.54mm_VerticalJ7
1ChargingLED_SMD:LED_0603_1608MetricD3
1Difficulty HeaderConnector_PinSocket_2.54mm:PinSocket_1x03_P2.54mm_VerticalJ6
1EN_ESP32Jumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mmJP4
1ER-TFT035-6Custom:ER-TFT035-6U8
1ESP32 ProgrammerCustom:Micro_USB_B_FemaleJ8
1ESP32-WROOM-32RF_Module:ESP32-WROOM-32U10
1EnableCustom:Toggle-Switch-SK12D07VG4SW1
1FerriteBead_SmallInductor_SMD:L_0805_2012Metric_Pad1.15x1.40mm_HandSolderFB1
1Flash BTNButton_Switch_SMD:SW_SPST_TL3342SW4
1G***kibuzzard-66A145EFkibuzzard-66A145EF
1G***kibuzzard-66A1432Ckibuzzard-66A1432C
1G***kibuzzard-66A1489Ckibuzzard-66A1489C
1G***kibuzzard-66A14886kibuzzard-66A14886
1G***kibuzzard-66A14385kibuzzard-66A14385
1G***kibuzzard-66A145C4kibuzzard-66A145C4
1G***kibuzzard-66A143C0kibuzzard-66A143C0
1G***kibuzzard-66A145A5kibuzzard-66A145A5
1G***kibuzzard-66A14462kibuzzard-66A14462
1G***kibuzzard-66A14469kibuzzard-66A14469
1G***kibuzzard-66A146E2kibuzzard-66A146E2
1G***kibuzzard-66A14875kibuzzard-66A14875
1G***kibuzzard-66A14776kibuzzard-66A14776
1G***kibuzzard-66A14353kibuzzard-66A14353
1G***kibuzzard-66A1459Ckibuzzard-66A1459C
1G***kibuzzard-66A14397kibuzzard-66A14397
1G***kibuzzard-66A1487Ckibuzzard-66A1487C
1G***kibuzzard-66A143CAkibuzzard-66A143CA
1G***kibuzzard-66A14601kibuzzard-66A14601
1Jumper_2_OpenJumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mmJP3
1LDL1117S33RPackage_TO_SOT_SMD:SOT-223-3_TabPin2U3
1LMV321Package_TO_SOT_SMD:SOT-23-5U6
1MAX17055ETB+TCustom:TDFN-EP-10-2.0x2.5U4
1MCP3421A0T-ECHPackage_TO_SOT_SMD:SOT-23-6U7
1Micro_SD_CardCustom:MicroSD-TF-015J4
1Power AlertLED_SMD:LED_0603_1608MetricD1
1Reset BTNButton_Switch_SMD:SW_SPST_TL3342SW3
1Reset ButtonButton_Switch_SMD:SW_SPST_TL3342SW2
1SD_CD JPJumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mmJP2
1SMF6.0ADiode_SMD:D_SOD-123FD2
1STM32F446RETxPackage_QFP:LQFP-64_10x10mm_P0.5mmU5
1SWDCustom:AFA07-S06FCA-00J5
1THRM SocketConnector_PinSocket_2.54mm:PinSocket_1x02_P2.54mm_VerticalJ3
1USBLC6-2SC6Package_TO_SOT_SMD:SOT-23-6U9
1USB_C_Receptacle_PowerOnly_6PCustom:USB_C_Receptacle U262-161N-4BVC11J1

Similar boards

  • 4 layers362.5 × 166 mmHishBoard v1, the printed circuit board in 3D

    HishBoard v1

    camelone49/HishBoard_v1

    This is a repo for my new gaming keyboard, which will include all files (eventually =) )

    342 parts
  • 4 layers33.8 × 38 mmWatchy MrT ESP32-S3-V1, the printed circuit board in 3D

    Watchy MrT ESP32-S3-V1

    MrT-Stephens/Watchy-MrT-Stephens

    This is my version of the Watchy by sqfmi and the website is "https://watchy.sqfmi.com".

    82 parts1
  • 2 layers344.7 × 123.1 mmAthena, the printed circuit board in 3D

    Athena

    BenjaminJAnderson/Orthodox

    557 parts1
  • 2 layers40 × 89.5 mmMono, the printed circuit board in 3D

    Mono

    jmcpheron/pico-quorum

    Several people, several keys, one Safe. Hardware approvals for Safe multisig wallets.

    89 partsMIT
  • 4 layers50 × 100 mmCRVFCU, the printed circuit board in 3D

    CRVFCU

    Kev1n8088/CRVFCU

    161 parts
  • 4 layers90 × 35 mmVehicleCurrentSense PCB, the printed circuit board in 3D

    VehicleCurrentSense PCB

    nsm81/VehicleJunctionBox_PCBs

    The junction box is an intermediate stage between the accumulator and inverter. It contains an HVD, a current sensor, discharge circuitry, TSAL and TSMPs.

    64 parts1
  • 2 layers137.1 × 108.4 mmBlacktip, the printed circuit board in 3D

    Blacktip

    iH0118/blacktip

    yet another split keyboard

    159 parts

Questions

How big is the Indoor bike computer motherboard PCB?

It measures 70 × 100 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Indoor bike computer motherboard use?

143 parts, built around the ESP32-WROOM-32, CH340G, LMV321 and LDL1117S33R. 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 Indoor bike computer motherboard KiCad files?

From the Wh1teRabbitHU/indoor-bike-computer repository on GitHub, at the commit this page was made from: the board is Hardware/Design/indoor-bike-computer-motherboard.kicad_pcb and its schematic Hardware/Design/button.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Indoor bike computer motherboard design in my own project?

Its repository publishes it under the GPL-3.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).