Page 57 of 60

Re: LEAF CANbus decoding. (Open discussion)

Posted: Fri May 15, 2020 10:23 am
by ybpvin
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

Re: LEAF CANbus decoding. (Open discussion)

Posted: Wed Jun 03, 2020 1:08 pm
by DaveBlack
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?

Re: LEAF CANbus decoding. (Open discussion)

Posted: Thu Jun 04, 2020 8:20 am
by goldbrick
^ 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.

Re: LEAF CANbus decoding. (Open discussion)

Posted: Thu Jun 04, 2020 10:30 am
by Tremelune
Just post it publicly. We all want to know.

Re: LEAF CANbus decoding. (Open discussion)

Posted: Thu Jun 04, 2020 12:23 pm
by DaveBlack
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

Re: LEAF CANbus decoding. (Open discussion)

Posted: Thu Jun 04, 2020 2:27 pm
by Tremelune
Getting the Leaf charger and BMS to work would save thousands per electric conversion vs aftermarket stuff...That would be a boon!

Re: LEAF CANbus decoding. (Open discussion)

Posted: Sun Jun 07, 2020 12:43 pm
by Dala
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!

Re: LEAF CANbus decoding. (Open discussion)

Posted: Sun Jun 07, 2020 6:48 pm
by coleafrado
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.

Re: LEAF CANbus decoding. (Open discussion)

Posted: Thu Jun 11, 2020 12:39 am
by virol
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?

Re: LEAF CANbus decoding. (Open discussion)

Posted: Thu Jun 11, 2020 2:34 am
by Dala
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