nmgeek
Posts: 2
Joined: Fri Sep 11, 2015 8:18 am
Delivery Date: 11 Sep 2015

Re: LEAF CANbus decoding. (Open discussion)

Fri Sep 11, 2015 8:25 am

Has someone posted a reasonably comprehensive list of the CAN 'polling' query codes? I'm talking about the parameters for request codes like 797 and 745. I read through the google docs spreadsheet of CAN codes and have gotten through half of the 44 (ouch!) pages of this topic in the forum and have found only a dribbling of these codes (about 7 so far). I'm not sure of the exact terminology for these: polling codes, request/response codes, PIDs (Parameter IDs). So not knowing the official terminology I'm not sure exactly what to search for.

thorx
Posts: 36
Joined: Tue May 14, 2013 5:41 pm
Delivery Date: 05 May 2013
Location: Norway

Re: LEAF CANbus decoding. (Open discussion)

Thu Oct 22, 2015 12:45 pm

JeremyW wrote:CarWings does not have a stop charging message. As far as I can tell, the command from the telematics (EV bus message 56E) is pretty simple and made up of a few bit flags.

Code: Select all

hex   binary   state
86   10000110   idle
46   01000110   status
4E   01001110   cc on
56   01010110   cc off
66   01100110   remote charge

From the highest bit: idle, VCM wake-up logic line status, remote charge, cc off, cc on, unknown, unknown, 0. The unknowns could be 12v supply voltage voltage ok and "within cell coverage"

Since that time I've never seen anything other than these states. You could unplug the TCU and try sending some other things like 0x67: 01100111 and see if that turns it off. However, I doubt Nissan would have left this functionality on the table. The only thing that I think they might have left on the table is the code to change the remote turn on temperature. In the 2013+ models this is a command from the AV unit to the climate control computer. I haven't isolated the message on a 2013 but I suspect it *might* work on a 2011 or 2012.

You might look at EV bus message 1F2. I suspect commanded charge power is in here.


Anyone going to take this info and turn it into a simple product? I see jermyw seems to have got rid of his leaf.
A carwings replacement is very interesting for all leafs that are exportet from usa to europa. I know there is a lot of usa leafs going to Norway, and I suspect there are a lot of leafs exported.

I did a poll on a Norwegian forum, and there where 21 people that voted they wanted a carwingsreplacement for their leafs. I think there is more that would be interested in this than 21 here in Norway. Not all are on the forum.

pncguy
Posts: 62
Joined: Mon Sep 28, 2015 12:24 pm
Delivery Date: 23 Oct 2015
Leaf Number: 335105
Location: Broomfield, CO

Re: LEAF CANbus decoding. (Open discussion)

Wed Nov 11, 2015 12:12 pm

