Blog · 2026-11-10

How do I get wheel tick info from vehicle?

Stefan Bogdanescu

Founder & Senior Architect

Extracting Wheel Tick Data from Vehicle Networks

Dead reckoning is a compelling approach for GPS modules that struggle with signal loss, but it relies heavily on accurate input data to remain useful. You've identified a specific bottleneck: while some modules support this natively, they often lack the ability to ingest raw wheel tick information directly. The instinct to derive ticks from speedometer readings via an MCU is logical, yet it introduces a significant source of error known as "speedometer creep."

Modern vehicles are not required by law to report exact ground speed; in fact, regulations often mandate that speedometers read 10% higher than actual speed at maximum velocity. If you simply sample the vehicle's speed output and convert it into wheel ticks, your dead reckoning system will consistently calculate a faster travel distance than reality. Over time, this drift renders the location estimates useless for applications requiring high precision, such as fleet tracking or autonomous navigation.

To solve this, you need to bypass the instrument cluster logic entirely and access the raw data where speed is calculated before it is rounded up for display. In most modern architectures, this data travels over the Controller Area Network (CAN bus). The CAN bus is a serial protocol designed specifically for real-time communication between microcontrollers in vehicles, making it the primary source for wheel tick information.

Accessing this data requires a gateway or an ECU (Electronic Control Unit) that can read specific diagnostic frames. You are looking for messages related to ABS (Anti-lock Braking System) or ESP (Electronic Stability Program). These systems monitor wheel speed sensors directly for safety, so they generate raw pulse counts or precise velocity values independent of the dashboard display logic.

Implementation typically involves using a CAN interface like an XCP-USB adapter or integrating with a gateway that exposes these frames over USB or TCP/IP. Once connected, you must decode the specific DLC (Data Length Code) and interpret the payload. For example, in a standard ISO 15765-2 implementation, a wheel speed message might look like this:

# Pseudo-code for decoding a generic Wheel Speed CAN frame
def parse_wheel_speed_frame(can_id, data_bytes):
    # Extract vehicle speed or tick count from specific byte offset
    # Note: Byte indices vary wildly by manufacturer (Bosch, Continental, etc.)
    speed = (data_bytes[0] << 8) | data_bytes[1] 
    ticks = data_bytes[6]
    
    return {
        'speed_ms': speed / 3.6, # Normalize to m/s if needed
        'tick_count': ticks
    }

The critical step here is mapping the byte offsets correctly. You cannot assume a universal standard; you must reverse-engineer the specific frame definitions for the vehicle make and model. This often requires using diagnostic tools like CANoe or CanSpy to capture traffic, then cross-referencing the IDs with UDS (Unified Diagnostic Services) service definitions.

If direct CAN access proves too cumbersome due to lack of hardware support, consider the trade-off of using a wheel speed sensor directly attached to the axle if you are building a custom chassis. However, for retrofitting existing vehicles, CAN bus decoding is the only viable path to accurate dead reckoning. The challenge lies in the fragmentation of protocols; what works for a Toyota may require a completely different parser than a Ford.

There is also the consideration of data fusion. Even with raw wheel ticks, GPS noise can corrupt the position estimate during signal outages. A robust implementation should treat wheel tick data as a velocity constraint rather than an absolute distance calculator until GPS signals return to correct the drift. This hybrid approach mitigates the risk of speedometer creep while maintaining high availability.

For developers integrating these systems into web dashboards, ensuring the raw data stream is normalized before processing is essential. If you are building a backend service that aggregates telemetry from multiple vehicles, handling the variance in CAN frame structures becomes a significant architectural decision. You might need a flexible ingestion layer that normalizes disparate wheel tick streams into a unified metric before storing them in your database.

While specific resources on parsing these proprietary protocols can be scarce, understanding the underlying standards like UDS and the physical layers of CAN allows you to adapt existing libraries or write custom decoders that respect the vehicle's actual physics rather than its regulatory compliance outputs.