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: Active EV-CAN sampling: cell voltages, pack temperatures

Sat Aug 03, 2013 12:44 pm

So now that I have implemented displaying ambient temp in the app it was 1 degree off on my first test sitting in the garage. So I have changed to -42 for now and will see how it compares to the dash number when I get to take the Leaf out.

Perhaps there is some delay between what I read and what gets displayed. Time will tell.

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: Active EV-CAN sampling: cell voltages, pack temperatures

Sun Aug 04, 2013 2:53 pm

I was reviewing my daily logs and it appears that the 24th and 25th entry in the first group of 79b/7bb data is equal to the accessory battery voltage times 1024. 24th entry would be 4th line, 3rd byte.

7bb:
group:1 line:4 ((D3<<8)+D4)/1024

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: Active EV-CAN sampling: cell voltages, pack temperatures

Wed Aug 07, 2013 6:33 am

The Ambient temperature displayed in the eyebrow of the
original 2011 LEAF is substantially delayed and "processed"
from the actual sensor readings... enough to make it almost
unusable, IMO.

Has this changed in the 2013 model?
Last edited by garygid on Wed Aug 07, 2013 6:52 am, edited 1 time in total.
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
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: Active EV-CAN sampling: cell voltages, pack temperatures

Wed Aug 07, 2013 6:48 am

Great, the 12v "battery" (really the 12v bus) voltage times 4 in
the high order byte, with additional precision in the next byte.

Another great find, an example of what even a few people
can accomplish when they are collaborating and sharing
information, as opposed to keeping discoveries proprietary
and plotting to bankrupt competing efforts.

Imagine how splendid the world could be if people
were able to cooperate worldwide. With that, we would
probably have food replicators instead of 20 competing
oil companies, and clean water to drink worldwide,
and maybe even really exciting, rapid mass transit, instead
of packing people into flying sausages.

Keep up the splendid cooperation... doesn't it feel good?

I am very pleased to have been a small part of this
really great community, and (I hope) revolution.
Ahoy Mates!
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: Active EV-CAN sampling: cell voltages, pack temperatures

Sun Aug 18, 2013 5:09 pm

garygid wrote:The Ambient temperature displayed in the eyebrow of the
original 2011 LEAF is substantially delayed and "processed"
from the actual sensor readings... enough to make it almost
unusable, IMO.

Has this changed in the 2013 model?
Can't answer about the 2013, but the associated passive carcan and evcan messages do not appear to suffer from this on my 2011:

http://www.mynissanleaf.com/viewtopic.php?f=44&t=4131&start=275

dm33
Posts: 690
Joined: Sat May 18, 2013 4:43 am
Delivery Date: 31 May 2013
Location: Raleigh, NC

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

Sat Sep 21, 2013 10:34 am

Trying to figure out how to obtain GIDs and kWh as I start writing an iPhone app. Where is it? First post is great at describing most data. Lots of threads to pursue.

Thanks

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: Active EV-CAN sampling: cell voltages, pack temperatures

Sat Sep 21, 2013 11:24 am

dm33 wrote:Trying to figure out how to obtain GIDs and kWh as I start writing an iPhone app. Where is it? First post is great at describing most data. Lots of threads to pursue.

Thanks
I've been keeping a document of all the known messages here. There are four canbus', two of which are the most useful (EVCAN and CARCAN). If you discover something new, either post here (if it is a query/reply) or here if it is available just by passive snooping.

dm33
Posts: 690
Joined: Sat May 18, 2013 4:43 am
Delivery Date: 31 May 2013
Location: Raleigh, NC

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

Sat Sep 21, 2013 7:08 pm

TickTock wrote:
dm33 wrote:Trying to figure out how to obtain GIDs and kWh as I start writing an iPhone app. Where is it? First post is great at describing most data. Lots of threads to pursue.

Thanks
I've been keeping a document of all the known messages here. There are four canbus', two of which are the most useful (EVCAN and CARCAN). If you discover something new, either post here (if it is a query/reply) or here if it is available just by passive snooping.
I found a reference in your doc to GIDs, haven't tried it yet. But I find no reference to kWh. How is that obtained?

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: Active EV-CAN sampling: cell voltages, pack temperatures

Sat Sep 21, 2013 9:17 pm

Depends on the app. I integrate V*I*delta_T to compute the kWh during driving for efficiency computations. For remaining energy in the battery, gids remains the best indicator. Multiply by .075 to get kWh.

dm33
Posts: 690
Joined: Sat May 18, 2013 4:43 am
Delivery Date: 31 May 2013
Location: Raleigh, NC

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

Sat Sep 21, 2013 9:43 pm

TickTock wrote:Depends on the app. I integrate V*I*delta_T to compute the kWh during driving for efficiency computations. For remaining energy in the battery, gids remains the best indicator. Multiply by .075 to get kWh.
Thanks. That doesn't seem to be what the Android Leaf app is doing. For my car it shows 260 GIDs and 20.8kwh at a recent 100% charge.
260*.075 = 19.5 kwh.
I had seen a GID described as 80 watt hours. That if I use 0.08 then it does work out,
260*.080 = 20.8 kwh.
Which value is correct?

Return to “LEAF CANBus”