Skip to the content
2 layers75.9 × 50.1 mmSuspension telemetry, the printed circuit board in 3D

Suspension telemetry

porast1/suspension-telemetry14

Suspension telemetry system for mountain bike or dirt bike

Size
75.9 × 50.1 mm
Copper layers
2
Thickness
1.6 mm
Parts
77
Nets
87
Pads
300
Tracks, vias
785, 70
Pours
2
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
9 Jul 2023
Updated
9 Apr 2024

Overview

Suspension telemetry is an open-source printed circuit board by porast1, from the porast1/suspension-telemetry repository on GitHub, published under the MIT licence. It is a 2-layer board of 75.9 × 50.1 mm with 77 parts on 87 nets, routed with 785 tracks and 70 vias.

It is built around the STM32F446RET6, TLV61046ADBV and 112J-TDAR-R01, with the ADXL343BCC, LM1117MP-3.3 and USBLC6-2SC6 among its other parts. Its parts include 27 resistors, 25 capacitors, 7 ICs, 6 connectors and 3 inductors. It belongs with the STM32 boards of this library.

Main components

11

README

README.md

suspension-telemetry

contact: patryk.grzywnowicz@gmail.com

The project consists in creating a system for testing suspension work and suggesting better settings. I love extreme cycling so came up with the idea out of passion and curiosity :)

The general concept of the idea, the embedded part:

  • Using linear potentiometers will take place the main travel measurement
  • Pressure sensors will monitor suspension progression
  • Brake force measurment (using tensometers) for Braking statistics (not suported yet on GUI)
  • The accelerometer will monitor overloads for a given setting,
  • Recording of measurement data on the sd card
  • LCD menu with buttons
  • IOT (maybe)
  • PCB project
  • Enclosure

The most interesting part, data science:

  • Setting up the server using the python streamlit and bokeh library
  • Determination of the linear regression curve for the rebound/compression speed (curves from the front and rear suspension should have a similar slope)
  • Histograms for individual speeds depending on the suspension travel used (in theory, they should be a normal Gaussian distribution curve)
  • Calculation of the derivative over time to obtain acceleration on the shock absorber shaft at a particular moment of the stroke
  • Calculation suspension progression
  • FFT for frequency separation
  • Many more methods of data analysis, you'll see soon :)

Software architecture:

  • The project uses FREERTOS and the board is stm32 nucleo f446RE.
  • In python the time base will be generated using the amount of measurements. Currently, the timer triggers the ADC converter with DMA with a frequency of 5ms. I implemented a ping pong buffer to be able to process and save half of the buffer to the SD card without interrupting the ADC measurement, read-write synchronization is done using a binary semaphore.
  • When measurement starts, fat32 file system creates new folder and files.
  • I used switch-case to implement the menu, a new flag is set each time the button is invoked.
  • Usb OTG for file sharing

Currently, the menu has 4 options:

  1. Sensor calibration after installation - initial travel
  2. Measurement of static deflection/sag - the LCD display shows the percentage of travel, for shock absorbers rear front and pressure values
  3. Continuous measurement with recording on the SD card
  4. Start menu

run GUI:

  • install python (3.11.4) and add to systemPATH as python
  • in bash runGUI.sh

STM project:

  • You need to setup project, I don't know why it's not import as it is
  • Generate code from .IOC and copy files from Core/src and inc
  • I changed some generated files related to fat32 and usb - compare changes and copy
  • Build

PCB project:

  • Use KiCad 7 to open

Enclosure:

  • standard .step file you can use freecad

Things that can be improved: Embedded:

  • You can better organize file handling, e.g. opening and closing.
  • Separate the code from src and inc as separate packages for one functionality
  • The PCB diagram has the ability to communicate on 4 data lines, currently only 1 data line is configured in CubeMx. I had problems with the stm driver, maybe they improved it in newer fw versions.
  • Quite long detection of the connected device by the PC - currently about 8 seconds, not much, but I can complain :)
  • You can do some light refactoring of the code. The season was chasing me and I was actually the last one to do it :)
  • If you want to have pressure and braking statistics, you must purchase appropriate sensors. Writing to the device is supported after defining two parameters responsible for activation.

PCB:

  • So far I have no objections

GUI:

  • Without any objections

Images

plot plot plot plot plot plot plot plot plot plot plot plot

Parts

