dnyksgs
Posts: 1
Joined: Thu Dec 12, 2013 2:21 am
Delivery Date: 12 Dec 2013

Re: LEAF CANbus decoding. (Open discussion)

Thu Dec 12, 2013 2:49 am

Hello everybody,

First of all, I appreciate all your work and sharing the efforts and results. After visiting this forum for a lot of times, I have registered myself a few minutes ago.
I'm sorry to smash the latest topic, but I have an urgent question.

Out of the postings before, the Identifier for "wheel speed" seems to be 284 for the front left wheel (google-doc sheet). From another sheet of the 370Z, the msgid seems to be the same.

https://docs.google.com/spreadsheet/ccc ... MUXc#gid=1" onclick="window.open(this.href);return false;
https://docs.google.com/spreadsheet/ccc ... ring#gid=0" onclick="window.open(this.href);return false;

1.) Does anybody has some experiences with these values, if they're "real"?
2.) How should I interpret the "high" and "low" byte in msgid 284?

Theoretical: If I divide the max value form high Byte [F0] through 160.934*2, i'll get in dec format 0.7954 (-> :| ). In the 370Z sheet, the result should be a value in mph.

The result must be a combination out of the low and high byte, but I don't know how.

User avatar
TickTock
Posts: 1701
Joined: Sat Jun 04, 2011 10:30 pm
Delivery Date: 31 May 2011
Leaf Number: 3626
Location: Queen Creek, Arizona
Contact: Website

Re: LEAF CANbus decoding. (Open discussion)

Thu Dec 12, 2013 3:22 am

It is a 16 bit word so you take high byte times 256 + low byte. Keep in mind the 370Z tab is from a different car so the ratio will likely be different to convert to mph (different wheel).

User avatar
TickTock
Posts: 1701
Joined: Sat Jun 04, 2011 10:30 pm
Delivery Date: 31 May 2011
Leaf Number: 3626
Location: Queen Creek, Arizona
Contact: Website

Re: LEAF CANbus decoding. (Open discussion)

Thu Dec 12, 2013 3:36 am

