jimcmorr
Posts: 398
Joined: Tue Jan 11, 2011 8:41 am
Delivery Date: 02 Apr 2012
Leaf Number: 018747
Location: GA

Re: LEAF CANbus decoding. (Open discussion)

Thu Jun 02, 2011 11:24 am

I would also be curious to know how your speed correlated to the downward slopes on the top plot.
Jim M
res: 25APR10 #612239F1 Glacier Pearl SV
Ordered: 03Mar12 Cayenne Red SL
VIN: 18747 - pickup: Mon 2Apr12
22Apr14: over 20K mi / lost 1 capacity bar Mar 2014
It isn't 100% electric if you have to put gas in it.

GroundLoop
Posts: 1725
Joined: Mon Sep 13, 2010 9:31 pm

Re: LEAF CANbus decoding. (Open discussion)

Thu Jun 02, 2011 11:27 am

jimcmorr wrote:I am truely impressed! Do the flat spots in the top plot coincide with slow driving or complete stops?

Good job!
Complete stops, car ON. (dropoff at GoodWill)
The other is a long stoplight, I think.

If I can find the Speed and Odometer values, then that would be a natural thing to map to it. GPS too. :)

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

Re: LEAF CANbus decoding. (Open discussion)

Thu Jun 02, 2011 11:40 am

Nice job! I feel a useful SOC meter in my future!
GroundLoop wrote:
jimcmorr wrote:I am truely impressed! Do the flat spots in the top plot coincide with slow driving or complete stops?

Good job!
Complete stops, car ON. (dropoff at GoodWill)
The other is a long stoplight, I think.

If I can find the Speed and Odometer values, then that would be a natural thing to map to it. GPS too. :)
Leaf SL 2011 to 2016, Volt Premier 2016 to 2019, and now:
2019 Model 3; LR, RWD, FSD, 19" Sport Wheels, silver/black; built 3/17/19, delivered 3/29/19.

User avatar
garygid
Gold Member
Posts: 12464
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)

Thu Jun 02, 2011 12:56 pm

In preparation for my CAN-Do (for Windows) program, try this fun program.
If it works, then CAN-Do should work on your system as well, with no "install".

http://www.wwwsite.com/puzzles/sudoku/

I hope to have some version of CAN-Do posted soon, perhaps by Monday.
Cheers, GaryG
See SOC/GID-Meter and CAN-Do Info
2010 Prius, now for sale
2011 LEAF, sold in 2015
2018 Tesla Model 3
2014 Tesla S, Model 3 in 2019
PU: SDG&E
Solar PV: 33 x 225W -> 7 kW max AC
To Sell: X-treme 5000Li EV motorcycle

TEG
Posts: 1388
Joined: Thu Jun 10, 2010 8:43 pm

Re: LEAF CANbus decoding. (Open discussion)

Thu Jun 02, 2011 1:01 pm

GroundLoop wrote:I think we have a winner for SOC:
A short drive with stops:
Image
That one little "uptick" at around 1150 is sustained regen? (Go down a hill?)

User avatar
turbo2ltr
Posts: 1376
Joined: Fri Jul 30, 2010 11:13 pm
Delivery Date: 04 Feb 2011
Leaf Number: 185
Location: Phoenix, AZ

Re: LEAF CANbus decoding. (Open discussion)

Thu Jun 02, 2011 1:04 pm

Ok you earned it. lol. No sense in holding back now..

Don't say I never gave you anything. :) (though it's not much)

https://spreadsheets.google.com/spreads ... y=CJi03v4F

Remember that this is for the old firmware, and some things changed regarding the SOC bars in the new firmware.
Silver SL-e
Ford F450 Crew Cab Hybrid Conversion

sparky
Posts: 723
Joined: Fri Apr 23, 2010 10:55 am
Delivery Date: 08 Jan 2011
Location: SoCal

Re: LEAF CANbus decoding. (Open discussion)

Thu Jun 02, 2011 3:20 pm

GroundLoop wrote:I think we have a winner for SOC:
Nice work! I assume this is the 5BC you were discussing earlier?

BTW, I have been using the Arduino & Sparkfun combo. Seems to work fine. I have not been able to get the SD card to work for logging data yet. Looking into it some more. Tonight I'll take a look at some of those codes. Thanks again!

DarkStar
Posts: 2066
Joined: Sat Jul 17, 2010 10:06 am
Delivery Date: 25 Mar 2011
Leaf Number: 568
Location: Hillsboro, Oregon, USA
Contact: Website

Re: LEAF CANbus decoding. (Open discussion)

Thu Jun 02, 2011 3:46 pm

For those too lazy to hunt through Sparkfun for all the components, I created a public wishlist this afternoon that I think has everything you'd want...

http://sprkfn.com/w18677

Now we just need to start coding! :D
Mikiko (2011 Nissan LEAF ETEC) Status:
Reserved: 04/20/10 | Ordered: 10/01/10 | EV Project Blink Installed: 03/22/11 | Delivered: 03/25/11 | VIN: 568

Oregon Electric Vehicle Association | Electric Auto Association

GroundLoop
Posts: 1725
Joined: Mon Sep 13, 2010 9:31 pm

Re: LEAF CANbus decoding. (Open discussion)

Thu Jun 02, 2011 4:15 pm

turbo2ltr wrote:Ok you earned it. lol. No sense in holding back now..
Don't say I never gave you anything. :) (though it's not much)

https://spreadsheets.google.com/spreads ... y=CJi03v4F
Oh cool! I see you've been busy.

And to think, I didn't give you anything. Hopefully I can contribute some additions soon.

GroundLoop
Posts: 1725
Joined: Mon Sep 13, 2010 9:31 pm

Re: LEAF CANbus decoding. (Open discussion)

Thu Jun 02, 2011 4:18 pm

DarkStar wrote:For those too lazy to hunt through Sparkfun for all the components, I created a public wishlist this afternoon that I think has everything you'd want...

http://sprkfn.com/w18677

Now we just need to start coding! :D
Nice. I didn't know you could do that.
Sparkfun is frequently out of stock, though the 4-line LCD display should work fine.
DIYDrones has many of the same bits.

I would caution that the OBDII cable they sell will only give you access to one (out of the three) CAN Bus networks, and the SOC/Battery stuff is likely to be on EV CAN.

From what I can tell in the pictures, the OBDII Cable actually lacks the other pins, so you might not be able to cut it in half and rewire it either. I bought some bare OBD connectors and loose pins years ago. I'll see if I can find a source.

Return to “LEAF CANBus”