MAR156
Posts: 18
Joined: Sun Apr 07, 2019 10:41 am
Delivery Date: 07 Apr 2019

Re: Stand alone OBC/PDModule EV system Can 2015

Sat Feb 13, 2021 11:37 am

Hello Dala
it looks like you can be congratulated, now you will have the opportunity to convert a car with an internal combustion engine.

CrAzYDrIveR
Posts: 2
Joined: Sun Feb 07, 2021 4:58 pm
Delivery Date: 07 Feb 2021

Re: Stand alone OBC/PDModule EV system Can 2015

Fri Mar 26, 2021 4:28 pm

hi mr 49thdiver, where can i find a 2015 wiring diagram?
It would help a lot when i start reducing the wiring that is going on my ev. Tks.

User avatar
49thdiver
Forum Supporter
Posts: 57
Joined: Fri Feb 07, 2020 10:14 pm
Delivery Date: 15 Jan 2020
Leaf Number: 305065
Location: CANADA's westcoast
Contact: Website

Re: Stand alone OBC/PDModule EV system Can 2015

Fri Mar 26, 2021 10:44 pm

There is lots of discussion about copyright when it comes to manuals but here is a link found elsewhere on this forum.
chortle wrote:
Wed Dec 10, 2014 6:24 pm
You can do what you like, buy what you like, pay what you like, say what you like, but the link I have included is a public link to a public site.

It is the property of NICO (Nissan Infinity Car Owners) and they provide this material at their site http://www.nicoclub.com" onclick="window.open(this.href);return false;

If it's pirated software, Nissan should take their site down.

Right now, it's in the public domain.

Google, found it for me and I suggest you do what feels right for you.
Peter
Dangerous if left unattended.
1985 Grumman Olsen Kubvan, 2002 Rav4 EV, 2000 Ford Ranger EV, 2015 Nissan leaf, Biktrix LJ

CrAzYDrIveR
Posts: 2
Joined: Sun Feb 07, 2021 4:58 pm
Delivery Date: 07 Feb 2021

Re: Stand alone OBC/PDModule EV system Can 2015

Sat Mar 27, 2021 2:06 am

thanks and yes but people have to fight for the right to repair :!:

User avatar
49thdiver
Forum Supporter
Posts: 57
Joined: Fri Feb 07, 2020 10:14 pm
Delivery Date: 15 Jan 2020
Leaf Number: 305065
Location: CANADA's westcoast
Contact: Website

Re: Stand alone OBC/PDModule EV system Can 2015

Sat Mar 27, 2021 8:12 pm

CrAzYDrIveR wrote:
Sat Mar 27, 2021 2:06 am
thanks and yes but people have to fight for the right to repair :!:
Definitely and re-purpose rather than recycle.
Good Luck to you on your project.
Peter
Dangerous if left unattended.
1985 Grumman Olsen Kubvan, 2002 Rav4 EV, 2000 Ford Ranger EV, 2015 Nissan leaf, Biktrix LJ

svizpdm
Posts: 7
Joined: Thu Oct 15, 2020 12:03 am
Delivery Date: 20 Oct 2020
Location: Russia,Moscow

Re: Stand alone OBC/PDModule EV system Can 2015

Fri Apr 02, 2021 11:12 pm

Hello friends, please support with a like and comment. In the video, you can turn on subtitles and set the English language.

https://www.youtube.com/watch?v=Xjag0Rkvdd4&t=313s

IonTurkey
Posts: 2
Joined: Sat Apr 10, 2021 3:50 am
Delivery Date: 10 Apr 2021

Re: Stand alone OBC/PDModule EV system Can 2015

Sat Apr 10, 2021 5:12 am

svizpdm wrote: Hello friends, please support with a like and comment. In the video, you can turn on subtitles and set the English language.

https://www.youtube.com/watch?v=Xjag0Rkvdd4&t=313s
Great work on the Buggy!

It is nice to see someone is using the OBC in their setup. Are you using the hack where you control the current using the pin 6 on the MCP4728? or did you get your friend Taras can bus method to work?

I bought a motor/invert/OBC stack from a 2014 Nissan Leaf from the scrapyard and I'm installing the inverter and motor in an old Volvo. I use battery modules from the mini Countryman hybrid to build my own pack.

I would like to be able to charge the pack using the Nissan OBC So I'll keep an eye on this thread!

Kindly,
Jon

IonTurkey
Posts: 2
Joined: Sat Apr 10, 2021 3:50 am
Delivery Date: 10 Apr 2021

Re: Stand alone OBC/PDModule EV system Can 2015

Sun Apr 11, 2021 12:39 pm

TrueSoln wrote:
Mon Apr 13, 2020 12:11 am
I just kept the code simple for number sequence, and seem that I was getting the charger to turn on.