JeremyW wrote:Sadly, there is no "magic" can bus command to wake up the VCM or the rest of the leaf. The Telematics module wakes up the VCM over a dedicated logic line, according to the service manual. The command I was seeing 68C (I thought it was 68 but I wasn't looking closely enough!) seems to be the first message on the bus when starting the leaf regardless of mode (you pressing the start button or doing a remote request). The payload for 68C is 00 and appears only one time at the start.

:(
I see a single 68C on EVcan but it isn't the first - it is the 406th message I got after pressing the "ON" button.

User avatar
garygid
Gold Member
Posts: 12469
Joined: Wed Apr 21, 2010 8:10 am
Delivery Date: 29 Mar 2011
Leaf Number: 000855
Location: Laguna Hills, Orange Co, CA

Re: LEAF CANbus decoding. (Open discussion)

Thu Dec 12, 2013 7:37 am

Keep up the good work guys, and a very
Merry Christmas season of peace and
happiness to each of you.

It has been my pleasure to work with many of
you, and I encourage you all to continue
to do good things with your lives even after
I have... am no longer able to contribute. :D
See SOC/GID-Meter and CAN-Do Info
2010 Prius
2011 LEAF, 2014 Tesla S85
2018 & 2019 Tesla Model 3
PU: SDG&E
Solar PV: 33 x 225W -> 7 kW max AC
Craigslist: Xm5000Li Electric Motorcycle

User avatar
TickTock
Posts: 1701
Joined: Sat Jun 04, 2011 10:30 pm
Delivery Date: 31 May 2011
Leaf Number: 3626
Location: Queen Creek, Arizona
Contact: Website

Re: LEAF CANbus decoding. (Open discussion)

Thu Dec 12, 2013 7:42 am

garygid wrote:It has been my pleasure to work with many of
you, and I encourage you all to continue
to do good things with your lives even after
I have... am no longer able to contribute. :D
Best wishes Gary and thanks for your tremendous contribution! It has been a pleasure working with you.

User avatar
TickTock
Posts: 1701
Joined: Sat Jun 04, 2011 10:30 pm
Delivery Date: 31 May 2011
Leaf Number: 3626
Location: Queen Creek, Arizona
Contact: Website

Re: LEAF CANbus decoding. (Open discussion)

Thu Dec 12, 2013 8:02 am

I spent some time last night trying to find a message indicating the number of regen bubbles to help shed some light on the regen reduction riddle. I failed to find anything that directly correlated 1:1 with regen bubbles but I think I found something better. CarCan msgId:260 d:1 appears to contain available regen. I put a watchpoint on it in my CANary for my drive this morning and saw that regen bubbles appear when this message reaches 6, 12, & 18 (I presume I would have gotten the last bubble if I was able to reach 24). There is hysteresis so the bubbles only disappear when it falls to the threshold below that (the 2nd bubble comes on with 12 and off with 6; similarly, the 3rd comes on with 18 and off with 12). Should be illuminating to plot this along with speed, SOC, and temperature throughout the last year. I hope to do that tonight.

User avatar
garygid
Gold Member
Posts: 12469
Joined: Wed Apr 21, 2010 8:10 am
Delivery Date: 29 Mar 2011
Leaf Number: 000855
Location: Laguna Hills, Orange Co, CA

Re: LEAF CANbus decoding. (Open discussion)

Thu Dec 12, 2013 8:55 am

Mucho Cool, very nice find.
Your software has matured wonderfully.
Hopefully I can get time to do an update soon.
See SOC/GID-Meter and CAN-Do Info
2010 Prius
2011 LEAF, 2014 Tesla S85
2018 & 2019 Tesla Model 3
PU: SDG&E
Solar PV: 33 x 225W -> 7 kW max AC
Craigslist: Xm5000Li Electric Motorcycle

GregH
Posts: 860
Joined: Fri Jul 01, 2011 4:16 pm
Delivery Date: 13 Jun 2011
Leaf Number: 26967
Location: Irvine, CA

Re: LEAF CANbus decoding. (Open discussion)

Thu Dec 12, 2013 10:52 am

There should be something on the EVbus from the BMS indicating max allowed current draw and max allowed regen. They're probably in the same message. Maybe look for a message that changes in turtle mode as well as being different at full SOC vs mid SOC with full regen... Do we even know exactly which messages are from each controller? If LeafSpy can clear DTCs it might be worthwhile unplugging controllers one at a time and see which messages disappear.. There may be a sanitized version of the same info echoed through the VCM for the display.
'17 blue Volt Premier w/ACC
'12 SL black Leaf
'11 SL blue Leaf
RAV4-EV 2002-2005
Gen1 & Gen2 EV1 1997-2003
PV 2.4Kw, 10kWh lithium battery SCE TOU-DA

User avatar
TickTock
Posts: 1701
Joined: Sat Jun 04, 2011 10:30 pm
Delivery Date: 31 May 2011
Leaf Number: 3626
Location: Queen Creek, Arizona
Contact: Website

Re: LEAF CANbus decoding. (Open discussion)

Thu Dec 12, 2013 11:24 am

garygid wrote:Mucho Cool, very nice find.
Your software has matured wonderfully.
Hopefully I can get time to do an update soon.
Sweet! Glad to hear it - your earlier post sounded like you were bowing out. :?

User avatar
TickTock
Posts: 1701
Joined: Sat Jun 04, 2011 10:30 pm
Delivery Date: 31 May 2011
Leaf Number: 3626
Location: Queen Creek, Arizona
Contact: Website

Re: LEAF CANbus decoding. (Open discussion)

Thu Dec 12, 2013 6:01 pm

TickTock wrote:I spent some time last night trying to find a message indicating the number of regen bubbles to help shed some light on the regen reduction riddle. I failed to find anything that directly correlated 1:1 with regen bubbles but I think I found something better. CarCan msgId:260 d:1 appears to contain available regen. I put a watchpoint on it in my CANary for my drive this morning and saw that regen bubbles appear when this message reaches 6, 12, & 18 (I presume I would have gotten the last bubble if I was able to reach 24). There is hysteresis so the bubbles only disappear when it falls to the threshold below that (the 2nd bubble comes on with 12 and off with 6; similarly, the 3rd comes on with 18 and off with 12). Should be illuminating to plot this along with speed, SOC, and temperature throughout the last year. I hope to do that tonight.
On the drive home I was able to confirm that, indeed, the final (4th) regen bubble lights when 260:1 reaches 24. Furthermore, I was able to get the message to go all the way to 32 - equivalent to 1 1/3 more bubbles which the dash was unable to display. Would be interesting to see how high it can go for folks living near hills (requires long durations of regen to build up the regen bubbles).

Return to “LEAF CANBus”