77
QtyValueFootprintReferences
9100nCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC4, C5, C7, C10, C13, C14, C15, C16, C25
910kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR5, R9, R10, R13, R14, R15, R16, R17, R18
61uFCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC1, C2, C3, C6, C17, C26
44,7kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR19, R22, R23, R25
48pCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC19, C20, C23, C24
31kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR4, R27, R29
36,8kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR20, R21, R24
3HousingSymbol:CE-Logo_8.5x6mm_SilkScreenN1, N2, N3
2100kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR6, R7
210nCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC18, C27
210uFCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC8, C9
22k2Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR11, R12
239nInductor_SMD:L_0603_1608Metric_Pad1.05x0.95mm_HandSolderL2, L3
24,7uFCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC12, C22
11.1kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR1
1112J-TDAR-R01sd_card:112JTDARR01J3
1125SH-A-04-TSmolex_conn:125SHA04TSJ2
1280384-1BUTTON_CONN:2803841J5
1360kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR2
147Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR8
1530481010MOLEX_10_PIN:530481010J4
168kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR3
1ABS07-32.768KHZ-9-TABS07-crystal-32khz:ABS07Y2
1ADXL343Package_LGA:LGA-14_3x5mm_P0.8mm_LayoutBorder1x6yU4
1AOSP32368footprints:SO8SOP-8L_AOSQ1
1AT24CS254-SSHMPackage_SO:SOIC-8_3.9x4.9mm_P1.27mmU6
1BK-18650-PC2BAT_BK-18650-PC2:BAT_BK-18650-PC2BT2
1Conn_02x03_Top_BottomConnector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_VerticalJ7
1Crystal_GND24_SmallCrystal:Crystal_SMD_3225-4Pin_3.2x2.5mm_HandSolderingY1
1LED_SmallLED_SMD:LED_0603_1608Metric_Pad1.05x0.95mm_HandSolderD2
1LM1117MP-3.3Package_TO_SOT_SMD:SOT-223-3_TabPin2U3
1LQH3NPZ100MJRLLQH3NPN100MJRL:LQH3NPN100MJRLL1
1MCP73114-0NSI_MFMCP73114:SON50P300X300X100-11N-DIC1
1OS102011MA1QN1MikroP_90:OS102011MA1QN1S1
1STM32F446RET6Package_QFP:LQFP-64_10x10mm_P0.5mmU1
1TLV61046ADBPackage_TO_SOT_SMD:SOT-23-6U2
1USB3505-30-A_REVA4GCT_USB3505-30-A_REVA4:GCT_USB3505-30-A_REVA4J1
1USBLC6-2SC6Package_TO_SOT_SMD:SOT-23-6U5

More from porast1/suspension-telemetry

1
  • 2 layers31.8 × 28.6 mmTravel pressure pcb, the printed circuit board in 3D

    Travel pressure pcb

    porast1/suspension-telemetry

    Suspension telemetry system for mountain bike or dirt bike

    4 parts14MIT

Similar boards

  • 4 layersSuborbitum 25, the printed circuit board in 3D

    Suborbitum 25

    Merix-Industries/CanSat-STM-PCB

    A custom-designed PCB for a CanSat project, built around the STM32F405RGT microcontroller. The board integrates all essential subsystems for atmospheric data collection, positioning, and communication into a single…

    127 parts1MIT
  • 2 layers119.1 × 121 mmNeo, the printed circuit board in 3D

    Neo

    IstratieStefan/Neo

    A motor controller for F24+ Cars

    137 partsMIT
  • 4 layers85.4 × 106.8 mmBioSense, the printed circuit board in 3D

    BioSense

    KrystianRuszczak/BioSense

    The hardware design files in this directory are licensed under CERN-OHL-P-2.0. See LICENSE.

    92 partsMIT
  • 2 layers220 × 150 mmBoard src, the printed circuit board in 3D

    Board src

    olagd/praca_dyplomowa

    169 parts
  • 4 layers67 × 79.4 mmTeR STeeRDisplay, the printed circuit board in 3D

    TeR STeeRDisplay

    Tecnun-eRacing/TeR_STeeRDisplay

    Este repositorio contiene los archivos de diseño electrónico y la documentación necesaria para la producción de la placa del volante con pantalla

    138 parts
  • 2 layers70 × 100 mmSTM32 Steering Display, the printed circuit board in 3D

    STM32 Steering Display

    ysemila07/racecar-steering-wheel-display

    A custom STM32-based steering wheel display and driver control system built for UOW Motorsport's electric formula-style vehicle.

    62 parts
  • 2 layers127 × 53.5 mmIr remote, the printed circuit board in 3D

    Ir remote

    danngreen/ir-remote

    Hobby project for an IR remote controlled audio board

    106 parts
  • 4 layers110 × 140 mmTrackball base, the printed circuit board in 3D

    Trackball base

    ntindle/trackball

    Ultimate Mouse: fully custom trackball with a free-spinning active ball (capacitive touch ring, nRF52810, inductive charging) and a dual-PMW3360 base (nRF52840, USB-C, HID + custom driver). No mechanical wheel.

    159 parts1

Questions

How big is the Suspension telemetry PCB?

It measures 75.9 × 50.1 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Suspension telemetry use?

77 parts, built around the STM32F446RET6, TLV61046ADBV, 112J-TDAR-R01 and ADXL343BCC. 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 Suspension telemetry KiCad files?

From the porast1/suspension-telemetry repository on GitHub, at the commit this page was made from: the board is PCB_Design/Suspension_telemetry/Suspension_telemetry.kicad_pcb and its schematic PCB_Design/Suspension_telemetry/Power_Stabilizer_3_3V.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

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