Zombieverter Outlander charger CP Spoofing

Post Reply
Zechy
Posts: 64
Joined: Sat Apr 30, 2022 1:10 am
Location: Australia
Has thanked: 47 times
Been thanked: 37 times

Zombieverter Outlander charger CP Spoofing

Post by Zechy »

First. Thanks you for an amazing 2.20A release. My car is now smooth as butter (e39 running GS450h transmission)

I have a question about CP spoofing the outlander charger. I used to use the arduino due for charge control but switched to the Zombieverter now.
I don't have an i3LIM or CPC. I select Chademo to get the SBOX contractors to close.
The Zombieverter detects the PP signal and goes into charging mode.
It shows ChgTemp and AC_Volts values. But charging current stays 0. CP_PWM is set to 10.
I can get the charging to work by changing the code, but think I'm probably doing something wrong. I'd rather use the official release firmware.
CP Spoof.png
Attachments
params-zc.json
(2.14 KiB) Downloaded 59 times
royhen99
Posts: 261
Joined: Sun Feb 20, 2022 4:23 am
Location: N. Wiltshire. UK
Has thanked: 22 times
Been thanked: 133 times

Re: Zombieverter Outlander charger CP Spoofing

Post by royhen99 »

If you are not using one of the charging interfaces then why not just connect CP directly to the charger? In that case the cp spoof is not needed. As you have found CP_PWM does not work as Damien described in the video, setting it to a specific value is ignored as the line of code that would use that parameter is commented out.
Zechy
Posts: 64
Joined: Sat Apr 30, 2022 1:10 am
Location: Australia
Has thanked: 47 times
Been thanked: 37 times

Re: Zombieverter Outlander charger CP Spoofing

Post by Zechy »

royhen99 wrote: Sat Dec 07, 2024 2:18 pm If you are not using one of the charging interfaces then why not just connect CP directly to the charger? In that case the cp spoof is not needed. As you have found CP_PWM does not work as Damien described in the video, setting it to a specific value is ignored as the line of code that would use that parameter is commented out.
Thanks for the friendly response.
I forgot to mention that I'm now using 2 Outlander chargers in parallel. They get the same CAN messages and CP signal from the Zombieverter. (https://leafdriveblog.wordpress.com/202 ... -parallel/)

I wanted to be able to charge a little bit faster than 1 x charger was capable of.
arber333
Posts: 3566
Joined: Mon Dec 24, 2018 1:37 pm
Location: Slovenia
Has thanked: 134 times
Been thanked: 336 times
Contact:

Re: Zombieverter Outlander charger CP Spoofing

Post by arber333 »

Zechy wrote: Sun Dec 08, 2024 2:12 am Thanks for the friendly response.
I forgot to mention that I'm now using 2 Outlander chargers in parallel. They get the same CAN messages and CP signal from the Zombieverter. (https://leafdriveblog.wordpress.com/202 ... -parallel/)

I wanted to be able to charge a little bit faster than 1 x charger was capable of.
My sentiments exactly!

Now back to Cp signal. What keeps you from using the signal is not incorrect PWM pull in signal. It is the resistance equivalent. When one charger is connected to Cp its internal circuit would pull 12V Cp signal in resulting in 9V line voltage which starts the EVSE.
In your case you would get 3V equivalent which looks like charger needs a chill :).

What i did in this case and with 3x chargers i used one Cp signal with external transistor amplifiers. In your case two external opto isolated mosfet modules should do. Connect them directly to the Cp line. In that case opto gnd should be connected to chassis gnd. You need to add 1K pullup resistor towards 12V to each module which should spoof your charger into seeing 9V signal.
EDIT: Also you need to be careful where you put CAN terminator resisrtor on the line!

https://leafdriveblog.wordpress.com/202 ... -parallel/
https://leafdriveblog.wordpress.com/202 ... e-control/
Zechy
Posts: 64
Joined: Sat Apr 30, 2022 1:10 am
Location: Australia
Has thanked: 47 times
Been thanked: 37 times

Re: Zombieverter Outlander charger CP Spoofing

Post by Zechy »

arber333 wrote: Sun Dec 08, 2024 10:56 am My sentiments exactly!

Now back to Cp signal. What keeps you from using the signal is not incorrect PWM pull in signal. It is the resistance equivalent. When one charger is connected to Cp its internal circuit would pull 12V Cp signal in resulting in 9V line voltage which starts the EVSE.
In your case you would get 3V equivalent which looks like charger needs a chill :).

What i did in this case and with 3x chargers i used one Cp signal with external transistor amplifiers. In your case two external opto isolated mosfet modules should do. Connect them directly to the Cp line. In that case opto gnd should be connected to chassis gnd. You need to add 1K pullup resistor towards 12V to each module which should spoof your charger into seeing 9V signal.
EDIT: Also you need to be careful where you put CAN terminator resisrtor on the line!

https://leafdriveblog.wordpress.com/202 ... -parallel/
https://leafdriveblog.wordpress.com/202 ... e-control/
Thank you for the information. Brilliant work!
I'll be away for work for the week. Work interfering with life :)
Post Reply