Skip to content

nberlette/canbus

Repository files navigation

Controller Area Network (CAN)

The Controller Area Network, also known as CAN or the CAN Bus, is the infrastructure used for internal networking in modern automobiles. It is controlled through a low level system of controller nodes, each of which broadcast all of their data onto the bus. It is therefore the responsibility of the listener nodes to filter through the noise, and determine what traffic is relevant to their individual needs/purposes.

These nodes communicate with each other in a way that is, for the most part, unreadable and otherwise useless to humans in its raw form. Therefore, a semi-standardized format was developed by Vector GmbH to facilitate interpreting and translating the raw Signal values (from sensors and modules), into human-readable values and units (for gauges and data-loggers).

This is the .dbc format I'll be focusing on in this repository and its accompanying Wiki.

How are .dbc files created?

Every auto manufacturer has their own proprietary "dictionary" which contains the mappings of their platform's specific adjustment factors/offsets, labels, and units, used to translate the raw sensor values into meaningful data points.

Sometimes these dictionaries (or "databases", "documents") are leaked online, or sold by a disgruntled (former) employee. In most cases, however, enthusiasts such as myself spend countless hours, usually in their own cars, reverse-engineering translations to .dbc files.

This is very much a work in progress.


  1. VERSION
  2. NS_: New Symbols
  3. BU_: Board Units
  4. BO_: Messages
  5. SG_: Signals
  6. BA_: Attributes
  7. CM_: Comments
  8. VAL_: Values

Downloadable .dbc files

Vehicle File Name Version Author
BMW E90 bmw-e90.dbc (raw) 2021.6.8 @nberlette
BMW E39 bmw-e39.dbc (raw) 2021.6.6 translated from .kcd by @kmalinich
Mazda (2017) mazda_2017.dbc -- @commaai/opendbc
Lexus RX350 lexus_rx350.dbc -- @commaai/opendbc
Tesla Model 3 tesla_model3.dbc 2020.40.1 @johnmccalla and @onyx-m2 project
OBD2 (universal) obd2.dbc (raw .dbc) 0.0.1 csselectronics.com
J1939 (universal) j1939.dbc (raw .dbc) 7.6 Unknown, from haskell.org

Resources


References

Releases

No releases published

Sponsor this project