Coder Social home page Coder Social logo

model3dbc's Introduction

model3dbc

DBC file for Tesla Model 3 and Model Y CAN messages

Please download the latest commit (not neccessarily latest release) from

https://github.com/joshwardell/model3dbc

SFor use with DBC-compatible CAN tools from Vector, Kvaser, Peak, etc. Plus the excellent free tools from the Tesla community:

https://www.savvycan.com

https://github.com/amund7/CANBUS-Analyzer

https://teslax.app

For discussion and help decoding: https://teslaownersonline.com/threads/diagnostic-port-and-data-access.7502/

Log, process, and display live CAN data from your car with my CANserver: http://www.jwardell.com/canserver/

model3dbc's People

Contributors

joshwardell avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

model3dbc's Issues

Front / RearMotorCurrent

Hi,

RearMotorCurrent126
FrontMotorCurrent1A5

are there any update on factor / offset / (un)signed ?

best,

Overlapping config in ID219VCSEC_TPMSData.

I'm getting errors with the latest DBC using cantools in Python:

cantools.database.errors.Error: The signals VCSEC_TPMSDataIndex and VCSEC_TPMSDataIndex are overlapping in message ID219VCSEC_TPMSData.

Appears to be from

SG_ VCSEC_TPMSDataIndex M : 0|2@1+ (1,0) [0|3] "" Receiver

How was this created? There are over 3700 signals

Hi,

First of all thank you for providing this extremely valuable resource, this is hours of fun once I receive my diagnostic cables!!!

Sorry if this is off topic or not the best place to ask, but after going through the whole list, I am surprised at how many messages and signals are present - surely this would be a gargantuan effort to reverse engineer and create over 3,500 definitions manually.

What kind of a process was used to create this kind of file, if it is possible to share any insight? Was there a particular source for each of the parameter names/were these extracted semi-automatically from a rooted MCU?

Thanks!!!

Found some IDs

I'm not pull requesting because I'm not sure if it'll even work... so i found a dbc file online and it has an ID for steering control. Well I was wondering if that ID would still work

(The ID was 0x488 in hexadecimal, 1160 in decimal and the name was DAS_steeringControl). Thanks for the help by the way! 😉

The CAN Message

Edit: Or maybe there is some other way to control the steering wheel?

Unknown IDs TM3 Battery Pack 2021

Hi, implementing repurposed Tesla Battery pack, took a log of CAN messages, used DBC for interpretation

Some of the messages using SavvyCan have not been interpret

Battery Pack has spitted out these IDs including interpreted

Msg IDs:
0x2A4
0x2C4
0x2F2
0x310
0x320
0x364
0x372
0x374
0x3A4
0x3AA
0x3B2
0x3C4
0x452
0x472
0x53F
0x712
0x752
0x772
0x77A
0x782
0x78A
0x7AA

Hoping for future updates

1.txt

Msg 0x381 (897) Value 20 in enum

MsgId: 0x381,
Value: 0x1400000000000000

CanTools gives:
expected multiplexer id 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18 or 19, but got 20

VCFRONT_logging1HzIndex has a 20th Enum value?

2019 Model 3, latest firmware.

MsgID 0x3b2 - new enum for BMS

MsgID: 0x3b2,
Value: 0x1a00f401e803d007 (26)
Value: 0x1b0000f4411f0000 (27)
Value: 0x1c7c26445fc0b700 (28)
Value: 0x1d8732cc5fc0b700 (29)
Value: 0x1ed1d601a9dc0000 (30)
Value: 0xdfe70000215e0000 (31?)

expected multiplexer id 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24 or 25, but got 26

Appears to be a 31 values for the BMS_log2MuxId enum

ADAS relevant signals are not found

Hi!

Thanks a lot for the efforts and making this public.

We are trying to get some ADAS info, specifically the following signals:

DAS_ACC_report

GPSLatitude04F

GPSLongitude04F

DAS_objectId

DAS_leadVeh2Dx

DAS_leadVeh2Dy

DAS_leadVeh2Id

DAS_leadVeh2RelevantForControl

DAS_leadVeh2Type

DAS_leadVeh2VxRel

DAS_leadVehDx

DAS_leadVehDy

DAS_leadVehId

DAS_leadVehType

DAS_leadVehVxRel

DAS_leadVehRelevantForControl

DAS_autopilotState

UI_accFollowDistanceSetting

DI_vehicleSpeed

Although we could get some signals regarding the current etc, the ADAS ones where not there.
BTW, we are doing this in Europe. Is it possible that the dbc files are a different here?

Thanks a lot!

What signal is for lock state of the car

I've been looking all over and can't find the signal for whether the car is locked or not... I specifically recall seeing a lock state for the separate doors but I might be mistaken... could someone help?

Thx in advance 😉!

ID5D5RearDItemps issue

When using the current version of the DBC file with can-tools https://cantools.readthedocs.io/en/latest/ , there is an error parsing the file

cantools(cantools.database.errors.Error: The signal DI_lashAngle does not fit in message ID5D5RearDItemps. )

I am not fluent enough in DBC to understand whether this a problem in the DBC file or the can-tools library. It seems commit c61be33 is was caused the change

Decoding Errors for several messages

I'm trying to decode every message from the CAN bus but I'm getting decoding errors for the following ID's:

  • 586
  • 609
  • 612
  • 897
  • 921
  • 2047

My Model 3 was on the latest 2021 firmware for this dump I'm using. Maybe someone can check what has changed. Unfortunately I don't have the experience to do that myself.

Tesla Model 3 Battery Charger Limit to 333VDC?

Hello, I thought I would send you a message based on your knowledge.

Recently my Tesla Model 3 Battery has been limited to 333VDC. I am trying to understand why this limit has started. I was able to charge this battery just last month to 350-370 VDC

0x22A ID22A HVP_pcsControl
HVP_dcLinkVoltageFiltered: 333V

0x132 ID132 HV BattAmpVolt
BattVoltage132: 332.7V

Screenshot 2024-05-31 at 2 55 18 PM
Screenshot 2024-05-31 at 2 42 48 PM

Maintainer

Is @joshwardell still active on this? I have a couple of pull requests and seeing no activity with the existing ones

Msg ID 0x7aa (1962) - Enum value 7 - new enum

MsgID: 0x7aa,
Value: 0x07d6ffd6ffbcff00

Cantools error:
expected multiplexer id 0, 1, 2, 3, 4, 5 or 6, but got 7

HVP_debugMessageMultiplexer has a 7th enum value?

Do we just add in "Mux7" as a value to the enum?

Msg 1885 - values that don't decode

Using python cantools:
MsgID: 0x75d (1885)
Value: 0x0effffffff000000
and
Value: 0x0d00000000000000

Error: expected multiplexer id 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 or 12, but got 13 (or 14 for the first value)

Either: the CP_sensorDataSelect has 14 values, or the extra bits after the first 12 options are being used for something else.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.