Here is an updated test version of LeafSpy Pro that adds any serial number information, if available, to an ECU listing.
2011 and 2013 data
2011 and 2013 data
NocturnalWalt said:There is other stuff I've found too, but I haven't put any time into making sense of it yet (I probably wont for a while either as my playing has lead me off in another direction). For anyone interested in taking this further themselves, these three requests to the LBC (one at a time) will read the current battery data stored in the LBC.
0x: 02 21 61 FF FF FF FF FF
0x: 02 21 62 FF FF FF FF FF
0x: 02 21 64 FF FF FF FF FF
JeremyW - Yeah I suspected the same thing.I bet some of that data is in this: http://www.mynissanleaf.com/viewtopic.php?t=8260
That would be great, and I'm sure we can get further along that path, though I suspect reprogramming any intentional safety/security checks will be tricky.NocturnalWalt said:My interest/goals mostly hinge around having a lot more flexibility to swap and or upgrade the HV battery than we have now.
Do you have access to one? I wish I did - it would be so useful for checking many things.I worked out the request/response IDs for different control modules by observing Consult making requests to the control modules I am interested in.
You mean query 79b, group 84? If that is also what Turbo3 is calling HV BATTERY, it doesn't seem so different to me.Your LBC Serial results look quite different to the ones I've found and Turbo3 posted. They may be right, but it also might be worth re-checking your method and results.
Yours 230SM114xxxxxxxx
Mine 230UK114BM001313
T3-2011 230JT1113A001477
T3-2013 230SM1135H000676
can0>79b#022184ffffffffff
can0<7bb#1016618432333055 ..a.230U
can0>79b#300100ffffffffff
can0<7bb#214b313134424d30 !K114BM0
can0>79b#300100ffffffffff
can0<7bb#2230313331332020 "01313
can0>79b#300100ffffffffff
can0<7bb#232020ffffffffff # .....
can0>79b#300100ffffffffff
timeout
NocturnalWalt said:caederus - My interest/goals mostly hinge around having a lot more flexibility to swap and or upgrade the HV battery than we have now
hm, pretty sure it did ....NocturnalWalt said:.... Consult doesn't have the ability to read the Meter part number either ......
Turbo3 said:Here is an updated test version of LeafSpy Pro that adds any serial number information,....
LeafSpy provides information like any good spy. It is up to the user(s) to decide how to use it. But knowing the battery serial number might tell you something about when/how the battery was manufactured if enough people report their data. Parts of the serial number might change based on chemistry or other interesting factors.analyser said:Turbo3 said:Here is an updated test version of LeafSpy Pro that adds any serial number information,....
Reading serial ... thats fine. Consult does that, but what is the practical application of knowing the serial?
Any plans to create the "Battery Programming Card" to be able to write into the LBS? Right now as others mentioned here - there is not much "flexibility" in swapping the pack. I would call it not a lack of flexibility but rather a huge issue - to open two packs and to swap the LBS (done recently in Auckland). Otherwise with the "card" handy it would not be required - just few minutes of reprog...
Turbo3 said:...... knowing the battery serial number might tell you something about when/how the battery was manufactured if enough people report their data. Parts of the serial number might change based on chemistry or other interesting factors.
I would guess the "Battery Programming Card" generates a special code number required to marry the VCM and BMS ECU using the battery's serial number. A CAN trace of the process would tell us more about what is going on. I would thing the PCMCIA card includes an encryption chip so it is not going to be easy to bypass it. I don't recall seeing that card for sale so probably only dealers can get it.
When my pack was replaced under capacity warranty I talked with the service advisor about this.Turbo3 said:... I don't recall seeing that card for sale so probably only dealers can get it.
SOC changes during normal charging when the battery pack is in a Leaf. When I have a BMS on my bench the CAN is only active if I have +12 and IGN pins powered. Without the IGN getting 12 volts the CAN is not active for me. This is without a battery pack just the BMS powered on the bench.taavi said:Hello!
I got an used Leaf Battery and experimenting with CAN, reading the parameters from BMS via EV-CAN. As I don't have Leaf at the moment, I try to learn the battery BMS capabilities to use it otherwise. First connected using ELM327 with LeafSpy Lite and also with Peaktech PCAN expresscard. I get the data and answers to the queries, balancing works (red colored bars in LeafSpy Lite) if either IGN pins has 12V on it, but also have problems and questions.
First seems that LeafSpy doesn't read the value of current from messages on EV-CAN as the app shows 0 while charging or consuming, but there seems to be value of current, so figuring out at the moment how to get the readable number ( from message with id 1DB I guess).
But the most important problem for me at the moment is, that the value of SOC (From first message: Group 1 has 6 lines of data (precision SOC, Ah Capacity and perhaps battery State of Health %) doesn't change, while I charge the battery via power supply or consume the energy (big resistors). I see the battery that the voltages of cells rise and fall but SOC doesn't change. I can get new SOC value only when disconnecting and reconnecting 12V BAT pin at Leaf Battery communication socket which somehow forces the BMS to calculate or show the new value. As you have more experience here, I wanted to ask, if there is any CAN message to say BMS to recalculate the SOC value?
I was and will continue digging in the forum, but maybe someone can give me some hints to find the right information faster.
The programming card is a PCMCIA card and plugs into the laptop running the Consult 3+ software (so you need an old laptop that still has the PCMCIA slot). I assume it generates the encryption key necessary to "marry" the "new" BMS (battery pack) to the VCM in the Leaf.TimLee said:When my pack was replaced under capacity warranty I talked with the service advisor about this.Turbo3 said:... I don't recall seeing that card for sale so probably only dealers can get it.
The card is a programming tool for the Consult III.
Nissan will not sell it to anyone.
They will only provide it to dealers for use in doing capacity warranty replacements or installation of a new pack that the customer has purchased.
I'm still a bit unclear on whether it is specific to the new pack. My guess is that it is and the dealer must return it to Nissan after the pack is installed.
Nissan does have specific requirements that the old pack must be returned to them in a specific time frame.
If someone wants to monitor CAN while they are doing the software install they will have to get a dealer willing to work with them to do this.
My guess is it would be a gross violation of their contractal agreements with Nissan and they will not do it.
Most dealers won't even let you in the service bay due to insurance and safety liabilities.
The programming card does raise some interesting questions.
Say my LEAF with new pack gets in wreck and insurance totals it but pack is undamaged.
The smart thing to do would be to buy 2011 with badly degraded pack and swap in the new pack.
But the only way to do that will be to get Nissan to provide you a card.
Don't know if they will cooperate and do that or not :?:
TimLee said:The programming card does raise some interesting questions.
Say my LEAF with new pack gets in wreck and insurance totals it but pack is undamaged.
The smart thing to do would be to buy 2011 with badly degraded pack and swap in the new pack.
But the only way to do that will be to get Nissan to provide you a card.
Don't know if they will cooperate and do that or not :?:
does this help?taavi said:I was and will continue digging in the forum, but maybe someone can give me some hints to find the right information faster.
Made an Arduino setup to monitor EV-CAN.Turbo3 said:SOC changes during normal charging when the battery pack is in a Leaf. When I have a BMS on my bench the CAN is only active if I have +12 and IGN pins powered. Without the IGN getting 12 volts the CAN is not active for me. This is without a battery pack just the BMS powered on the bench.taavi said:Hello!
I got an used Leaf Battery and experimenting with CAN, reading the parameters from BMS via EV-CAN. As I don't have Leaf at the moment, I try to learn the battery BMS capabilities to use it otherwise. First connected using ELM327 with LeafSpy Lite and also with Peaktech PCAN expresscard. I get the data and answers to the queries, balancing works (red colored bars in LeafSpy Lite) if either IGN pins has 12V on it, but also have problems and questions.
First seems that LeafSpy doesn't read the value of current from messages on EV-CAN as the app shows 0 while charging or consuming, but there seems to be value of current, so figuring out at the moment how to get the readable number ( from message with id 1DB I guess).
But the most important problem for me at the moment is, that the value of SOC (From first message: Group 1 has 6 lines of data (precision SOC, Ah Capacity and perhaps battery State of Health %) doesn't change, while I charge the battery via power supply or consume the energy (big resistors). I see the battery that the voltages of cells rise and fall but SOC doesn't change. I can get new SOC value only when disconnecting and reconnecting 12V BAT pin at Leaf Battery communication socket which somehow forces the BMS to calculate or show the new value. As you have more experience here, I wanted to ask, if there is any CAN message to say BMS to recalculate the SOC value?
I was and will continue digging in the forum, but maybe someone can give me some hints to find the right information faster.
In normal use LeafSpy gets data from an OBDII adapter plugged into the CAR CAN so no LeafSpy does not read the EV CAN as it is not normally connected to it. Only in the special case where the OBDII CAR CAN pins are wired to the EV CAN could LeafSpy get data from the EV CAN. Only when you are working with a standalone battery pack does this happen.
Enter your email address to join: