Page 1 of 1

Showing SOC% on the ZE0 dashboard, CAN-hack

Posted: Tue Feb 16, 2021 8:31 am
by Dala
I've hacked in a way to display SOC% on the oldest 2011-2013 LEAF! The solution wasn't as elegant as I'd hoped for 😂, but now I don't need to take out Leafspy to check the SOC anymore! More info in the description for anyone curious :D

https://youtu.be/LuiKp4wjlpQ

Re: Showing SOC% on the ZE0 dashboard, CAN-hack

Posted: Tue Feb 16, 2021 10:18 am
by goldbrick
Nice work, as usual. Personally though - and I'm pretty good at mental math.....I would prefer just to use the seconds counter. Start at 59 = 100% and then work down to 00 = 0%. That way the 100% SOC would just be the fraction of a minute. Eg 30 seconds = 50%, 15 seconds = 25 %. I'm not sure if that's possible and I don't think I'll ever own a pre-2013 Leaf but that's my $0.02. But really, it's impressive what you do on these cars and it's so good of you to share your work so freely. Thanks!

Re: Showing SOC% on the ZE0 dashboard, CAN-hack

Posted: Tue Feb 16, 2021 4:30 pm
by nlspace
That's really clever. It's somewhat like counting in a (base 33) number system.

From looking at the "fuel" gauge on the dash at 10 bars, i would have guessed you were at ~83% SOC?

Re: Showing SOC% on the ZE0 dashboard, CAN-hack

Posted: Wed Feb 17, 2021 12:40 am
by Dala
goldbrick wrote:
Tue Feb 16, 2021 10:18 am
Nice work, as usual. Personally though - and I'm pretty good at mental math.....I would prefer just to use the seconds counter. Start at 59 = 100% and then work down to 00 = 0%. That way the 100% SOC would just be the fraction of a minute. Eg 30 seconds = 50%, 15 seconds = 25 %. I'm not sure if that's possible and I don't think I'll ever own a pre-2013 Leaf but that's my $0.02. But really, it's impressive what you do on these cars and it's so good of you to share your work so freely. Thanks!
Thanks, This would be a great idea, BUT, the seconds part only increments in steps of 6, meaning 0-6-12-18-24etc., so you would loose some accuracy.
nlspace wrote:
Tue Feb 16, 2021 4:30 pm
From looking at the "fuel" gauge on the dash at 10 bars, i would have guessed you were at ~83% SOC?
This is an issue on battery upgraded ZE0 cars with my current implementation, the 12bars are not dropping as linearly as on the stock cars. The VCM ignores what the battery is sending, and instead decides to show more bars than it should, but then catches up at the 50% mark and starts to be more accurate. It is a mess, the whole ZE0 is such a nightmare when it comes to the coding...