CAN DBC files

Introduction and miscellaneous that we haven't created categories for, yet
Post Reply
User avatar
catphish
Posts: 954
Joined: Fri Oct 08, 2021 11:02 pm
Location: Dorset, UK
Has thanked: 93 times
Been thanked: 179 times

CAN DBC files

Post by catphish »

I am using SavvyCAN for debugging, and I see that it can load definition files that map CAN data to human readable data.

Is there a repository of these DBC files anywhere? I will need to make my own for my own BMS, but it would be good if I could download ready made files.

In particular I am looking for a definition file for the ISAscale shunt.
User avatar
Bigpie
Posts: 1586
Joined: Wed Apr 10, 2019 8:11 pm
Location: South Yorkshire, UK
Has thanked: 74 times
Been thanked: 299 times

Re: CAN DBC files

Post by Bigpie »

I started a collection of dbc files. I made one for the isa shunt when configured as the wiki https://openinverter.org/wiki/Isabellen ... te_Heusler on my github https://github.com/jamiejones85/DBC-files
VW Beetle 2003
Outlander front generator
Prius Gen 3 inverter (EVBMW logic board)
Outlander charger
3x Golf GTE batteries
Chademo Charging
Outlander water heater
User avatar
catphish
Posts: 954
Joined: Fri Oct 08, 2021 11:02 pm
Location: Dorset, UK
Has thanked: 93 times
Been thanked: 179 times

Re: CAN DBC files

Post by catphish »

Bigpie wrote: Tue Jul 26, 2022 8:36 am I started a collection of dbc files. I made one for the isa shunt when configured as the wiki https://openinverter.org/wiki/Isabellen ... te_Heusler on my github https://github.com/jamiejones85/DBC-files
Exactly what I was looking for, thank you!
Jonr
Posts: 47
Joined: Fri Feb 11, 2022 1:28 pm
Location: Surrey, England
Has thanked: 1 time
Been thanked: 6 times

Re: CAN DBC files

Post by Jonr »

I have a battery pack from a 530e which includes a shunt.
I need a shunt but would prefer not to pay for an ISA.
Using the ISA .DBC file from BigPie, would it be feasible to capture the CAN output from the BMW shunt and remap the messages so as the zombieVerter believes it's talking to an ISA?

Or, I wonder if the ISA shunt messages specs could be replaced with BMW message specs in the ZombieVerter firmware ..... recompile and off you go..
all just a bit beyond my ability.

P.S. - I've only just got SavvyCAN working
Project : GS450h into BMW 3 Series Touring?
Jonr
Posts: 47
Joined: Fri Feb 11, 2022 1:28 pm
Location: Surrey, England
Has thanked: 1 time
Been thanked: 6 times

Re: CAN DBC files

Post by Jonr »

Bigpie wrote: Tue Jul 26, 2022 8:36 am I started a collection of dbc files. I made one for the isa shunt when configured as the wiki https://openinverter.org/wiki/Isabellen ... te_Heusler on my github https://github.com/jamiejones85/DBC-files
I took the liberty of using your .DBC file for the BMW PHEV. I'm a complete newby to SavvyCAN and CAN in general. I've got SimpBMS working on a BMW 530e battery pack using a Teensy 3.5. The output shows on the batteries found and a voltage delta of 3mv (on the Arduino console screen).

I've now added the SavvyCAN via a Due and can capture lots of lovely frames.

When I apply the BMW PHEV .DBC to the captures frames, it shows my Module 1 P1 cell to have a voltage of 4295mV
image.png
The arduino console shows all cells to have a voltage of about 3650mV
What am I doing wrong as I'd expect the SavvyCAN output to be the same as the arduino console values?
Project : GS450h into BMW 3 Series Touring?
User avatar
Bigpie
Posts: 1586
Joined: Wed Apr 10, 2019 8:11 pm
Location: South Yorkshire, UK
Has thanked: 74 times
Been thanked: 299 times

Re: CAN DBC files

Post by Bigpie »

The BMW PHEV DBC is very much WIP and inadvertently pushed, if you correct it, please do a PR.
VW Beetle 2003
Outlander front generator
Prius Gen 3 inverter (EVBMW logic board)
Outlander charger
3x Golf GTE batteries
Chademo Charging
Outlander water heater
Post Reply