ZombieVerter VCU Support

Locked
User avatar
EV_Builder
Posts: 1199
Joined: Tue Apr 28, 2020 3:50 pm
Location: The Netherlands
Has thanked: 16 times
Been thanked: 33 times
Contact:

Re: ZombieVerter VCU Support

Post by EV_Builder »

EV_Builder wrote: Sun Nov 21, 2021 10:16 pm Are you sure? the MCP2003 has the wake-up? The MCP2004 has the fault pin there...
@Damien can you comment on this?
Is there a difference between V1 and V2 boards?
Are both versions available on Patreon?
Converting an Porsche Panamera
see http://www.wdrautomatisering.nl for bespoke BMS modules.
et0
Posts: 127
Joined: Sun Oct 13, 2019 8:06 pm
Location: Scotland
Has thanked: 14 times
Been thanked: 5 times

Re: ZombieVerter VCU Support

Post by et0 »

Kelju wrote: Thu Dec 02, 2021 11:40 am
PaulHeystee wrote: Thu Dec 02, 2021 8:48 am Throtle pedal question: I bought a VW Polo diesel throtle pedal, I opended it and found that it looks like it is just two potentiometers.
Will this work?
That should work just fine.
You need to figure out which ones of the pins are the center taps of the potentiometer.
Then just wire 5V and GND to the other two pins of each potentiometer.
If you get 5V and GND mixed together, there should be no damage, but you need to get the direction right (that being an increasing voltage in function of percentage of throttle travel).
Keep in mind, that if you mix the center tap with either the 5V or GND, you risk damaging the 5V reference supply of the Zombie or damaging the throttle pedal (Assuming there is no short circuit protection).

Best to test this out with a multimeter set to measure ohms first. Pick a pair of pins until you find a pair that does *not* change when you press the pedal: then you have both ends of one potentiometer. Test from one of these to find another pin that does change - that is the wiper for that pot.
Repeat to find the second set.
Now you can safely hook it up to the VCU, the "end" pair go to 0V and 5V. You want to see both pot values increase when you press the pedal, so swap around that pair if not.
et0
Posts: 127
Joined: Sun Oct 13, 2019 8:06 pm
Location: Scotland
Has thanked: 14 times
Been thanked: 5 times

Re: ZombieVerter VCU Support

Post by et0 »

