Page 1 of 1

CAN DBC files

Posted: Tue Jul 26, 2022 8:25 am
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.

Re: CAN DBC files

Posted: Tue Jul 26, 2022 8:36 am
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

Re: CAN DBC files

Posted: Tue Jul 26, 2022 8:52 am
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!

Re: CAN DBC files

Posted: Mon Oct 10, 2022 3:46 pm
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

Re: CAN DBC files

Posted: Sat Oct 15, 2022 9:23 am
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?

Re: CAN DBC files

Posted: Sat Oct 15, 2022 9:47 am
by Bigpie
The BMW PHEV DBC is very much WIP and inadvertently pushed, if you correct it, please do a PR.