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)

Fri Aug 02, 2013 9:21 pm

Found the odometer:
  • CAR can msgId 5C5 : D3,D4 = odometer
canbus messages

Turbo3
Gold Member
Posts: 2011
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)

Sat Aug 03, 2013 12:15 am

TickTock wrote:Found the odometer:
  • CAR can msgId 5C5 : D3,D4 = odometer
canbus messages
Actually it is D2,D3,D4.

Units are in 355 : D7 (0x60 miles, 0x40 km)

And don't expect it to change to km in the US if you change the display to km. At least it hasn't for me.

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)

Sat Aug 03, 2013 6:02 am

Turbo3 wrote: Units are in 355 : D7 (0x60 miles, 0x40 km)

And don't expect it to change to km in the US if you change the display to km. At least it hasn't for me.
But D5 of the same message will:
  • CAR can msgId 355 : D5 shows what the user has selected for distance units. 0x20=miles; 0x00=km

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)

Sat Aug 17, 2013 9:27 am

I think I am on to ambient.
EVcan 546:D7 and CARcan 510:D8 appear to contain ambient temperature(f) plus 56. Need to watch it some more to be sure and it doesn't appear to be exactly what is displayed in the eyebrow, but so far has been within 1 degree.

Turbo3
Gold Member
Posts: 2011
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)

Sat Aug 17, 2013 10:36 am

TickTock wrote:I think I am on to ambient.
EVcan 546:D7 and CARcan 510:D8 appear to contain ambient temperature(f) plus 56. Need to watch it some more to be sure and it doesn't appear to be exactly what is displayed in the eyebrow, but so far has been within 1 degree.
Yes, 0x510:D8 is outside temp but I don't know the units/offset. D2[bits 2,1,0] is listed as charging status but I have not confirmed this.

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)

Sun Aug 18, 2013 5:00 pm

It appears the temperature messages (EVcan 546:D7 and CARcan 510:D8) do not suffer from the same long delay/time_constant as the dash eyebrow display. I added the ambient to the debug screen on CANary and although I am within 1 degree when the car is at equilibrium, the message is much more responsive to outside changes. I ran an errand this afternoon. When I left the garage (80F), CANary and LEAF dash matched. Within minutes of driving in 110F weather, the CANary (msgID 546/510) temp quickly rose to 109F but the dash only increased to 84. I double-checked the owners manual and it is, indeed, supposed to be outside air temperature (I thought maybe it was showing cabin temperature). I wonder why the dash temp has so much filtering - makes it rather less useful. I think I will add outside ambient to one of the operational screens.

LEAFfan
Posts: 4828
Joined: Fri Apr 23, 2010 6:08 pm
Delivery Date: 08 Jun 2011
Leaf Number: 1855
Location: Phoenix Area

Re: LEAF CANbus decoding. (Open discussion)

Sun Aug 18, 2013 5:33 pm

Unless I'm mistaken, Jim's App shows cabin temp.
2013 LEAF SV Del. 2/28/13
2013 LEAF World Record for Most Miles Driven On One Charge-188 miles/8.8 m/kW h
4.8 kW DC PV ($ .91/W fully installed)/ Dec., 2010

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)

Sun Aug 18, 2013 9:14 pm

LEAFfan,
This has nothing to do with the app or cabin temperature. Does the outside ambient temperature gauge on your 2013 (on the instrument cluster "eyebrow") also take a long time to reflect changes?

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)

Mon Aug 19, 2013 7:40 am

TickTock wrote:It appears the temperature messages (EVcan 546:D7 and CARcan 510:D8) do not suffer from the same long delay/time_constant as the dash eyebrow display. I added the ambient to the debug screen on CANary and although I am within 1 degree when the car is at equilibrium, the message is much more responsive to outside changes. I ran an errand this afternoon. When I left the garage (80F), CANary and LEAF dash matched. Within minutes of driving in 110F weather, the CANary (msgID 546/510) temp quickly rose to 109F but the dash only increased to 84. I double-checked the owners manual and it is, indeed, supposed to be outside air temperature (I thought maybe it was showing cabin temperature). I wonder why the dash temp has so much filtering - makes it rather less useful. I think I will add outside ambient to one of the operational screens.
OK. Even more strange - the filter appears to be asymmetrical. This morning my garage was warmer than outside. As expected, the canbus message matched the dash outside temp display when I got in but unlike before when it was warmer outside, it continued to track the dash display perfectly as it dropped from 90F to 86F. So, it appears the dash display delays or filters rising temperatures but not falling. This would be consistent with my prior experience at car washes (temperature quickly drops after passing through the car wash but takes 20 minutes or so to return to something resembling the outside temp).

The Leaf is the nicest car I've ever owned so I've never had an outside temperature gauge before. Do ICE ambient gauges do the same? I wonder if this is a carry-over from ICE vehicles (maybe they were trying to compensate for engine compartment heat skewing the sensor and the same algorithm was copied to the LEAF even though there is no significant heat buildup to speak of).

garygTx
Posts: 59
Joined: Thu Nov 24, 2011 7:29 am
Delivery Date: 11 Nov 2011
Leaf Number: 5027
Location: Garland, TX

Re: LEAF CANbus decoding. (Open discussion)

Mon Aug 19, 2013 10:41 am

Has anyone captured a log from setting the charge timer? I suspect that will create a CAN message, so we might be able to set a charge level other than 80 or 100%. That would be ideal for me, as an 80% charge may not be enough for lunch runs/errands, but 100% is really over kill.
2011 SL 11/12/2011 - 10/06/2014 31,000 Miles, 2 bars lost
2015 SL 10/06/2014 - ?

Return to “LEAF CANBus”