chortle said: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.
CrAzYDrIveR said:thanks and yes but people have to fight for the right to repair :!:
Great work on the Buggy!svizpdm said: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
TrueSoln said: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);
}
Dala said:Damien should have a video up on how to run the PDM standalone soon! Here's a sneak peak:
jackbauer said:The code to run the pdm may be found here :
https://github.com/damienmaguire/Stm32-vcu/blob/LIM_ST107/src/leafinv.cpp
Its heavily commented so should be easy to read.
All you need to run this thing is CAN , 12v and ground. No other signals are required.
Enter your email address to join: