Page 1 of 1

ISO TP can Kangoos BMS

Posted: Thu Feb 01, 2024 9:36 pm
by Bigpie
Anyone got any info on using ISO TP to request data from a Kangoo BMS, source code would be even better.

Re: ISO TP can Kangoos BMS

Posted: Fri Feb 02, 2024 7:39 am
by uhi22
There is the CANze app, which should be able to read out the BMS data. This seems to be open source here: https://github.com/fesch/CanZE
On first look I was not able to find the details there, but they should.

Re: ISO TP can Kangoos BMS

Posted: Fri Feb 02, 2024 8:54 am
by Aragorn
Dalas battery emulator project also has code for querying the Kangoo BMS.

Re: ISO TP can Kangoos BMS

Posted: Fri Feb 02, 2024 9:49 am
by Bigpie
Dalas battery emulator doesn't do iso to to query each cell measurement. It does decide some frames it sends out though with normal can

[EDIT]
Actually, it does look at to a bit of ISOTP can, 0x7BB I think is a response frame ID from the BMS. So I need to do more reading to workout how to expand this to get more info.

Re: ISO TP can Kangoos BMS

Posted: Fri Feb 02, 2024 10:58 am
by uhi22
On my Hyundai I use TorquePro. Maybe we find the pid definitions which TorquePro would use for the ZE, maybe also these for Zoe, which may be similar. First try with Google did not succeed.

Re: ISO TP can Kangoos BMS

Posted: Wed Feb 07, 2024 2:29 pm
by Bigpie
Ive figured it out, and now working on some code, will add the github when it's done.
Screenshot 2024-02-07 at 2.28.25 pm.png
Some values still need some work, but I'm able to query all the cell voltages and some other values.

Re: ISO TP can Kangoos BMS

Posted: Sat Feb 10, 2024 12:00 am
by f0ld
uhi22 wrote: Fri Feb 02, 2024 7:39 am There is the CANze app, which should be able to read out the BMS data. This seems to be open source here: https://github.com/fesch/CanZE
On first look I was not able to find the details there, but they should.
CanZE actually reads mostly diagnostic data on free frames that come through a gateway from the Battery Can.
Still ISO-TP but depending on the Use-Case (e.g. directly connecting to the battery can) I wouldnt recommend it. Some reliability issues there as well.
The story how the CanZE and the DDT4All teams got the assets is also very interesting. They have a complete documentation of (at least) the complete zoe free frames and which modules they belong to. (Selected) ISO-TP formatted commands were carfully added only afterwards.

Regarding ISO TP there is a great (unlisted) youtube video from the CanZE Devs that might help you. Renault BMS are known to be a bit petulant about some some minor details (e.g. timing). So if something doesnt work check for those things first :)

Re: ISO TP can Kangoos BMS

Posted: Sat Feb 10, 2024 8:41 am
by Bigpie
Screenshot 2024-02-10 at 8.37.35 am.png
Thanks, I'll give it a watch. Interested in now they get the ISO-TP response mappings. I've got much of it now, I think, but would be nice to be able to confirm with something 'official'

I couldn't get canZE to work with just the pack.