tamoora
Posts: 7
Joined: Fri Apr 06, 2012 9:46 am
Delivery Date: 06 Apr 2012

Logging data from Leaf's OBD II port

Fri Apr 06, 2012 9:57 am

Hi All

I am new here, I am working on a school project, and I need to log the following data:
A) Vehicle speed
B) Rate of current flow (Amps) from or to the battery pack
C) Pedals positions
D) SOC

Is there anyway I can log this data directly from the OBDII? If not what do you recommend?

Thanks everybody

User avatar
TonyWilliams
Posts: 10091
Joined: Sat Feb 19, 2011 1:48 am
Location: San Diego
Contact: Website

Re: Logging data from Leaf's OBD II port

Fri Apr 06, 2012 10:02 am

tamoora wrote:Hi All

I am new here, I am working on a school project, and I need to log the following data:
A) Vehicle speed
B) Rate of current flow (Amps) from or to the battery pack
C) Pedals positions
D) SOC

Is there anyway I can log this data directly from the OBDII? If not what do you recommend?

Thanks everybody
The upcoming LEAFSCAN will likely do most of this, but I'm not sure about data logging. Maybe Phil will answer that.

tamoora
Posts: 7
Joined: Fri Apr 06, 2012 9:46 am
Delivery Date: 06 Apr 2012

Re: Logging data from Leaf's OBD II port

Fri Apr 06, 2012 10:35 am

Is this a new scanner that is supposed to come out? If I could the data on an port, I will be able to log it, I have a vbox and the adaptor that logs data to the SD card

User avatar
TonyWilliams
Posts: 10091
Joined: Sat Feb 19, 2011 1:48 am
Location: San Diego
Contact: Website

Re: Logging data from Leaf's OBD II port

Fri Apr 06, 2012 10:38 am

Yes, a new tool, probably ready in the next handful of months.

tamoora
Posts: 7
Joined: Fri Apr 06, 2012 9:46 am
Delivery Date: 06 Apr 2012

Re: Logging data from Leaf's OBD II port

Fri Apr 06, 2012 10:41 am

Isn't this data already accessible from the OBD-II port?

User avatar
TonyWilliams
Posts: 10091
Joined: Sat Feb 19, 2011 1:48 am
Location: San Diego
Contact: Website

Re: Logging data from Leaf's OBD II port

Fri Apr 06, 2012 10:49 am

The LEAFscan only uses that port, so I'll say yes. But, I'm not the guy designing it, nor have I physically seen it.

I suspect it will be a really, really good tool for those of us like me, and probably you, too.

User avatar
TomT
Posts: 10650
Joined: Sun Aug 08, 2010 12:09 pm
Delivery Date: 01 Mar 2011
Leaf Number: 000360
Location: California, now Georgia
Contact: Website

Re: Logging data from Leaf's OBD II port

Fri Apr 06, 2012 11:01 am

If you need some of that data sooner, you could look in to Gary's SOC meter with the optional data logging port too.
tamoora wrote:Is this a new scanner that is supposed to come out? If I could the data on an port, I will be able to log it, I have a vbox and the adaptor that logs data to the SD card
Leaf SL 2011 to 2016, Volt Premier 2016 to 2019, and now:
2019 Tesla Model 3; LR, RWD, FSD, 19" Sport Wheels, silver/black; built 3/17/19, delivered 3/29/19.

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: Logging data from Leaf's OBD II port

Fri Apr 06, 2012 10:25 pm

Do you need logs of many drives, or just one for your project?

I might be able to make a log that suits your needs, and post it, if that helps.

Try using CAN-Do and a Log file, and a Recipe file from:
http://www.wwwsite.com/puzzles/cando/" onclick="window.open(this.href);return false;
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

tamoora
Posts: 7
Joined: Fri Apr 06, 2012 9:46 am
Delivery Date: 06 Apr 2012

Re: Logging data from Leaf's OBD II port

Mon Apr 09, 2012 11:52 am

garygid wrote:Do you need logs of many drives, or just one for your project?

I might be able to make a log that suits your needs, and post it, if that helps.

Try using CAN-Do and a Log file, and a Recipe file from:
http://www.wwwsite.com/puzzles/cando/" onclick="window.open(this.href);return false;
Hi Gary

I need to log the following data for two trips per day, then I will download them from the memory card and start over.

The data I need to log:

1- Time ID / Time stamp
2- Vehicle speed
3- GPS coordinates (I think it comes in Longitude and Latitude in degrees,minutes,seconds)
4- Accelerator pedal position
5- Brake pedal position if available, if not brake line pressure is usually used
6- Ambient temp
7- Battery pack temp
8- Air Conditioner setting
9- SOC
10- Battery current charge/discharge (Amps)

Also I have another question, How is all this data be synchronized in the logfile? I know the CANbus updates data in different frequencies.

If your device will help me to log this data in a synchronized manner, I will be happy to buy one. I will also give you credit in any publications if that's something that interests you.

Also one last thing, can I log the data using DEWESoft - the DEWETRON data logging software? I think this will make my life easier synchronizing the data between your device and my GPS tracking system.

Thanks

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: Logging data from Leaf's OBD II port

Mon Apr 09, 2012 10:45 pm

Items 1, 2, 9, and 10 we have.

Items 4-8 are not yet included as "discovered" or "found" in my Recipe file. However, Ingineer probably knows where most of that data is in the messages from the LEAF's three can busses.

Finding the desired data is the difficult part, unless you have "inside" information.

GPS: I do not know for sure, but I think that the car's GPS position is not present on the LEAF's CAN busses ... but I could be wrong.

However, I could easily add reading and logging GPS Lat, Lon, and Alt (and maybe Date and Time) from the "NEMA?" messages coming in a 5th (virtual) Comm Port.

And, an external USB-connected GPS is easy to obtain. I have one here somewhere.

What do you need that CAN-Do (free) cannot do?

1. I am planning to add Log-to-File (not just to memory) to CAN-Do, to facilitate automated logging.

2. I intend to add Logging of an external GPS as a new feature.
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

Return to “Engineering”