I am working on my LeafSpy Pro setup. I have it all working using an old Google Nexus and the Konnwei KW902 (http://www.amazon.com/gp/product/B00R4R ... ge_o00_s00). This OBD2 reader has an on/off switch, but i don't know how long it will last, so I am thinking of a switched extension cable.

I was looking at the Tonsiki cable (http://www.amazon.com/gp/product/B00UR5 ... ISFXR1Q6M0) but I read the details and saw that it only passes through pins 2, 4, 5, 6, 7, 10, 14, 15, and 16.

I read a nice report here (http://digitalcommons.calpoly.edu/cgi/v ... text=cpesp) that says the EV CAN bus is passed through pins 12 and 13.

Does LeafSpy use the EV CAN bus? (I can't see how it wouldn't!) Does that then mean that I need to find (or make) a switched extension cable that carries pins 12 and 13?

Turbo3
Gold Member
Posts: 1775
Joined: Mon Jul 19, 2010 8:34 pm
Delivery Date: 12 May 2011
Leaf Number: 002191
Location: San Jose, CA

Re: LEAF CANbus decoding. (Open discussion)

Wed Nov 11, 2015 12:49 pm

pncguy wrote:I am working on my LeafSpy Pro setup. I have it all working using an old Google Nexus and the Konnwei KW902 (http://www.amazon.com/gp/product/B00R4R ... ge_o00_s00). This OBD2 reader has an on/off switch, but i don't know how long it will last, so I am thinking of a switched extension cable.

I was looking at the Tonsiki cable (http://www.amazon.com/gp/product/B00UR5 ... ISFXR1Q6M0) but I read the details and saw that it only passes through pins 2, 4, 5, 6, 7, 10, 14, 15, and 16.

I read a nice report here (http://digitalcommons.calpoly.edu/cgi/v ... text=cpesp) that says the EV CAN bus is passed through pins 12 and 13.

Does LeafSpy use the EV CAN bus? (I can't see how it wouldn't!) Does that then mean that I need to find (or make) a switched extension cable that carries pins 12 and 13?

ELM type OBDII adapters only connect to the standard CAR-CAN pins. They have no ability to connect to the EV-CAN unless you rewire them. LeafSpy assumes your OBDII adapter is connected to the CAR-CAN.

CAR-CAN is on pins 6 and 14
EV-CAN is on pins 12 and 13
AV-CAN is on pins 11 and 3

miscrms
Posts: 141
Joined: Fri Sep 05, 2014 10:25 am
Location: Phoenix, AZ

Re: LEAF CANbus decoding. (Open discussion)

Sat Nov 28, 2015 11:55 am

Hey, after my charging adventures I noticed the equation for battery voltage at OBC 0x5BF byte 3 doesn't seem to add up in my case. This is on a 2012 SL with QC, just charging on the portable L1.

When I was having difficulty 370V was measured at the battery/charger with no current flowing and the reading was #70. Later after charging for a while I measured 378V and the CAN byte was #79.

That might mean just a 1:1 ratio and ~258V offset for x5BF byte 3?

Also, byte 2, Line Voltage was fluctuating between #95 and #97 for L1 charging.

Rob

bmartin
Posts: 16
Joined: Thu Dec 31, 2015 1:55 pm
Delivery Date: 20 Jun 2015
Leaf Number: 2012

Re: LEAF CANbus decoding. (Open discussion)

Sat Mar 18, 2017 6:55 pm

nmgeek wrote:Has someone posted a reasonably comprehensive list of the CAN 'polling' query codes? I'm talking about the parameters for request codes like 797 and 745. I read through the google docs spreadsheet of CAN codes and have gotten through half of the 44 (ouch!) pages of this topic in the forum and have found only a dribbling of these codes (about 7 so far). I'm not sure of the exact terminology for these: polling codes, request/response codes, PIDs (Parameter IDs). So not knowing the official terminology I'm not sure exactly what to search for.



I'm still searching for these codes. I've come up empty handed. I can't seem to get all the codes from the master spreadsheet either. 1XX Codes pertaining to BMS/VCM don't show up when I query for them directly, or with any kind of Mask/Filter.
2012 Nissan Leaf SV - Purchased June 2015 with 16.2k miles.
Lost 1st bar 09/2016 at 37.7k miles, 84% SOH
01/01/2017 - 41k miles, 86% SOH, 226 GIDs

Projects:
Happy Leaf Bluetooth ELM app
Carwings Siri Intigration
Leaf Underglow/charging port lights

bmartin
Posts: 16
Joined: Thu Dec 31, 2015 1:55 pm
Delivery Date: 20 Jun 2015
Leaf Number: 2012

Re: LEAF CANbus decoding. (Open discussion)

Thu Mar 30, 2017 8:58 pm

I found traction battery volts at 7BB D0:D1line 03 at a scale of * 100.
IE: 239830385A038F00 = 389.6 volts
I imagine the traction battery amps are somewhere here too, but I don't know at what scale.
2012 Nissan Leaf SV - Purchased June 2015 with 16.2k miles.
Lost 1st bar 09/2016 at 37.7k miles, 84% SOH
01/01/2017 - 41k miles, 86% SOH, 226 GIDs

Projects:
Happy Leaf Bluetooth ELM app
Carwings Siri Intigration
Leaf Underglow/charging port lights

Fyodor
Posts: 6
Joined: Fri Dec 13, 2013 7:26 pm
Delivery Date: 13 Dec 2013

Re: LEAF CANbus decoding. (Open discussion)

Sat Apr 01, 2017 4:45 pm

Hi guys. Would anyone happen to know an ID for a message on the CAR or EV bus (OBD) that would show that a QC or regular connector has been connected to the car? Optionally, an ID referencing the charge port door being opened?

Cheers!

Return to “LEAF CANBus”