Still have to work out actual pattern but below is what I used for code on an UNO
I look at the logs for a charge from MUX and Damien
ID 50B is same message during the whole charge (Every 100ms)
ID 1D4 & ID 1F2 Both come from VCM also and need to be simulated. (Every 10ms)


1D4 and 1F2 do still need to work out what it all means
But on Byte[5] of 1D4 seem to be control value
//F7 07 00 04 87 46 E0 64
//F7 07 00 04 C7 46 E0 A3
//F7 07 00 04 07 46 E0 6F
//F7 07 00 04 47 46 E0 A8
//- Every 10ms
uint8_t 1d4_incremental_counter = 0;
byte SendSignal_0x1d4()
{
byte messageData[8] = {0xf7, 0x07,0x00,0x04,0x00,0x46,0xe0,0x00 };

byte seqCtr[4] = {0x87, 0xc7,0x07, 0x45 };
messageData[4] = seqCtr[1d4_incremental_counter];

// Set the CRC and send
nissan_crc(messageData, 0x85);

1d4_incremental_counter++;
if (1d4_incremental_counter >= 4)
1d4_incremental_counter = 0;

return SendCanMessage(0x1d4, 0, 8, messageData);
}
//30 64 20 00 00 82 00 0B
//30 64 20 00 00 82 01 0C
//30 64 20 00 00 82 02 0D
//30 64 20 00 00 82 03 0E
//- Every 10ms
uint8_t counter_1f2 = 0;
byte SendCanMessage_1f2()
{
byte messageData[8] = { 0x30, 0x64, 0x20, 0x00, 0x00, 0x82, 0x00, 0x00 };

byte seqCtr[4] = {0x0b, 0x0c,0x0d, 0x0e };

//- Sets the sequence
messageData[6]=counter_1f2;
messageData[7] = seqCtr[counter_1f2];

counter_1f2++;
if(counter_1f2 >= 4)
counter_1f2 = 0;

//- Not sure if a CRC or Just a sequence pattern
//nissan_crc(messageData, 0x85);

return SendCanMessage(0x1f2, 0, 8, messageData);
}
//- Every 100ms
void Send50bMessage()
{
byte gen1_MessageData[6] = {0x00, 0x00, 0x00, 0xc0, 0x00, 0x00 }; // While charging
byte sndStat = CAN_OK;

return SendCanMessage( 0x50b,0, 6, gen1_MessageData);
}
I'm planning to reproduce this code to get the charger going (on a gen2). Did you manage to get it working? I noticed that the sequence control for ID4 message might have an error. According to your annotations the cycler should be {0x87, 0xc7,0x07, 0x47}, but your code is {0x87, 0xc7,0x07, 0x45 }. Do you know which one is correct?

I currently have the battery connected directly to the inverter via a precharge circuit. Is the high voltage battery terminals on the OBC directly connected to the inverter + and -, or are there some relays that must be closed to connect the battery to the inverter?

User avatar
49thdiver
Forum Supporter
Posts: 57
Joined: Fri Feb 07, 2020 10:14 pm
Delivery Date: 15 Jan 2020
Leaf Number: 305065
Location: CANADA's westcoast
Contact: Website

Re: Stand alone OBC/PDModule EV system Can 2015

Sun Apr 11, 2021 8:31 pm

Interesting observations. I do not think anyone has got this working thru can bus yet. I am interested to see what TrueSoln says but here are my thoughts.

I just searched thru a number of my data logs and for 0x1D4 I am seeing 0x80,0xC0,0x00,0x40. Note that all three significant bits are zero not one ie hex 7.
the data from mux indicates 0x47. Given that all the other 1d4 in that particular sequence the LS nibble is 7. I would assume 47 is the correct number. However it also seems that that nibble may not be significant as I am not seeing it here on three different car samples.

I have been distracted by another vehicle conversion to a full Leaf power train,BMS and charging system. It is working well have done initial road tests and about to conduct second phase of Road test. The Rav4 EV to Leaf Pack conversion has been driving mostly daily for aprox 4 months with no issues battery pack working well.
I am hoping to get back on to the standalone charger project soon. I have learned a lot during this most recent conversion and am hoping to make some advances on the charger.

Let us know if you are able to confirm charging starting and maintained. I have had some false starts by thinking that the DC to DC converter was coming on and that charging was starting. It turned out that the DC to DC does start but if the charger can not initiate a pack charge sequence or confirm battery status from the BMS it shuts down.
I think this has been my problem the whole time as I did not have a BMS connected to my stand alone charger. I will be doing this on my next deep dive.
Peter
Dangerous if left unattended.
1985 Grumman Olsen Kubvan, 2002 Rav4 EV, 2000 Ford Ranger EV, 2015 Nissan leaf, Biktrix LJ

Return to “LEAF CANBus”