ybpvin
Posts: 26
Joined: Fri Aug 24, 2018 4:55 am
Delivery Date: 24 Aug 2018
Leaf Number: 022135

Re: LEAF CANbus decoding. (Open discussion)

Fri May 15, 2020 10:23 am

wjbitner wrote:
Fri May 15, 2020 9:04 am
IskeSoderlund wrote:
Sat Sep 08, 2018 1:22 pm
Hi!
Been lurking here for a while, I'm trying to hack a leaf OBD charger. I've come quite a way closer to charging. I've written a program which makes the charger think it's in the leaf. And it seems to work the charger is no longer sending "fault" signals by CAN. And I'm trying to make it charge by sending the same messages that the VCM sends to the leaf when charging, according to CAN captures by carrot. I still haven't been able to make it charge. Is it possible that the charger like the inverter saves DTC and refuses to start charging? If so what's my best option to remove stored DTCs?

If anyone wants my codes for the program or help with making the charger "think" its in a leaf just contact me!
I would like to see your code. I would like to re-use the leaf charger and dc/dc converter outside the Leaf. I have 2 leaf motors. I have the inverter/section working well and would like to use the charger also.

Thanks.
Bill Bitner
wjbitner@yahoo.com
bbitnerblogs.com/e-miata
I also ask you to send me a code for testing. I connected all the wires, but charging does not start.
My E-mail: ybpvin@gmail.com

DaveBlack
Posts: 4
Joined: Wed Jun 03, 2020 1:05 pm
Delivery Date: 03 Jun 2020

Re: LEAF CANbus decoding. (Open discussion)

Wed Jun 03, 2020 1:08 pm

IskeSoderlund - Not sure why I cannot message you directly, are you able to PM me please re the Leaf Charger - I believe you have the DC-DC part working outside the leaf?

goldbrick
Posts: 815
Joined: Tue Aug 01, 2017 3:33 pm
Delivery Date: 01 Aug 2017
Leaf Number: 311806
Location: Boulder, CO

Re: LEAF CANbus decoding. (Open discussion)

Thu Jun 04, 2020 8:20 am

^ many forums (fora?) require a set number of minimum posts before various features are enabled. I'm guessing you can't PM since you don't have the required number of posts yet.

Tremelune
Posts: 26
Joined: Sat Apr 06, 2019 5:52 pm
Delivery Date: 07 Apr 2019

Re: LEAF CANbus decoding. (Open discussion)

Thu Jun 04, 2020 10:30 am

Just post it publicly. We all want to know.

DaveBlack
Posts: 4
Joined: Wed Jun 03, 2020 1:05 pm
Delivery Date: 03 Jun 2020

Re: LEAF CANbus decoding. (Open discussion)

Thu Jun 04, 2020 12:23 pm

Ahh Ok, well for those interested I have built an EV RX8 Already
https://youtu.be/F-6JjiPHGaM

I am currently replacing the motor, inverter, charger, and batteries with a Leaf setup (80kw, 30kwh).

Although I do not have ANY of it working yet, I have every thing I need to make things go. However information on the Charger, and the DC-DC aspect I have found little info on.

Unlike the RX8 that I have almost completely decoded, I have not got a working Leaf so things are a little bit more blind!

Looking to speak with IskeSoderlund as he indicates he got at least the Dc-Dc part working and am interested to see how far he has got...

When I have this working, like the RX8 CanBus code, I will release a one source of information to get a Leaf going. Hoping to do all this without the use of any external ECU (other than an Arduino) or circuitry or hardware.

I hope...

Dave

Tremelune
Posts: 26
Joined: Sat Apr 06, 2019 5:52 pm
Delivery Date: 07 Apr 2019

Re: LEAF CANbus decoding. (Open discussion)

Thu Jun 04, 2020 2:27 pm

Getting the Leaf charger and BMS to work would save thousands per electric conversion vs aftermarket stuff...That would be a boon!
Last edited by Tremelune on Sun Jun 07, 2020 12:50 pm, edited 1 time in total.

