Sam Shartzer
Published © GPL3+

Mountain Bike Data Logger

Want to understand bike setup? Or maybe test out a new part? Figure it out with data and let's learn together. Here is a start!

AdvancedWork in progressOver 2 days147
Mountain Bike Data Logger

Things used in this project

Hardware components

SparkFun OpenLog Artemis
×1
SparkFun Lithium Ion Battery - 2Ah
×1
SparkFun GPS Breakout - NEO-M9N, U.FL (Qwiic)
×1
SparkFun Qwiic 12 Bit ADC - 4 Channel (ADS1015)
SparkFun Qwiic 12 Bit ADC - 4 Channel (ADS1015)
×3
SparkFun Qwiic Cable Kit
SparkFun Qwiic Cable Kit
×2
Taoglas Limited AP.10E.07.0039B
×1
Honeywell Smart Position Sensor - 225mm
×1
Honeywell Smart Position Sensor - 75mm
×1
Baumer IR06.P02F-F40.NO1Z.7SCV Inductive Proximity Sensor - Factor 1 for All Metals
×1
JMD02-N Rectangular Inductive Proximity Sensor
×2
12V step up power supply
×2
12 pin flange connector kit
×1
12mm Momentary Push Button Switch 12v Touch Power Button Ultra-Thin Switch IP67 Waterproof 5v to 24v with Plug-in Quick Connect Terminals Red LED Illuminated
×1
Sandisk SDSQXCD-128G-GN6MA Extreme Pro Microsdxc 128gb+sd Flsh Adapter 200mb/s 90mb/s A2 C10 V30 U
×1
Through Hole Resistor, 47 kohm
Through Hole Resistor, 47 kohm
×2
Through Hole Resistor, 33 kohm
Through Hole Resistor, 33 kohm
×2
Various Fastners Defined in Print Links
×1

Software apps and online services

SyncTERM
Best Terminal GUI Program I could find for Mac that includes a working zModem feature
Claude Code
More to come!

Hand tools and fabrication machines

3D Printer (generic)
3D Printer (generic)
Soldering Station, 110 V
Soldering Station, 110 V
Wire Stripper & Cutter, 32-20 AWG / 0.05-0.5mm² Solid & Stranded Wires
Wire Stripper & Cutter, 32-20 AWG / 0.05-0.5mm² Solid & Stranded Wires

Story

Read more

Schematics

Analog Inputs and On/Off Function Wiring

General Understanding of where the analog inputs land, addresses of A/D cards and pins used for on/off function

QWIIC Communication Bus Network

This lays out the different devices using the I2C QWIIC communication bus network and their addresses.

Note: you MUST change the address via solder trace on 2/3 of the A/D input cards.

Power Schematic

General understanding of power connections

12pin Connector Pin-Out

Easy Reference for the Main I/O to the Data Logger

Speed Sensor Cable Wiring (outside Box)

General reference for how sensor cable and wire colors are connected to 12pin connector.

Fork and Shock Sensor Cable Wiring (outside box) with Voltage Divider

General reference for how to wire the fork and shock stroke sensor outside the box with diagram showing voltage divider needed

Code

Open Log Artemis Code (My fork, originally from SparkFun)

This is the core firmware for the logger released and managed by SparkFun. Most configurations to setup the logger can be made via terminal commands with no need to code. I have forked SparkFun's code and linked my fork. It includes a few changes to optimize for this use. If you don't want to mess with the code, use the SparkFun bootloader app to simply flash the bin file and you are done!

ADS1015_Arduino_Library (My fork, originally from SparkFun)

I made a very minor change in this fork from SparkFun library. I removed code that required a a delay for new registry to fill with data. This allows the speed proximity switches to measure fast enough and not miss the spokes of brakes or crank.

MTB_DataLogger_Analyzer

My desktop application for loading, calibrating, and visualizing mountain bike suspension data recorded by an OpenLog Artemis (OLA) data logger.

Credits

Sam Shartzer
1 project • 0 followers

Comments