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 12:09 pm

garygTx wrote: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.
This is something we've been looking for for some time but have not been able to identify any messages to start or stop charging. I personally wanted a 50% or "storage" option so I could come home, bring it to the storage level immediately and then let the END timer charge the rest in the morning. I've been toying with adding a simple IR link to a relay on the EVSE to cut power when the target charge level is reached but now that they rolled out the warranty I am less concerned so this became a lower priority.

User avatar
DaveEV
Posts: 6245
Joined: Fri Apr 23, 2010 3:51 pm
Location: San Diego

Re: LEAF CANbus decoding. (Open discussion)

Mon Aug 19, 2013 10:36 pm

TickTock wrote: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).
Very plausible theory. I imagine that stopping at a red light in an ICE when there isn't any wind (especially at a large and busy intersection mid-day with the sun out) would see a large spike in temperatures.

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)

Wed Aug 21, 2013 9:38 am

It appears the 1CA brake pressure message does not exist on MY2013 LEAFs. I was playing back one of the logs I got from LEAFfan's new car (characterizing his battery ESR) and I noticed I never heard my brake pressure monitor chirp. At first I thought, "Damn! He *is* good!" but on closer inspection I discovered that the 1CA messages were absent from the log. Hopefully there is another equivalent message.

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 Aug 22, 2013 6:35 pm

TickTock wrote:It appears the 1CA brake pressure message does not exist on MY2013 LEAFs. I was playing back one of the logs I got from LEAFfan's new car (characterizing his battery ESR) and I noticed I never heard my brake pressure monitor chirp. At first I thought, "Damn! He *is* good!" but on closer inspection I discovered that the 1CA messages were absent from the log. Hopefully there is another equivalent message.
Appears MY2013 Leafs do share the brake pressure in CARcan msdId:292:D7. Update rate is less frequent but probably fast enough for the monitor. This message is also present on my 2011 so I can use the same formula for all models.

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)

Thu Aug 22, 2013 11:05 pm

TickTock wrote:
TickTock wrote:It appears the 1CA brake pressure message does not exist on MY2013 LEAFs. I was playing back one of the logs I got from LEAFfan's new car (characterizing his battery ESR) and I noticed I never heard my brake pressure monitor chirp. At first I thought, "Damn! He *is* good!" but on closer inspection I discovered that the 1CA messages were absent from the log. Hopefully there is another equivalent message.
Appears MY2013 Leafs do share the brake pressure in CARcan msdId:292:D7. Update rate is less frequent but probably fast enough for the monitor. This message is also present on my 2011 so I can use the same formula for all models.
With B mode I rarely use any friction brakes. I usually use the brake to keep from 'creeping'.
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
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)

Fri Aug 23, 2013 6:30 am

Did anybody find a value for the voltage of the 12v buss that
could be observed by passive-listening to the CAN Messages on
either the EV or the CAR CAN bus?

I think that I remember that the value was found in two bytes
of some Request-Response messages, but possibly not in the
passive messages?

Thanks.
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)

Fri Aug 23, 2013 7:01 am

I spent a little time trying to find a passive message containing it but so far unsuccessful. Now that we know what the sensor is outputting from the active request, it should be easier to find if it exists. On my to-do list...

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)

Fri Aug 23, 2013 7:34 am

TickTock,
Once again, thanks for your kind and generous help.
Sincerely, Gary
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

brad370
Posts: 3
Joined: Mon Aug 26, 2013 8:17 pm
Delivery Date: 26 Aug 2013

Re: LEAF CANbus decoding. (Open discussion)

Mon Aug 26, 2013 8:25 pm

Not sure if you'd be interested, but I've got a similar project going on for my 370Z. Here's a link to my spreadsheet on the 370Z CAN, which seems to share a bunch with the Leaf's normal car CAN. I'm not sure how far I want to take this yet, but I'm posting my progress on my blog as well (http://www.straybytes.com)

https://docs.google.com/spreadsheet/ccc ... sp=sharing

PS: I find it very odd that we both decided on VB6 to make an interface program. I just happened to have an old copy lying around from college and fired it up.

-Brad

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 31, 2013 5:33 am

Thanks for sharing, Brad, this is a nice contribution. You are right - there are a lot of common messages and I already see a lot of information in your document that we had not yet established for the LEAF. On the Leaf, 292:G appears to be brake pressure or applied friction rather than brake pedal position. It goes away as regen is applied for the same brake pedal position. On the Z, it may effectively be brake pedal position but I wonder if it is really applied friction as it is on the LEAF. Also I do not think 292:D is battery voltage. It mostly hovers around 7f-80 for me too but I know the battery voltage fluctuates from 11-14. Curious, though, I see it dip twice during a short log I took while going through a car wash. I have spent many hours trying to find a passive message containing accessory battery voltage and have come up empty even knowing what the sensor is outputting via the active message. Have you tried querying the 370Z with the 79b/7bb message pairs like we do on the LEAF?

I'll keep looking to see what other gems we can gather. You probably already found it, but here is my spreadsheet with the LEAF messages.

Return to “LEAF CANBus”