User avatar
Dala
Forum Supporter
Posts: 210
Joined: Sun Oct 28, 2018 11:24 am
Delivery Date: 01 Jan 2015
Leaf Number: 316851
Location: Finland
Contact: Website

Re: LEAF CANbus decoding. (Open discussion)

Sun Jun 07, 2020 12:43 pm

Tonight I did some more CAN-decoding. The Audio/Video (AV-CAN) is not very well documented on the Leaf. A recent discovery by Jonas Andersson piqued my interest, check this out:

https://youtu.be/YHXWIY8XTCg

By injecting a CAN-message to the AV-CAN, it is possible to bypass this nag-screen and go straight to radio/maps.

So I did what I do, and put the AV-CAN information onto the CAN message database. Anyone wanting to check out more on the AV-CAN, it is now here: https://github.com/dalathegreat/leaf_ca ... AV-CAN.dbc

I'll post more info on how to inject the button presses tomorrow!

coleafrado
Posts: 238
Joined: Fri Oct 11, 2019 11:58 pm

Re: LEAF CANbus decoding. (Open discussion)

Sun Jun 07, 2020 6:48 pm

Do we have any idea what the raw temperatures in EVcan/CARcan msg 55a are? I'm thinking they may be motor/inverter internal or motor/charger coolant temperature. If we can find an upper bound on those values during driving and charging, it's possible they'll be low enough that those circuits could be plumbed for auxiliary trunk pack or main pack cooling (if someone makes a plumbed main pack). I seem to remember mux discussing cooling or thermal management at some point.

If they're usually above 40C, then they're likely not usable.

virol
Posts: 26
Joined: Sun Sep 23, 2018 9:38 am
Delivery Date: 17 Sep 2018
Leaf Number: 2018
Location: Belgium

Re: LEAF CANbus decoding. (Open discussion)

Thu Jun 11, 2020 12:39 am

Dala wrote:
Sun Jun 07, 2020 12:43 pm
Tonight I did some more CAN-decoding. The Audio/Video (AV-CAN) is not very well documented on the Leaf. A recent discovery by Jonas Andersson piqued my interest, check this out:

https://youtu.be/YHXWIY8XTCg

By injecting a CAN-message to the AV-CAN, it is possible to bypass this nag-screen and go straight to radio/maps.

So I did what I do, and put the AV-CAN information onto the CAN message database. Anyone wanting to check out more on the AV-CAN, it is now here: https://github.com/dalathegreat/leaf_ca ... AV-CAN.dbc

I'll post more info on how to inject the button presses tomorrow!
@Dala:

already some progress?

how and where inject your code?

User avatar
Dala
Forum Supporter
Posts: 210
Joined: Sun Oct 28, 2018 11:24 am
Delivery Date: 01 Jan 2015
Leaf Number: 316851
Location: Finland
Contact: Website

Re: LEAF CANbus decoding. (Open discussion)

Thu Jun 11, 2020 2:34 am

virol wrote:
Thu Jun 11, 2020 12:39 am
Dala wrote:
Sun Jun 07, 2020 12:43 pm
Tonight I did some more CAN-decoding. The Audio/Video (AV-CAN) is not very well documented on the Leaf. A recent discovery by Jonas Andersson piqued my interest, check this out:

https://youtu.be/YHXWIY8XTCg

By injecting a CAN-message to the AV-CAN, it is possible to bypass this nag-screen and go straight to radio/maps.

So I did what I do, and put the AV-CAN information onto the CAN message database. Anyone wanting to check out more on the AV-CAN, it is now here: https://github.com/dalathegreat/leaf_ca ... AV-CAN.dbc

I'll post more info on how to inject the button presses tomorrow!
@Dala:

already some progress?

how and where inject your code?
Send it to the AV-CAN on the OBD2 port, AV-CAN-H (pin 11) AV-CAN-L (pin 3)

0x681 04 10 40 0D 8C FF FF FF //Flip between map and FM
0x681 04 10 40 0D A3 FF FF FF

0x681 03 10 20 0D FF FF FF FF //Turns off the radio

Return to “LEAF CANBus”