EV_Builder wrote: Thu Dec 02, 2021 12:34 pm
EV_Builder wrote: Sun Nov 21, 2021 10:16 pm Are you sure? the MCP2003 has the wake-up? The MCP2004 has the fault pin there...
@Damien can you comment on this?
Is there a difference between V1 and V2 boards?
Are both versions available on Patreon?
Looking at the data sheets, it seems the opposite sense is needed for a couple of signals to give the same function. I think Damien said the driver isn't implemented for LIN yet anyway so it looks like it could be written for the available chip (MCP2004 is what's being supplied) and the early boards updated if LIN is needed (or with a #define).

TJA2010
pin 2: NSLP
Pin 3: NWAKE

MCP2003
pin 2: /CS
pin 3: /WAKE

MCP2004
pin 2: /CS
pin 3: Fault, /TXE (The MCP2004 device can also enter Transmitter Off mode if the FAULT, /TXE pin is pulled low"
User avatar
EV_Builder
Posts: 1199
Joined: Tue Apr 28, 2020 3:50 pm
Location: The Netherlands
Has thanked: 16 times
Been thanked: 33 times
Contact:

Re: ZombieVerter VCU Support

Post by EV_Builder »

my point is that early boards have for sure the WAKE functionality hence i selected the MCP2003 version.
When i'm at LIN territory i will start with the driver.
Converting an Porsche Panamera
see http://www.wdrautomatisering.nl for bespoke BMS modules.
Kelju
Posts: 128
Joined: Sat Aug 22, 2020 6:54 pm
Location: Finland
Has thanked: 8 times
Been thanked: 5 times

Re: ZombieVerter VCU Support

Post by Kelju »

Kelju wrote: Thu Dec 02, 2021 11:43 am
johu wrote: Wed Dec 01, 2021 7:31 pm I'm guessing you ran out of user messages. I fixed that on the refactoring branch. For testing you can increase MAX_USER_MESSAGES in stm32_can.h.
Unfortunately there is something else going on.
I increased the MAX_USER_MESSAGE to 20 with no luck. Also tried 12 because I was not sure if 20 is abit too much, but no difference.
I am pretty sure altering the existing can IDs did not work before, but for some reason it does seem to work now.
I took out most of my previous modifications including the increase of MAX_USER_MESSAGES and just changed the switch command to trigger an existing function with my current sensor CAN ID and then changed that function to get the correct current reading. Works like a charm!

This will not get me too far, though. Next I need to implement a bunch of new CAN message to be read by the Zombie and process.

@Johu or Damien, any other ideas why the Zombie continues to ignore any newly introduced CAN IDs?
User avatar
EV_Builder
Posts: 1199
Joined: Tue Apr 28, 2020 3:50 pm
Location: The Netherlands
Has thanked: 16 times
Been thanked: 33 times
Contact:

Re: ZombieVerter VCU Support

Post by EV_Builder »

Maybe you can send your project to github so we can check there that's easiest i think.
Converting an Porsche Panamera
see http://www.wdrautomatisering.nl for bespoke BMS modules.
evMacGyver
Posts: 108
Joined: Tue Jun 15, 2021 5:44 pm
Location: Finland
Has thanked: 19 times
Been thanked: 5 times

Re: ZombieVerter VCU Support

Post by evMacGyver »

Looking at the source code LIM module and ISA shunt seems to use same CAN-bus interface. These both use message id 0x510, but for ISA shunt it is only debug "message only for internal use" and not described in the manual, so perhaps someone is already using LIM and ISA at the same bus without problems?
cgalpin
Posts: 37
Joined: Thu Sep 24, 2020 8:39 pm
Has thanked: 7 times
Been thanked: 1 time

Re: ZombieVerter VCU Support

Post by cgalpin »

First, thanks to Damien, Johu, and anyone else who has contributed to this effort. I got my board and some help soldering on the final components, and it appears to have passed a basic power test!

I just wanted to note that once connected to the wifi, no IP address was assigned. Is this expected? I manually assigned an IP, and I am able to reach the web interface. If this is expected, I'll update the wiki accordingly.
PaulHeystee
Posts: 89
Joined: Mon Apr 12, 2021 10:26 am
Location: Nederland
Has thanked: 1 time
Been thanked: 4 times

Re: ZombieVerter VCU Support

Post by PaulHeystee »

PaulHeystee wrote: Thu Dec 02, 2021 8:48 am Throtle pedal question: I bought a VW Polo diesel throtle pedal, I opended it and found that it looks like it is just two potentiometers.
Can I still use this?
What signals does the Zombieveter want to see, just 0 to 5 volts?
Will this work?
Just wanted to share my findings on this pedal.
I did some measurements and came to these results.
Attachments
PoloPedal.jpg
Koppi
Posts: 18
Joined: Thu Sep 02, 2021 6:10 pm

Re: ZombieVerter VCU Support

Post by Koppi »



these are my parameters

I cannot find an error
do you have the solution

danke
peter


parameter value
Vehicle Module
Inverter Leaf_Gen1
Vehicle None
Throttle
potmin 156 dig
potmax 840 dig
pot2min 305 dig
pot2max 2042 dig
regentravel 30 %
regenmax -30 %
potmode DualChannel
dirmode Switch
throtramp 100 %/10ms
throtramprpm 20000 rpm
revlim 6000 rpm
brkout -50 %
bmslimhigh 50 %
bmslimlow -1 %
udcmin 280 V
udcmax 420 V
udclim 520 V
idcmax 5000 A
idcmin -5000 A
tmphsmax 85 °C
tmpmmax 300 °C
throtmax 100 %
throtmin -100 %
Gearbox Control
Gear LOW
OilPump 50 %
Cruise Control
cruisestep 200 rpm
cruiseramp 20 rpm/100ms
regenlevel 2
Contactor Control
udcsw 300 V
cruiselight Off
errlights Off
Communication
canspeed 500k
canperiod 10ms
ISAMode Normal
Charger Control
chargemodes Off
BattCap 24 kWh
interface Unused
Voltspnt 395 V
Pwrspnt 1500 W
IdcTerm 0 A
CCS_ICmd 0 A
CCS_ILim 100 A
CCS_SOCLim 80 %
Chgctrl Enable
Heater Module
Heater None
Control Disable
HeatPwr 0 W
RTC Module
Set_Day Sun
Set_Hour 0 Hours
Set_Min 0 Mins
Set_Sec 0 Secs
Chg_Hrs 0 Hours
Chg_Min 0 Mins
Chg_Dur 0 Mins
Pre_Hrs 0 Hours
Pre_Min 0 Mins
Pre_Dur 0 Mins
User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: ZombieVerter VCU Support

Post by Jack Bauer »

I'm going to need a hacksaw
Koppi
Posts: 18
Joined: Thu Sep 02, 2021 6:10 pm

Re: ZombieVerter VCU Support

Post by Koppi »

thanks for the tip

I have already seen the video

do you have a solution?
User avatar
Bratitude
Posts: 783
Joined: Thu Jan 02, 2020 7:35 pm
Location: Canada
Has thanked: 57 times
Been thanked: 168 times
Contact:

Re: ZombieVerter VCU Support

Post by Bratitude »

Koppi wrote: Sun Dec 12, 2021 9:57 am do you have a solution?
Have you double checked your wiring?
https://bratindustries.net/ leaf motor couplers, adapter plates, custom drive train components
et0
Posts: 127
Joined: Sun Oct 13, 2019 8:06 pm
Location: Scotland
Has thanked: 14 times
Been thanked: 5 times

Re: ZombieVerter VCU Support

Post by et0 »

Just a quick one - has anyone seen the OIL PUMP output working for the GS450 yet?
I get no PWM at pin 30 of the VCU or pin 40 of the STM32, when it's on and running. (Oil Pump is set to 50% in the menu)

Trying to narrow down if it's another bad STM chip problem or something else.

Thanks!
Koppi
Posts: 18
Joined: Thu Sep 02, 2021 6:10 pm

Re: ZombieVerter VCU Support

Post by Koppi »

i have checked all connections !

Do any of you have GEN1 working on the Zonmbie?

Just for your information:
I also had problems at the beginning that the PC can connect to the Zombie !

After that I used a USB - Wifi and now the connection works!

Digitus DN-7042-1 WLAN Stick USB 2.0 150 MBit/s
User avatar
EV_Builder
Posts: 1199
Joined: Tue Apr 28, 2020 3:50 pm
Location: The Netherlands
Has thanked: 16 times
Been thanked: 33 times
Contact:

Re: ZombieVerter VCU Support

Post by EV_Builder »

Damien on the VCU we have PWM outputs and we have normal outputs.
What is the purpose of the PWM outputs? Am i right that its use is for small things or communication?
Like pump speed or charger amperage etc.?

The normal outputs, can they be PWMed? Or do we use Economizer coils for it?
Converting an Porsche Panamera
see http://www.wdrautomatisering.nl for bespoke BMS modules.
cgalpin
Posts: 37
Joined: Thu Sep 24, 2020 8:39 pm
Has thanked: 7 times
Been thanked: 1 time

Re: ZombieVerter VCU Support

Post by cgalpin »

I have been adding notes for the videos on the wiki to make it easier to find info like this, and jump to the relevant parts of Damien's videos to re-listen for that section. Please give this a try and let me know if it helps.

https://openinverter.org/wiki/ZombieVerter_VCU

At least for your first question, this (from ZombieVerter VCU V1 Build Part 2) should be relevant

27:06 Pins 5,6,7 - Pulse Width Modulation (PWM) 1-3 +12V output signals. Reserved for future use (ie not implemented yet)

hth
charles
cgalpin
Posts: 37
Joined: Thu Sep 24, 2020 8:39 pm
Has thanked: 7 times
Been thanked: 1 time

Re: ZombieVerter VCU Support

Post by cgalpin »

Anyone?
cgalpin wrote: Tue Dec 07, 2021 11:20 pm I just wanted to note that once connected to the wifi, no IP address was assigned. Is this expected? I manually assigned an IP, and I am able to reach the web interface. If this is expected, I'll update the wiki accordingly.
User avatar
EV_Builder
Posts: 1199
Joined: Tue Apr 28, 2020 3:50 pm
Location: The Netherlands
Has thanked: 16 times
Been thanked: 33 times
Contact:

Re: ZombieVerter VCU Support

Post by EV_Builder »

So basically you say that DHCP doesn't work on the wifi module...?
Converting an Porsche Panamera
see http://www.wdrautomatisering.nl for bespoke BMS modules.
cgalpin
Posts: 37
Joined: Thu Sep 24, 2020 8:39 pm
Has thanked: 7 times
Been thanked: 1 time

Re: ZombieVerter VCU Support

Post by cgalpin »

Yes, at least for me. I tried with an iPhone 12 and a windows 10 computer.
EV_Builder wrote: Wed Dec 15, 2021 11:34 pm So basically you say that DHCP doesn't work on the wifi module...?
User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: ZombieVerter VCU Support

Post by Jack Bauer »

Yes I posted about this here and requested help :
viewtopic.php?f=5&t=2001

I'm up to my ears right now folks so sure would be a great time for some community support.
I'm going to need a hacksaw
User avatar
EV_Builder
Posts: 1199
Joined: Tue Apr 28, 2020 3:50 pm
Location: The Netherlands
Has thanked: 16 times
Been thanked: 33 times
Contact:

Re: ZombieVerter VCU Support

Post by EV_Builder »

Jack Bauer wrote: Thu Dec 16, 2021 6:11 pm I'm up to my ears right now folks so sure would be a great time for some community support.
Well i thought about helping us out but it seems you don't see my questions or at least don't bother to answer them?
Maybe some one else can answer them.
Converting an Porsche Panamera
see http://www.wdrautomatisering.nl for bespoke BMS modules.
cgalpin
Posts: 37
Joined: Thu Sep 24, 2020 8:39 pm
Has thanked: 7 times
Been thanked: 1 time

Re: ZombieVerter VCU Support

Post by cgalpin »

Thanks, although If I am reading that thread correctly this essentially says the issues is fixed, correct? My SSID was "zom_vcu" not "inverter" so maybe mine was in some intermediate state then? I am not complaining, and it's not a problem for me, I just want to understand the issue so I can document it. I want to at least get the basics working before trying to reflash the wifi module, but will do so as soon as I get the chance.

Believe it or not, I'm trying to help. Once I understand the issue, I'll document it on the wiki so others can read about it there instead of having to ask, and hopefully if we keep doing this, the documentation will at least spare you some questions :)
Jack Bauer wrote: Thu Dec 16, 2021 6:11 pm Yes I posted about this here and requested help :
viewtopic.php?f=5&t=2001

I'm up to my ears right now folks so sure would be a great time for some community support.
User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: ZombieVerter VCU Support

Post by Jack Bauer »

Many thanks. Sadly the issue is not resolved. Seems to be an arduino library problem. Tested with multiple modules and versions of the esp library all with the same result : no dhcp and no saving of the newly configured ssid and passphrase.
I'm going to need a hacksaw
User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: ZombieVerter VCU Support

Post by Jack Bauer »

Regards answering question I do my best but my time and energy is super limited right now.
I'm going to need a hacksaw
Locked