Eltek/Volvo charger [SOLVED]
-
- Posts: 1326
- Joined: Fri Mar 01, 2019 9:15 pm
- Location: Bristol
- Has thanked: 106 times
- Been thanked: 226 times
Re: Eltek/Volvo charger
I created a simple bit of code to run on a Teensy 3.2
https://github.com/Tom-evnut/Eltek-Charger-Programming
This checks the canbus (at 500kbps) for an Eltek charger ID and then lists them out for your viewing pleasure.
Utilizing the menu you can set which ID to change to a New ID and then send the command with one simple request.
Currently the code works on the bench but not proven with an actual Eltek charger.
https://github.com/Tom-evnut/Eltek-Charger-Programming
This checks the canbus (at 500kbps) for an Eltek charger ID and then lists them out for your viewing pleasure.
Utilizing the menu you can set which ID to change to a New ID and then send the command with one simple request.
Currently the code works on the bench but not proven with an actual Eltek charger.
-
- Posts: 1326
- Joined: Fri Mar 01, 2019 9:15 pm
- Location: Bristol
- Has thanked: 106 times
- Been thanked: 226 times
Re: Eltek/Volvo charger
do you have a canbus capture of you doing this as I cannot get this working.
-
- Posts: 3273
- Joined: Mon Dec 24, 2018 1:37 pm
- Location: Slovenia
- Has thanked: 80 times
- Been thanked: 239 times
- Contact:
Re: Eltek/Volvo charger
I have some photos, but it is not hard.
You just need to set your interrupt telegram ("sendCANframeURGENT" in my code) to send out trigger msg every 800ms (less than 1s). This will open Eltek to address change. Then you introduce a trigger message ("sendCANframeB") where you command the next address (or CAN speed change). I use a simple push button to gnd on specific pull_up pin for this.
After your attempt you need to disconnect charger from AC and DC voltage for changes to have effect.
See
- Attachments
-
- Eltek_program.zip
- (351.65 KiB) Downloaded 143 times
-
- Posts: 1326
- Joined: Fri Mar 01, 2019 9:15 pm
- Location: Bristol
- Has thanked: 106 times
- Been thanked: 226 times
Re: Eltek/Volvo charger
Must be something to do with the chargers that Boekel is trying to change then.
My code does exactly same thing as yours even checked it on the bench with savvy can monitoring.
-
- Posts: 3273
- Joined: Mon Dec 24, 2018 1:37 pm
- Location: Slovenia
- Has thanked: 80 times
- Been thanked: 239 times
- Contact:
Re: Eltek/Volvo charger
Mhm... i seem to remember i had problems using hex data values. Ie.: manual asks to send data value 1 through 4 for different function changes and i tried to send 0x04. But charger would not accept change.
Out of frustration i setup my DUE to just send intiger value 4.
And it worked! Must be additional protection from unintended changes?
-
- Posts: 1326
- Joined: Fri Mar 01, 2019 9:15 pm
- Location: Bristol
- Has thanked: 106 times
- Been thanked: 226 times
Re: Eltek/Volvo charger
It all of sudden decided to work. This is quite confusing but it finally has worked.
Re: Eltek/Volvo charger
Hello everyone
Just had Volvo 3KW Charger 31453939 is on the bench and I try to do some test
No battery yet
I can see CAN data on scope and on my CAN bus adapter but is only serial no of OBC transmitted every 1000ms CAN ID 0000308
I try enable output on CAN ID 00002FF but not working I cant see any feedback from OBC
Any ideas please ?
Just had Volvo 3KW Charger 31453939 is on the bench and I try to do some test
No battery yet
I can see CAN data on scope and on my CAN bus adapter but is only serial no of OBC transmitted every 1000ms CAN ID 0000308
I try enable output on CAN ID 00002FF but not working I cant see any feedback from OBC
Any ideas please ?
Re: Eltek/Volvo charger [SOLVED]
HEUREKA WORKING - I can enable on bench without battery Bit 7 RTR off D0=01 time 1000ms
how to make an image online
how to make an image online
-
- Posts: 3273
- Joined: Mon Dec 24, 2018 1:37 pm
- Location: Slovenia
- Has thanked: 80 times
- Been thanked: 239 times
- Contact:
Re: Eltek/Volvo charger
There are two documents posted one for installation and one for CAN protocol.
https://leafdriveblog.wordpress.com/201 ... w-charger/
Also there is IP20 version guide
https://www.rec-bms.com/datasheet/EltekGuideIP20.pdf
There is additional manual for paralleling Eltek chargers. Could be interesting and i will add that to my blog as well.
- Attachments
-
- Parallel Connection.pdf
- (136.36 KiB) Downloaded 112 times
Re: Eltek/Volvo charger
Thank you but I am looking for this document but for EV PC 3603000 - contacted Eltec but send me a basic datasheet and installation ....
- Zapatero
- Posts: 443
- Joined: Fri Oct 25, 2019 11:08 am
- Location: Germany, Ulm
- Has thanked: 25 times
- Been thanked: 39 times
- Contact:
Re: Eltek/Volvo charger
Can someone tell me what an original Volvo Charger is set to? 500Kbps and the first answering message? Thanks
-
- Posts: 3273
- Joined: Mon Dec 24, 2018 1:37 pm
- Location: Slovenia
- Has thanked: 80 times
- Been thanked: 239 times
- Contact:
Re: Eltek/Volvo charger
Hm why do you need that? Do you have a charger that was locked? In that case you need to send it its PN code. I have to find the procedure i have it saved somewhere...
Otherwise normaly you first connect dc voltage, then ac voltage and you will see CAN reports streaming at 500kbaud at 100ms interval. Next you feed it 0x2FF telegram at 500ms and you hear the relay click.
BUT i have my chargers reprogramed to 100ms command
EDIT: Sorry i checked my records and charger reporting is in about 800ms!
- Zapatero
- Posts: 443
- Joined: Fri Oct 25, 2019 11:08 am
- Location: Germany, Ulm
- Has thanked: 25 times
- Been thanked: 39 times
- Contact:
Re: Eltek/Volvo charger
As i'm now in posession of 4 Chargers i sold one. Obviousely its gonne be used to replace a broken one in a Volvo. So i wanted to doulbe check that it's gonna work in the OEM car. Thanks so much!
-
- Posts: 3273
- Joined: Mon Dec 24, 2018 1:37 pm
- Location: Slovenia
- Has thanked: 80 times
- Been thanked: 239 times
- Contact:
Re: Eltek/Volvo charger
The easiest way to see if charger is behaving is to connect DC and AC and observe its CAN reports.
Then you send it 0x2ff command for say 1A charging and measure by DC clamp meter.
ID 02FF data 01 E8 03 A0 0F 0A 00
- Zapatero
- Posts: 443
- Joined: Fri Oct 25, 2019 11:08 am
- Location: Germany, Ulm
- Has thanked: 25 times
- Been thanked: 39 times
- Contact:
Re: Eltek/Volvo charger
Thanks, but i guess no one can verify which setting is the correct one to use it in a Volvo?
-
- Posts: 3273
- Joined: Mon Dec 24, 2018 1:37 pm
- Location: Slovenia
- Has thanked: 80 times
- Been thanked: 239 times
- Contact:
Re: Eltek/Volvo charger
That is easy.
My first test showed 800ms report interval from ID 0x305 0x306 and command 0x2FF which is sent from the car VCU to the charger at 800ms interval.
ELTEK protocol is the same as VOLVO. Difference is only in transmitt times which can be reprogrammed.
BTW I found ID unlock procedure here: https://www.diyelectriccar.com/threads/ ... st-1028449
Re: Eltek/Volvo charger
Volvo = 500kbps 1000ms CAN ID 00002FF as picture above - but working in full range 100ms -1000ms
Battery not need to be connected just AC and you can read CAN
Battery not need to be connected just AC and you can read CAN
Re: Eltek/Volvo charger
hello, where i can find to download software CANDAT?urgiv wrote: ↑Tue Jan 10, 2023 9:34 am HEUREKA WORKING - I can enable on bench without battery Bit 7 RTR off D0=01 time 1000ms
how to make an image online