Active EV-CAN sampling: cell voltages, pack temperatures...

My Nissan Leaf Forum

Help Support My Nissan Leaf Forum:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.
Jim has his hands full keeping up with the high demand for LEAF app so rather than distract him from that by nagging him to publish his findings I decided to see what I could figure out on my own last night. I was looking at a log from his app and it looks like he found a better way to get the subsequent lines of data. Instead of sending:
  • 0x79b: 0x30 0x01 0x00 0xff 0xff 0xff 0xff 0xff
for each line of data. You can just send the following soon after getting the first response and the rest of the lines will automatically get received:
  • 0x79b: 0x30 0x00 0x18 0xff 0xff 0xff 0xff 0xff
I have tested this with CANary and it is working.
 
Also, to read tire pressure:

  • Send: 0x745: 0x02 0x21 0x10 0xff 0xff 0xff 0xff 0xff
    Recv: 0x765: 0x10 d1 d2 d3 d4 d5 d6 d7
    Send: 0x745: 0x30 0x00 0x18 0xff 0xff 0xff 0xff 0xff
    Recv: 0x765: 0x10 d8 d9 da db dc dd de

Tire pressure_x4 is in d6-d9. Thanks again Jim! This is excellent progress!
 
You don't have to go to all that trouble to get tire pressure.

It has always been available on the CAR-CAN. Same with real GIDS. Although with real GIDS there is a limitation. You just need to look more closely at the normal messages.

I only use request messages because I don't have the listen code working yet. Listen would be much easier for you since you already have it in you CAR-CAN log. Just go back and look for it now that you know what it look like.

Jim
 
Turbo3 said:
You don't have to go to all that trouble to get tire pressure.

It has always been available on the CAR-CAN. Same with real GIDS. Although with real GIDS there is a limitation. You just need to look more closely at the normal messages.

I only use request messages because I don't have the listen code working yet. Listen would be much easier for you since you already have it in you CAR-CAN log. Just go back and look for it now that you know what it look like.

Jim

Could you enlighten us? :)
 
It should not take GregH, Gary Giddings,TickTock or any of our other CAN experts more than a few minutes of looking at the CAR-CAN traces they have to find them. But if not I will post them later today. I just though they would like a small challenge. Like an Easter Egg hunt. Who can find them first (well second actually).
 
Turbo3 said:
It should not take GregH, Gary Giddings,TickTock or any of our other CAN experts more than a few minutes of looking at the CAR-CAN traces they have to find them. But if not I will post them later today. I just though they would like a small challenge. Like an Easter Egg hunt. Who can find it first.

You're awesome! :mrgreen:
 
Might as well add Odometer to the list of things to look for on the CAR-CAN. It's there too.

Since the battery energy units on the CAR-CAN do not always match the GIDs on the EV-CAN I think we should call them JIDs ;-)
 
It is an Easter egg hunt!

Looks like the EVSE stuff is on the 792/793 IDs..

while charging:
0792 8 03 22 12 30 00 00 00 00
0793 8 05 62 12 30 68 AF 00 00
0792 8 03 22 12 10 00 00 00 00
0793 8 05 62 12 10 01 F1 00 00

Not charging:
0792 8 03 22 12 30 00 00 00 00
0793 8 05 62 12 30 00 16 00 00
0792 8 03 22 12 10 00 00 00 00
0793 8 05 62 12 10 00 00 00 00

So I'm guessing that 68AF is the voltage and 01F1 is the PWM for ampacity?
 
And the DCQC count is
0797 8 03 22 12 03 00 00 00 00 request
079A 8 07 62 12 03 00 47 FF FF response

71

and the L2/L1 count is
0797 8 03 22 12 05 00 00 00 00 request
079A 8 07 62 12 05 08 8B FF FF response

2187
 
Turbo3 said:
Wrong place. Look for message IDs less than 0x700 on the CAR-CAN for JIDS, Tire Pressure and Odometer. Not from my app.

Looking for stuff from my app is like shooting fish in a barrel.

My barrel is on EV-CAN.
 
Back
Top