<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://openinverter.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Cgalpin</id>
	<title>openinverter.org wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://openinverter.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Cgalpin"/>
	<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/Special:Contributions/Cgalpin"/>
	<updated>2026-05-01T19:25:36Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=2060</id>
		<title>ZombieVerter VCU</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=2060"/>
		<updated>2021-12-28T19:13:51Z</updated>

		<summary type="html">&lt;p&gt;Cgalpin: Make it clear this is V1&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;big&amp;gt;V1 Now available for general sale [https://www.evbmw.com/index.php/evbmw-webshop/vcu-boards here].&amp;lt;/big&amp;gt;&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Development continues&#039;&#039;&#039; and you can&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?f=3&amp;amp;t=1277 follow and contribute along with the development here on the forum]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?f=3&amp;amp;t=1696 &#039;&#039;&#039;Support&#039;&#039;&#039; is available via a separate thread on the forum]&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
Rather than crack open inverters and swap components about to drive them, what if we simply send them the messages they&#039;re expecting? This has been the case with a couple of existing designs (Nissan leaf inverter and GS450H) and thanks to the SAM3X8E microcontroller no longer being stocked by JLCPCB this project looks to take it further.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So rather than driving an inverter powerstage this version sends CAN for the Leaf inverter or Sync serial for the GS450H and of course can be expanded to any number of others. This will be the default firmware for all vcu products from now on and future hardware will support future fun packed stuff like FLEXRAY!!!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&#039;s basically an &amp;lt;s&amp;gt;rip off&amp;lt;/s&amp;gt; homage and builds on other people&#039;s hard work in the shape of the following projects&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/jsphuebner/stm32-car STM32-CAR project] &lt;br /&gt;
* [https://github.com/jsphuebner/stm32-sine Openinverter]&lt;br /&gt;
* [https://github.com/Isaac96/SimpleISA ISA library]&lt;br /&gt;
* Leaf inverter driver by Celeron55&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
What we have as of now is the openinverter wrapper with things like :&lt;br /&gt;
&lt;br /&gt;
* Throttle cal and mapping,&lt;br /&gt;
* Precharge and contactor control,&lt;br /&gt;
* Temp derating,&lt;br /&gt;
* BMS limits,&lt;br /&gt;
* for/rev/neutral control,&lt;br /&gt;
* Graphing and monitoring,&lt;br /&gt;
* Firmware updates via the web interface,&lt;br /&gt;
* Cruise control,&lt;br /&gt;
* Fuel gauge driver,&lt;br /&gt;
* etc &lt;br /&gt;
&lt;br /&gt;
==Hardware==&lt;br /&gt;
So you&#039;ve ordered your kit, first things first, watch the following two videos to assemble it. &lt;br /&gt;
&lt;br /&gt;
Due to chip shortages (written summer 2021) the board isn&#039;t fully assembled so you will need to do some soldering, or take it to a local phone repair shop (or similar) who&#039;ll find soldering at this scale like playing with Duplo (Legos to you Yanks).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The current list of parts to be fitted:&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
CONN1&lt;br /&gt;
IC10 = MCP25625T&lt;br /&gt;
IC14 = TJA1020 OR MCP2004 &lt;br /&gt;
IC19 = NCV7356&lt;br /&gt;
IC20 = TJA1055T&lt;br /&gt;
IC21, 22 = AD5160&lt;br /&gt;
IC27, 28, 29 = FAN3122&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And the positions on the V1 board.&lt;br /&gt;
[[File:Zombv1boardb.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===The enclosure kit links===&lt;br /&gt;
&lt;br /&gt;
You only need one, but below are two options - one with just the connector, and the other prewired with 3M long leads.&lt;br /&gt;
&lt;br /&gt;
::Enclosure Kit with Header, connector and pins :&lt;br /&gt;
&lt;br /&gt;
::::https://www.aliexpress.com/item/32857771975.html?spm=a2g0s.9042311.0.0.39f24c4dWOmGPE&lt;br /&gt;
&lt;br /&gt;
::Prewired connector with 3M leads (limited colors which will not match standard wire colouring conventions) :&lt;br /&gt;
&lt;br /&gt;
::::https://www.aliexpress.com/item/4001213569338.html?spm=a2g0o.cart.0.0.366c3c00qhBvGO&amp;amp;mp=1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The kits do not come with M3 screws needed to secure the board to the enclosure (2 need to be slightly longer), and to secure the lid. Nor a gasket for the lid.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note that in addition to the VCU, the inverter and transmission, you will require a specific CANBUS connected shunt&#039;&#039;&#039;: [[Isabellenhütte Heusler]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Build and Configuration Videos===&lt;br /&gt;
====ZombieVerter VCU V1 Build Part 1====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ ZombieVerter VCU V1 Build Part 1&lt;br /&gt;
|-&lt;br /&gt;
! Video !! Highlights&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;youtube&amp;gt;https://www.youtube.com/watch?v=geZuIbGHh30&amp;lt;/youtube&amp;gt; &lt;br /&gt;
&#039;&#039;&#039;00:33&#039;&#039;&#039; Warning and suggestion to go watch cat videos instead&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=66s 01:06]&#039;&#039;&#039; Recap about the ZombieVerter VCU Build Part 1&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=184s 03:04]&#039;&#039;&#039; How to get one&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=215s 03:35]&#039;&#039;&#039; Design files currently require E10 Patreon membership/contribution if wanting to build your own&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=268s 04:28]&#039;&#039;&#039; Components still requiring soldering&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=303s 05:03]&#039;&#039;&#039; IC19 - 8 pin SOIC for single wire CAN (NCV7356)&amp;lt;br/&amp;gt;&lt;br /&gt;
||&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=360s 06:00]&#039;&#039;&#039; IC10 - SPI CAN controller and transceiver (MCP25625T)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=390s 06:30]&#039;&#039;&#039; &amp;lt;del&amp;gt;IC1,3,5,6,7,24,25,26  load driver mosfets (NCV8402)&amp;lt;/del&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=440s 07:20]&#039;&#039;&#039; Do you need these components?&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=520s 08:40]&#039;&#039;&#039; Soldering begins - IC19&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=550s 09:10]&#039;&#039;&#039; Soldering iron for SOIC parts&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=567s 09:27]&#039;&#039;&#039; Applying flux using Damien&#039;s favorite Flux, UV80&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=634s 10:34]&#039;&#039;&#039; Magnifier headset&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=807s 13:27]&#039;&#039;&#039; Soldering MCP25625&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=955s 15:55]&#039;&#039;&#039; Suggests getting an phone/computer repair shop to help out if needed&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1025s 17:05]&#039;&#039;&#039; Using hot air gun to warm the board and position the chip&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1174s 19:34]&#039;&#039;&#039; &amp;lt;del&amp;gt;Soldering NCV8402s&amp;lt;/del&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1408s 23:28]&#039;&#039;&#039; Clean soldering with IPA Solvent&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1480s 24:40]&#039;&#039;&#039; First power up test using bench power supply to limit current to a few hundred mA&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1607s 26:47]&#039;&#039;&#039; 60mA current draw with no wifi board&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1655s 27:35]&#039;&#039;&#039; Wifi module&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1790s 29:50]&#039;&#039;&#039; Power up test with wifi draws 90mA&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1825s 30:25]&#039;&#039;&#039; Enclosure kit(s)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=2162s 36:02]&#039;&#039;&#039; Soldering the PCB header (56 pin)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=2668s 44:28]&#039;&#039;&#039; Installing in the enclosure&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=3030s 50:30]&#039;&#039;&#039; Cameo appearance by Gome cat&amp;lt;br/&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====ZombieVerter VCU V1 Build Part 2====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ ZombieVerter VCU V1 Build Part 2&lt;br /&gt;
|-&lt;br /&gt;
! Video !! Highlights&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;youtube&amp;gt;https://youtu.be/MUhs9j9R9Mg&amp;lt;/youtube&amp;gt; &lt;br /&gt;
&#039;&#039;&#039;00:34&#039;&#039;&#039; Health warning and suggestion to go watch cat videos instead&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=102s 01:42]&#039;&#039;&#039; Intro&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=200s 03:20]&#039;&#039;&#039; Pinouts of the 56 pin connector&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=256s 04:16]&#039;&#039;&#039; Pins 55,56 - Ground and +12V&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=289s 04:49]&#039;&#039;&#039; Pins 53,54 - Reverse and Forward Direction. Apply +12V to the pin for the direction needed.&amp;lt;br/&amp;gt;Configurable in the web interface to flip these since direction is relative&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=452s 07:32]&#039;&#039;&#039; Pins 52 - Start. Momentarily apply +12V to send a start signal&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=495s 08:15]&#039;&#039;&#039; Pin 51 - HV Request. Apply +12v to precharge and bring up the high voltage system&amp;lt;br/&amp;gt; (and not the drive components)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=545s 09:05]&#039;&#039;&#039; Pin 50 - General Purpose 12V Input. Reserved for future use&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=563s 09:23]&#039;&#039;&#039; Pin 49 - Brake Input. Connect to brake light switch to apply +12V signaling brakes are applied&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=615s 10:15]&#039;&#039;&#039; Pins 45,46,47,48 - Throttle. +5V power, ground, and 1 or 2 hall effect sensor inputs&amp;lt;br/&amp;gt;&lt;br /&gt;
||&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=660s 11:00]&#039;&#039;&#039; Pins 25,26,27,28 - 3 CAN bus interfaces. CAN EXT is for vehicle/body communication,&amp;lt;br/&amp;gt; CAN EXT 2 for the ISA shunt comms,&amp;lt;br/&amp;gt; CAN EXT 3 (with solderable jumpers to change modes) is for general purpose like charger, heater control&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=885s 14:45]&#039;&#039;&#039; Pin 24 - Local Interface Network (LIN)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=956s 15:56]&#039;&#039;&#039; Pins 16,17,18,19,20,21,22,23 - Toyota Hybrid Inverter specific using async serial comms.&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1041s 17:21]&#039;&#039;&#039; Pin 15 - Ignition T15 In. Apply +12V to turn Ignition on. Puts VCU in run mode&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1134s 18:54]&#039;&#039;&#039; Pins 37,38,39,40,41,42 - Toyota Hybrid Transmission shift control&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1182s 19:42]&#039;&#039;&#039; Pins 35,36 - POT1 &amp;amp; POT2. Digital potentiometer outputs to drive analog gauges (fuel, etc)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1270s 21:10]&#039;&#039;&#039; Pins 32,33,34 - Low Side (LS) switches for Inverter Power, Positive side Main Contactor, Precharge Contactor&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1401s 23:21]&#039;&#039;&#039; Pin 31 - General Purpose +12V Output. LS switch for Negative side Main Contactor&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1441s 24:01]&#039;&#039;&#039; Pins 12,13,14,29,30 - Toyota Hybrid System controls&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1524s 25:24]&#039;&#039;&#039; Pins 10,11 - Digital to Analog Converter (DAC) 1 &amp;amp; 2. Reserved for future use - additional analog instruments etc.&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1593s 26:33]&#039;&#039;&#039; Pins 8,9 - 0-5V Analog Inputs 1 &amp;amp; 2. Reserved for future use (ie not implemented yet)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1626s 27:06]&#039;&#039;&#039; Pins 5,6,7 - Pulse Width Modulation (PWM) 1-3 +12V output signals. Reserved for future use (ie not implemented yet)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1676s 27:56]&#039;&#039;&#039; Pins 3,4 - General Purpose +12V Outputs 2 &amp;amp; 3. Reserved for future use (ie not implemented yet)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1709s 28:29]&#039;&#039;&#039; Pins 1,2 - RS232 Rx/Tx Serial connection for alternation VCU communication (solder jumper configurable). Reserved for future expansion&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1811s 30:11]&#039;&#039;&#039; CAN bus connected Isabellenhutte Huesler Shunt&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=2325s 38:45]&#039;&#039;&#039; Web Interface&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=2650s 44:10]&#039;&#039;&#039; How to perform a software update via the web interface using a precompiled binary&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=2852s 47:32]&#039;&#039;&#039; UI Features - Commands&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=3170s 52:50]&#039;&#039;&#039; UI Features - Update&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=3210s 53:30]&#039;&#039;&#039; UI Features - Parameters&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=4290s 1:11:32]&#039;&#039;&#039; UI Features - Spot Values&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=4914s 1:21:54]&#039;&#039;&#039; Epilogue &amp;lt;br/&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====ZombieVerter VCU V1 Part 3====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ ZombieVerter VCU V1 Part 3&lt;br /&gt;
|-&lt;br /&gt;
! Video !! Highlights&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;youtube&amp;gt;https://youtu.be/oPb4vMO17B4&amp;lt;/youtube&amp;gt; &lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=38s 00:38]&#039;&#039;&#039; Intro/Recap of part 2&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=64s 01:04]&#039;&#039;&#039; Description of 2018 Nissan Leaf components used in the video&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=227s 03:47]&#039;&#039;&#039; VCU, wiring harness, 12V battery, ISA shunt, contactors&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=426s 07:06]&#039;&#039;&#039; 12V battery - negative to chassis ground with fuse, and ground to VCU pin 55&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=472s 07:52]&#039;&#039;&#039; 12V battery - positive to PDM positive terminal and distribution block&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=522s 08:42]&#039;&#039;&#039; 12V battery - permanent fused +12v from PDM positive terminal to inverter and PDM&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=554s 09:14]&#039;&#039;&#039; 12V battery - permanent fused +12v to vcu, relay controlled by VCU for switched +12v to inverter and PDM&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=641s 10:41]&#039;&#039;&#039; 12V battery - permanent fused +12v to contactor coil positives&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=657s 10:57]&#039;&#039;&#039; 12V battery - permanent fused +12v to switch to provide tings like T15 on signal to VCU&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=762s 12:42]&#039;&#039;&#039; Other end of permanent 12v feed to inverter and PDM connections&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=803s 13:23]&#039;&#039;&#039; Other end of switched +12v feed to inverter and PDM connections&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=816s 13:36]&#039;&#039;&#039; Other end of switched 12v ground connection&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=838s 13:52]&#039;&#039;&#039; Twisted pair wires from EV CAN CAN EXT 2 High (pin 28) and CAN EXT 2 Low (pin 27) to inverter&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=946s 15:46]&#039;&#039;&#039; To use the PDM for charging, wire control pilot (CP) and plug present (PP) from PDM to charge socket&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=989s 16:29]&#039;&#039;&#039; High voltage setup and controlling it with the VCU&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1028s 17:08]&#039;&#039;&#039; Positive and precharge contactors (only 2 for the test rig - usually would have a negative contactor as well)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1060s 17:40]&#039;&#039;&#039; High voltage positive and negative junction. The ISA shunt connected between negative and PDM to distribute high voltage negative to the components&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1093s 18:13]&#039;&#039;&#039; V1 ISA shunt connection to PDM after the contactors/precharge system to monitor high voltage applied to the drivetrain&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1131s 18:51]&#039;&#039;&#039; Contactor control using negative side connections via VCU (very brief description)&amp;lt;br/&amp;gt;&lt;br /&gt;
||&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1315s 21:55]&#039;&#039;&#039; Leaf PDM Internals, starting with high voltage connections&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1388s 23:08]&#039;&#039;&#039; Leaf PDM Internals, single phase AC charging connections&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1438s 23:49]&#039;&#039;&#039; CCS type 2 socket connections&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1490s 24:50]&#039;&#039;&#039; Gome Cat comes in to say hello&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1545s 25:45]&#039;&#039;&#039; Control switches. +12v, forward input, terminal 15 input, start input, high voltage request input. &amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1584s 26:24]&#039;&#039;&#039; Step 1 is close switch providing +12v to the forward input and T15 connections to enable &amp;quot;ignition on&amp;quot; mode&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1605s 26:45]&#039;&#039;&#039; Step 2 is toggle start input to activate precharge, closing of main contactor, and inverter main relay (assuming all conditions are met)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1645s 27:25]&#039;&#039;&#039; Example throttle from mid 2000s BMW. Two channel hall effect sensor&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1726s 28:46]&#039;&#039;&#039; Charging description when plugging in charger cable&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1771s 29:31]&#039;&#039;&#039; Throttle Calibration using spot values for &#039;&#039;&#039;pot&#039;&#039;&#039; and &#039;&#039;&#039;pot2&#039;&#039;&#039; in auto refresh mode while pressing the pedal across it&#039;s range, noting the min/max and recording the min+10 for &#039;&#039;&#039;potmin&#039;&#039;&#039;, and max-10 for &#039;&#039;&#039;potmax&#039;&#039;&#039; for each pot under parameters. Also select dual channel &#039;&#039;&#039;potmode&#039;&#039;&#039; if using two channels (will not work in single channel mode with 2 channels wired up)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=2257s 37:37]&#039;&#039;&#039; Running the motor&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=2407s 40:07]&#039;&#039;&#039; Checking status, observing parameters&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=2864s 47:44]&#039;&#039;&#039; Problems/gotchas - &#039;&#039;&#039;PRECHARGE&#039;&#039;&#039; error (no high voltage supply, &#039;&#039;&#039;udc&#039;&#039;&#039; not &amp;gt; &#039;&#039;&#039;udcsw&#039;&#039;&#039; within 5s)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=3016s 50:16]&#039;&#039;&#039; Problems/gotchas - too high &#039;&#039;&#039;udcmin&#039;&#039;&#039; setting and no motor spin, &#039;&#039;&#039;potum&#039;&#039;&#039; will not go positive&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=3239s 53:59]&#039;&#039;&#039; Problems/gotchas - too low &#039;&#039;&#039;udcmax&#039;&#039;&#039; (max voltage to allow regen) - motor spins without slowing when throttle released&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=3373s 56:13]&#039;&#039;&#039; Explanation of &#039;&#039;&#039;udclim&#039;&#039;&#039; as redundant cutoff voltage to shut off contactors&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=3400s 56:40]&#039;&#039;&#039; Explanation of &#039;&#039;&#039;idcmax&#039;&#039;&#039; and &#039;&#039;&#039;idcmin&#039;&#039;&#039; current limits&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=3420s 57:00]&#039;&#039;&#039; Explanation of &#039;&#039;&#039;tmphsmax&#039;&#039;&#039; heatsink max temp too low, and min setting allowed of 50C&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=3548s 59:08]&#039;&#039;&#039; Problems/gotchas - &#039;&#039;&#039;throtmax&#039;&#039;&#039; too low, no motor spin&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=3706s 1:01:46]&#039;&#039;&#039; Charging example using &#039;&#039;&#039;Leaf_PDM&#039;&#039;&#039; - seems incomplete, see below&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=3780s 1:03:00]&#039;&#039;&#039; Wifi Connection to the VCU and upgrading firmware&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=3983s 1:06:23]&#039;&#039;&#039; Resolve update fail/hang - activity led stops flashing, no data on web interface (power cycle)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=4225s 1:10:25]&#039;&#039;&#039; Gome cat in it&#039;s natural habitat&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=4399s 1:13:19]&#039;&#039;&#039; Causes of wifi issues&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=4609s 1:16:49]&#039;&#039;&#039; Initializing the ISA shunt&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=4855s 1:20:55]&#039;&#039;&#039; Demonstrating regen&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=4931s 1:22:11]&#039;&#039;&#039; Automatic charge start/stop using Leaf PDM&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=5043s 1:24:03]&#039;&#039;&#039; Epilogue&amp;lt;br/&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&#039;&#039;&#039;Pin Out Diagram&#039;&#039;&#039;[[File:ZombieVerter VCU V1 cable side pinout.jpg|thumb|alt=|VCU pinout diagram |none]]&lt;br /&gt;
[[File:Zomb-con-et.png|none|thumb|List of connections to system components (GS450 application)]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Further information for a GS450 system can be found here: [[Lexus GS450h Inverter]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note&#039;&#039;&#039;: In the software port 0 = EXT2 and port 1 = EXT&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Initial start-up and testing (Instructions for GS450H application) ==&lt;br /&gt;
=== Wifi Setup ===&lt;br /&gt;
The VCU is configured by connecting to its wifi access point.  For existing units this is something like SSID: ESP-03xxxx, no password.  For future units (shipped after 20/10/21) this will be SSID: inverter (or zom_vcu) PASSWORD: inverter123&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE:&#039;&#039;&#039; Recent units have a new wifi module that isn&#039;t automatically assigning an IP via DHCP. See [https://openinverter.org/forum/viewtopic.php?f=5&amp;amp;t=2001 this thread] for details, and if you can help resolve the issue. Until then, you need to manually assign an IP of 192.168.4.2 (anything other than 192.168.14.1 on the 192.168.4.0/24 subnet) to your device.&lt;br /&gt;
&lt;br /&gt;
Then navigate to 192.168.4.1 to see the huebner inverter dashboard.&lt;br /&gt;
&lt;br /&gt;
=== Configuration Setup ===&lt;br /&gt;
Get familiar with the interface and check that all of the parameters make sense. If in doubt, make sure the default value is set.  At each stage the current state of the system and any error can be seen on the interface, for example &#039;&#039;&#039;opmode&#039;&#039;&#039; and &#039;&#039;&#039;lasterr&#039;&#039;&#039;. Press refresh at the top of the screen to update the values.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will need the HV supply connected, which can be a lower voltage (50-100V), current limited power supply for test purposes.  Set &#039;&#039;&#039;udcmin&#039;&#039;&#039; to some value below that (e.g. 50V for a 100V supply) and &#039;&#039;&#039;udcsw&#039;&#039;&#039; to 10V lower than the supply.&lt;br /&gt;
&lt;br /&gt;
* Apply the &#039;&#039;&#039;Ignition T15 in&#039;&#039;&#039; 12V signal.  The relay supplying 12V to the inverter should now be on.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Check the accelerator by applying it gradually and watching / refreshing the interface. You should see values at &#039;&#039;&#039;pot&#039;&#039;&#039; change as the pedal is pressed.  &#039;&#039;&#039;potmin&#039;&#039;&#039; should be set just above where your off-throttle position is, and &#039;&#039;&#039;potmax&#039;&#039;&#039; just below the value seen at maximum travel. Same for &#039;&#039;&#039;pot2min&#039;&#039;&#039; and &#039;&#039;&#039;pot2max&#039;&#039;&#039;, if they are electrically connected. The resulting value as a 0-100 value can be seen at &#039;&#039;&#039;potnom&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If it does not show up, check for errors and check that throtmax is not set to zero!  Check that tmpm is less than tmpmmax, as it can derate the potnom value down as far as zero!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Apply the &#039;&#039;&#039;Start&#039;&#039;&#039; 12V signal for a short time.  The pre-charge relay should turn on, and the voltage available at the inverter and the U1 input of the ISA shunt should quickly rise. If the &#039;&#039;&#039;udc&#039;&#039;&#039; reading goes above &#039;&#039;&#039;udcsw&#039;&#039;&#039; within 5 seconds then the main contactor(s) should close. If all is well, &#039;&#039;&#039;invstat&#039;&#039;&#039; should now be &amp;quot;on&amp;quot;, &#039;&#039;&#039;opmode&#039;&#039;&#039; should be &amp;quot;run&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you do not see a good value at udc, it may be that your external shunt is not connected properly or is not initialised.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you do not see a good value at Invudc, it may be that the inverter is not powered, or the communication signals are not correctly wired.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;if the status stays at &amp;quot;PRECHARGE&amp;quot; then you possibly didn&#039;t hold the start signal on for long enough!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Once the contactors are on, select forwards direction.  For example if &#039;&#039;&#039;dirmode&#039;&#039;&#039; is set to &amp;quot;Switch&amp;quot; then a 12V signal applied to the Forward input will work.&lt;br /&gt;
&lt;br /&gt;
* Carefully apply the accelerator and the motor should begin to turn. Do not spin the motor up to any speed if you are using a test power supply.&lt;br /&gt;
&lt;br /&gt;
== Software==&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/Stm32-vcu &#039;&#039;&#039;Github for the project:&#039;&#039;&#039; https://github.com/damienmaguire/Stm32-vcu]&lt;br /&gt;
&lt;br /&gt;
Various binaries can be found in the support thread, for example https://openinverter.org/forum/viewtopic.php?p=33379#p33379&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;GD variant:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Status as of November 20 2021&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Early boards fitted with the GigaDevices  &#039;&#039;&#039;GD32F107&#039;&#039;&#039; aka &amp;quot;GD chip&amp;quot; require different firmware routines than &#039;&#039;&#039;STM32F107&#039;&#039;&#039; equipped boards.  See this [https://openinverter.org/forum/viewtopic.php?p=33758#p33758 Zombieverter VCU Support Thread forum post]&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;The GigaDevices `[https://www.gigadevice.com/products/microcontrollers/gd32/arm-cortex-m3/connectivity-line/gd32f107-series/ GD32F107] was chosen as an alternative to the ST equivalent due to microchip shortages during the COVID-19 pandemic.  A specific branch of firmware code for the GD32F107 variant is found here:  https://github.com/damienmaguire/Stm32-vcu/tree/GD_Zombie  However development of this variant was abandoned shortly after it&#039;s release.&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;As of this writing , The [https://github.com/damienmaguire/Stm32-vcu/tree/GD_Zombie GD_Zombie] branch has fallen behind and substantially diverged from the primary code base. It has been suggested that work needs to be done to make the present firmware chip agnostic via detection routines.  See this [https://openinverter.org/forum/viewtopic.php?p=34220#p34220 Zombieverter Development Thread forum post]. As of this writing that work has yet to be undertaken and remains to be organized and completed.  And issue has be devoted to tracking this progress here: [https://github.com/damienmaguire/Stm32-vcu/issues/21 Issue #21]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Here is a link to a post with a pre compiled bin and hex for the GD_Zombie created by Damien on the 23/11/21;  [https://openinverter.org/forum/viewtopic.php?p=34264#p34264 ZombieVerter VCU Support - Page 9 - openinverter forum] This is based on the 16/6/21 code it is &amp;lt;u&amp;gt;&#039;&#039;&#039;not&#039;&#039;&#039;&amp;lt;/u&amp;gt; an update. Ensure you rename the binaries to stm32_vcu.xxx to ensure no wifi issues.&lt;br /&gt;
 &lt;br /&gt;
&#039;&#039;UPDATE November 23 2021&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Updated information about the necessary edits to make to the STM32 based firmware have been posted in a [https://openinverter.org/forum/viewtopic.php?p=34264#p34264 forum post here.]  In order to get the firmware to compile and run on the &#039;&#039;&#039;GD32F107&#039;&#039;&#039;  you must make the following changes:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;In the file &amp;quot;&#039;&#039;&#039;anain.cpp&#039;&#039;&#039;&amp;quot; @ line 68:&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;68 - // adc_start_conversion_regular(ADC1);  // Comment out for GD MCU&amp;lt;/code&amp;gt;In the file&#039;&#039; &#039;&#039;&amp;quot;&#039;&#039;&#039;stm32_can.cpp&#039;&#039;&#039;&amp;quot; @ starting at line 305 modify as follows :&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;305 - gpio_set_mode(GPIO_BANK_CAN2_RE_RX, GPIO_MODE_INPUT, GPIO_CNF_INPUT_PULL_UPDOWN, GPIO_CAN2_RE_RX);&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;306 - gpio_set(GPIO_BANK_CAN2_RE_RX, GPIO_CAN2_RE_RX);&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;307 - // Configure CAN pin: TX.-&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;308 - gpio_set_mode(GPIO_BANK_CAN2_RE_TX, GPIO_MODE_OUTPUT_50_MHZ, GPIO_CNF_OUTPUT_ALTFN_PUSHPULL, GPIO_CAN2_RE_TX);&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you properly clone the repository with &#039;&#039;&#039;git&#039;&#039;&#039; on the command line that looks like this;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;git clone --recurse-submodules git@github.com:damienmaguire/Stm32-vcu.git&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
That recursively pulls in copies of &#039;&#039;&#039;&#039;&#039;libopeninv&#039;&#039;&#039;&#039;&#039;, etc and tracks them...   Hence your file-path should look like &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;./Stm32-vcu/libopeninv/src/&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
within the &#039;&#039;&#039;&#039;&#039;libopeninv&#039;&#039;&#039;&#039;&#039; src (source) directory you will find &#039;&#039;&#039;&#039;&#039;anain.cpp&#039;&#039;&#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;stm32_can.cpp&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Make the above changes to these files for the &#039;&#039;&#039;GigaDevices GD32F107&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
== Software update ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As supplied, both the ESP32 (the wifi plug-in board) and the STM32 (main MPU) are pre-loaded.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;UART Update&amp;quot; field on the GUI can be given a &#039;&#039;&#039;stm32_vcu.bin&#039;&#039;&#039; file to update the firmware.   Note that at this time, loading via Windows 10 is suspect and may lock you out of the board. Ubuntu works best.&lt;br /&gt;
&lt;br /&gt;
If you are unable to build your own, use the [https://openinverter.org/forum/download/file.php?id=11673 stm32_vcu.bin] that Damien posted on 10/30/2021 in the [https://openinverter.org/forum/viewtopic.php?p=33379#p33379 ZombieVerter VCU Support thread].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By using the ST-Link V2 in-circuit loader, &#039;&#039;&#039;.hex&#039;&#039;&#039; files can be sent to the board to initialize a fresh STM32 MCU, or if it can&#039;t be loaded via the bootloader.&lt;br /&gt;
&lt;br /&gt;
If you are unable to build your own, use the [https://openinverter.org/forum/download/file.php?id=11674 stm32_vcu.hex] that Damien posted on 10/30/2021 in the [https://openinverter.org/forum/viewtopic.php?p=33379#p33379 ZombieVerter VCU Support thread].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The connections needed to use the ST-Link loader are shown below:&lt;br /&gt;
[[File:0B35D4F9-BA64-46E7-A570-A0CE1D619D63.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
=== Initializing an ISA Shunt ===&lt;br /&gt;
Under Comms in the web interface, there is now an ISAMode option. By default its in &amp;quot;Normal&amp;quot;. If you want to initialize a new shunt, connect it up, power on the shunt and vcu, select &amp;quot;Init&amp;quot;, hit save parameters to flash. Power cycle the vcu and shunt at same time (they should be on same 12v feed anyway). The shunt will initialize. Select ISAMode &amp;quot;normal&amp;quot;, save to flash again and reboot again. The shunt should now be up and running.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Supported OEM Hardware==&lt;br /&gt;
&lt;br /&gt;
*Nissan Leaf Gen1/2/3 Inverter/ motor&lt;br /&gt;
*nissan leaf gen 2 drive stack (inverter, dcdc, charger) gen 3 coming soon&lt;br /&gt;
&lt;br /&gt;
*[[Lexus GS450h Inverter|Lexus GS450H inverter / gearbox via sync serial]]&lt;br /&gt;
* Toyota Prius/Yaris/Auris Gen 3 inverters via sync serial&lt;br /&gt;
* chevy volt HV water heater&lt;br /&gt;
*BMW E46 CAN support&lt;br /&gt;
*BMW E39 CAN support&lt;br /&gt;
*BMW E65 CAN Support&lt;br /&gt;
*CCS DC Fast Charge via BMW i3 LIM&lt;/div&gt;</summary>
		<author><name>Cgalpin</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=2059</id>
		<title>ZombieVerter VCU</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=2059"/>
		<updated>2021-12-28T19:09:37Z</updated>

		<summary type="html">&lt;p&gt;Cgalpin: /* ZombieVerter VCU V1 Part 3 */  layout changes to optimize vertical space&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;big&amp;gt;Now available for general sale [https://www.evbmw.com/index.php/evbmw-webshop/vcu-boards here].&amp;lt;/big&amp;gt;&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Development continues&#039;&#039;&#039; and you can&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?f=3&amp;amp;t=1277 follow and contribute along with the development here on the forum]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?f=3&amp;amp;t=1696 &#039;&#039;&#039;Support&#039;&#039;&#039; is available via a separate thread on the forum]&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
Rather than crack open inverters and swap components about to drive them, what if we simply send them the messages they&#039;re expecting? This has been the case with a couple of existing designs (Nissan leaf inverter and GS450H) and thanks to the SAM3X8E microcontroller no longer being stocked by JLCPCB this project looks to take it further.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So rather than driving an inverter powerstage this version sends CAN for the Leaf inverter or Sync serial for the GS450H and of course can be expanded to any number of others. This will be the default firmware for all vcu products from now on and future hardware will support future fun packed stuff like FLEXRAY!!!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&#039;s basically an &amp;lt;s&amp;gt;rip off&amp;lt;/s&amp;gt; homage and builds on other people&#039;s hard work in the shape of the following projects&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/jsphuebner/stm32-car STM32-CAR project] &lt;br /&gt;
* [https://github.com/jsphuebner/stm32-sine Openinverter]&lt;br /&gt;
* [https://github.com/Isaac96/SimpleISA ISA library]&lt;br /&gt;
* Leaf inverter driver by Celeron55&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
What we have as of now is the openinverter wrapper with things like :&lt;br /&gt;
&lt;br /&gt;
* Throttle cal and mapping,&lt;br /&gt;
* Precharge and contactor control,&lt;br /&gt;
* Temp derating,&lt;br /&gt;
* BMS limits,&lt;br /&gt;
* for/rev/neutral control,&lt;br /&gt;
* Graphing and monitoring,&lt;br /&gt;
* Firmware updates via the web interface,&lt;br /&gt;
* Cruise control,&lt;br /&gt;
* Fuel gauge driver,&lt;br /&gt;
* etc &lt;br /&gt;
&lt;br /&gt;
==Hardware==&lt;br /&gt;
So you&#039;ve ordered your kit, first things first, watch the following two videos to assemble it. &lt;br /&gt;
&lt;br /&gt;
Due to chip shortages (written summer 2021) the board isn&#039;t fully assembled so you will need to do some soldering, or take it to a local phone repair shop (or similar) who&#039;ll find soldering at this scale like playing with Duplo (Legos to you Yanks).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The current list of parts to be fitted:&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
CONN1&lt;br /&gt;
IC10 = MCP25625T&lt;br /&gt;
IC14 = TJA1020 OR MCP2004 &lt;br /&gt;
IC19 = NCV7356&lt;br /&gt;
IC20 = TJA1055T&lt;br /&gt;
IC21, 22 = AD5160&lt;br /&gt;
IC27, 28, 29 = FAN3122&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And the positions on the V1 board.&lt;br /&gt;
[[File:Zombv1boardb.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===The enclosure kit links===&lt;br /&gt;
&lt;br /&gt;
You only need one, but below are two options - one with just the connector, and the other prewired with 3M long leads.&lt;br /&gt;
&lt;br /&gt;
::Enclosure Kit with Header, connector and pins :&lt;br /&gt;
&lt;br /&gt;
::::https://www.aliexpress.com/item/32857771975.html?spm=a2g0s.9042311.0.0.39f24c4dWOmGPE&lt;br /&gt;
&lt;br /&gt;
::Prewired connector with 3M leads (limited colors which will not match standard wire colouring conventions) :&lt;br /&gt;
&lt;br /&gt;
::::https://www.aliexpress.com/item/4001213569338.html?spm=a2g0o.cart.0.0.366c3c00qhBvGO&amp;amp;mp=1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The kits do not come with M3 screws needed to secure the board to the enclosure (2 need to be slightly longer), and to secure the lid. Nor a gasket for the lid.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note that in addition to the VCU, the inverter and transmission, you will require a specific CANBUS connected shunt&#039;&#039;&#039;: [[Isabellenhütte Heusler]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Build and Configuration Videos===&lt;br /&gt;
====ZombieVerter VCU V1 Build Part 1====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ ZombieVerter VCU V1 Build Part 1&lt;br /&gt;
|-&lt;br /&gt;
! Video !! Highlights&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;youtube&amp;gt;https://www.youtube.com/watch?v=geZuIbGHh30&amp;lt;/youtube&amp;gt; &lt;br /&gt;
&#039;&#039;&#039;00:33&#039;&#039;&#039; Warning and suggestion to go watch cat videos instead&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=66s 01:06]&#039;&#039;&#039; Recap about the ZombieVerter VCU Build Part 1&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=184s 03:04]&#039;&#039;&#039; How to get one&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=215s 03:35]&#039;&#039;&#039; Design files currently require E10 Patreon membership/contribution if wanting to build your own&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=268s 04:28]&#039;&#039;&#039; Components still requiring soldering&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=303s 05:03]&#039;&#039;&#039; IC19 - 8 pin SOIC for single wire CAN (NCV7356)&amp;lt;br/&amp;gt;&lt;br /&gt;
||&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=360s 06:00]&#039;&#039;&#039; IC10 - SPI CAN controller and transceiver (MCP25625T)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=390s 06:30]&#039;&#039;&#039; &amp;lt;del&amp;gt;IC1,3,5,6,7,24,25,26  load driver mosfets (NCV8402)&amp;lt;/del&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=440s 07:20]&#039;&#039;&#039; Do you need these components?&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=520s 08:40]&#039;&#039;&#039; Soldering begins - IC19&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=550s 09:10]&#039;&#039;&#039; Soldering iron for SOIC parts&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=567s 09:27]&#039;&#039;&#039; Applying flux using Damien&#039;s favorite Flux, UV80&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=634s 10:34]&#039;&#039;&#039; Magnifier headset&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=807s 13:27]&#039;&#039;&#039; Soldering MCP25625&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=955s 15:55]&#039;&#039;&#039; Suggests getting an phone/computer repair shop to help out if needed&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1025s 17:05]&#039;&#039;&#039; Using hot air gun to warm the board and position the chip&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1174s 19:34]&#039;&#039;&#039; &amp;lt;del&amp;gt;Soldering NCV8402s&amp;lt;/del&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1408s 23:28]&#039;&#039;&#039; Clean soldering with IPA Solvent&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1480s 24:40]&#039;&#039;&#039; First power up test using bench power supply to limit current to a few hundred mA&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1607s 26:47]&#039;&#039;&#039; 60mA current draw with no wifi board&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1655s 27:35]&#039;&#039;&#039; Wifi module&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1790s 29:50]&#039;&#039;&#039; Power up test with wifi draws 90mA&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1825s 30:25]&#039;&#039;&#039; Enclosure kit(s)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=2162s 36:02]&#039;&#039;&#039; Soldering the PCB header (56 pin)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=2668s 44:28]&#039;&#039;&#039; Installing in the enclosure&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=3030s 50:30]&#039;&#039;&#039; Cameo appearance by Gome cat&amp;lt;br/&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====ZombieVerter VCU V1 Build Part 2====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ ZombieVerter VCU V1 Build Part 2&lt;br /&gt;
|-&lt;br /&gt;
! Video !! Highlights&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;youtube&amp;gt;https://youtu.be/MUhs9j9R9Mg&amp;lt;/youtube&amp;gt; &lt;br /&gt;
&#039;&#039;&#039;00:34&#039;&#039;&#039; Health warning and suggestion to go watch cat videos instead&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=102s 01:42]&#039;&#039;&#039; Intro&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=200s 03:20]&#039;&#039;&#039; Pinouts of the 56 pin connector&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=256s 04:16]&#039;&#039;&#039; Pins 55,56 - Ground and +12V&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=289s 04:49]&#039;&#039;&#039; Pins 53,54 - Reverse and Forward Direction. Apply +12V to the pin for the direction needed.&amp;lt;br/&amp;gt;Configurable in the web interface to flip these since direction is relative&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=452s 07:32]&#039;&#039;&#039; Pins 52 - Start. Momentarily apply +12V to send a start signal&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=495s 08:15]&#039;&#039;&#039; Pin 51 - HV Request. Apply +12v to precharge and bring up the high voltage system&amp;lt;br/&amp;gt; (and not the drive components)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=545s 09:05]&#039;&#039;&#039; Pin 50 - General Purpose 12V Input. Reserved for future use&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=563s 09:23]&#039;&#039;&#039; Pin 49 - Brake Input. Connect to brake light switch to apply +12V signaling brakes are applied&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=615s 10:15]&#039;&#039;&#039; Pins 45,46,47,48 - Throttle. +5V power, ground, and 1 or 2 hall effect sensor inputs&amp;lt;br/&amp;gt;&lt;br /&gt;
||&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=660s 11:00]&#039;&#039;&#039; Pins 25,26,27,28 - 3 CAN bus interfaces. CAN EXT is for vehicle/body communication,&amp;lt;br/&amp;gt; CAN EXT 2 for the ISA shunt comms,&amp;lt;br/&amp;gt; CAN EXT 3 (with solderable jumpers to change modes) is for general purpose like charger, heater control&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=885s 14:45]&#039;&#039;&#039; Pin 24 - Local Interface Network (LIN)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=956s 15:56]&#039;&#039;&#039; Pins 16,17,18,19,20,21,22,23 - Toyota Hybrid Inverter specific using async serial comms.&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1041s 17:21]&#039;&#039;&#039; Pin 15 - Ignition T15 In. Apply +12V to turn Ignition on. Puts VCU in run mode&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1134s 18:54]&#039;&#039;&#039; Pins 37,38,39,40,41,42 - Toyota Hybrid Transmission shift control&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1182s 19:42]&#039;&#039;&#039; Pins 35,36 - POT1 &amp;amp; POT2. Digital potentiometer outputs to drive analog gauges (fuel, etc)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1270s 21:10]&#039;&#039;&#039; Pins 32,33,34 - Low Side (LS) switches for Inverter Power, Positive side Main Contactor, Precharge Contactor&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1401s 23:21]&#039;&#039;&#039; Pin 31 - General Purpose +12V Output. LS switch for Negative side Main Contactor&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1441s 24:01]&#039;&#039;&#039; Pins 12,13,14,29,30 - Toyota Hybrid System controls&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1524s 25:24]&#039;&#039;&#039; Pins 10,11 - Digital to Analog Converter (DAC) 1 &amp;amp; 2. Reserved for future use - additional analog instruments etc.&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1593s 26:33]&#039;&#039;&#039; Pins 8,9 - 0-5V Analog Inputs 1 &amp;amp; 2. Reserved for future use (ie not implemented yet)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1626s 27:06]&#039;&#039;&#039; Pins 5,6,7 - Pulse Width Modulation (PWM) 1-3 +12V output signals. Reserved for future use (ie not implemented yet)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1676s 27:56]&#039;&#039;&#039; Pins 3,4 - General Purpose +12V Outputs 2 &amp;amp; 3. Reserved for future use (ie not implemented yet)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1709s 28:29]&#039;&#039;&#039; Pins 1,2 - RS232 Rx/Tx Serial connection for alternation VCU communication (solder jumper configurable). Reserved for future expansion&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1811s 30:11]&#039;&#039;&#039; CAN bus connected Isabellenhutte Huesler Shunt&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=2325s 38:45]&#039;&#039;&#039; Web Interface&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=2650s 44:10]&#039;&#039;&#039; How to perform a software update via the web interface using a precompiled binary&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=2852s 47:32]&#039;&#039;&#039; UI Features - Commands&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=3170s 52:50]&#039;&#039;&#039; UI Features - Update&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=3210s 53:30]&#039;&#039;&#039; UI Features - Parameters&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=4290s 1:11:32]&#039;&#039;&#039; UI Features - Spot Values&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=4914s 1:21:54]&#039;&#039;&#039; Epilogue &amp;lt;br/&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====ZombieVerter VCU V1 Part 3====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ ZombieVerter VCU V1 Part 3&lt;br /&gt;
|-&lt;br /&gt;
! Video !! Highlights&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;youtube&amp;gt;https://youtu.be/oPb4vMO17B4&amp;lt;/youtube&amp;gt; &lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=38s 00:38]&#039;&#039;&#039; Intro/Recap of part 2&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=64s 01:04]&#039;&#039;&#039; Description of 2018 Nissan Leaf components used in the video&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=227s 03:47]&#039;&#039;&#039; VCU, wiring harness, 12V battery, ISA shunt, contactors&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=426s 07:06]&#039;&#039;&#039; 12V battery - negative to chassis ground with fuse, and ground to VCU pin 55&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=472s 07:52]&#039;&#039;&#039; 12V battery - positive to PDM positive terminal and distribution block&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=522s 08:42]&#039;&#039;&#039; 12V battery - permanent fused +12v from PDM positive terminal to inverter and PDM&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=554s 09:14]&#039;&#039;&#039; 12V battery - permanent fused +12v to vcu, relay controlled by VCU for switched +12v to inverter and PDM&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=641s 10:41]&#039;&#039;&#039; 12V battery - permanent fused +12v to contactor coil positives&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=657s 10:57]&#039;&#039;&#039; 12V battery - permanent fused +12v to switch to provide tings like T15 on signal to VCU&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=762s 12:42]&#039;&#039;&#039; Other end of permanent 12v feed to inverter and PDM connections&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=803s 13:23]&#039;&#039;&#039; Other end of switched +12v feed to inverter and PDM connections&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=816s 13:36]&#039;&#039;&#039; Other end of switched 12v ground connection&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=838s 13:52]&#039;&#039;&#039; Twisted pair wires from EV CAN CAN EXT 2 High (pin 28) and CAN EXT 2 Low (pin 27) to inverter&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=946s 15:46]&#039;&#039;&#039; To use the PDM for charging, wire control pilot (CP) and plug present (PP) from PDM to charge socket&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=989s 16:29]&#039;&#039;&#039; High voltage setup and controlling it with the VCU&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1028s 17:08]&#039;&#039;&#039; Positive and precharge contactors (only 2 for the test rig - usually would have a negative contactor as well)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1060s 17:40]&#039;&#039;&#039; High voltage positive and negative junction. The ISA shunt connected between negative and PDM to distribute high voltage negative to the components&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1093s 18:13]&#039;&#039;&#039; V1 ISA shunt connection to PDM after the contactors/precharge system to monitor high voltage applied to the drivetrain&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1131s 18:51]&#039;&#039;&#039; Contactor control using negative side connections via VCU (very brief description)&amp;lt;br/&amp;gt;&lt;br /&gt;
||&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1315s 21:55]&#039;&#039;&#039; Leaf PDM Internals, starting with high voltage connections&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1388s 23:08]&#039;&#039;&#039; Leaf PDM Internals, single phase AC charging connections&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1438s 23:49]&#039;&#039;&#039; CCS type 2 socket connections&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1490s 24:50]&#039;&#039;&#039; Gome Cat comes in to say hello&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1545s 25:45]&#039;&#039;&#039; Control switches. +12v, forward input, terminal 15 input, start input, high voltage request input. &amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1584s 26:24]&#039;&#039;&#039; Step 1 is close switch providing +12v to the forward input and T15 connections to enable &amp;quot;ignition on&amp;quot; mode&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1605s 26:45]&#039;&#039;&#039; Step 2 is toggle start input to activate precharge, closing of main contactor, and inverter main relay (assuming all conditions are met)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1645s 27:25]&#039;&#039;&#039; Example throttle from mid 2000s BMW. Two channel hall effect sensor&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1726s 28:46]&#039;&#039;&#039; Charging description when plugging in charger cable&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1771s 29:31]&#039;&#039;&#039; Throttle Calibration using spot values for &#039;&#039;&#039;pot&#039;&#039;&#039; and &#039;&#039;&#039;pot2&#039;&#039;&#039; in auto refresh mode while pressing the pedal across it&#039;s range, noting the min/max and recording the min+10 for &#039;&#039;&#039;potmin&#039;&#039;&#039;, and max-10 for &#039;&#039;&#039;potmax&#039;&#039;&#039; for each pot under parameters. Also select dual channel &#039;&#039;&#039;potmode&#039;&#039;&#039; if using two channels (will not work in single channel mode with 2 channels wired up)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=2257s 37:37]&#039;&#039;&#039; Running the motor&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=2407s 40:07]&#039;&#039;&#039; Checking status, observing parameters&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=2864s 47:44]&#039;&#039;&#039; Problems/gotchas - &#039;&#039;&#039;PRECHARGE&#039;&#039;&#039; error (no high voltage supply, &#039;&#039;&#039;udc&#039;&#039;&#039; not &amp;gt; &#039;&#039;&#039;udcsw&#039;&#039;&#039; within 5s)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=3016s 50:16]&#039;&#039;&#039; Problems/gotchas - too high &#039;&#039;&#039;udcmin&#039;&#039;&#039; setting and no motor spin, &#039;&#039;&#039;potum&#039;&#039;&#039; will not go positive&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=3239s 53:59]&#039;&#039;&#039; Problems/gotchas - too low &#039;&#039;&#039;udcmax&#039;&#039;&#039; (max voltage to allow regen) - motor spins without slowing when throttle released&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=3373s 56:13]&#039;&#039;&#039; Explanation of &#039;&#039;&#039;udclim&#039;&#039;&#039; as redundant cutoff voltage to shut off contactors&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=3400s 56:40]&#039;&#039;&#039; Explanation of &#039;&#039;&#039;idcmax&#039;&#039;&#039; and &#039;&#039;&#039;idcmin&#039;&#039;&#039; current limits&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=3420s 57:00]&#039;&#039;&#039; Explanation of &#039;&#039;&#039;tmphsmax&#039;&#039;&#039; heatsink max temp too low, and min setting allowed of 50C&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=3548s 59:08]&#039;&#039;&#039; Problems/gotchas - &#039;&#039;&#039;throtmax&#039;&#039;&#039; too low, no motor spin&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=3706s 1:01:46]&#039;&#039;&#039; Charging example using &#039;&#039;&#039;Leaf_PDM&#039;&#039;&#039; - seems incomplete, see below&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=3780s 1:03:00]&#039;&#039;&#039; Wifi Connection to the VCU and upgrading firmware&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=3983s 1:06:23]&#039;&#039;&#039; Resolve update fail/hang - activity led stops flashing, no data on web interface (power cycle)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=4225s 1:10:25]&#039;&#039;&#039; Gome cat in it&#039;s natural habitat&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=4399s 1:13:19]&#039;&#039;&#039; Causes of wifi issues&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=4609s 1:16:49]&#039;&#039;&#039; Initializing the ISA shunt&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=4855s 1:20:55]&#039;&#039;&#039; Demonstrating regen&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=4931s 1:22:11]&#039;&#039;&#039; Automatic charge start/stop using Leaf PDM&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=5043s 1:24:03]&#039;&#039;&#039; Epilogue&amp;lt;br/&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&#039;&#039;&#039;Pin Out Diagram&#039;&#039;&#039;[[File:ZombieVerter VCU V1 cable side pinout.jpg|thumb|alt=|VCU pinout diagram |none]]&lt;br /&gt;
[[File:Zomb-con-et.png|none|thumb|List of connections to system components (GS450 application)]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Further information for a GS450 system can be found here: [[Lexus GS450h Inverter]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note&#039;&#039;&#039;: In the software port 0 = EXT2 and port 1 = EXT&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Initial start-up and testing (Instructions for GS450H application) ==&lt;br /&gt;
=== Wifi Setup ===&lt;br /&gt;
The VCU is configured by connecting to its wifi access point.  For existing units this is something like SSID: ESP-03xxxx, no password.  For future units (shipped after 20/10/21) this will be SSID: inverter (or zom_vcu) PASSWORD: inverter123&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE:&#039;&#039;&#039; Recent units have a new wifi module that isn&#039;t automatically assigning an IP via DHCP. See [https://openinverter.org/forum/viewtopic.php?f=5&amp;amp;t=2001 this thread] for details, and if you can help resolve the issue. Until then, you need to manually assign an IP of 192.168.4.2 (anything other than 192.168.14.1 on the 192.168.4.0/24 subnet) to your device.&lt;br /&gt;
&lt;br /&gt;
Then navigate to 192.168.4.1 to see the huebner inverter dashboard.&lt;br /&gt;
&lt;br /&gt;
=== Configuration Setup ===&lt;br /&gt;
Get familiar with the interface and check that all of the parameters make sense. If in doubt, make sure the default value is set.  At each stage the current state of the system and any error can be seen on the interface, for example &#039;&#039;&#039;opmode&#039;&#039;&#039; and &#039;&#039;&#039;lasterr&#039;&#039;&#039;. Press refresh at the top of the screen to update the values.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will need the HV supply connected, which can be a lower voltage (50-100V), current limited power supply for test purposes.  Set &#039;&#039;&#039;udcmin&#039;&#039;&#039; to some value below that (e.g. 50V for a 100V supply) and &#039;&#039;&#039;udcsw&#039;&#039;&#039; to 10V lower than the supply.&lt;br /&gt;
&lt;br /&gt;
* Apply the &#039;&#039;&#039;Ignition T15 in&#039;&#039;&#039; 12V signal.  The relay supplying 12V to the inverter should now be on.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Check the accelerator by applying it gradually and watching / refreshing the interface. You should see values at &#039;&#039;&#039;pot&#039;&#039;&#039; change as the pedal is pressed.  &#039;&#039;&#039;potmin&#039;&#039;&#039; should be set just above where your off-throttle position is, and &#039;&#039;&#039;potmax&#039;&#039;&#039; just below the value seen at maximum travel. Same for &#039;&#039;&#039;pot2min&#039;&#039;&#039; and &#039;&#039;&#039;pot2max&#039;&#039;&#039;, if they are electrically connected. The resulting value as a 0-100 value can be seen at &#039;&#039;&#039;potnom&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If it does not show up, check for errors and check that throtmax is not set to zero!  Check that tmpm is less than tmpmmax, as it can derate the potnom value down as far as zero!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Apply the &#039;&#039;&#039;Start&#039;&#039;&#039; 12V signal for a short time.  The pre-charge relay should turn on, and the voltage available at the inverter and the U1 input of the ISA shunt should quickly rise. If the &#039;&#039;&#039;udc&#039;&#039;&#039; reading goes above &#039;&#039;&#039;udcsw&#039;&#039;&#039; within 5 seconds then the main contactor(s) should close. If all is well, &#039;&#039;&#039;invstat&#039;&#039;&#039; should now be &amp;quot;on&amp;quot;, &#039;&#039;&#039;opmode&#039;&#039;&#039; should be &amp;quot;run&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you do not see a good value at udc, it may be that your external shunt is not connected properly or is not initialised.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you do not see a good value at Invudc, it may be that the inverter is not powered, or the communication signals are not correctly wired.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;if the status stays at &amp;quot;PRECHARGE&amp;quot; then you possibly didn&#039;t hold the start signal on for long enough!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Once the contactors are on, select forwards direction.  For example if &#039;&#039;&#039;dirmode&#039;&#039;&#039; is set to &amp;quot;Switch&amp;quot; then a 12V signal applied to the Forward input will work.&lt;br /&gt;
&lt;br /&gt;
* Carefully apply the accelerator and the motor should begin to turn. Do not spin the motor up to any speed if you are using a test power supply.&lt;br /&gt;
&lt;br /&gt;
== Software==&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/Stm32-vcu &#039;&#039;&#039;Github for the project:&#039;&#039;&#039; https://github.com/damienmaguire/Stm32-vcu]&lt;br /&gt;
&lt;br /&gt;
Various binaries can be found in the support thread, for example https://openinverter.org/forum/viewtopic.php?p=33379#p33379&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;GD variant:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Status as of November 20 2021&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Early boards fitted with the GigaDevices  &#039;&#039;&#039;GD32F107&#039;&#039;&#039; aka &amp;quot;GD chip&amp;quot; require different firmware routines than &#039;&#039;&#039;STM32F107&#039;&#039;&#039; equipped boards.  See this [https://openinverter.org/forum/viewtopic.php?p=33758#p33758 Zombieverter VCU Support Thread forum post]&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;The GigaDevices `[https://www.gigadevice.com/products/microcontrollers/gd32/arm-cortex-m3/connectivity-line/gd32f107-series/ GD32F107] was chosen as an alternative to the ST equivalent due to microchip shortages during the COVID-19 pandemic.  A specific branch of firmware code for the GD32F107 variant is found here:  https://github.com/damienmaguire/Stm32-vcu/tree/GD_Zombie  However development of this variant was abandoned shortly after it&#039;s release.&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;As of this writing , The [https://github.com/damienmaguire/Stm32-vcu/tree/GD_Zombie GD_Zombie] branch has fallen behind and substantially diverged from the primary code base. It has been suggested that work needs to be done to make the present firmware chip agnostic via detection routines.  See this [https://openinverter.org/forum/viewtopic.php?p=34220#p34220 Zombieverter Development Thread forum post]. As of this writing that work has yet to be undertaken and remains to be organized and completed.  And issue has be devoted to tracking this progress here: [https://github.com/damienmaguire/Stm32-vcu/issues/21 Issue #21]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Here is a link to a post with a pre compiled bin and hex for the GD_Zombie created by Damien on the 23/11/21;  [https://openinverter.org/forum/viewtopic.php?p=34264#p34264 ZombieVerter VCU Support - Page 9 - openinverter forum] This is based on the 16/6/21 code it is &amp;lt;u&amp;gt;&#039;&#039;&#039;not&#039;&#039;&#039;&amp;lt;/u&amp;gt; an update. Ensure you rename the binaries to stm32_vcu.xxx to ensure no wifi issues.&lt;br /&gt;
 &lt;br /&gt;
&#039;&#039;UPDATE November 23 2021&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Updated information about the necessary edits to make to the STM32 based firmware have been posted in a [https://openinverter.org/forum/viewtopic.php?p=34264#p34264 forum post here.]  In order to get the firmware to compile and run on the &#039;&#039;&#039;GD32F107&#039;&#039;&#039;  you must make the following changes:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;In the file &amp;quot;&#039;&#039;&#039;anain.cpp&#039;&#039;&#039;&amp;quot; @ line 68:&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;68 - // adc_start_conversion_regular(ADC1);  // Comment out for GD MCU&amp;lt;/code&amp;gt;In the file&#039;&#039; &#039;&#039;&amp;quot;&#039;&#039;&#039;stm32_can.cpp&#039;&#039;&#039;&amp;quot; @ starting at line 305 modify as follows :&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;305 - gpio_set_mode(GPIO_BANK_CAN2_RE_RX, GPIO_MODE_INPUT, GPIO_CNF_INPUT_PULL_UPDOWN, GPIO_CAN2_RE_RX);&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;306 - gpio_set(GPIO_BANK_CAN2_RE_RX, GPIO_CAN2_RE_RX);&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;307 - // Configure CAN pin: TX.-&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;308 - gpio_set_mode(GPIO_BANK_CAN2_RE_TX, GPIO_MODE_OUTPUT_50_MHZ, GPIO_CNF_OUTPUT_ALTFN_PUSHPULL, GPIO_CAN2_RE_TX);&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you properly clone the repository with &#039;&#039;&#039;git&#039;&#039;&#039; on the command line that looks like this;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;git clone --recurse-submodules git@github.com:damienmaguire/Stm32-vcu.git&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
That recursively pulls in copies of &#039;&#039;&#039;&#039;&#039;libopeninv&#039;&#039;&#039;&#039;&#039;, etc and tracks them...   Hence your file-path should look like &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;./Stm32-vcu/libopeninv/src/&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
within the &#039;&#039;&#039;&#039;&#039;libopeninv&#039;&#039;&#039;&#039;&#039; src (source) directory you will find &#039;&#039;&#039;&#039;&#039;anain.cpp&#039;&#039;&#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;stm32_can.cpp&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Make the above changes to these files for the &#039;&#039;&#039;GigaDevices GD32F107&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
== Software update ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As supplied, both the ESP32 (the wifi plug-in board) and the STM32 (main MPU) are pre-loaded.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;UART Update&amp;quot; field on the GUI can be given a &#039;&#039;&#039;stm32_vcu.bin&#039;&#039;&#039; file to update the firmware.   Note that at this time, loading via Windows 10 is suspect and may lock you out of the board. Ubuntu works best.&lt;br /&gt;
&lt;br /&gt;
If you are unable to build your own, use the [https://openinverter.org/forum/download/file.php?id=11673 stm32_vcu.bin] that Damien posted on 10/30/2021 in the [https://openinverter.org/forum/viewtopic.php?p=33379#p33379 ZombieVerter VCU Support thread].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By using the ST-Link V2 in-circuit loader, &#039;&#039;&#039;.hex&#039;&#039;&#039; files can be sent to the board to initialize a fresh STM32 MCU, or if it can&#039;t be loaded via the bootloader.&lt;br /&gt;
&lt;br /&gt;
If you are unable to build your own, use the [https://openinverter.org/forum/download/file.php?id=11674 stm32_vcu.hex] that Damien posted on 10/30/2021 in the [https://openinverter.org/forum/viewtopic.php?p=33379#p33379 ZombieVerter VCU Support thread].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The connections needed to use the ST-Link loader are shown below:&lt;br /&gt;
[[File:0B35D4F9-BA64-46E7-A570-A0CE1D619D63.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
=== Initializing an ISA Shunt ===&lt;br /&gt;
Under Comms in the web interface, there is now an ISAMode option. By default its in &amp;quot;Normal&amp;quot;. If you want to initialize a new shunt, connect it up, power on the shunt and vcu, select &amp;quot;Init&amp;quot;, hit save parameters to flash. Power cycle the vcu and shunt at same time (they should be on same 12v feed anyway). The shunt will initialize. Select ISAMode &amp;quot;normal&amp;quot;, save to flash again and reboot again. The shunt should now be up and running.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Supported OEM Hardware==&lt;br /&gt;
&lt;br /&gt;
*Nissan Leaf Gen1/2/3 Inverter/ motor&lt;br /&gt;
*nissan leaf gen 2 drive stack (inverter, dcdc, charger) gen 3 coming soon&lt;br /&gt;
&lt;br /&gt;
*[[Lexus GS450h Inverter|Lexus GS450H inverter / gearbox via sync serial]]&lt;br /&gt;
* Toyota Prius/Yaris/Auris Gen 3 inverters via sync serial&lt;br /&gt;
* chevy volt HV water heater&lt;br /&gt;
*BMW E46 CAN support&lt;br /&gt;
*BMW E39 CAN support&lt;br /&gt;
*BMW E65 CAN Support&lt;br /&gt;
*CCS DC Fast Charge via BMW i3 LIM&lt;/div&gt;</summary>
		<author><name>Cgalpin</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=2058</id>
		<title>ZombieVerter VCU</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=2058"/>
		<updated>2021-12-28T19:05:34Z</updated>

		<summary type="html">&lt;p&gt;Cgalpin: /* ZombieVerter VCU V1 Part 3 */ more highlights&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;big&amp;gt;Now available for general sale [https://www.evbmw.com/index.php/evbmw-webshop/vcu-boards here].&amp;lt;/big&amp;gt;&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Development continues&#039;&#039;&#039; and you can&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?f=3&amp;amp;t=1277 follow and contribute along with the development here on the forum]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?f=3&amp;amp;t=1696 &#039;&#039;&#039;Support&#039;&#039;&#039; is available via a separate thread on the forum]&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
Rather than crack open inverters and swap components about to drive them, what if we simply send them the messages they&#039;re expecting? This has been the case with a couple of existing designs (Nissan leaf inverter and GS450H) and thanks to the SAM3X8E microcontroller no longer being stocked by JLCPCB this project looks to take it further.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So rather than driving an inverter powerstage this version sends CAN for the Leaf inverter or Sync serial for the GS450H and of course can be expanded to any number of others. This will be the default firmware for all vcu products from now on and future hardware will support future fun packed stuff like FLEXRAY!!!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&#039;s basically an &amp;lt;s&amp;gt;rip off&amp;lt;/s&amp;gt; homage and builds on other people&#039;s hard work in the shape of the following projects&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/jsphuebner/stm32-car STM32-CAR project] &lt;br /&gt;
* [https://github.com/jsphuebner/stm32-sine Openinverter]&lt;br /&gt;
* [https://github.com/Isaac96/SimpleISA ISA library]&lt;br /&gt;
* Leaf inverter driver by Celeron55&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
What we have as of now is the openinverter wrapper with things like :&lt;br /&gt;
&lt;br /&gt;
* Throttle cal and mapping,&lt;br /&gt;
* Precharge and contactor control,&lt;br /&gt;
* Temp derating,&lt;br /&gt;
* BMS limits,&lt;br /&gt;
* for/rev/neutral control,&lt;br /&gt;
* Graphing and monitoring,&lt;br /&gt;
* Firmware updates via the web interface,&lt;br /&gt;
* Cruise control,&lt;br /&gt;
* Fuel gauge driver,&lt;br /&gt;
* etc &lt;br /&gt;
&lt;br /&gt;
==Hardware==&lt;br /&gt;
So you&#039;ve ordered your kit, first things first, watch the following two videos to assemble it. &lt;br /&gt;
&lt;br /&gt;
Due to chip shortages (written summer 2021) the board isn&#039;t fully assembled so you will need to do some soldering, or take it to a local phone repair shop (or similar) who&#039;ll find soldering at this scale like playing with Duplo (Legos to you Yanks).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The current list of parts to be fitted:&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
CONN1&lt;br /&gt;
IC10 = MCP25625T&lt;br /&gt;
IC14 = TJA1020 OR MCP2004 &lt;br /&gt;
IC19 = NCV7356&lt;br /&gt;
IC20 = TJA1055T&lt;br /&gt;
IC21, 22 = AD5160&lt;br /&gt;
IC27, 28, 29 = FAN3122&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And the positions on the V1 board.&lt;br /&gt;
[[File:Zombv1boardb.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===The enclosure kit links===&lt;br /&gt;
&lt;br /&gt;
You only need one, but below are two options - one with just the connector, and the other prewired with 3M long leads.&lt;br /&gt;
&lt;br /&gt;
::Enclosure Kit with Header, connector and pins :&lt;br /&gt;
&lt;br /&gt;
::::https://www.aliexpress.com/item/32857771975.html?spm=a2g0s.9042311.0.0.39f24c4dWOmGPE&lt;br /&gt;
&lt;br /&gt;
::Prewired connector with 3M leads (limited colors which will not match standard wire colouring conventions) :&lt;br /&gt;
&lt;br /&gt;
::::https://www.aliexpress.com/item/4001213569338.html?spm=a2g0o.cart.0.0.366c3c00qhBvGO&amp;amp;mp=1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The kits do not come with M3 screws needed to secure the board to the enclosure (2 need to be slightly longer), and to secure the lid. Nor a gasket for the lid.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note that in addition to the VCU, the inverter and transmission, you will require a specific CANBUS connected shunt&#039;&#039;&#039;: [[Isabellenhütte Heusler]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Build and Configuration Videos===&lt;br /&gt;
====ZombieVerter VCU V1 Build Part 1====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ ZombieVerter VCU V1 Build Part 1&lt;br /&gt;
|-&lt;br /&gt;
! Video !! Highlights&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;youtube&amp;gt;https://www.youtube.com/watch?v=geZuIbGHh30&amp;lt;/youtube&amp;gt; &lt;br /&gt;
&#039;&#039;&#039;00:33&#039;&#039;&#039; Warning and suggestion to go watch cat videos instead&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=66s 01:06]&#039;&#039;&#039; Recap about the ZombieVerter VCU Build Part 1&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=184s 03:04]&#039;&#039;&#039; How to get one&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=215s 03:35]&#039;&#039;&#039; Design files currently require E10 Patreon membership/contribution if wanting to build your own&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=268s 04:28]&#039;&#039;&#039; Components still requiring soldering&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=303s 05:03]&#039;&#039;&#039; IC19 - 8 pin SOIC for single wire CAN (NCV7356)&amp;lt;br/&amp;gt;&lt;br /&gt;
||&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=360s 06:00]&#039;&#039;&#039; IC10 - SPI CAN controller and transceiver (MCP25625T)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=390s 06:30]&#039;&#039;&#039; &amp;lt;del&amp;gt;IC1,3,5,6,7,24,25,26  load driver mosfets (NCV8402)&amp;lt;/del&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=440s 07:20]&#039;&#039;&#039; Do you need these components?&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=520s 08:40]&#039;&#039;&#039; Soldering begins - IC19&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=550s 09:10]&#039;&#039;&#039; Soldering iron for SOIC parts&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=567s 09:27]&#039;&#039;&#039; Applying flux using Damien&#039;s favorite Flux, UV80&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=634s 10:34]&#039;&#039;&#039; Magnifier headset&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=807s 13:27]&#039;&#039;&#039; Soldering MCP25625&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=955s 15:55]&#039;&#039;&#039; Suggests getting an phone/computer repair shop to help out if needed&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1025s 17:05]&#039;&#039;&#039; Using hot air gun to warm the board and position the chip&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1174s 19:34]&#039;&#039;&#039; &amp;lt;del&amp;gt;Soldering NCV8402s&amp;lt;/del&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1408s 23:28]&#039;&#039;&#039; Clean soldering with IPA Solvent&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1480s 24:40]&#039;&#039;&#039; First power up test using bench power supply to limit current to a few hundred mA&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1607s 26:47]&#039;&#039;&#039; 60mA current draw with no wifi board&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1655s 27:35]&#039;&#039;&#039; Wifi module&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1790s 29:50]&#039;&#039;&#039; Power up test with wifi draws 90mA&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1825s 30:25]&#039;&#039;&#039; Enclosure kit(s)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=2162s 36:02]&#039;&#039;&#039; Soldering the PCB header (56 pin)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=2668s 44:28]&#039;&#039;&#039; Installing in the enclosure&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=3030s 50:30]&#039;&#039;&#039; Cameo appearance by Gome cat&amp;lt;br/&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====ZombieVerter VCU V1 Build Part 2====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ ZombieVerter VCU V1 Build Part 2&lt;br /&gt;
|-&lt;br /&gt;
! Video !! Highlights&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;youtube&amp;gt;https://youtu.be/MUhs9j9R9Mg&amp;lt;/youtube&amp;gt; &lt;br /&gt;
&#039;&#039;&#039;00:34&#039;&#039;&#039; Health warning and suggestion to go watch cat videos instead&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=102s 01:42]&#039;&#039;&#039; Intro&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=200s 03:20]&#039;&#039;&#039; Pinouts of the 56 pin connector&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=256s 04:16]&#039;&#039;&#039; Pins 55,56 - Ground and +12V&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=289s 04:49]&#039;&#039;&#039; Pins 53,54 - Reverse and Forward Direction. Apply +12V to the pin for the direction needed.&amp;lt;br/&amp;gt;Configurable in the web interface to flip these since direction is relative&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=452s 07:32]&#039;&#039;&#039; Pins 52 - Start. Momentarily apply +12V to send a start signal&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=495s 08:15]&#039;&#039;&#039; Pin 51 - HV Request. Apply +12v to precharge and bring up the high voltage system&amp;lt;br/&amp;gt; (and not the drive components)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=545s 09:05]&#039;&#039;&#039; Pin 50 - General Purpose 12V Input. Reserved for future use&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=563s 09:23]&#039;&#039;&#039; Pin 49 - Brake Input. Connect to brake light switch to apply +12V signaling brakes are applied&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=615s 10:15]&#039;&#039;&#039; Pins 45,46,47,48 - Throttle. +5V power, ground, and 1 or 2 hall effect sensor inputs&amp;lt;br/&amp;gt;&lt;br /&gt;
||&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=660s 11:00]&#039;&#039;&#039; Pins 25,26,27,28 - 3 CAN bus interfaces. CAN EXT is for vehicle/body communication,&amp;lt;br/&amp;gt; CAN EXT 2 for the ISA shunt comms,&amp;lt;br/&amp;gt; CAN EXT 3 (with solderable jumpers to change modes) is for general purpose like charger, heater control&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=885s 14:45]&#039;&#039;&#039; Pin 24 - Local Interface Network (LIN)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=956s 15:56]&#039;&#039;&#039; Pins 16,17,18,19,20,21,22,23 - Toyota Hybrid Inverter specific using async serial comms.&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1041s 17:21]&#039;&#039;&#039; Pin 15 - Ignition T15 In. Apply +12V to turn Ignition on. Puts VCU in run mode&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1134s 18:54]&#039;&#039;&#039; Pins 37,38,39,40,41,42 - Toyota Hybrid Transmission shift control&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1182s 19:42]&#039;&#039;&#039; Pins 35,36 - POT1 &amp;amp; POT2. Digital potentiometer outputs to drive analog gauges (fuel, etc)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1270s 21:10]&#039;&#039;&#039; Pins 32,33,34 - Low Side (LS) switches for Inverter Power, Positive side Main Contactor, Precharge Contactor&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1401s 23:21]&#039;&#039;&#039; Pin 31 - General Purpose +12V Output. LS switch for Negative side Main Contactor&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1441s 24:01]&#039;&#039;&#039; Pins 12,13,14,29,30 - Toyota Hybrid System controls&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1524s 25:24]&#039;&#039;&#039; Pins 10,11 - Digital to Analog Converter (DAC) 1 &amp;amp; 2. Reserved for future use - additional analog instruments etc.&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1593s 26:33]&#039;&#039;&#039; Pins 8,9 - 0-5V Analog Inputs 1 &amp;amp; 2. Reserved for future use (ie not implemented yet)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1626s 27:06]&#039;&#039;&#039; Pins 5,6,7 - Pulse Width Modulation (PWM) 1-3 +12V output signals. Reserved for future use (ie not implemented yet)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1676s 27:56]&#039;&#039;&#039; Pins 3,4 - General Purpose +12V Outputs 2 &amp;amp; 3. Reserved for future use (ie not implemented yet)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1709s 28:29]&#039;&#039;&#039; Pins 1,2 - RS232 Rx/Tx Serial connection for alternation VCU communication (solder jumper configurable). Reserved for future expansion&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1811s 30:11]&#039;&#039;&#039; CAN bus connected Isabellenhutte Huesler Shunt&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=2325s 38:45]&#039;&#039;&#039; Web Interface&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=2650s 44:10]&#039;&#039;&#039; How to perform a software update via the web interface using a precompiled binary&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=2852s 47:32]&#039;&#039;&#039; UI Features - Commands&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=3170s 52:50]&#039;&#039;&#039; UI Features - Update&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=3210s 53:30]&#039;&#039;&#039; UI Features - Parameters&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=4290s 1:11:32]&#039;&#039;&#039; UI Features - Spot Values&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=4914s 1:21:54]&#039;&#039;&#039; Epilogue &amp;lt;br/&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====ZombieVerter VCU V1 Part 3====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ ZombieVerter VCU V1 Part 3&lt;br /&gt;
|-&lt;br /&gt;
! Video !! Highlights&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;youtube&amp;gt;https://youtu.be/oPb4vMO17B4&amp;lt;/youtube&amp;gt; ||&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=38s 00:38]&#039;&#039;&#039; Intro/Recap of part 2&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=64s 01:04]&#039;&#039;&#039; Description of 2018 Nissan Leaf components used in the video&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=227s 03:47]&#039;&#039;&#039; VCU, wiring harness, 12V battery, ISA shunt, contactors&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=426s 07:06]&#039;&#039;&#039; 12V battery - negative to chassis ground with fuse, and ground to VCU pin 55&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=472s 07:52]&#039;&#039;&#039; 12V battery - positive to PDM positive terminal and distribution block&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=522s 08:42]&#039;&#039;&#039; 12V battery - permanent fused +12v from PDM positive terminal to inverter and PDM&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=554s 09:14]&#039;&#039;&#039; 12V battery - permanent fused +12v to vcu, relay controlled by VCU for switched +12v to inverter and PDM&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=641s 10:41]&#039;&#039;&#039; 12V battery - permanent fused +12v to contactor coil positives&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=657s 10:57]&#039;&#039;&#039; 12V battery - permanent fused +12v to switch to provide tings like T15 on signal to VCU&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=762s 12:42]&#039;&#039;&#039; Other end of permanent 12v feed to inverter and PDM connections&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=803s 13:23]&#039;&#039;&#039; Other end of switched +12v feed to inverter and PDM connections&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=816s 13:36]&#039;&#039;&#039; Other end of switched 12v ground connection&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=838s 13:52]&#039;&#039;&#039; Twisted pair wires from EV CAN CAN EXT 2 High (pin 28) and CAN EXT 2 Low (pin 27) to inverter&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=946s 15:46]&#039;&#039;&#039; To use the PDM for charging, wire control pilot (CP) and plug present (PP) from PDM to charge socket&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=989s 16:29]&#039;&#039;&#039; High voltage setup and controlling it with the VCU&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1028s 17:08]&#039;&#039;&#039; Positive and precharge contactors (only 2 for the test rig - usually would have a negative contactor as well)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1060s 17:40]&#039;&#039;&#039; High voltage positive and negative junction. The ISA shunt connected between negative and PDM to distribute high voltage negative to the components&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1093s 18:13]&#039;&#039;&#039; V1 ISA shunt connection to PDM after the contactors/precharge system to monitor high voltage applied to the drivetrain&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1131s 18:51]&#039;&#039;&#039; Contactor control using negative side connections via VCU (very brief description)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1315s 21:55]&#039;&#039;&#039; Leaf PDM Internals, starting with high voltage connections&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1388s 23:08]&#039;&#039;&#039; Leaf PDM Internals, single phase AC charging connections&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1438s 23:49]&#039;&#039;&#039; CCS type 2 socket connections&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1490s 24:50]&#039;&#039;&#039; Gome Cat comes in to say hello&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1545s 25:45]&#039;&#039;&#039; Control switches. +12v, forward input, terminal 15 input, start input, high voltage request input. &amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1584s 26:24]&#039;&#039;&#039; Step 1 is close switch providing +12v to the forward input and T15 connections to enable &amp;quot;ignition on&amp;quot; mode&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1605s 26:45]&#039;&#039;&#039; Step 2 is toggle start input to activate precharge, closing of main contactor, and inverter main relay (assuming all conditions are met)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1645s 27:25]&#039;&#039;&#039; Example throttle from mid 2000s BMW. Two channel hall effect sensor&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1726s 28:46]&#039;&#039;&#039; Charging description when plugging in charger cable&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1771s 29:31]&#039;&#039;&#039; Throttle Calibration using spot values for &#039;&#039;&#039;pot&#039;&#039;&#039; and &#039;&#039;&#039;pot2&#039;&#039;&#039; in auto refresh mode while pressing the pedal across it&#039;s range, noting the min/max and recording the min+10 for &#039;&#039;&#039;potmin&#039;&#039;&#039;, and max-10 for &#039;&#039;&#039;potmax&#039;&#039;&#039; for each pot under parameters. Also select dual channel &#039;&#039;&#039;potmode&#039;&#039;&#039; if using two channels (will not work in single channel mode with 2 channels wired up)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=2257s 37:37]&#039;&#039;&#039; Running the motor&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=2407s 40:07]&#039;&#039;&#039; Checking status, observing parameters&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=2864s 47:44]&#039;&#039;&#039; Problems/gotchas - &#039;&#039;&#039;PRECHARGE&#039;&#039;&#039; error (no high voltage supply, &#039;&#039;&#039;udc&#039;&#039;&#039; not &amp;gt; &#039;&#039;&#039;udcsw&#039;&#039;&#039; within 5s)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=3016s 50:16]&#039;&#039;&#039; Problems/gotchas - too high &#039;&#039;&#039;udcmin&#039;&#039;&#039; setting and no motor spin, &#039;&#039;&#039;potum&#039;&#039;&#039; will not go positive&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=3239s 53:59]&#039;&#039;&#039; Problems/gotchas - too low &#039;&#039;&#039;udcmax&#039;&#039;&#039; (max voltage to allow regen) - motor spins without slowing when throttle released&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=3373s 56:13]&#039;&#039;&#039; Explanation of &#039;&#039;&#039;udclim&#039;&#039;&#039; as redundant cutoff voltage to shut off contactors&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=3400s 56:40]&#039;&#039;&#039; Explanation of &#039;&#039;&#039;idcmax&#039;&#039;&#039; and &#039;&#039;&#039;idcmin&#039;&#039;&#039; current limits&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=3420s 57:00]&#039;&#039;&#039; Explanation of &#039;&#039;&#039;tmphsmax&#039;&#039;&#039; heatsink max temp too low, and min setting allowed of 50C&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=3548s 59:08]&#039;&#039;&#039; Problems/gotchas - &#039;&#039;&#039;throtmax&#039;&#039;&#039; too low, no motor spin&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=3706s 1:01:46]&#039;&#039;&#039; Charging example using &#039;&#039;&#039;Leaf_PDM&#039;&#039;&#039; - seems incomplete, see below&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=3780s 1:03:00]&#039;&#039;&#039; Wifi Connection to the VCU and upgrading firmware&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=3983s 1:06:23]&#039;&#039;&#039; Resolve update fail/hang - activity led stops flashing, no data on web interface (power cycle)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=4225s 1:10:25]&#039;&#039;&#039; Gome cat in it&#039;s natural habitat&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=4399s 1:13:19]&#039;&#039;&#039; Causes of wifi issues&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=4609s 1:16:49]&#039;&#039;&#039; Initializing the ISA shunt&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=4855s 1:20:55]&#039;&#039;&#039; Demonstrating regen&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=4931s 1:22:11]&#039;&#039;&#039; Automatic charge start/stop using Leaf PDM&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=5043s 1:24:03]&#039;&#039;&#039; Wrapup&amp;lt;br/&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&#039;&#039;&#039;Pin Out Diagram&#039;&#039;&#039;[[File:ZombieVerter VCU V1 cable side pinout.jpg|thumb|alt=|VCU pinout diagram |none]]&lt;br /&gt;
[[File:Zomb-con-et.png|none|thumb|List of connections to system components (GS450 application)]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Further information for a GS450 system can be found here: [[Lexus GS450h Inverter]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note&#039;&#039;&#039;: In the software port 0 = EXT2 and port 1 = EXT&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Initial start-up and testing (Instructions for GS450H application) ==&lt;br /&gt;
=== Wifi Setup ===&lt;br /&gt;
The VCU is configured by connecting to its wifi access point.  For existing units this is something like SSID: ESP-03xxxx, no password.  For future units (shipped after 20/10/21) this will be SSID: inverter (or zom_vcu) PASSWORD: inverter123&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE:&#039;&#039;&#039; Recent units have a new wifi module that isn&#039;t automatically assigning an IP via DHCP. See [https://openinverter.org/forum/viewtopic.php?f=5&amp;amp;t=2001 this thread] for details, and if you can help resolve the issue. Until then, you need to manually assign an IP of 192.168.4.2 (anything other than 192.168.14.1 on the 192.168.4.0/24 subnet) to your device.&lt;br /&gt;
&lt;br /&gt;
Then navigate to 192.168.4.1 to see the huebner inverter dashboard.&lt;br /&gt;
&lt;br /&gt;
=== Configuration Setup ===&lt;br /&gt;
Get familiar with the interface and check that all of the parameters make sense. If in doubt, make sure the default value is set.  At each stage the current state of the system and any error can be seen on the interface, for example &#039;&#039;&#039;opmode&#039;&#039;&#039; and &#039;&#039;&#039;lasterr&#039;&#039;&#039;. Press refresh at the top of the screen to update the values.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will need the HV supply connected, which can be a lower voltage (50-100V), current limited power supply for test purposes.  Set &#039;&#039;&#039;udcmin&#039;&#039;&#039; to some value below that (e.g. 50V for a 100V supply) and &#039;&#039;&#039;udcsw&#039;&#039;&#039; to 10V lower than the supply.&lt;br /&gt;
&lt;br /&gt;
* Apply the &#039;&#039;&#039;Ignition T15 in&#039;&#039;&#039; 12V signal.  The relay supplying 12V to the inverter should now be on.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Check the accelerator by applying it gradually and watching / refreshing the interface. You should see values at &#039;&#039;&#039;pot&#039;&#039;&#039; change as the pedal is pressed.  &#039;&#039;&#039;potmin&#039;&#039;&#039; should be set just above where your off-throttle position is, and &#039;&#039;&#039;potmax&#039;&#039;&#039; just below the value seen at maximum travel. Same for &#039;&#039;&#039;pot2min&#039;&#039;&#039; and &#039;&#039;&#039;pot2max&#039;&#039;&#039;, if they are electrically connected. The resulting value as a 0-100 value can be seen at &#039;&#039;&#039;potnom&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If it does not show up, check for errors and check that throtmax is not set to zero!  Check that tmpm is less than tmpmmax, as it can derate the potnom value down as far as zero!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Apply the &#039;&#039;&#039;Start&#039;&#039;&#039; 12V signal for a short time.  The pre-charge relay should turn on, and the voltage available at the inverter and the U1 input of the ISA shunt should quickly rise. If the &#039;&#039;&#039;udc&#039;&#039;&#039; reading goes above &#039;&#039;&#039;udcsw&#039;&#039;&#039; within 5 seconds then the main contactor(s) should close. If all is well, &#039;&#039;&#039;invstat&#039;&#039;&#039; should now be &amp;quot;on&amp;quot;, &#039;&#039;&#039;opmode&#039;&#039;&#039; should be &amp;quot;run&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you do not see a good value at udc, it may be that your external shunt is not connected properly or is not initialised.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you do not see a good value at Invudc, it may be that the inverter is not powered, or the communication signals are not correctly wired.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;if the status stays at &amp;quot;PRECHARGE&amp;quot; then you possibly didn&#039;t hold the start signal on for long enough!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Once the contactors are on, select forwards direction.  For example if &#039;&#039;&#039;dirmode&#039;&#039;&#039; is set to &amp;quot;Switch&amp;quot; then a 12V signal applied to the Forward input will work.&lt;br /&gt;
&lt;br /&gt;
* Carefully apply the accelerator and the motor should begin to turn. Do not spin the motor up to any speed if you are using a test power supply.&lt;br /&gt;
&lt;br /&gt;
== Software==&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/Stm32-vcu &#039;&#039;&#039;Github for the project:&#039;&#039;&#039; https://github.com/damienmaguire/Stm32-vcu]&lt;br /&gt;
&lt;br /&gt;
Various binaries can be found in the support thread, for example https://openinverter.org/forum/viewtopic.php?p=33379#p33379&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;GD variant:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Status as of November 20 2021&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Early boards fitted with the GigaDevices  &#039;&#039;&#039;GD32F107&#039;&#039;&#039; aka &amp;quot;GD chip&amp;quot; require different firmware routines than &#039;&#039;&#039;STM32F107&#039;&#039;&#039; equipped boards.  See this [https://openinverter.org/forum/viewtopic.php?p=33758#p33758 Zombieverter VCU Support Thread forum post]&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;The GigaDevices `[https://www.gigadevice.com/products/microcontrollers/gd32/arm-cortex-m3/connectivity-line/gd32f107-series/ GD32F107] was chosen as an alternative to the ST equivalent due to microchip shortages during the COVID-19 pandemic.  A specific branch of firmware code for the GD32F107 variant is found here:  https://github.com/damienmaguire/Stm32-vcu/tree/GD_Zombie  However development of this variant was abandoned shortly after it&#039;s release.&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;As of this writing , The [https://github.com/damienmaguire/Stm32-vcu/tree/GD_Zombie GD_Zombie] branch has fallen behind and substantially diverged from the primary code base. It has been suggested that work needs to be done to make the present firmware chip agnostic via detection routines.  See this [https://openinverter.org/forum/viewtopic.php?p=34220#p34220 Zombieverter Development Thread forum post]. As of this writing that work has yet to be undertaken and remains to be organized and completed.  And issue has be devoted to tracking this progress here: [https://github.com/damienmaguire/Stm32-vcu/issues/21 Issue #21]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Here is a link to a post with a pre compiled bin and hex for the GD_Zombie created by Damien on the 23/11/21;  [https://openinverter.org/forum/viewtopic.php?p=34264#p34264 ZombieVerter VCU Support - Page 9 - openinverter forum] This is based on the 16/6/21 code it is &amp;lt;u&amp;gt;&#039;&#039;&#039;not&#039;&#039;&#039;&amp;lt;/u&amp;gt; an update. Ensure you rename the binaries to stm32_vcu.xxx to ensure no wifi issues.&lt;br /&gt;
 &lt;br /&gt;
&#039;&#039;UPDATE November 23 2021&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Updated information about the necessary edits to make to the STM32 based firmware have been posted in a [https://openinverter.org/forum/viewtopic.php?p=34264#p34264 forum post here.]  In order to get the firmware to compile and run on the &#039;&#039;&#039;GD32F107&#039;&#039;&#039;  you must make the following changes:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;In the file &amp;quot;&#039;&#039;&#039;anain.cpp&#039;&#039;&#039;&amp;quot; @ line 68:&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;68 - // adc_start_conversion_regular(ADC1);  // Comment out for GD MCU&amp;lt;/code&amp;gt;In the file&#039;&#039; &#039;&#039;&amp;quot;&#039;&#039;&#039;stm32_can.cpp&#039;&#039;&#039;&amp;quot; @ starting at line 305 modify as follows :&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;305 - gpio_set_mode(GPIO_BANK_CAN2_RE_RX, GPIO_MODE_INPUT, GPIO_CNF_INPUT_PULL_UPDOWN, GPIO_CAN2_RE_RX);&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;306 - gpio_set(GPIO_BANK_CAN2_RE_RX, GPIO_CAN2_RE_RX);&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;307 - // Configure CAN pin: TX.-&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;308 - gpio_set_mode(GPIO_BANK_CAN2_RE_TX, GPIO_MODE_OUTPUT_50_MHZ, GPIO_CNF_OUTPUT_ALTFN_PUSHPULL, GPIO_CAN2_RE_TX);&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you properly clone the repository with &#039;&#039;&#039;git&#039;&#039;&#039; on the command line that looks like this;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;git clone --recurse-submodules git@github.com:damienmaguire/Stm32-vcu.git&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
That recursively pulls in copies of &#039;&#039;&#039;&#039;&#039;libopeninv&#039;&#039;&#039;&#039;&#039;, etc and tracks them...   Hence your file-path should look like &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;./Stm32-vcu/libopeninv/src/&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
within the &#039;&#039;&#039;&#039;&#039;libopeninv&#039;&#039;&#039;&#039;&#039; src (source) directory you will find &#039;&#039;&#039;&#039;&#039;anain.cpp&#039;&#039;&#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;stm32_can.cpp&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Make the above changes to these files for the &#039;&#039;&#039;GigaDevices GD32F107&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
== Software update ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As supplied, both the ESP32 (the wifi plug-in board) and the STM32 (main MPU) are pre-loaded.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;UART Update&amp;quot; field on the GUI can be given a &#039;&#039;&#039;stm32_vcu.bin&#039;&#039;&#039; file to update the firmware.   Note that at this time, loading via Windows 10 is suspect and may lock you out of the board. Ubuntu works best.&lt;br /&gt;
&lt;br /&gt;
If you are unable to build your own, use the [https://openinverter.org/forum/download/file.php?id=11673 stm32_vcu.bin] that Damien posted on 10/30/2021 in the [https://openinverter.org/forum/viewtopic.php?p=33379#p33379 ZombieVerter VCU Support thread].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By using the ST-Link V2 in-circuit loader, &#039;&#039;&#039;.hex&#039;&#039;&#039; files can be sent to the board to initialize a fresh STM32 MCU, or if it can&#039;t be loaded via the bootloader.&lt;br /&gt;
&lt;br /&gt;
If you are unable to build your own, use the [https://openinverter.org/forum/download/file.php?id=11674 stm32_vcu.hex] that Damien posted on 10/30/2021 in the [https://openinverter.org/forum/viewtopic.php?p=33379#p33379 ZombieVerter VCU Support thread].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The connections needed to use the ST-Link loader are shown below:&lt;br /&gt;
[[File:0B35D4F9-BA64-46E7-A570-A0CE1D619D63.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
=== Initializing an ISA Shunt ===&lt;br /&gt;
Under Comms in the web interface, there is now an ISAMode option. By default its in &amp;quot;Normal&amp;quot;. If you want to initialize a new shunt, connect it up, power on the shunt and vcu, select &amp;quot;Init&amp;quot;, hit save parameters to flash. Power cycle the vcu and shunt at same time (they should be on same 12v feed anyway). The shunt will initialize. Select ISAMode &amp;quot;normal&amp;quot;, save to flash again and reboot again. The shunt should now be up and running.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Supported OEM Hardware==&lt;br /&gt;
&lt;br /&gt;
*Nissan Leaf Gen1/2/3 Inverter/ motor&lt;br /&gt;
*nissan leaf gen 2 drive stack (inverter, dcdc, charger) gen 3 coming soon&lt;br /&gt;
&lt;br /&gt;
*[[Lexus GS450h Inverter|Lexus GS450H inverter / gearbox via sync serial]]&lt;br /&gt;
* Toyota Prius/Yaris/Auris Gen 3 inverters via sync serial&lt;br /&gt;
* chevy volt HV water heater&lt;br /&gt;
*BMW E46 CAN support&lt;br /&gt;
*BMW E39 CAN support&lt;br /&gt;
*BMW E65 CAN Support&lt;br /&gt;
*CCS DC Fast Charge via BMW i3 LIM&lt;/div&gt;</summary>
		<author><name>Cgalpin</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=2057</id>
		<title>ZombieVerter VCU</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=2057"/>
		<updated>2021-12-27T22:33:05Z</updated>

		<summary type="html">&lt;p&gt;Cgalpin: /* ZombieVerter VCU V1 Part 3 */ more highlights&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;big&amp;gt;Now available for general sale [https://www.evbmw.com/index.php/evbmw-webshop/vcu-boards here].&amp;lt;/big&amp;gt;&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Development continues&#039;&#039;&#039; and you can&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?f=3&amp;amp;t=1277 follow and contribute along with the development here on the forum]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?f=3&amp;amp;t=1696 &#039;&#039;&#039;Support&#039;&#039;&#039; is available via a separate thread on the forum]&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
Rather than crack open inverters and swap components about to drive them, what if we simply send them the messages they&#039;re expecting? This has been the case with a couple of existing designs (Nissan leaf inverter and GS450H) and thanks to the SAM3X8E microcontroller no longer being stocked by JLCPCB this project looks to take it further.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So rather than driving an inverter powerstage this version sends CAN for the Leaf inverter or Sync serial for the GS450H and of course can be expanded to any number of others. This will be the default firmware for all vcu products from now on and future hardware will support future fun packed stuff like FLEXRAY!!!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&#039;s basically an &amp;lt;s&amp;gt;rip off&amp;lt;/s&amp;gt; homage and builds on other people&#039;s hard work in the shape of the following projects&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/jsphuebner/stm32-car STM32-CAR project] &lt;br /&gt;
* [https://github.com/jsphuebner/stm32-sine Openinverter]&lt;br /&gt;
* [https://github.com/Isaac96/SimpleISA ISA library]&lt;br /&gt;
* Leaf inverter driver by Celeron55&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
What we have as of now is the openinverter wrapper with things like :&lt;br /&gt;
&lt;br /&gt;
* Throttle cal and mapping,&lt;br /&gt;
* Precharge and contactor control,&lt;br /&gt;
* Temp derating,&lt;br /&gt;
* BMS limits,&lt;br /&gt;
* for/rev/neutral control,&lt;br /&gt;
* Graphing and monitoring,&lt;br /&gt;
* Firmware updates via the web interface,&lt;br /&gt;
* Cruise control,&lt;br /&gt;
* Fuel gauge driver,&lt;br /&gt;
* etc &lt;br /&gt;
&lt;br /&gt;
==Hardware==&lt;br /&gt;
So you&#039;ve ordered your kit, first things first, watch the following two videos to assemble it. &lt;br /&gt;
&lt;br /&gt;
Due to chip shortages (written summer 2021) the board isn&#039;t fully assembled so you will need to do some soldering, or take it to a local phone repair shop (or similar) who&#039;ll find soldering at this scale like playing with Duplo (Legos to you Yanks).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The current list of parts to be fitted:&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
CONN1&lt;br /&gt;
IC10 = MCP25625T&lt;br /&gt;
IC14 = TJA1020 OR MCP2004 &lt;br /&gt;
IC19 = NCV7356&lt;br /&gt;
IC20 = TJA1055T&lt;br /&gt;
IC21, 22 = AD5160&lt;br /&gt;
IC27, 28, 29 = FAN3122&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And the positions on the V1 board.&lt;br /&gt;
[[File:Zombv1boardb.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===The enclosure kit links===&lt;br /&gt;
&lt;br /&gt;
You only need one, but below are two options - one with just the connector, and the other prewired with 3M long leads.&lt;br /&gt;
&lt;br /&gt;
::Enclosure Kit with Header, connector and pins :&lt;br /&gt;
&lt;br /&gt;
::::https://www.aliexpress.com/item/32857771975.html?spm=a2g0s.9042311.0.0.39f24c4dWOmGPE&lt;br /&gt;
&lt;br /&gt;
::Prewired connector with 3M leads (limited colors which will not match standard wire colouring conventions) :&lt;br /&gt;
&lt;br /&gt;
::::https://www.aliexpress.com/item/4001213569338.html?spm=a2g0o.cart.0.0.366c3c00qhBvGO&amp;amp;mp=1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The kits do not come with M3 screws needed to secure the board to the enclosure (2 need to be slightly longer), and to secure the lid. Nor a gasket for the lid.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note that in addition to the VCU, the inverter and transmission, you will require a specific CANBUS connected shunt&#039;&#039;&#039;: [[Isabellenhütte Heusler]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Build and Configuration Videos===&lt;br /&gt;
====ZombieVerter VCU V1 Build Part 1====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ ZombieVerter VCU V1 Build Part 1&lt;br /&gt;
|-&lt;br /&gt;
! Video !! Highlights&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;youtube&amp;gt;https://www.youtube.com/watch?v=geZuIbGHh30&amp;lt;/youtube&amp;gt; &lt;br /&gt;
&#039;&#039;&#039;00:33&#039;&#039;&#039; Warning and suggestion to go watch cat videos instead&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=66s 01:06]&#039;&#039;&#039; Recap about the ZombieVerter VCU Build Part 1&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=184s 03:04]&#039;&#039;&#039; How to get one&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=215s 03:35]&#039;&#039;&#039; Design files currently require E10 Patreon membership/contribution if wanting to build your own&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=268s 04:28]&#039;&#039;&#039; Components still requiring soldering&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=303s 05:03]&#039;&#039;&#039; IC19 - 8 pin SOIC for single wire CAN (NCV7356)&amp;lt;br/&amp;gt;&lt;br /&gt;
||&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=360s 06:00]&#039;&#039;&#039; IC10 - SPI CAN controller and transceiver (MCP25625T)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=390s 06:30]&#039;&#039;&#039; &amp;lt;del&amp;gt;IC1,3,5,6,7,24,25,26  load driver mosfets (NCV8402)&amp;lt;/del&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=440s 07:20]&#039;&#039;&#039; Do you need these components?&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=520s 08:40]&#039;&#039;&#039; Soldering begins - IC19&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=550s 09:10]&#039;&#039;&#039; Soldering iron for SOIC parts&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=567s 09:27]&#039;&#039;&#039; Applying flux using Damien&#039;s favorite Flux, UV80&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=634s 10:34]&#039;&#039;&#039; Magnifier headset&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=807s 13:27]&#039;&#039;&#039; Soldering MCP25625&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=955s 15:55]&#039;&#039;&#039; Suggests getting an phone/computer repair shop to help out if needed&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1025s 17:05]&#039;&#039;&#039; Using hot air gun to warm the board and position the chip&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1174s 19:34]&#039;&#039;&#039; &amp;lt;del&amp;gt;Soldering NCV8402s&amp;lt;/del&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1408s 23:28]&#039;&#039;&#039; Clean soldering with IPA Solvent&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1480s 24:40]&#039;&#039;&#039; First power up test using bench power supply to limit current to a few hundred mA&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1607s 26:47]&#039;&#039;&#039; 60mA current draw with no wifi board&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1655s 27:35]&#039;&#039;&#039; Wifi module&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1790s 29:50]&#039;&#039;&#039; Power up test with wifi draws 90mA&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1825s 30:25]&#039;&#039;&#039; Enclosure kit(s)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=2162s 36:02]&#039;&#039;&#039; Soldering the PCB header (56 pin)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=2668s 44:28]&#039;&#039;&#039; Installing in the enclosure&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=3030s 50:30]&#039;&#039;&#039; Cameo appearance by Gome cat&amp;lt;br/&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====ZombieVerter VCU V1 Build Part 2====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ ZombieVerter VCU V1 Build Part 2&lt;br /&gt;
|-&lt;br /&gt;
! Video !! Highlights&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;youtube&amp;gt;https://youtu.be/MUhs9j9R9Mg&amp;lt;/youtube&amp;gt; &lt;br /&gt;
&#039;&#039;&#039;00:34&#039;&#039;&#039; Health warning and suggestion to go watch cat videos instead&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=102s 01:42]&#039;&#039;&#039; Intro&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=200s 03:20]&#039;&#039;&#039; Pinouts of the 56 pin connector&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=256s 04:16]&#039;&#039;&#039; Pins 55,56 - Ground and +12V&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=289s 04:49]&#039;&#039;&#039; Pins 53,54 - Reverse and Forward Direction. Apply +12V to the pin for the direction needed.&amp;lt;br/&amp;gt;Configurable in the web interface to flip these since direction is relative&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=452s 07:32]&#039;&#039;&#039; Pins 52 - Start. Momentarily apply +12V to send a start signal&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=495s 08:15]&#039;&#039;&#039; Pin 51 - HV Request. Apply +12v to precharge and bring up the high voltage system&amp;lt;br/&amp;gt; (and not the drive components)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=545s 09:05]&#039;&#039;&#039; Pin 50 - General Purpose 12V Input. Reserved for future use&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=563s 09:23]&#039;&#039;&#039; Pin 49 - Brake Input. Connect to brake light switch to apply +12V signaling brakes are applied&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=615s 10:15]&#039;&#039;&#039; Pins 45,46,47,48 - Throttle. +5V power, ground, and 1 or 2 hall effect sensor inputs&amp;lt;br/&amp;gt;&lt;br /&gt;
||&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=660s 11:00]&#039;&#039;&#039; Pins 25,26,27,28 - 3 CAN bus interfaces. CAN EXT is for vehicle/body communication,&amp;lt;br/&amp;gt; CAN EXT 2 for the ISA shunt comms,&amp;lt;br/&amp;gt; CAN EXT 3 (with solderable jumpers to change modes) is for general purpose like charger, heater control&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=885s 14:45]&#039;&#039;&#039; Pin 24 - Local Interface Network (LIN)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=956s 15:56]&#039;&#039;&#039; Pins 16,17,18,19,20,21,22,23 - Toyota Hybrid Inverter specific using async serial comms.&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1041s 17:21]&#039;&#039;&#039; Pin 15 - Ignition T15 In. Apply +12V to turn Ignition on. Puts VCU in run mode&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1134s 18:54]&#039;&#039;&#039; Pins 37,38,39,40,41,42 - Toyota Hybrid Transmission shift control&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1182s 19:42]&#039;&#039;&#039; Pins 35,36 - POT1 &amp;amp; POT2. Digital potentiometer outputs to drive analog gauges (fuel, etc)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1270s 21:10]&#039;&#039;&#039; Pins 32,33,34 - Low Side (LS) switches for Inverter Power, Positive side Main Contactor, Precharge Contactor&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1401s 23:21]&#039;&#039;&#039; Pin 31 - General Purpose +12V Output. LS switch for Negative side Main Contactor&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1441s 24:01]&#039;&#039;&#039; Pins 12,13,14,29,30 - Toyota Hybrid System controls&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1524s 25:24]&#039;&#039;&#039; Pins 10,11 - Digital to Analog Converter (DAC) 1 &amp;amp; 2. Reserved for future use - additional analog instruments etc.&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1593s 26:33]&#039;&#039;&#039; Pins 8,9 - 0-5V Analog Inputs 1 &amp;amp; 2. Reserved for future use (ie not implemented yet)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1626s 27:06]&#039;&#039;&#039; Pins 5,6,7 - Pulse Width Modulation (PWM) 1-3 +12V output signals. Reserved for future use (ie not implemented yet)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1676s 27:56]&#039;&#039;&#039; Pins 3,4 - General Purpose +12V Outputs 2 &amp;amp; 3. Reserved for future use (ie not implemented yet)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1709s 28:29]&#039;&#039;&#039; Pins 1,2 - RS232 Rx/Tx Serial connection for alternation VCU communication (solder jumper configurable). Reserved for future expansion&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1811s 30:11]&#039;&#039;&#039; CAN bus connected Isabellenhutte Huesler Shunt&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=2325s 38:45]&#039;&#039;&#039; Web Interface&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=2650s 44:10]&#039;&#039;&#039; How to perform a software update via the web interface using a precompiled binary&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=2852s 47:32]&#039;&#039;&#039; UI Features - Commands&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=3170s 52:50]&#039;&#039;&#039; UI Features - Update&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=3210s 53:30]&#039;&#039;&#039; UI Features - Parameters&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=4290s 1:11:32]&#039;&#039;&#039; UI Features - Spot Values&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=4914s 1:21:54]&#039;&#039;&#039; Epilogue &amp;lt;br/&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====ZombieVerter VCU V1 Part 3====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ ZombieVerter VCU V1 Part 3&lt;br /&gt;
|-&lt;br /&gt;
! Video !! Highlights&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;youtube&amp;gt;https://youtu.be/oPb4vMO17B4&amp;lt;/youtube&amp;gt; ||&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=38s 00:38]&#039;&#039;&#039; Intro/Recap of part 2&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=64s 01:04]&#039;&#039;&#039; Description of 2018 Nissan Leaf components used in the video&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=227s 03:47]&#039;&#039;&#039; VCU, wiring harness, 12V battery, ISA shunt, contactors&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=426s 07:06]&#039;&#039;&#039; 12V battery - negative to chassis ground with fuse, and ground to VCU pin 55&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=472s 07:52]&#039;&#039;&#039; 12V battery - positive to PDM positive terminal and distribution block&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=522s 08:42]&#039;&#039;&#039; 12V battery - permanent fused +12v from PDM positive terminal to inverter and PDM&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=554s 09:14]&#039;&#039;&#039; 12V battery - permanent fused +12v to vcu, relay controlled by VCU for switched +12v to inverter and PDM&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=641s 10:41]&#039;&#039;&#039; 12V battery - permanent fused +12v to contactor coil positives&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=657s 10:57]&#039;&#039;&#039; 12V battery - permanent fused +12v to switch to provide tings like T15 on signal to VCU&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=762s 12:42]&#039;&#039;&#039; Other end of permanent 12v feed to inverter and PDM connections&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=803s 13:23]&#039;&#039;&#039; Other end of switched +12v feed to inverter and PDM connections&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=816s 13:36]&#039;&#039;&#039; Other end of switched 12v ground connection&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=838s 13:52]&#039;&#039;&#039; Twisted pair wires from EV CAN CAN EXT 2 High (pin 28) and CAN EXT 2 Low (pin 27) to inverter&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=946s 15:46]&#039;&#039;&#039; To use the PDM for charging, wire control pilot (CP) and plug present (PP) from PDM to charge socket&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=989s 16:29]&#039;&#039;&#039; High voltage setup and controlling it with the VCU&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1028s 17:08]&#039;&#039;&#039; Positive and precharge contactors (only 2 for the test rig - usually would have a negative contactor as well)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1060s 17:40]&#039;&#039;&#039; High voltage positive and negative junction. The ISA shunt connected between negative and PDM to distribute high voltage negative to the components&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1093s 18:13]&#039;&#039;&#039; V1 ISA shunt connection to PDM after the contactors/precharge system to monitor high voltage applied to the drivetrain&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1131s 18:51]&#039;&#039;&#039; Contactor control using negative side connections via VCU (very brief description)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1315s 21:55]&#039;&#039;&#039; Leaf PDM Internals, starting with high voltage connections&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1388s 23:08]&#039;&#039;&#039; Leaf PDM Internals, single phase AC charging connections&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1438s 23:49]&#039;&#039;&#039; CCS type 2 socket connections&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1490s 24:50]&#039;&#039;&#039; Gome Cat comes in to say hello&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1545s 25:45]&#039;&#039;&#039; Control switches. +12v, forward input, terminal 15 input, start input, high voltage request input. &amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1584s 26:24]&#039;&#039;&#039; Step 1 is close switch providing +12v to the forward input and T15 connections to enable &amp;quot;ignition on&amp;quot; mode&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1605s 26:45]&#039;&#039;&#039; Step 2 is toggle start input to activate precharge, closing of main contactor, and inverter main relay (assuming all conditions are met)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1645s 27:25]&#039;&#039;&#039; Example throttle from mid 2000s BMW. Two channel hall effect sensor&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1726s 28:46]&#039;&#039;&#039; Charging description when plugging in charger cable&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1771s 29:31]&#039;&#039;&#039; Throttle Calibration using spot values for pot and pot2 in auto refresh mode while pressing the pedal across it&#039;s range, noting the min/max and recording the min+10 for potmin, and max-10 for potmax for each pot under parameters. Also select dual channel potmode if using two channels (will not work in single channel mode with 2 channels wired up)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=2257s 37:37]&#039;&#039;&#039; Running the motor&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will complete soon&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&#039;&#039;&#039;Pin Out Diagram&#039;&#039;&#039;[[File:ZombieVerter VCU V1 cable side pinout.jpg|thumb|alt=|VCU pinout diagram |none]]&lt;br /&gt;
[[File:Zomb-con-et.png|none|thumb|List of connections to system components (GS450 application)]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Further information for a GS450 system can be found here: [[Lexus GS450h Inverter]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note&#039;&#039;&#039;: In the software port 0 = EXT2 and port 1 = EXT&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Initial start-up and testing (Instructions for GS450H application) ==&lt;br /&gt;
=== Wifi Setup ===&lt;br /&gt;
The VCU is configured by connecting to its wifi access point.  For existing units this is something like SSID: ESP-03xxxx, no password.  For future units (shipped after 20/10/21) this will be SSID: inverter (or zom_vcu) PASSWORD: inverter123&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE:&#039;&#039;&#039; Recent units have a new wifi module that isn&#039;t automatically assigning an IP via DHCP. See [https://openinverter.org/forum/viewtopic.php?f=5&amp;amp;t=2001 this thread] for details, and if you can help resolve the issue. Until then, you need to manually assign an IP of 192.168.4.2 (anything other than 192.168.14.1 on the 192.168.4.0/24 subnet) to your device.&lt;br /&gt;
&lt;br /&gt;
Then navigate to 192.168.4.1 to see the huebner inverter dashboard.&lt;br /&gt;
&lt;br /&gt;
=== Configuration Setup ===&lt;br /&gt;
Get familiar with the interface and check that all of the parameters make sense. If in doubt, make sure the default value is set.  At each stage the current state of the system and any error can be seen on the interface, for example &#039;&#039;&#039;opmode&#039;&#039;&#039; and &#039;&#039;&#039;lasterr&#039;&#039;&#039;. Press refresh at the top of the screen to update the values.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will need the HV supply connected, which can be a lower voltage (50-100V), current limited power supply for test purposes.  Set &#039;&#039;&#039;udcmin&#039;&#039;&#039; to some value below that (e.g. 50V for a 100V supply) and &#039;&#039;&#039;udcsw&#039;&#039;&#039; to 10V lower than the supply.&lt;br /&gt;
&lt;br /&gt;
* Apply the &#039;&#039;&#039;Ignition T15 in&#039;&#039;&#039; 12V signal.  The relay supplying 12V to the inverter should now be on.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Check the accelerator by applying it gradually and watching / refreshing the interface. You should see values at &#039;&#039;&#039;pot&#039;&#039;&#039; change as the pedal is pressed.  &#039;&#039;&#039;potmin&#039;&#039;&#039; should be set just above where your off-throttle position is, and &#039;&#039;&#039;potmax&#039;&#039;&#039; just below the value seen at maximum travel. Same for &#039;&#039;&#039;pot2min&#039;&#039;&#039; and &#039;&#039;&#039;pot2max&#039;&#039;&#039;, if they are electrically connected. The resulting value as a 0-100 value can be seen at &#039;&#039;&#039;potnom&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If it does not show up, check for errors and check that throtmax is not set to zero!  Check that tmpm is less than tmpmmax, as it can derate the potnom value down as far as zero!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Apply the &#039;&#039;&#039;Start&#039;&#039;&#039; 12V signal for a short time.  The pre-charge relay should turn on, and the voltage available at the inverter and the U1 input of the ISA shunt should quickly rise. If the &#039;&#039;&#039;udc&#039;&#039;&#039; reading goes above &#039;&#039;&#039;udcsw&#039;&#039;&#039; within 5 seconds then the main contactor(s) should close. If all is well, &#039;&#039;&#039;invstat&#039;&#039;&#039; should now be &amp;quot;on&amp;quot;, &#039;&#039;&#039;opmode&#039;&#039;&#039; should be &amp;quot;run&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you do not see a good value at udc, it may be that your external shunt is not connected properly or is not initialised.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you do not see a good value at Invudc, it may be that the inverter is not powered, or the communication signals are not correctly wired.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;if the status stays at &amp;quot;PRECHARGE&amp;quot; then you possibly didn&#039;t hold the start signal on for long enough!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Once the contactors are on, select forwards direction.  For example if &#039;&#039;&#039;dirmode&#039;&#039;&#039; is set to &amp;quot;Switch&amp;quot; then a 12V signal applied to the Forward input will work.&lt;br /&gt;
&lt;br /&gt;
* Carefully apply the accelerator and the motor should begin to turn. Do not spin the motor up to any speed if you are using a test power supply.&lt;br /&gt;
&lt;br /&gt;
== Software==&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/Stm32-vcu &#039;&#039;&#039;Github for the project:&#039;&#039;&#039; https://github.com/damienmaguire/Stm32-vcu]&lt;br /&gt;
&lt;br /&gt;
Various binaries can be found in the support thread, for example https://openinverter.org/forum/viewtopic.php?p=33379#p33379&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;GD variant:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Status as of November 20 2021&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Early boards fitted with the GigaDevices  &#039;&#039;&#039;GD32F107&#039;&#039;&#039; aka &amp;quot;GD chip&amp;quot; require different firmware routines than &#039;&#039;&#039;STM32F107&#039;&#039;&#039; equipped boards.  See this [https://openinverter.org/forum/viewtopic.php?p=33758#p33758 Zombieverter VCU Support Thread forum post]&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;The GigaDevices `[https://www.gigadevice.com/products/microcontrollers/gd32/arm-cortex-m3/connectivity-line/gd32f107-series/ GD32F107] was chosen as an alternative to the ST equivalent due to microchip shortages during the COVID-19 pandemic.  A specific branch of firmware code for the GD32F107 variant is found here:  https://github.com/damienmaguire/Stm32-vcu/tree/GD_Zombie  However development of this variant was abandoned shortly after it&#039;s release.&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;As of this writing , The [https://github.com/damienmaguire/Stm32-vcu/tree/GD_Zombie GD_Zombie] branch has fallen behind and substantially diverged from the primary code base. It has been suggested that work needs to be done to make the present firmware chip agnostic via detection routines.  See this [https://openinverter.org/forum/viewtopic.php?p=34220#p34220 Zombieverter Development Thread forum post]. As of this writing that work has yet to be undertaken and remains to be organized and completed.  And issue has be devoted to tracking this progress here: [https://github.com/damienmaguire/Stm32-vcu/issues/21 Issue #21]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Here is a link to a post with a pre compiled bin and hex for the GD_Zombie created by Damien on the 23/11/21;  [https://openinverter.org/forum/viewtopic.php?p=34264#p34264 ZombieVerter VCU Support - Page 9 - openinverter forum] This is based on the 16/6/21 code it is &amp;lt;u&amp;gt;&#039;&#039;&#039;not&#039;&#039;&#039;&amp;lt;/u&amp;gt; an update. Ensure you rename the binaries to stm32_vcu.xxx to ensure no wifi issues.&lt;br /&gt;
 &lt;br /&gt;
&#039;&#039;UPDATE November 23 2021&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Updated information about the necessary edits to make to the STM32 based firmware have been posted in a [https://openinverter.org/forum/viewtopic.php?p=34264#p34264 forum post here.]  In order to get the firmware to compile and run on the &#039;&#039;&#039;GD32F107&#039;&#039;&#039;  you must make the following changes:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;In the file &amp;quot;&#039;&#039;&#039;anain.cpp&#039;&#039;&#039;&amp;quot; @ line 68:&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;68 - // adc_start_conversion_regular(ADC1);  // Comment out for GD MCU&amp;lt;/code&amp;gt;In the file&#039;&#039; &#039;&#039;&amp;quot;&#039;&#039;&#039;stm32_can.cpp&#039;&#039;&#039;&amp;quot; @ starting at line 305 modify as follows :&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;305 - gpio_set_mode(GPIO_BANK_CAN2_RE_RX, GPIO_MODE_INPUT, GPIO_CNF_INPUT_PULL_UPDOWN, GPIO_CAN2_RE_RX);&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;306 - gpio_set(GPIO_BANK_CAN2_RE_RX, GPIO_CAN2_RE_RX);&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;307 - // Configure CAN pin: TX.-&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;308 - gpio_set_mode(GPIO_BANK_CAN2_RE_TX, GPIO_MODE_OUTPUT_50_MHZ, GPIO_CNF_OUTPUT_ALTFN_PUSHPULL, GPIO_CAN2_RE_TX);&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you properly clone the repository with &#039;&#039;&#039;git&#039;&#039;&#039; on the command line that looks like this;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;git clone --recurse-submodules git@github.com:damienmaguire/Stm32-vcu.git&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
That recursively pulls in copies of &#039;&#039;&#039;&#039;&#039;libopeninv&#039;&#039;&#039;&#039;&#039;, etc and tracks them...   Hence your file-path should look like &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;./Stm32-vcu/libopeninv/src/&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
within the &#039;&#039;&#039;&#039;&#039;libopeninv&#039;&#039;&#039;&#039;&#039; src (source) directory you will find &#039;&#039;&#039;&#039;&#039;anain.cpp&#039;&#039;&#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;stm32_can.cpp&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Make the above changes to these files for the &#039;&#039;&#039;GigaDevices GD32F107&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
== Software update ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As supplied, both the ESP32 (the wifi plug-in board) and the STM32 (main MPU) are pre-loaded.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;UART Update&amp;quot; field on the GUI can be given a &#039;&#039;&#039;stm32_vcu.bin&#039;&#039;&#039; file to update the firmware.   Note that at this time, loading via Windows 10 is suspect and may lock you out of the board. Ubuntu works best.&lt;br /&gt;
&lt;br /&gt;
If you are unable to build your own, use the [https://openinverter.org/forum/download/file.php?id=11673 stm32_vcu.bin] that Damien posted on 10/30/2021 in the [https://openinverter.org/forum/viewtopic.php?p=33379#p33379 ZombieVerter VCU Support thread].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By using the ST-Link V2 in-circuit loader, &#039;&#039;&#039;.hex&#039;&#039;&#039; files can be sent to the board to initialize a fresh STM32 MCU, or if it can&#039;t be loaded via the bootloader.&lt;br /&gt;
&lt;br /&gt;
If you are unable to build your own, use the [https://openinverter.org/forum/download/file.php?id=11674 stm32_vcu.hex] that Damien posted on 10/30/2021 in the [https://openinverter.org/forum/viewtopic.php?p=33379#p33379 ZombieVerter VCU Support thread].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The connections needed to use the ST-Link loader are shown below:&lt;br /&gt;
[[File:0B35D4F9-BA64-46E7-A570-A0CE1D619D63.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
=== Initializing an ISA Shunt ===&lt;br /&gt;
Under Comms in the web interface, there is now an ISAMode option. By default its in &amp;quot;Normal&amp;quot;. If you want to initialize a new shunt, connect it up, power on the shunt and vcu, select &amp;quot;Init&amp;quot;, hit save parameters to flash. Power cycle the vcu and shunt at same time (they should be on same 12v feed anyway). The shunt will initialize. Select ISAMode &amp;quot;normal&amp;quot;, save to flash again and reboot again. The shunt should now be up and running.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Supported OEM Hardware==&lt;br /&gt;
&lt;br /&gt;
*Nissan Leaf Gen1/2/3 Inverter/ motor&lt;br /&gt;
*nissan leaf gen 2 drive stack (inverter, dcdc, charger) gen 3 coming soon&lt;br /&gt;
&lt;br /&gt;
*[[Lexus GS450h Inverter|Lexus GS450H inverter / gearbox via sync serial]]&lt;br /&gt;
* Toyota Prius/Yaris/Auris Gen 3 inverters via sync serial&lt;br /&gt;
* chevy volt HV water heater&lt;br /&gt;
*BMW E46 CAN support&lt;br /&gt;
*BMW E39 CAN support&lt;br /&gt;
*BMW E65 CAN Support&lt;br /&gt;
*CCS DC Fast Charge via BMW i3 LIM&lt;/div&gt;</summary>
		<author><name>Cgalpin</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=2055</id>
		<title>ZombieVerter VCU</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=2055"/>
		<updated>2021-12-24T16:55:34Z</updated>

		<summary type="html">&lt;p&gt;Cgalpin: added note about lack of DHCP&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;big&amp;gt;Now available for general sale [https://www.evbmw.com/index.php/evbmw-webshop/vcu-boards here].&amp;lt;/big&amp;gt;&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Development continues&#039;&#039;&#039; and you can&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?f=3&amp;amp;t=1277 follow and contribute along with the development here on the forum]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?f=3&amp;amp;t=1696 &#039;&#039;&#039;Support&#039;&#039;&#039; is available via a separate thread on the forum]&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
Rather than crack open inverters and swap components about to drive them, what if we simply send them the messages they&#039;re expecting? This has been the case with a couple of existing designs (Nissan leaf inverter and GS450H) and thanks to the SAM3X8E microcontroller no longer being stocked by JLCPCB this project looks to take it further.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So rather than driving an inverter powerstage this version sends CAN for the Leaf inverter or Sync serial for the GS450H and of course can be expanded to any number of others. This will be the default firmware for all vcu products from now on and future hardware will support future fun packed stuff like FLEXRAY!!!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&#039;s basically an &amp;lt;s&amp;gt;rip off&amp;lt;/s&amp;gt; homage and builds on other people&#039;s hard work in the shape of the following projects&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/jsphuebner/stm32-car STM32-CAR project] &lt;br /&gt;
* [https://github.com/jsphuebner/stm32-sine Openinverter]&lt;br /&gt;
* [https://github.com/Isaac96/SimpleISA ISA library]&lt;br /&gt;
* Leaf inverter driver by Celeron55&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
What we have as of now is the openinverter wrapper with things like :&lt;br /&gt;
&lt;br /&gt;
* Throttle cal and mapping,&lt;br /&gt;
* Precharge and contactor control,&lt;br /&gt;
* Temp derating,&lt;br /&gt;
* BMS limits,&lt;br /&gt;
* for/rev/neutral control,&lt;br /&gt;
* Graphing and monitoring,&lt;br /&gt;
* Firmware updates via the web interface,&lt;br /&gt;
* Cruise control,&lt;br /&gt;
* Fuel gauge driver,&lt;br /&gt;
* etc &lt;br /&gt;
&lt;br /&gt;
==Hardware==&lt;br /&gt;
So you&#039;ve ordered your kit, first things first, watch the following two videos to assemble it. &lt;br /&gt;
&lt;br /&gt;
Due to chip shortages (written summer 2021) the board isn&#039;t fully assembled so you will need to do some soldering, or take it to a local phone repair shop (or similar) who&#039;ll find soldering at this scale like playing with Duplo (Legos to you Yanks).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The current list of parts to be fitted:&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
CONN1&lt;br /&gt;
IC10 = MCP25625T&lt;br /&gt;
IC14 = TJA1020 OR MCP2004 &lt;br /&gt;
IC19 = NCV7356&lt;br /&gt;
IC20 = TJA1055T&lt;br /&gt;
IC21, 22 = AD5160&lt;br /&gt;
IC27, 28, 29 = FAN3122&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And the positions on the V1 board.&lt;br /&gt;
[[File:Zombv1boardb.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===The enclosure kit links===&lt;br /&gt;
&lt;br /&gt;
You only need one, but below are two options - one with just the connector, and the other prewired with 3M long leads.&lt;br /&gt;
&lt;br /&gt;
::Enclosure Kit with Header, connector and pins :&lt;br /&gt;
&lt;br /&gt;
::::https://www.aliexpress.com/item/32857771975.html?spm=a2g0s.9042311.0.0.39f24c4dWOmGPE&lt;br /&gt;
&lt;br /&gt;
::Prewired connector with 3M leads (limited colors which will not match standard wire colouring conventions) :&lt;br /&gt;
&lt;br /&gt;
::::https://www.aliexpress.com/item/4001213569338.html?spm=a2g0o.cart.0.0.366c3c00qhBvGO&amp;amp;mp=1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The kits do not come with M3 screws needed to secure the board to the enclosure (2 need to be slightly longer), and to secure the lid. Nor a gasket for the lid.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note that in addition to the VCU, the inverter and transmission, you will require a specific CANBUS connected shunt&#039;&#039;&#039;: [[Isabellenhütte Heusler]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Build and Configuration Videos===&lt;br /&gt;
====ZombieVerter VCU V1 Build Part 1====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ ZombieVerter VCU V1 Build Part 1&lt;br /&gt;
|-&lt;br /&gt;
! Video !! Highlights&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;youtube&amp;gt;https://www.youtube.com/watch?v=geZuIbGHh30&amp;lt;/youtube&amp;gt; &lt;br /&gt;
&#039;&#039;&#039;00:33&#039;&#039;&#039; Warning and suggestion to go watch cat videos instead&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=66s 01:06]&#039;&#039;&#039; Recap about the ZombieVerter VCU Build Part 1&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=184s 03:04]&#039;&#039;&#039; How to get one&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=215s 03:35]&#039;&#039;&#039; Design files currently require E10 Patreon membership/contribution if wanting to build your own&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=268s 04:28]&#039;&#039;&#039; Components still requiring soldering&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=303s 05:03]&#039;&#039;&#039; IC19 - 8 pin SOIC for single wire CAN (NCV7356)&amp;lt;br/&amp;gt;&lt;br /&gt;
||&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=360s 06:00]&#039;&#039;&#039; IC10 - SPI CAN controller and transceiver (MCP25625T)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=390s 06:30]&#039;&#039;&#039; &amp;lt;del&amp;gt;IC1,3,5,6,7,24,25,26  load driver mosfets (NCV8402)&amp;lt;/del&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=440s 07:20]&#039;&#039;&#039; Do you need these components?&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=520s 08:40]&#039;&#039;&#039; Soldering begins - IC19&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=550s 09:10]&#039;&#039;&#039; Soldering iron for SOIC parts&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=567s 09:27]&#039;&#039;&#039; Applying flux using Damien&#039;s favorite Flux, UV80&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=634s 10:34]&#039;&#039;&#039; Magnifier headset&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=807s 13:27]&#039;&#039;&#039; Soldering MCP25625&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=955s 15:55]&#039;&#039;&#039; Suggests getting an phone/computer repair shop to help out if needed&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1025s 17:05]&#039;&#039;&#039; Using hot air gun to warm the board and position the chip&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1174s 19:34]&#039;&#039;&#039; &amp;lt;del&amp;gt;Soldering NCV8402s&amp;lt;/del&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1408s 23:28]&#039;&#039;&#039; Clean soldering with IPA Solvent&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1480s 24:40]&#039;&#039;&#039; First power up test using bench power supply to limit current to a few hundred mA&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1607s 26:47]&#039;&#039;&#039; 60mA current draw with no wifi board&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1655s 27:35]&#039;&#039;&#039; Wifi module&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1790s 29:50]&#039;&#039;&#039; Power up test with wifi draws 90mA&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1825s 30:25]&#039;&#039;&#039; Enclosure kit(s)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=2162s 36:02]&#039;&#039;&#039; Soldering the PCB header (56 pin)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=2668s 44:28]&#039;&#039;&#039; Installing in the enclosure&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=3030s 50:30]&#039;&#039;&#039; Cameo appearance by Gome cat&amp;lt;br/&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====ZombieVerter VCU V1 Build Part 2====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ ZombieVerter VCU V1 Build Part 2&lt;br /&gt;
|-&lt;br /&gt;
! Video !! Highlights&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;youtube&amp;gt;https://youtu.be/MUhs9j9R9Mg&amp;lt;/youtube&amp;gt; &lt;br /&gt;
&#039;&#039;&#039;00:34&#039;&#039;&#039; Health warning and suggestion to go watch cat videos instead&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=102s 01:42]&#039;&#039;&#039; Intro&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=200s 03:20]&#039;&#039;&#039; Pinouts of the 56 pin connector&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=256s 04:16]&#039;&#039;&#039; Pins 55,56 - Ground and +12V&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=289s 04:49]&#039;&#039;&#039; Pins 53,54 - Reverse and Forward Direction. Apply +12V to the pin for the direction needed.&amp;lt;br/&amp;gt;Configurable in the web interface to flip these since direction is relative&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=452s 07:32]&#039;&#039;&#039; Pins 52 - Start. Momentarily apply +12V to send a start signal&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=495s 08:15]&#039;&#039;&#039; Pin 51 - HV Request. Apply +12v to precharge and bring up the high voltage system&amp;lt;br/&amp;gt; (and not the drive components)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=545s 09:05]&#039;&#039;&#039; Pin 50 - General Purpose 12V Input. Reserved for future use&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=563s 09:23]&#039;&#039;&#039; Pin 49 - Brake Input. Connect to brake light switch to apply +12V signaling brakes are applied&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=615s 10:15]&#039;&#039;&#039; Pins 45,46,47,48 - Throttle. +5V power, ground, and 1 or 2 hall effect sensor inputs&amp;lt;br/&amp;gt;&lt;br /&gt;
||&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=660s 11:00]&#039;&#039;&#039; Pins 25,26,27,28 - 3 CAN bus interfaces. CAN EXT is for vehicle/body communication,&amp;lt;br/&amp;gt; CAN EXT 2 for the ISA shunt comms,&amp;lt;br/&amp;gt; CAN EXT 3 (with solderable jumpers to change modes) is for general purpose like charger, heater control&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=885s 14:45]&#039;&#039;&#039; Pin 24 - Local Interface Network (LIN)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=956s 15:56]&#039;&#039;&#039; Pins 16,17,18,19,20,21,22,23 - Toyota Hybrid Inverter specific using async serial comms.&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1041s 17:21]&#039;&#039;&#039; Pin 15 - Ignition T15 In. Apply +12V to turn Ignition on. Puts VCU in run mode&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1134s 18:54]&#039;&#039;&#039; Pins 37,38,39,40,41,42 - Toyota Hybrid Transmission shift control&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1182s 19:42]&#039;&#039;&#039; Pins 35,36 - POT1 &amp;amp; POT2. Digital potentiometer outputs to drive analog gauges (fuel, etc)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1270s 21:10]&#039;&#039;&#039; Pins 32,33,34 - Low Side (LS) switches for Inverter Power, Positive side Main Contactor, Precharge Contactor&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1401s 23:21]&#039;&#039;&#039; Pin 31 - General Purpose +12V Output. LS switch for Negative side Main Contactor&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1441s 24:01]&#039;&#039;&#039; Pins 12,13,14,29,30 - Toyota Hybrid System controls&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1524s 25:24]&#039;&#039;&#039; Pins 10,11 - Digital to Analog Converter (DAC) 1 &amp;amp; 2. Reserved for future use - additional analog instruments etc.&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1593s 26:33]&#039;&#039;&#039; Pins 8,9 - 0-5V Analog Inputs 1 &amp;amp; 2. Reserved for future use (ie not implemented yet)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1626s 27:06]&#039;&#039;&#039; Pins 5,6,7 - Pulse Width Modulation (PWM) 1-3 +12V output signals. Reserved for future use (ie not implemented yet)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1676s 27:56]&#039;&#039;&#039; Pins 3,4 - General Purpose +12V Outputs 2 &amp;amp; 3. Reserved for future use (ie not implemented yet)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1709s 28:29]&#039;&#039;&#039; Pins 1,2 - RS232 Rx/Tx Serial connection for alternation VCU communication (solder jumper configurable). Reserved for future expansion&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1811s 30:11]&#039;&#039;&#039; CAN bus connected Isabellenhutte Huesler Shunt&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=2325s 38:45]&#039;&#039;&#039; Web Interface&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=2650s 44:10]&#039;&#039;&#039; How to perform a software update via the web interface using a precompiled binary&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=2852s 47:32]&#039;&#039;&#039; UI Features - Commands&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=3170s 52:50]&#039;&#039;&#039; UI Features - Update&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=3210s 53:30]&#039;&#039;&#039; UI Features - Parameters&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=4290s 1:11:32]&#039;&#039;&#039; UI Features - Spot Values&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=4914s 1:21:54]&#039;&#039;&#039; Epilogue &amp;lt;br/&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====ZombieVerter VCU V1 Part 3====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ ZombieVerter VCU V1 Part 3&lt;br /&gt;
|-&lt;br /&gt;
! Video !! Highlights&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;youtube&amp;gt;https://youtu.be/oPb4vMO17B4&amp;lt;/youtube&amp;gt; ||&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=38s 00:38]&#039;&#039;&#039; Intro/Recap of part 2&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=64s 01:04]&#039;&#039;&#039; Description of 2018 Nissan Leaf components used in the video&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=227s 03:47]&#039;&#039;&#039; VCU, wiring harness, 12V battery, ISA shunt, contactors&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=426s 07:06]&#039;&#039;&#039; 12V battery - negative to chassis ground with fuse, and ground to VCU pin 55&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=472s 07:52]&#039;&#039;&#039; 12V battery - positive to PDM positive terminal and distribution block&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=522s 08:42]&#039;&#039;&#039; 12V battery - permanent fused +12v from PDM positive terminal to inverter and PDM&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=554s 09:14]&#039;&#039;&#039; 12V battery - permanent fused +12v to vcu, relay controlled by VCU for switched +12v to inverter and PDM&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=641s 10:41]&#039;&#039;&#039; 12V battery - permanent fused +12v to contactor coil positives&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=657s 10:57]&#039;&#039;&#039; 12V battery - permanent fused +12v to switch to provide tings like T15 on signal to VCU&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=762s 12:42]&#039;&#039;&#039; Other end of permanent 12v feed to inverter and PDM connections&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=803s 13:23]&#039;&#039;&#039; Other end of switched +12v feed to inverter and PDM connections&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=816s 13:36]&#039;&#039;&#039; Other end of switched 12v ground connection&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=838s 13:52]&#039;&#039;&#039; Twisted pair wires from EV CAN CAN EXT 2 High (pin 28) and CAN EXT 2 Low (pin 27) to inverter&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=946s 15:46]&#039;&#039;&#039; To use the PDM for charging, wire control pilot (CP) and plug present (PP) from PDM to charge socket&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=989s 16:29]&#039;&#039;&#039; High voltage setup and controlling it with the VCU&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1028s 17:08]&#039;&#039;&#039; Positive and precharge contactors (only 2 for the test rig - usually would have a negative contactor as well)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1060s 17:40]&#039;&#039;&#039; High voltage positive and negative junction. The ISA shunt connected between negative and PDM to distribute high voltage negative to the components&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1093s 18:13]&#039;&#039;&#039; V1 ISA shunt connection to PDM after the contactors/precharge system to monitor high voltage applied to the drivetrain&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1131s 18:51]&#039;&#039;&#039; Contactor control via VCU&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Will complete soon&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&#039;&#039;&#039;Pin Out Diagram&#039;&#039;&#039;[[File:ZombieVerter VCU V1 cable side pinout.jpg|thumb|alt=|VCU pinout diagram |none]]&lt;br /&gt;
[[File:Zomb-con-et.png|none|thumb|List of connections to system components (GS450 application)]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Further information for a GS450 system can be found here: [[Lexus GS450h Inverter]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note&#039;&#039;&#039;: In the software port 0 = EXT2 and port 1 = EXT&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Initial start-up and testing (Instructions for GS450H application) ==&lt;br /&gt;
=== Wifi Setup ===&lt;br /&gt;
The VCU is configured by connecting to its wifi access point.  For existing units this is something like SSID: ESP-03xxxx, no password.  For future units (shipped after 20/10/21) this will be SSID: inverter (or zom_vcu) PASSWORD: inverter123&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE:&#039;&#039;&#039; Recent units have a new wifi module that isn&#039;t automatically assigning an IP via DHCP. See [https://openinverter.org/forum/viewtopic.php?f=5&amp;amp;t=2001 this thread] for details, and if you can help resolve the issue. Until then, you need to manually assign an IP of 192.168.4.2 (anything other than 192.168.14.1 on the 192.168.4.0/24 subnet) to your device.&lt;br /&gt;
&lt;br /&gt;
Then navigate to 192.168.4.1 to see the huebner inverter dashboard.&lt;br /&gt;
&lt;br /&gt;
=== Configuration Setup ===&lt;br /&gt;
Get familiar with the interface and check that all of the parameters make sense. If in doubt, make sure the default value is set.  At each stage the current state of the system and any error can be seen on the interface, for example &#039;&#039;&#039;opmode&#039;&#039;&#039; and &#039;&#039;&#039;lasterr&#039;&#039;&#039;. Press refresh at the top of the screen to update the values.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will need the HV supply connected, which can be a lower voltage (50-100V), current limited power supply for test purposes.  Set &#039;&#039;&#039;udcmin&#039;&#039;&#039; to some value below that (e.g. 50V for a 100V supply) and &#039;&#039;&#039;udcsw&#039;&#039;&#039; to 10V lower than the supply.&lt;br /&gt;
&lt;br /&gt;
* Apply the &#039;&#039;&#039;Ignition T15 in&#039;&#039;&#039; 12V signal.  The relay supplying 12V to the inverter should now be on.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Check the accelerator by applying it gradually and watching / refreshing the interface. You should see values at &#039;&#039;&#039;pot&#039;&#039;&#039; change as the pedal is pressed.  &#039;&#039;&#039;potmin&#039;&#039;&#039; should be set just above where your off-throttle position is, and &#039;&#039;&#039;potmax&#039;&#039;&#039; just below the value seen at maximum travel. Same for &#039;&#039;&#039;pot2min&#039;&#039;&#039; and &#039;&#039;&#039;pot2max&#039;&#039;&#039;, if they are electrically connected. The resulting value as a 0-100 value can be seen at &#039;&#039;&#039;potnom&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If it does not show up, check for errors and check that throtmax is not set to zero!  Check that tmpm is less than tmpmmax, as it can derate the potnom value down as far as zero!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Apply the &#039;&#039;&#039;Start&#039;&#039;&#039; 12V signal for a short time.  The pre-charge relay should turn on, and the voltage available at the inverter and the U1 input of the ISA shunt should quickly rise. If the &#039;&#039;&#039;udc&#039;&#039;&#039; reading goes above &#039;&#039;&#039;udcsw&#039;&#039;&#039; within 5 seconds then the main contactor(s) should close. If all is well, &#039;&#039;&#039;invstat&#039;&#039;&#039; should now be &amp;quot;on&amp;quot;, &#039;&#039;&#039;opmode&#039;&#039;&#039; should be &amp;quot;run&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you do not see a good value at udc, it may be that your external shunt is not connected properly or is not initialised.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you do not see a good value at Invudc, it may be that the inverter is not powered, or the communication signals are not correctly wired.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;if the status stays at &amp;quot;PRECHARGE&amp;quot; then you possibly didn&#039;t hold the start signal on for long enough!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Once the contactors are on, select forwards direction.  For example if &#039;&#039;&#039;dirmode&#039;&#039;&#039; is set to &amp;quot;Switch&amp;quot; then a 12V signal applied to the Forward input will work.&lt;br /&gt;
&lt;br /&gt;
* Carefully apply the accelerator and the motor should begin to turn. Do not spin the motor up to any speed if you are using a test power supply.&lt;br /&gt;
&lt;br /&gt;
== Software==&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/Stm32-vcu &#039;&#039;&#039;Github for the project:&#039;&#039;&#039; https://github.com/damienmaguire/Stm32-vcu]&lt;br /&gt;
&lt;br /&gt;
Various binaries can be found in the support thread, for example https://openinverter.org/forum/viewtopic.php?p=33379#p33379&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;GD variant:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Status as of November 20 2021&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Early boards fitted with the GigaDevices  &#039;&#039;&#039;GD32F107&#039;&#039;&#039; aka &amp;quot;GD chip&amp;quot; require different firmware routines than &#039;&#039;&#039;STM32F107&#039;&#039;&#039; equipped boards.  See this [https://openinverter.org/forum/viewtopic.php?p=33758#p33758 Zombieverter VCU Support Thread forum post]&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;The GigaDevices `[https://www.gigadevice.com/products/microcontrollers/gd32/arm-cortex-m3/connectivity-line/gd32f107-series/ GD32F107] was chosen as an alternative to the ST equivalent due to microchip shortages during the COVID-19 pandemic.  A specific branch of firmware code for the GD32F107 variant is found here:  https://github.com/damienmaguire/Stm32-vcu/tree/GD_Zombie  However development of this variant was abandoned shortly after it&#039;s release.&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;As of this writing , The [https://github.com/damienmaguire/Stm32-vcu/tree/GD_Zombie GD_Zombie] branch has fallen behind and substantially diverged from the primary code base. It has been suggested that work needs to be done to make the present firmware chip agnostic via detection routines.  See this [https://openinverter.org/forum/viewtopic.php?p=34220#p34220 Zombieverter Development Thread forum post]. As of this writing that work has yet to be undertaken and remains to be organized and completed.  And issue has be devoted to tracking this progress here: [https://github.com/damienmaguire/Stm32-vcu/issues/21 Issue #21]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Here is a link to a post with a pre compiled bin and hex for the GD_Zombie created by Damien on the 23/11/21;  [https://openinverter.org/forum/viewtopic.php?p=34264#p34264 ZombieVerter VCU Support - Page 9 - openinverter forum] This is based on the 16/6/21 code it is &amp;lt;u&amp;gt;&#039;&#039;&#039;not&#039;&#039;&#039;&amp;lt;/u&amp;gt; an update. Ensure you rename the binaries to stm32_vcu.xxx to ensure no wifi issues.&lt;br /&gt;
 &lt;br /&gt;
&#039;&#039;UPDATE November 23 2021&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Updated information about the necessary edits to make to the STM32 based firmware have been posted in a [https://openinverter.org/forum/viewtopic.php?p=34264#p34264 forum post here.]  In order to get the firmware to compile and run on the &#039;&#039;&#039;GD32F107&#039;&#039;&#039;  you must make the following changes:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;In the file &amp;quot;&#039;&#039;&#039;anain.cpp&#039;&#039;&#039;&amp;quot; @ line 68:&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;68 - // adc_start_conversion_regular(ADC1);  // Comment out for GD MCU&amp;lt;/code&amp;gt;In the file&#039;&#039; &#039;&#039;&amp;quot;&#039;&#039;&#039;stm32_can.cpp&#039;&#039;&#039;&amp;quot; @ starting at line 305 modify as follows :&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;305 - gpio_set_mode(GPIO_BANK_CAN2_RE_RX, GPIO_MODE_INPUT, GPIO_CNF_INPUT_PULL_UPDOWN, GPIO_CAN2_RE_RX);&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;306 - gpio_set(GPIO_BANK_CAN2_RE_RX, GPIO_CAN2_RE_RX);&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;307 - // Configure CAN pin: TX.-&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;308 - gpio_set_mode(GPIO_BANK_CAN2_RE_TX, GPIO_MODE_OUTPUT_50_MHZ, GPIO_CNF_OUTPUT_ALTFN_PUSHPULL, GPIO_CAN2_RE_TX);&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you properly clone the repository with &#039;&#039;&#039;git&#039;&#039;&#039; on the command line that looks like this;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;git clone --recurse-submodules git@github.com:damienmaguire/Stm32-vcu.git&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
That recursively pulls in copies of &#039;&#039;&#039;&#039;&#039;libopeninv&#039;&#039;&#039;&#039;&#039;, etc and tracks them...   Hence your file-path should look like &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;./Stm32-vcu/libopeninv/src/&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
within the &#039;&#039;&#039;&#039;&#039;libopeninv&#039;&#039;&#039;&#039;&#039; src (source) directory you will find &#039;&#039;&#039;&#039;&#039;anain.cpp&#039;&#039;&#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;stm32_can.cpp&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Make the above changes to these files for the &#039;&#039;&#039;GigaDevices GD32F107&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
== Software update ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As supplied, both the ESP32 (the wifi plug-in board) and the STM32 (main MPU) are pre-loaded.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;UART Update&amp;quot; field on the GUI can be given a &#039;&#039;&#039;stm32_vcu.bin&#039;&#039;&#039; file to update the firmware.   Note that at this time, loading via Windows 10 is suspect and may lock you out of the board. Ubuntu works best.&lt;br /&gt;
&lt;br /&gt;
If you are unable to build your own, use the [https://openinverter.org/forum/download/file.php?id=11673 stm32_vcu.bin] that Damien posted on 10/30/2021 in the [https://openinverter.org/forum/viewtopic.php?p=33379#p33379 ZombieVerter VCU Support thread].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By using the ST-Link V2 in-circuit loader, &#039;&#039;&#039;.hex&#039;&#039;&#039; files can be sent to the board to initialize a fresh STM32 MCU, or if it can&#039;t be loaded via the bootloader.&lt;br /&gt;
&lt;br /&gt;
If you are unable to build your own, use the [https://openinverter.org/forum/download/file.php?id=11674 stm32_vcu.hex] that Damien posted on 10/30/2021 in the [https://openinverter.org/forum/viewtopic.php?p=33379#p33379 ZombieVerter VCU Support thread].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The connections needed to use the ST-Link loader are shown below:&lt;br /&gt;
[[File:0B35D4F9-BA64-46E7-A570-A0CE1D619D63.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
=== Initializing an ISA Shunt ===&lt;br /&gt;
Under Comms in the web interface, there is now an ISAMode option. By default its in &amp;quot;Normal&amp;quot;. If you want to initialize a new shunt, connect it up, power on the shunt and vcu, select &amp;quot;Init&amp;quot;, hit save parameters to flash. Power cycle the vcu and shunt at same time (they should be on same 12v feed anyway). The shunt will initialize. Select ISAMode &amp;quot;normal&amp;quot;, save to flash again and reboot again. The shunt should now be up and running.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Supported OEM Hardware==&lt;br /&gt;
&lt;br /&gt;
*Nissan Leaf Gen1/2/3 Inverter/ motor&lt;br /&gt;
*nissan leaf gen 2 drive stack (inverter, dcdc, charger) gen 3 coming soon&lt;br /&gt;
&lt;br /&gt;
*[[Lexus GS450h Inverter|Lexus GS450H inverter / gearbox via sync serial]]&lt;br /&gt;
* Toyota Prius/Yaris/Auris Gen 3 inverters via sync serial&lt;br /&gt;
* chevy volt HV water heater&lt;br /&gt;
*BMW E46 CAN support&lt;br /&gt;
*BMW E39 CAN support&lt;br /&gt;
*BMW E65 CAN Support&lt;br /&gt;
*CCS DC Fast Charge via BMW i3 LIM&lt;/div&gt;</summary>
		<author><name>Cgalpin</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=2054</id>
		<title>ZombieVerter VCU</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=2054"/>
		<updated>2021-12-24T16:43:29Z</updated>

		<summary type="html">&lt;p&gt;Cgalpin: ZombieVerter VCU V1 Part 3  highlights, continued&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;big&amp;gt;Now available for general sale [https://www.evbmw.com/index.php/evbmw-webshop/vcu-boards here].&amp;lt;/big&amp;gt;&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Development continues&#039;&#039;&#039; and you can&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?f=3&amp;amp;t=1277 follow and contribute along with the development here on the forum]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?f=3&amp;amp;t=1696 &#039;&#039;&#039;Support&#039;&#039;&#039; is available via a separate thread on the forum]&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
Rather than crack open inverters and swap components about to drive them, what if we simply send them the messages they&#039;re expecting? This has been the case with a couple of existing designs (Nissan leaf inverter and GS450H) and thanks to the SAM3X8E microcontroller no longer being stocked by JLCPCB this project looks to take it further.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So rather than driving an inverter powerstage this version sends CAN for the Leaf inverter or Sync serial for the GS450H and of course can be expanded to any number of others. This will be the default firmware for all vcu products from now on and future hardware will support future fun packed stuff like FLEXRAY!!!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&#039;s basically an &amp;lt;s&amp;gt;rip off&amp;lt;/s&amp;gt; homage and builds on other people&#039;s hard work in the shape of the following projects&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/jsphuebner/stm32-car STM32-CAR project] &lt;br /&gt;
* [https://github.com/jsphuebner/stm32-sine Openinverter]&lt;br /&gt;
* [https://github.com/Isaac96/SimpleISA ISA library]&lt;br /&gt;
* Leaf inverter driver by Celeron55&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
What we have as of now is the openinverter wrapper with things like :&lt;br /&gt;
&lt;br /&gt;
* Throttle cal and mapping,&lt;br /&gt;
* Precharge and contactor control,&lt;br /&gt;
* Temp derating,&lt;br /&gt;
* BMS limits,&lt;br /&gt;
* for/rev/neutral control,&lt;br /&gt;
* Graphing and monitoring,&lt;br /&gt;
* Firmware updates via the web interface,&lt;br /&gt;
* Cruise control,&lt;br /&gt;
* Fuel gauge driver,&lt;br /&gt;
* etc &lt;br /&gt;
&lt;br /&gt;
==Hardware==&lt;br /&gt;
So you&#039;ve ordered your kit, first things first, watch the following two videos to assemble it. &lt;br /&gt;
&lt;br /&gt;
Due to chip shortages (written summer 2021) the board isn&#039;t fully assembled so you will need to do some soldering, or take it to a local phone repair shop (or similar) who&#039;ll find soldering at this scale like playing with Duplo (Legos to you Yanks).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The current list of parts to be fitted:&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
CONN1&lt;br /&gt;
IC10 = MCP25625T&lt;br /&gt;
IC14 = TJA1020 OR MCP2004 &lt;br /&gt;
IC19 = NCV7356&lt;br /&gt;
IC20 = TJA1055T&lt;br /&gt;
IC21, 22 = AD5160&lt;br /&gt;
IC27, 28, 29 = FAN3122&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And the positions on the V1 board.&lt;br /&gt;
[[File:Zombv1boardb.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===The enclosure kit links===&lt;br /&gt;
&lt;br /&gt;
You only need one, but below are two options - one with just the connector, and the other prewired with 3M long leads.&lt;br /&gt;
&lt;br /&gt;
::Enclosure Kit with Header, connector and pins :&lt;br /&gt;
&lt;br /&gt;
::::https://www.aliexpress.com/item/32857771975.html?spm=a2g0s.9042311.0.0.39f24c4dWOmGPE&lt;br /&gt;
&lt;br /&gt;
::Prewired connector with 3M leads (limited colors which will not match standard wire colouring conventions) :&lt;br /&gt;
&lt;br /&gt;
::::https://www.aliexpress.com/item/4001213569338.html?spm=a2g0o.cart.0.0.366c3c00qhBvGO&amp;amp;mp=1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The kits do not come with M3 screws needed to secure the board to the enclosure (2 need to be slightly longer), and to secure the lid. Nor a gasket for the lid.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note that in addition to the VCU, the inverter and transmission, you will require a specific CANBUS connected shunt&#039;&#039;&#039;: [[Isabellenhütte Heusler]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Build and Configuration Videos===&lt;br /&gt;
====ZombieVerter VCU V1 Build Part 1====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ ZombieVerter VCU V1 Build Part 1&lt;br /&gt;
|-&lt;br /&gt;
! Video !! Highlights&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;youtube&amp;gt;https://www.youtube.com/watch?v=geZuIbGHh30&amp;lt;/youtube&amp;gt; &lt;br /&gt;
&#039;&#039;&#039;00:33&#039;&#039;&#039; Warning and suggestion to go watch cat videos instead&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=66s 01:06]&#039;&#039;&#039; Recap about the ZombieVerter VCU Build Part 1&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=184s 03:04]&#039;&#039;&#039; How to get one&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=215s 03:35]&#039;&#039;&#039; Design files currently require E10 Patreon membership/contribution if wanting to build your own&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=268s 04:28]&#039;&#039;&#039; Components still requiring soldering&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=303s 05:03]&#039;&#039;&#039; IC19 - 8 pin SOIC for single wire CAN (NCV7356)&amp;lt;br/&amp;gt;&lt;br /&gt;
||&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=360s 06:00]&#039;&#039;&#039; IC10 - SPI CAN controller and transceiver (MCP25625T)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=390s 06:30]&#039;&#039;&#039; &amp;lt;del&amp;gt;IC1,3,5,6,7,24,25,26  load driver mosfets (NCV8402)&amp;lt;/del&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=440s 07:20]&#039;&#039;&#039; Do you need these components?&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=520s 08:40]&#039;&#039;&#039; Soldering begins - IC19&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=550s 09:10]&#039;&#039;&#039; Soldering iron for SOIC parts&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=567s 09:27]&#039;&#039;&#039; Applying flux using Damien&#039;s favorite Flux, UV80&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=634s 10:34]&#039;&#039;&#039; Magnifier headset&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=807s 13:27]&#039;&#039;&#039; Soldering MCP25625&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=955s 15:55]&#039;&#039;&#039; Suggests getting an phone/computer repair shop to help out if needed&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1025s 17:05]&#039;&#039;&#039; Using hot air gun to warm the board and position the chip&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1174s 19:34]&#039;&#039;&#039; &amp;lt;del&amp;gt;Soldering NCV8402s&amp;lt;/del&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1408s 23:28]&#039;&#039;&#039; Clean soldering with IPA Solvent&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1480s 24:40]&#039;&#039;&#039; First power up test using bench power supply to limit current to a few hundred mA&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1607s 26:47]&#039;&#039;&#039; 60mA current draw with no wifi board&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1655s 27:35]&#039;&#039;&#039; Wifi module&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1790s 29:50]&#039;&#039;&#039; Power up test with wifi draws 90mA&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1825s 30:25]&#039;&#039;&#039; Enclosure kit(s)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=2162s 36:02]&#039;&#039;&#039; Soldering the PCB header (56 pin)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=2668s 44:28]&#039;&#039;&#039; Installing in the enclosure&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=3030s 50:30]&#039;&#039;&#039; Cameo appearance by Gome cat&amp;lt;br/&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====ZombieVerter VCU V1 Build Part 2====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ ZombieVerter VCU V1 Build Part 2&lt;br /&gt;
|-&lt;br /&gt;
! Video !! Highlights&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;youtube&amp;gt;https://youtu.be/MUhs9j9R9Mg&amp;lt;/youtube&amp;gt; &lt;br /&gt;
&#039;&#039;&#039;00:34&#039;&#039;&#039; Health warning and suggestion to go watch cat videos instead&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=102s 01:42]&#039;&#039;&#039; Intro&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=200s 03:20]&#039;&#039;&#039; Pinouts of the 56 pin connector&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=256s 04:16]&#039;&#039;&#039; Pins 55,56 - Ground and +12V&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=289s 04:49]&#039;&#039;&#039; Pins 53,54 - Reverse and Forward Direction. Apply +12V to the pin for the direction needed.&amp;lt;br/&amp;gt;Configurable in the web interface to flip these since direction is relative&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=452s 07:32]&#039;&#039;&#039; Pins 52 - Start. Momentarily apply +12V to send a start signal&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=495s 08:15]&#039;&#039;&#039; Pin 51 - HV Request. Apply +12v to precharge and bring up the high voltage system&amp;lt;br/&amp;gt; (and not the drive components)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=545s 09:05]&#039;&#039;&#039; Pin 50 - General Purpose 12V Input. Reserved for future use&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=563s 09:23]&#039;&#039;&#039; Pin 49 - Brake Input. Connect to brake light switch to apply +12V signaling brakes are applied&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=615s 10:15]&#039;&#039;&#039; Pins 45,46,47,48 - Throttle. +5V power, ground, and 1 or 2 hall effect sensor inputs&amp;lt;br/&amp;gt;&lt;br /&gt;
||&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=660s 11:00]&#039;&#039;&#039; Pins 25,26,27,28 - 3 CAN bus interfaces. CAN EXT is for vehicle/body communication,&amp;lt;br/&amp;gt; CAN EXT 2 for the ISA shunt comms,&amp;lt;br/&amp;gt; CAN EXT 3 (with solderable jumpers to change modes) is for general purpose like charger, heater control&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=885s 14:45]&#039;&#039;&#039; Pin 24 - Local Interface Network (LIN)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=956s 15:56]&#039;&#039;&#039; Pins 16,17,18,19,20,21,22,23 - Toyota Hybrid Inverter specific using async serial comms.&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1041s 17:21]&#039;&#039;&#039; Pin 15 - Ignition T15 In. Apply +12V to turn Ignition on. Puts VCU in run mode&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1134s 18:54]&#039;&#039;&#039; Pins 37,38,39,40,41,42 - Toyota Hybrid Transmission shift control&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1182s 19:42]&#039;&#039;&#039; Pins 35,36 - POT1 &amp;amp; POT2. Digital potentiometer outputs to drive analog gauges (fuel, etc)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1270s 21:10]&#039;&#039;&#039; Pins 32,33,34 - Low Side (LS) switches for Inverter Power, Positive side Main Contactor, Precharge Contactor&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1401s 23:21]&#039;&#039;&#039; Pin 31 - General Purpose +12V Output. LS switch for Negative side Main Contactor&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1441s 24:01]&#039;&#039;&#039; Pins 12,13,14,29,30 - Toyota Hybrid System controls&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1524s 25:24]&#039;&#039;&#039; Pins 10,11 - Digital to Analog Converter (DAC) 1 &amp;amp; 2. Reserved for future use - additional analog instruments etc.&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1593s 26:33]&#039;&#039;&#039; Pins 8,9 - 0-5V Analog Inputs 1 &amp;amp; 2. Reserved for future use (ie not implemented yet)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1626s 27:06]&#039;&#039;&#039; Pins 5,6,7 - Pulse Width Modulation (PWM) 1-3 +12V output signals. Reserved for future use (ie not implemented yet)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1676s 27:56]&#039;&#039;&#039; Pins 3,4 - General Purpose +12V Outputs 2 &amp;amp; 3. Reserved for future use (ie not implemented yet)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1709s 28:29]&#039;&#039;&#039; Pins 1,2 - RS232 Rx/Tx Serial connection for alternation VCU communication (solder jumper configurable). Reserved for future expansion&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1811s 30:11]&#039;&#039;&#039; CAN bus connected Isabellenhutte Huesler Shunt&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=2325s 38:45]&#039;&#039;&#039; Web Interface&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=2650s 44:10]&#039;&#039;&#039; How to perform a software update via the web interface using a precompiled binary&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=2852s 47:32]&#039;&#039;&#039; UI Features - Commands&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=3170s 52:50]&#039;&#039;&#039; UI Features - Update&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=3210s 53:30]&#039;&#039;&#039; UI Features - Parameters&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=4290s 1:11:32]&#039;&#039;&#039; UI Features - Spot Values&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=4914s 1:21:54]&#039;&#039;&#039; Epilogue &amp;lt;br/&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====ZombieVerter VCU V1 Part 3====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ ZombieVerter VCU V1 Part 3&lt;br /&gt;
|-&lt;br /&gt;
! Video !! Highlights&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;youtube&amp;gt;https://youtu.be/oPb4vMO17B4&amp;lt;/youtube&amp;gt; ||&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=38s 00:38]&#039;&#039;&#039; Intro/Recap of part 2&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=64s 01:04]&#039;&#039;&#039; Description of 2018 Nissan Leaf components used in the video&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=227s 03:47]&#039;&#039;&#039; VCU, wiring harness, 12V battery, ISA shunt, contactors&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=426s 07:06]&#039;&#039;&#039; 12V battery - negative to chassis ground with fuse, and ground to VCU pin 55&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=472s 07:52]&#039;&#039;&#039; 12V battery - positive to PDM positive terminal and distribution block&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=522s 08:42]&#039;&#039;&#039; 12V battery - permanent fused +12v from PDM positive terminal to inverter and PDM&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=554s 09:14]&#039;&#039;&#039; 12V battery - permanent fused +12v to vcu, relay controlled by VCU for switched +12v to inverter and PDM&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=641s 10:41]&#039;&#039;&#039; 12V battery - permanent fused +12v to contactor coil positives&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=657s 10:57]&#039;&#039;&#039; 12V battery - permanent fused +12v to switch to provide tings like T15 on signal to VCU&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=762s 12:42]&#039;&#039;&#039; Other end of permanent 12v feed to inverter and PDM connections&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=803s 13:23]&#039;&#039;&#039; Other end of switched +12v feed to inverter and PDM connections&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=816s 13:36]&#039;&#039;&#039; Other end of switched 12v ground connection&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=838s 13:52]&#039;&#039;&#039; Twisted pair wires from EV CAN CAN EXT 2 High (pin 28) and CAN EXT 2 Low (pin 27) to inverter&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=946s 15:46]&#039;&#039;&#039; To use the PDM for charging, wire control pilot (CP) and plug present (PP) from PDM to charge socket&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=989s 16:29]&#039;&#039;&#039; High voltage setup and controlling it with the VCU&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1028s 17:08]&#039;&#039;&#039; Positive and precharge contactors (only 2 for the test rig - usually would have a negative contactor as well)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1060s 17:40]&#039;&#039;&#039; High voltage positive and negative junction. The ISA shunt connected between negative and PDM to distribute high voltage negative to the components&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1093s 18:13]&#039;&#039;&#039; V1 ISA shunt connection to PDM after the contactors/precharge system to monitor high voltage applied to the drivetrain&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1131s 18:51]&#039;&#039;&#039; Contactor control via VCU&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Will complete soon&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&#039;&#039;&#039;Pin Out Diagram&#039;&#039;&#039;[[File:ZombieVerter VCU V1 cable side pinout.jpg|thumb|alt=|VCU pinout diagram |none]]&lt;br /&gt;
[[File:Zomb-con-et.png|none|thumb|List of connections to system components (GS450 application)]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Further information for a GS450 system can be found here: [[Lexus GS450h Inverter]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note&#039;&#039;&#039;: In the software port 0 = EXT2 and port 1 = EXT&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Initial start-up and testing (Instructions for GS450H application) ==&lt;br /&gt;
The VCU is configured by connecting to its wifi access point.  For existing units this is something like SSID: ESP-03xxxx, no password.  For future units (shipped after 20/10/21) this will be SSID: inverter (or zom_vcu) PASSWORD: inverter123&lt;br /&gt;
&lt;br /&gt;
Then navigate to 192.168.4.1 to see the huebner inverter dashboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Get familiar with the interface and check that all of the parameters make sense. If in doubt, make sure the default value is set.  At each stage the current state of the system and any error can be seen on the interface, for example &#039;&#039;&#039;opmode&#039;&#039;&#039; and &#039;&#039;&#039;lasterr&#039;&#039;&#039;. Press refresh at the top of the screen to update the values.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will need the HV supply connected, which can be a lower voltage (50-100V), current limited power supply for test purposes.  Set &#039;&#039;&#039;udcmin&#039;&#039;&#039; to some value below that (e.g. 50V for a 100V supply) and &#039;&#039;&#039;udcsw&#039;&#039;&#039; to 10V lower than the supply.&lt;br /&gt;
&lt;br /&gt;
* Apply the &#039;&#039;&#039;Ignition T15 in&#039;&#039;&#039; 12V signal.  The relay supplying 12V to the inverter should now be on.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Check the accelerator by applying it gradually and watching / refreshing the interface. You should see values at &#039;&#039;&#039;pot&#039;&#039;&#039; change as the pedal is pressed.  &#039;&#039;&#039;potmin&#039;&#039;&#039; should be set just above where your off-throttle position is, and &#039;&#039;&#039;potmax&#039;&#039;&#039; just below the value seen at maximum travel. Same for &#039;&#039;&#039;pot2min&#039;&#039;&#039; and &#039;&#039;&#039;pot2max&#039;&#039;&#039;, if they are electrically connected. The resulting value as a 0-100 value can be seen at &#039;&#039;&#039;potnom&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If it does not show up, check for errors and check that throtmax is not set to zero!  Check that tmpm is less than tmpmmax, as it can derate the potnom value down as far as zero!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Apply the &#039;&#039;&#039;Start&#039;&#039;&#039; 12V signal for a short time.  The pre-charge relay should turn on, and the voltage available at the inverter and the U1 input of the ISA shunt should quickly rise. If the &#039;&#039;&#039;udc&#039;&#039;&#039; reading goes above &#039;&#039;&#039;udcsw&#039;&#039;&#039; within 5 seconds then the main contactor(s) should close. If all is well, &#039;&#039;&#039;invstat&#039;&#039;&#039; should now be &amp;quot;on&amp;quot;, &#039;&#039;&#039;opmode&#039;&#039;&#039; should be &amp;quot;run&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you do not see a good value at udc, it may be that your external shunt is not connected properly or is not initialised.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you do not see a good value at Invudc, it may be that the inverter is not powered, or the communication signals are not correctly wired.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;if the status stays at &amp;quot;PRECHARGE&amp;quot; then you possibly didn&#039;t hold the start signal on for long enough!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Once the contactors are on, select forwards direction.  For example if &#039;&#039;&#039;dirmode&#039;&#039;&#039; is set to &amp;quot;Switch&amp;quot; then a 12V signal applied to the Forward input will work.&lt;br /&gt;
&lt;br /&gt;
* Carefully apply the accelerator and the motor should begin to turn. Do not spin the motor up to any speed if you are using a test power supply.&lt;br /&gt;
&lt;br /&gt;
== Software==&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/Stm32-vcu &#039;&#039;&#039;Github for the project:&#039;&#039;&#039; https://github.com/damienmaguire/Stm32-vcu]&lt;br /&gt;
&lt;br /&gt;
Various binaries can be found in the support thread, for example https://openinverter.org/forum/viewtopic.php?p=33379#p33379&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;GD variant:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Status as of November 20 2021&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Early boards fitted with the GigaDevices  &#039;&#039;&#039;GD32F107&#039;&#039;&#039; aka &amp;quot;GD chip&amp;quot; require different firmware routines than &#039;&#039;&#039;STM32F107&#039;&#039;&#039; equipped boards.  See this [https://openinverter.org/forum/viewtopic.php?p=33758#p33758 Zombieverter VCU Support Thread forum post]&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;The GigaDevices `[https://www.gigadevice.com/products/microcontrollers/gd32/arm-cortex-m3/connectivity-line/gd32f107-series/ GD32F107] was chosen as an alternative to the ST equivalent due to microchip shortages during the COVID-19 pandemic.  A specific branch of firmware code for the GD32F107 variant is found here:  https://github.com/damienmaguire/Stm32-vcu/tree/GD_Zombie  However development of this variant was abandoned shortly after it&#039;s release.&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;As of this writing , The [https://github.com/damienmaguire/Stm32-vcu/tree/GD_Zombie GD_Zombie] branch has fallen behind and substantially diverged from the primary code base. It has been suggested that work needs to be done to make the present firmware chip agnostic via detection routines.  See this [https://openinverter.org/forum/viewtopic.php?p=34220#p34220 Zombieverter Development Thread forum post]. As of this writing that work has yet to be undertaken and remains to be organized and completed.  And issue has be devoted to tracking this progress here: [https://github.com/damienmaguire/Stm32-vcu/issues/21 Issue #21]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Here is a link to a post with a pre compiled bin and hex for the GD_Zombie created by Damien on the 23/11/21;  [https://openinverter.org/forum/viewtopic.php?p=34264#p34264 ZombieVerter VCU Support - Page 9 - openinverter forum] This is based on the 16/6/21 code it is &amp;lt;u&amp;gt;&#039;&#039;&#039;not&#039;&#039;&#039;&amp;lt;/u&amp;gt; an update. Ensure you rename the binaries to stm32_vcu.xxx to ensure no wifi issues.&lt;br /&gt;
 &lt;br /&gt;
&#039;&#039;UPDATE November 23 2021&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Updated information about the necessary edits to make to the STM32 based firmware have been posted in a [https://openinverter.org/forum/viewtopic.php?p=34264#p34264 forum post here.]  In order to get the firmware to compile and run on the &#039;&#039;&#039;GD32F107&#039;&#039;&#039;  you must make the following changes:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;In the file &amp;quot;&#039;&#039;&#039;anain.cpp&#039;&#039;&#039;&amp;quot; @ line 68:&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;68 - // adc_start_conversion_regular(ADC1);  // Comment out for GD MCU&amp;lt;/code&amp;gt;In the file&#039;&#039; &#039;&#039;&amp;quot;&#039;&#039;&#039;stm32_can.cpp&#039;&#039;&#039;&amp;quot; @ starting at line 305 modify as follows :&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;305 - gpio_set_mode(GPIO_BANK_CAN2_RE_RX, GPIO_MODE_INPUT, GPIO_CNF_INPUT_PULL_UPDOWN, GPIO_CAN2_RE_RX);&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;306 - gpio_set(GPIO_BANK_CAN2_RE_RX, GPIO_CAN2_RE_RX);&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;307 - // Configure CAN pin: TX.-&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;308 - gpio_set_mode(GPIO_BANK_CAN2_RE_TX, GPIO_MODE_OUTPUT_50_MHZ, GPIO_CNF_OUTPUT_ALTFN_PUSHPULL, GPIO_CAN2_RE_TX);&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you properly clone the repository with &#039;&#039;&#039;git&#039;&#039;&#039; on the command line that looks like this;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;git clone --recurse-submodules git@github.com:damienmaguire/Stm32-vcu.git&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
That recursively pulls in copies of &#039;&#039;&#039;&#039;&#039;libopeninv&#039;&#039;&#039;&#039;&#039;, etc and tracks them...   Hence your file-path should look like &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;./Stm32-vcu/libopeninv/src/&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
within the &#039;&#039;&#039;&#039;&#039;libopeninv&#039;&#039;&#039;&#039;&#039; src (source) directory you will find &#039;&#039;&#039;&#039;&#039;anain.cpp&#039;&#039;&#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;stm32_can.cpp&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Make the above changes to these files for the &#039;&#039;&#039;GigaDevices GD32F107&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
== Software update ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As supplied, both the ESP32 (the wifi plug-in board) and the STM32 (main MPU) are pre-loaded.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;UART Update&amp;quot; field on the GUI can be given a &#039;&#039;&#039;stm32_vcu.bin&#039;&#039;&#039; file to update the firmware.   Note that at this time, loading via Windows 10 is suspect and may lock you out of the board. Ubuntu works best.&lt;br /&gt;
&lt;br /&gt;
If you are unable to build your own, use the [https://openinverter.org/forum/download/file.php?id=11673 stm32_vcu.bin] that Damien posted on 10/30/2021 in the [https://openinverter.org/forum/viewtopic.php?p=33379#p33379 ZombieVerter VCU Support thread].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By using the ST-Link V2 in-circuit loader, &#039;&#039;&#039;.hex&#039;&#039;&#039; files can be sent to the board to initialize a fresh STM32 MCU, or if it can&#039;t be loaded via the bootloader.&lt;br /&gt;
&lt;br /&gt;
If you are unable to build your own, use the [https://openinverter.org/forum/download/file.php?id=11674 stm32_vcu.hex] that Damien posted on 10/30/2021 in the [https://openinverter.org/forum/viewtopic.php?p=33379#p33379 ZombieVerter VCU Support thread].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The connections needed to use the ST-Link loader are shown below:&lt;br /&gt;
[[File:0B35D4F9-BA64-46E7-A570-A0CE1D619D63.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
=== Initializing an ISA Shunt ===&lt;br /&gt;
Under Comms in the web interface, there is now an ISAMode option. By default its in &amp;quot;Normal&amp;quot;. If you want to initialize a new shunt, connect it up, power on the shunt and vcu, select &amp;quot;Init&amp;quot;, hit save parameters to flash. Power cycle the vcu and shunt at same time (they should be on same 12v feed anyway). The shunt will initialize. Select ISAMode &amp;quot;normal&amp;quot;, save to flash again and reboot again. The shunt should now be up and running.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Supported OEM Hardware==&lt;br /&gt;
&lt;br /&gt;
*Nissan Leaf Gen1/2/3 Inverter/ motor&lt;br /&gt;
*nissan leaf gen 2 drive stack (inverter, dcdc, charger) gen 3 coming soon&lt;br /&gt;
&lt;br /&gt;
*[[Lexus GS450h Inverter|Lexus GS450H inverter / gearbox via sync serial]]&lt;br /&gt;
* Toyota Prius/Yaris/Auris Gen 3 inverters via sync serial&lt;br /&gt;
* chevy volt HV water heater&lt;br /&gt;
*BMW E46 CAN support&lt;br /&gt;
*BMW E39 CAN support&lt;br /&gt;
*BMW E65 CAN Support&lt;br /&gt;
*CCS DC Fast Charge via BMW i3 LIM&lt;/div&gt;</summary>
		<author><name>Cgalpin</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=2020</id>
		<title>ZombieVerter VCU</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=2020"/>
		<updated>2021-12-15T22:52:48Z</updated>

		<summary type="html">&lt;p&gt;Cgalpin: /* ZombieVerter VCU V1 Build Part 2 */ reformat to take less vertical space&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;big&amp;gt;Now available for general sale [https://www.evbmw.com/index.php/evbmw-webshop/vcu-boards here].&amp;lt;/big&amp;gt;&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Development continues&#039;&#039;&#039; and you can&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?f=3&amp;amp;t=1277 follow and contribute along with the development here on the forum]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?f=3&amp;amp;t=1696 &#039;&#039;&#039;Support&#039;&#039;&#039; is available via a separate thread on the forum]&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
Rather than crack open inverters and swap components about to drive them, what if we simply send them the messages they&#039;re expecting? This has been the case with a couple of existing designs (Nissan leaf inverter and GS450H) and thanks to the SAM3X8E microcontroller no longer being stocked by JLCPCB this project looks to take it further.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So rather than driving an inverter powerstage this version sends CAN for the Leaf inverter or Sync serial for the GS450H and of course can be expanded to any number of others. This will be the default firmware for all vcu products from now on and future hardware will support future fun packed stuff like FLEXRAY!!!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&#039;s basically an &amp;lt;s&amp;gt;rip off&amp;lt;/s&amp;gt; homage and builds on other people&#039;s hard work in the shape of the following projects&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/jsphuebner/stm32-car STM32-CAR project] &lt;br /&gt;
* [https://github.com/jsphuebner/stm32-sine Openinverter]&lt;br /&gt;
* [https://github.com/Isaac96/SimpleISA ISA library]&lt;br /&gt;
* Leaf inverter driver by Celeron55&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
What we have as of now is the openinverter wrapper with things like :&lt;br /&gt;
&lt;br /&gt;
* Throttle cal and mapping,&lt;br /&gt;
* Precharge and contactor control,&lt;br /&gt;
* Temp derating,&lt;br /&gt;
* BMS limits,&lt;br /&gt;
* for/rev/neutral control,&lt;br /&gt;
* Graphing and monitoring,&lt;br /&gt;
* Firmware updates via the web interface,&lt;br /&gt;
* Cruise control,&lt;br /&gt;
* Fuel gauge driver,&lt;br /&gt;
* etc &lt;br /&gt;
&lt;br /&gt;
==Hardware==&lt;br /&gt;
So you&#039;ve ordered your kit, first things first, watch the following two videos to assemble it. &lt;br /&gt;
&lt;br /&gt;
Due to chip shortages (written summer 2021) the board isn&#039;t fully assembled so you will need to do some soldering, or take it to a local phone repair shop (or similar) who&#039;ll find soldering at this scale like playing with Duplo (Legos to you Yanks).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The current list of parts to be fitted:&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
CONN1&lt;br /&gt;
IC10 = MCP25625T&lt;br /&gt;
IC14 = TJA1020 OR MCP2004 &lt;br /&gt;
IC19 = NCV7356&lt;br /&gt;
IC20 = TJA1055T&lt;br /&gt;
IC21, 22 = AD5160&lt;br /&gt;
IC27, 28, 29 = FAN3122&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And the positions on the V1 board.&lt;br /&gt;
[[File:Zombv1boardb.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===The enclosure kit links===&lt;br /&gt;
&lt;br /&gt;
You only need one, but below are two options - one with just the connector, and the other prewired with 3M long leads.&lt;br /&gt;
&lt;br /&gt;
::Enclosure Kit with Header, connector and pins :&lt;br /&gt;
&lt;br /&gt;
::::https://www.aliexpress.com/item/32857771975.html?spm=a2g0s.9042311.0.0.39f24c4dWOmGPE&lt;br /&gt;
&lt;br /&gt;
::Prewired connector with 3M leads (limited colors which will not match standard wire colouring conventions) :&lt;br /&gt;
&lt;br /&gt;
::::https://www.aliexpress.com/item/4001213569338.html?spm=a2g0o.cart.0.0.366c3c00qhBvGO&amp;amp;mp=1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The kits do not come with M3 screws needed to secure the board to the enclosure (2 need to be slightly longer), and to secure the lid. Nor a gasket for the lid.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note that in addition to the VCU, the inverter and transmission, you will require a specific CANBUS connected shunt&#039;&#039;&#039;: [[Isabellenhütte Heusler]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Build and Configuration Videos===&lt;br /&gt;
====ZombieVerter VCU V1 Build Part 1====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ ZombieVerter VCU V1 Build Part 1&lt;br /&gt;
|-&lt;br /&gt;
! Video !! Highlights&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;youtube&amp;gt;https://www.youtube.com/watch?v=geZuIbGHh30&amp;lt;/youtube&amp;gt; &lt;br /&gt;
&#039;&#039;&#039;00:33&#039;&#039;&#039; Warning and suggestion to go watch cat videos instead&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=66s 01:06]&#039;&#039;&#039; Recap about the ZombieVerter VCU Build Part 1&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=184s 03:04]&#039;&#039;&#039; How to get one&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=215s 03:35]&#039;&#039;&#039; Design files currently require E10 Patreon membership/contribution if wanting to build your own&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=268s 04:28]&#039;&#039;&#039; Components still requiring soldering&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=303s 05:03]&#039;&#039;&#039; IC19 - 8 pin SOIC for single wire CAN (NCV7356)&amp;lt;br/&amp;gt;&lt;br /&gt;
||&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=360s 06:00]&#039;&#039;&#039; IC10 - SPI CAN controller and transceiver (MCP25625T)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=390s 06:30]&#039;&#039;&#039; &amp;lt;del&amp;gt;IC1,3,5,6,7,24,25,26  load driver mosfets (NCV8402)&amp;lt;/del&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=440s 07:20]&#039;&#039;&#039; Do you need these components?&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=520s 08:40]&#039;&#039;&#039; Soldering begins - IC19&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=550s 09:10]&#039;&#039;&#039; Soldering iron for SOIC parts&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=567s 09:27]&#039;&#039;&#039; Applying flux using Damien&#039;s favorite Flux, UV80&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=634s 10:34]&#039;&#039;&#039; Magnifier headset&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=807s 13:27]&#039;&#039;&#039; Soldering MCP25625&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=955s 15:55]&#039;&#039;&#039; Suggests getting an phone/computer repair shop to help out if needed&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1025s 17:05]&#039;&#039;&#039; Using hot air gun to warm the board and position the chip&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1174s 19:34]&#039;&#039;&#039; &amp;lt;del&amp;gt;Soldering NCV8402s&amp;lt;/del&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1408s 23:28]&#039;&#039;&#039; Clean soldering with IPA Solvent&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1480s 24:40]&#039;&#039;&#039; First power up test using bench power supply to limit current to a few hundred mA&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1607s 26:47]&#039;&#039;&#039; 60mA current draw with no wifi board&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1655s 27:35]&#039;&#039;&#039; Wifi module&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1790s 29:50]&#039;&#039;&#039; Power up test with wifi draws 90mA&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1825s 30:25]&#039;&#039;&#039; Enclosure kit(s)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=2162s 36:02]&#039;&#039;&#039; Soldering the PCB header (56 pin)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=2668s 44:28]&#039;&#039;&#039; Installing in the enclosure&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=3030s 50:30]&#039;&#039;&#039; Cameo appearance by Gome cat&amp;lt;br/&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====ZombieVerter VCU V1 Build Part 2====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ ZombieVerter VCU V1 Build Part 2&lt;br /&gt;
|-&lt;br /&gt;
! Video !! Highlights&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;youtube&amp;gt;https://youtu.be/MUhs9j9R9Mg&amp;lt;/youtube&amp;gt; &lt;br /&gt;
&#039;&#039;&#039;00:34&#039;&#039;&#039; Health warning and suggestion to go watch cat videos instead&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=102s 01:42]&#039;&#039;&#039; Intro&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=200s 03:20]&#039;&#039;&#039; Pinouts of the 56 pin connector&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=256s 04:16]&#039;&#039;&#039; Pins 55,56 - Ground and +12V&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=289s 04:49]&#039;&#039;&#039; Pins 53,54 - Reverse and Forward Direction. Apply +12V to the pin for the direction needed.&amp;lt;br/&amp;gt;Configurable in the web interface to flip these since direction is relative&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=452s 07:32]&#039;&#039;&#039; Pins 52 - Start. Momentarily apply +12V to send a start signal&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=495s 08:15]&#039;&#039;&#039; Pin 51 - HV Request. Apply +12v to precharge and bring up the high voltage system&amp;lt;br/&amp;gt; (and not the drive components)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=545s 09:05]&#039;&#039;&#039; Pin 50 - General Purpose 12V Input. Reserved for future use&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=563s 09:23]&#039;&#039;&#039; Pin 49 - Brake Input. Connect to brake light switch to apply +12V signaling brakes are applied&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=615s 10:15]&#039;&#039;&#039; Pins 45,46,47,48 - Throttle. +5V power, ground, and 1 or 2 hall effect sensor inputs&amp;lt;br/&amp;gt;&lt;br /&gt;
||&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=660s 11:00]&#039;&#039;&#039; Pins 25,26,27,28 - 3 CAN bus interfaces. CAN EXT is for vehicle/body communication,&amp;lt;br/&amp;gt; CAN EXT 2 for the ISA shunt comms,&amp;lt;br/&amp;gt; CAN EXT 3 (with solderable jumpers to change modes) is for general purpose like charger, heater control&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=885s 14:45]&#039;&#039;&#039; Pin 24 - Local Interface Network (LIN)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=956s 15:56]&#039;&#039;&#039; Pins 16,17,18,19,20,21,22,23 - Toyota Hybrid Inverter specific using async serial comms.&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1041s 17:21]&#039;&#039;&#039; Pin 15 - Ignition T15 In. Apply +12V to turn Ignition on. Puts VCU in run mode&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1134s 18:54]&#039;&#039;&#039; Pins 37,38,39,40,41,42 - Toyota Hybrid Transmission shift control&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1182s 19:42]&#039;&#039;&#039; Pins 35,36 - POT1 &amp;amp; POT2. Digital potentiometer outputs to drive analog gauges (fuel, etc)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1270s 21:10]&#039;&#039;&#039; Pins 32,33,34 - Low Side (LS) switches for Inverter Power, Positive side Main Contactor, Precharge Contactor&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1401s 23:21]&#039;&#039;&#039; Pin 31 - General Purpose +12V Output. LS switch for Negative side Main Contactor&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1441s 24:01]&#039;&#039;&#039; Pins 12,13,14,29,30 - Toyota Hybrid System controls&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1524s 25:24]&#039;&#039;&#039; Pins 10,11 - Digital to Analog Converter (DAC) 1 &amp;amp; 2. Reserved for future use - additional analog instruments etc.&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1593s 26:33]&#039;&#039;&#039; Pins 8,9 - 0-5V Analog Inputs 1 &amp;amp; 2. Reserved for future use (ie not implemented yet)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1626s 27:06]&#039;&#039;&#039; Pins 5,6,7 - Pulse Width Modulation (PWM) 1-3 +12V output signals. Reserved for future use (ie not implemented yet)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1676s 27:56]&#039;&#039;&#039; Pins 3,4 - General Purpose +12V Outputs 2 &amp;amp; 3. Reserved for future use (ie not implemented yet)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1709s 28:29]&#039;&#039;&#039; Pins 1,2 - RS232 Rx/Tx Serial connection for alternation VCU communication (solder jumper configurable). Reserved for future expansion&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1811s 30:11]&#039;&#039;&#039; CAN bus connected Isabellenhutte Huesler Shunt&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=2325s 38:45]&#039;&#039;&#039; Web Interface&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=2650s 44:10]&#039;&#039;&#039; How to perform a software update via the web interface using a precompiled binary&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=2852s 47:32]&#039;&#039;&#039; UI Features - Commands&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=3170s 52:50]&#039;&#039;&#039; UI Features - Update&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=3210s 53:30]&#039;&#039;&#039; UI Features - Parameters&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=4290s 1:11:32]&#039;&#039;&#039; UI Features - Spot Values&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=4914s 1:21:54]&#039;&#039;&#039; Epilogue &amp;lt;br/&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====ZombieVerter VCU V1 Part 3====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ ZombieVerter VCU V1 Part 3&lt;br /&gt;
|-&lt;br /&gt;
! Video !! Highlights&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;youtube&amp;gt;https://youtu.be/oPb4vMO17B4&amp;lt;/youtube&amp;gt; ||&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=38s 00:38]&#039;&#039;&#039; Intro/Recap of part 2&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=64s 01:04]&#039;&#039;&#039; Description of 2018 Nissan Leaf components used in the video&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=227s 03:47]&#039;&#039;&#039; VCU, wiring harness, 12V battery, ISA shunt, contactors&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=426s 07:06]&#039;&#039;&#039; 12V battery - negative to chassis ground with fuse, and ground to VCU pin 55&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=472s 07:52]&#039;&#039;&#039; 12V battery - positive to PDM positive terminal and distribution block&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=522s 08:42]&#039;&#039;&#039; 12V battery - permanent fused +12v from PDM positive terminal to inverter and PDM&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=554s 09:14]&#039;&#039;&#039; 12V battery - permanent fused +12v to vcu, relay controlled by VCU for switched +12v to inverter and PDM&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=641s 10:41]&#039;&#039;&#039; 12V battery - permanent fused +12v to contactor coil positives&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=657s 10:57]&#039;&#039;&#039; 12V battery - permanent fused +12v to switch to provide tings like T15 on signal to VCU&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=762s 12:42]&#039;&#039;&#039; Other end of permanent 12v feed to inverter and PDM connections&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=803s 13:23]&#039;&#039;&#039; Other end of switched +12v feed to inverter and PDM connections&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=816s 13:36]&#039;&#039;&#039; Other end of switched 12v ground connection&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=838s 13:52]&#039;&#039;&#039; Twisted pair wires from EV CAN CAN EXT 2 High (pin 28) and CAN EXT 2 Low (pin 27) to inverter&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=946s 15:46]&#039;&#039;&#039; To use the PDM for charging, wire control pilot (CP) and plug present (PP) from PDM to charge socket&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=989s 16:29]&#039;&#039;&#039; High voltage setup and controlling it with the VCU&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1028s 17:08]&#039;&#039;&#039; Positive and precharge contactors (only 2 for the test rig - usually would have a negative contactor as well)&amp;lt;br/&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Will complete soon&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&#039;&#039;&#039;Pin Out Diagram&#039;&#039;&#039;[[File:ZombieVerter VCU V1 cable side pinout.jpg|thumb|alt=|VCU pinout diagram |none]]&lt;br /&gt;
[[File:Zomb-con-et.png|none|thumb|List of connections to system components (GS450 application)]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Further information for a GS450 system can be found here: [[Lexus GS450h Inverter]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note&#039;&#039;&#039;: In the software port 0 = EXT2 and port 1 = EXT&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Initial start-up and testing (Instructions for GS450H application) ==&lt;br /&gt;
The VCU is configured by connecting to its wifi access point.  For existing units this is something like SSID: ESP-03xxxx, no password.  For future units (shipped after 20/10/21) this will be SSID: inverter (or zom_vcu) PASSWORD: inverter123&lt;br /&gt;
&lt;br /&gt;
Then navigate to 192.168.4.1 to see the huebner inverter dashboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Get familiar with the interface and check that all of the parameters make sense. If in doubt, make sure the default value is set.  At each stage the current state of the system and any error can be seen on the interface, for example &#039;&#039;&#039;opmode&#039;&#039;&#039; and &#039;&#039;&#039;lasterr&#039;&#039;&#039;. Press refresh at the top of the screen to update the values.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will need the HV supply connected, which can be a lower voltage (50-100V), current limited power supply for test purposes.  Set &#039;&#039;&#039;udcmin&#039;&#039;&#039; to some value below that (e.g. 50V for a 100V supply) and &#039;&#039;&#039;udcsw&#039;&#039;&#039; to 10V lower than the supply.&lt;br /&gt;
&lt;br /&gt;
* Apply the &#039;&#039;&#039;Ignition T15 in&#039;&#039;&#039; 12V signal.  The relay supplying 12V to the inverter should now be on.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Check the accelerator by applying it gradually and watching / refreshing the interface. You should see values at &#039;&#039;&#039;pot&#039;&#039;&#039; change as the pedal is pressed.  &#039;&#039;&#039;potmin&#039;&#039;&#039; should be set just above where your off-throttle position is, and &#039;&#039;&#039;potmax&#039;&#039;&#039; just below the value seen at maximum travel. Same for &#039;&#039;&#039;pot2min&#039;&#039;&#039; and &#039;&#039;&#039;pot2max&#039;&#039;&#039;, if they are electrically connected. The resulting value as a 0-100 value can be seen at &#039;&#039;&#039;potnom&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If it does not show up, check for errors and check that throtmax is not set to zero!  Check that tmpm is less than tmpmmax, as it can derate the potnom value down as far as zero!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Apply the &#039;&#039;&#039;Start&#039;&#039;&#039; 12V signal for a short time.  The pre-charge relay should turn on, and the voltage available at the inverter and the U1 input of the ISA shunt should quickly rise. If the &#039;&#039;&#039;udc&#039;&#039;&#039; reading goes above &#039;&#039;&#039;udcsw&#039;&#039;&#039; within 5 seconds then the main contactor(s) should close. If all is well, &#039;&#039;&#039;invstat&#039;&#039;&#039; should now be &amp;quot;on&amp;quot;, &#039;&#039;&#039;opmode&#039;&#039;&#039; should be &amp;quot;run&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you do not see a good value at udc, it may be that your external shunt is not connected properly or is not initialised.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you do not see a good value at Invudc, it may be that the inverter is not powered, or the communication signals are not correctly wired.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;if the status stays at &amp;quot;PRECHARGE&amp;quot; then you possibly didn&#039;t hold the start signal on for long enough!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Once the contactors are on, select forwards direction.  For example if &#039;&#039;&#039;dirmode&#039;&#039;&#039; is set to &amp;quot;Switch&amp;quot; then a 12V signal applied to the Forward input will work.&lt;br /&gt;
&lt;br /&gt;
* Carefully apply the accelerator and the motor should begin to turn. Do not spin the motor up to any speed if you are using a test power supply.&lt;br /&gt;
&lt;br /&gt;
== Software==&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/Stm32-vcu &#039;&#039;&#039;Github for the project:&#039;&#039;&#039; https://github.com/damienmaguire/Stm32-vcu]&lt;br /&gt;
&lt;br /&gt;
Various binaries can be found in the support thread, for example https://openinverter.org/forum/viewtopic.php?p=33379#p33379&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;GD variant:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Status as of November 20 2021&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Early boards fitted with the GigaDevices  &#039;&#039;&#039;GD32F107&#039;&#039;&#039; aka &amp;quot;GD chip&amp;quot; require different firmware routines than &#039;&#039;&#039;STM32F107&#039;&#039;&#039; equipped boards.  See this [https://openinverter.org/forum/viewtopic.php?p=33758#p33758 Zombieverter VCU Support Thread forum post]&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;The GigaDevices `[https://www.gigadevice.com/products/microcontrollers/gd32/arm-cortex-m3/connectivity-line/gd32f107-series/ GD32F107] was chosen as an alternative to the ST equivalent due to microchip shortages during the COVID-19 pandemic.  A specific branch of firmware code for the GD32F107 variant is found here:  https://github.com/damienmaguire/Stm32-vcu/tree/GD_Zombie  However development of this variant was abandoned shortly after it&#039;s release.&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;As of this writing , The [https://github.com/damienmaguire/Stm32-vcu/tree/GD_Zombie GD_Zombie] branch has fallen behind and substantially diverged from the primary code base. It has been suggested that work needs to be done to make the present firmware chip agnostic via detection routines.  See this [https://openinverter.org/forum/viewtopic.php?p=34220#p34220 Zombieverter Development Thread forum post]. As of this writing that work has yet to be undertaken and remains to be organized and completed.  And issue has be devoted to tracking this progress here: [https://github.com/damienmaguire/Stm32-vcu/issues/21 Issue #21]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Here is a link to a post with a pre compiled bin and hex for the GD_Zombie created by Damien on the 23/11/21;  [https://openinverter.org/forum/viewtopic.php?p=34264#p34264 ZombieVerter VCU Support - Page 9 - openinverter forum] This is based on the 16/6/21 code it is &amp;lt;u&amp;gt;&#039;&#039;&#039;not&#039;&#039;&#039;&amp;lt;/u&amp;gt; an update. Ensure you rename the binaries to stm32_vcu.xxx to ensure no wifi issues.&lt;br /&gt;
 &lt;br /&gt;
&#039;&#039;UPDATE November 23 2021&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Updated information about the necessary edits to make to the STM32 based firmware have been posted in a [https://openinverter.org/forum/viewtopic.php?p=34264#p34264 forum post here.]  In order to get the firmware to compile and run on the &#039;&#039;&#039;GD32F107&#039;&#039;&#039;  you must make the following changes:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;In the file &amp;quot;&#039;&#039;&#039;anain.cpp&#039;&#039;&#039;&amp;quot; @ line 68:&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;68 - // adc_start_conversion_regular(ADC1);  // Comment out for GD MCU&amp;lt;/code&amp;gt;In the file&#039;&#039; &#039;&#039;&amp;quot;&#039;&#039;&#039;stm32_can.cpp&#039;&#039;&#039;&amp;quot; @ starting at line 305 modify as follows :&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;305 - gpio_set_mode(GPIO_BANK_CAN2_RE_RX, GPIO_MODE_INPUT, GPIO_CNF_INPUT_PULL_UPDOWN, GPIO_CAN2_RE_RX);&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;306 - gpio_set(GPIO_BANK_CAN2_RE_RX, GPIO_CAN2_RE_RX);&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;307 - // Configure CAN pin: TX.-&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;308 - gpio_set_mode(GPIO_BANK_CAN2_RE_TX, GPIO_MODE_OUTPUT_50_MHZ, GPIO_CNF_OUTPUT_ALTFN_PUSHPULL, GPIO_CAN2_RE_TX);&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you properly clone the repository with &#039;&#039;&#039;git&#039;&#039;&#039; on the command line that looks like this;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;git clone --recurse-submodules git@github.com:damienmaguire/Stm32-vcu.git&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
That recursively pulls in copies of &#039;&#039;&#039;&#039;&#039;libopeninv&#039;&#039;&#039;&#039;&#039;, etc and tracks them...   Hence your file-path should look like &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;./Stm32-vcu/libopeninv/src/&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
within the &#039;&#039;&#039;&#039;&#039;libopeninv&#039;&#039;&#039;&#039;&#039; src (source) directory you will find &#039;&#039;&#039;&#039;&#039;anain.cpp&#039;&#039;&#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;stm32_can.cpp&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Make the above changes to these files for the &#039;&#039;&#039;GigaDevices GD32F107&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
== Software update ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As supplied, both the ESP32 (the wifi plug-in board) and the STM32 (main MPU) are pre-loaded.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;UART Update&amp;quot; field on the GUI can be given a &#039;&#039;&#039;stm32_vcu.bin&#039;&#039;&#039; file to update the firmware.   Note that at this time, loading via Windows 10 is suspect and may lock you out of the board. Ubuntu works best.&lt;br /&gt;
&lt;br /&gt;
If you are unable to build your own, use the [https://openinverter.org/forum/download/file.php?id=11673 stm32_vcu.bin] that Damien posted on 10/30/2021 in the [https://openinverter.org/forum/viewtopic.php?p=33379#p33379 ZombieVerter VCU Support thread].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By using the ST-Link V2 in-circuit loader, &#039;&#039;&#039;.hex&#039;&#039;&#039; files can be sent to the board to initialize a fresh STM32 MCU, or if it can&#039;t be loaded via the bootloader.&lt;br /&gt;
&lt;br /&gt;
If you are unable to build your own, use the [https://openinverter.org/forum/download/file.php?id=11674 stm32_vcu.hex] that Damien posted on 10/30/2021 in the [https://openinverter.org/forum/viewtopic.php?p=33379#p33379 ZombieVerter VCU Support thread].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The connections needed to use the ST-Link loader are shown below:&lt;br /&gt;
[[File:0B35D4F9-BA64-46E7-A570-A0CE1D619D63.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
=== Initializing an ISA Shunt ===&lt;br /&gt;
Under Comms in the web interface, there is now an ISAMode option. By default its in &amp;quot;Normal&amp;quot;. If you want to initialize a new shunt, connect it up, power on the shunt and vcu, select &amp;quot;Init&amp;quot;, hit save parameters to flash. Power cycle the vcu and shunt at same time (they should be on same 12v feed anyway). The shunt will initialize. Select ISAMode &amp;quot;normal&amp;quot;, save to flash again and reboot again. The shunt should now be up and running.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Supported OEM Hardware==&lt;br /&gt;
&lt;br /&gt;
*Nissan Leaf Gen1/2/3 Inverter/ motor&lt;br /&gt;
*nissan leaf gen 2 drive stack (inverter, dcdc, charger) gen 3 coming soon&lt;br /&gt;
&lt;br /&gt;
*[[Lexus GS450h Inverter|Lexus GS450H inverter / gearbox via sync serial]]&lt;br /&gt;
* Toyota Prius/Yaris/Auris Gen 3 inverters via sync serial&lt;br /&gt;
* chevy volt HV water heater&lt;br /&gt;
*BMW E46 CAN support&lt;br /&gt;
*BMW E39 CAN support&lt;br /&gt;
*BMW E65 CAN Support&lt;br /&gt;
*CCS DC Fast Charge via BMW i3 LIM&lt;/div&gt;</summary>
		<author><name>Cgalpin</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=2019</id>
		<title>ZombieVerter VCU</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=2019"/>
		<updated>2021-12-15T22:48:11Z</updated>

		<summary type="html">&lt;p&gt;Cgalpin: reformat to take less vertical space&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;big&amp;gt;Now available for general sale [https://www.evbmw.com/index.php/evbmw-webshop/vcu-boards here].&amp;lt;/big&amp;gt;&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Development continues&#039;&#039;&#039; and you can&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?f=3&amp;amp;t=1277 follow and contribute along with the development here on the forum]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?f=3&amp;amp;t=1696 &#039;&#039;&#039;Support&#039;&#039;&#039; is available via a separate thread on the forum]&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
Rather than crack open inverters and swap components about to drive them, what if we simply send them the messages they&#039;re expecting? This has been the case with a couple of existing designs (Nissan leaf inverter and GS450H) and thanks to the SAM3X8E microcontroller no longer being stocked by JLCPCB this project looks to take it further.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So rather than driving an inverter powerstage this version sends CAN for the Leaf inverter or Sync serial for the GS450H and of course can be expanded to any number of others. This will be the default firmware for all vcu products from now on and future hardware will support future fun packed stuff like FLEXRAY!!!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&#039;s basically an &amp;lt;s&amp;gt;rip off&amp;lt;/s&amp;gt; homage and builds on other people&#039;s hard work in the shape of the following projects&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/jsphuebner/stm32-car STM32-CAR project] &lt;br /&gt;
* [https://github.com/jsphuebner/stm32-sine Openinverter]&lt;br /&gt;
* [https://github.com/Isaac96/SimpleISA ISA library]&lt;br /&gt;
* Leaf inverter driver by Celeron55&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
What we have as of now is the openinverter wrapper with things like :&lt;br /&gt;
&lt;br /&gt;
* Throttle cal and mapping,&lt;br /&gt;
* Precharge and contactor control,&lt;br /&gt;
* Temp derating,&lt;br /&gt;
* BMS limits,&lt;br /&gt;
* for/rev/neutral control,&lt;br /&gt;
* Graphing and monitoring,&lt;br /&gt;
* Firmware updates via the web interface,&lt;br /&gt;
* Cruise control,&lt;br /&gt;
* Fuel gauge driver,&lt;br /&gt;
* etc &lt;br /&gt;
&lt;br /&gt;
==Hardware==&lt;br /&gt;
So you&#039;ve ordered your kit, first things first, watch the following two videos to assemble it. &lt;br /&gt;
&lt;br /&gt;
Due to chip shortages (written summer 2021) the board isn&#039;t fully assembled so you will need to do some soldering, or take it to a local phone repair shop (or similar) who&#039;ll find soldering at this scale like playing with Duplo (Legos to you Yanks).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The current list of parts to be fitted:&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
CONN1&lt;br /&gt;
IC10 = MCP25625T&lt;br /&gt;
IC14 = TJA1020 OR MCP2004 &lt;br /&gt;
IC19 = NCV7356&lt;br /&gt;
IC20 = TJA1055T&lt;br /&gt;
IC21, 22 = AD5160&lt;br /&gt;
IC27, 28, 29 = FAN3122&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And the positions on the V1 board.&lt;br /&gt;
[[File:Zombv1boardb.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===The enclosure kit links===&lt;br /&gt;
&lt;br /&gt;
You only need one, but below are two options - one with just the connector, and the other prewired with 3M long leads.&lt;br /&gt;
&lt;br /&gt;
::Enclosure Kit with Header, connector and pins :&lt;br /&gt;
&lt;br /&gt;
::::https://www.aliexpress.com/item/32857771975.html?spm=a2g0s.9042311.0.0.39f24c4dWOmGPE&lt;br /&gt;
&lt;br /&gt;
::Prewired connector with 3M leads (limited colors which will not match standard wire colouring conventions) :&lt;br /&gt;
&lt;br /&gt;
::::https://www.aliexpress.com/item/4001213569338.html?spm=a2g0o.cart.0.0.366c3c00qhBvGO&amp;amp;mp=1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The kits do not come with M3 screws needed to secure the board to the enclosure (2 need to be slightly longer), and to secure the lid. Nor a gasket for the lid.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note that in addition to the VCU, the inverter and transmission, you will require a specific CANBUS connected shunt&#039;&#039;&#039;: [[Isabellenhütte Heusler]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Build and Configuration Videos===&lt;br /&gt;
====ZombieVerter VCU V1 Build Part 1====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ ZombieVerter VCU V1 Build Part 1&lt;br /&gt;
|-&lt;br /&gt;
! Video !! Highlights&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;youtube&amp;gt;https://www.youtube.com/watch?v=geZuIbGHh30&amp;lt;/youtube&amp;gt; &lt;br /&gt;
&#039;&#039;&#039;00:33&#039;&#039;&#039; Warning and suggestion to go watch cat videos instead&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=66s 01:06]&#039;&#039;&#039; Recap about the ZombieVerter VCU Build Part 1&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=184s 03:04]&#039;&#039;&#039; How to get one&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=215s 03:35]&#039;&#039;&#039; Design files currently require E10 Patreon membership/contribution if wanting to build your own&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=268s 04:28]&#039;&#039;&#039; Components still requiring soldering&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=303s 05:03]&#039;&#039;&#039; IC19 - 8 pin SOIC for single wire CAN (NCV7356)&amp;lt;br/&amp;gt;&lt;br /&gt;
||&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=360s 06:00]&#039;&#039;&#039; IC10 - SPI CAN controller and transceiver (MCP25625T)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=390s 06:30]&#039;&#039;&#039; &amp;lt;del&amp;gt;IC1,3,5,6,7,24,25,26  load driver mosfets (NCV8402)&amp;lt;/del&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=440s 07:20]&#039;&#039;&#039; Do you need these components?&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=520s 08:40]&#039;&#039;&#039; Soldering begins - IC19&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=550s 09:10]&#039;&#039;&#039; Soldering iron for SOIC parts&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=567s 09:27]&#039;&#039;&#039; Applying flux using Damien&#039;s favorite Flux, UV80&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=634s 10:34]&#039;&#039;&#039; Magnifier headset&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=807s 13:27]&#039;&#039;&#039; Soldering MCP25625&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=955s 15:55]&#039;&#039;&#039; Suggests getting an phone/computer repair shop to help out if needed&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1025s 17:05]&#039;&#039;&#039; Using hot air gun to warm the board and position the chip&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1174s 19:34]&#039;&#039;&#039; &amp;lt;del&amp;gt;Soldering NCV8402s&amp;lt;/del&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1408s 23:28]&#039;&#039;&#039; Clean soldering with IPA Solvent&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1480s 24:40]&#039;&#039;&#039; First power up test using bench power supply to limit current to a few hundred mA&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1607s 26:47]&#039;&#039;&#039; 60mA current draw with no wifi board&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1655s 27:35]&#039;&#039;&#039; Wifi module&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1790s 29:50]&#039;&#039;&#039; Power up test with wifi draws 90mA&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1825s 30:25]&#039;&#039;&#039; Enclosure kit(s)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=2162s 36:02]&#039;&#039;&#039; Soldering the PCB header (56 pin)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=2668s 44:28]&#039;&#039;&#039; Installing in the enclosure&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=3030s 50:30]&#039;&#039;&#039; Cameo appearance by Gome cat&amp;lt;br/&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====ZombieVerter VCU V1 Build Part 2====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ ZombieVerter VCU V1 Build Part 2&lt;br /&gt;
|-&lt;br /&gt;
! Video !! Highlights&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;youtube&amp;gt;https://youtu.be/MUhs9j9R9Mg&amp;lt;/youtube&amp;gt; ||&lt;br /&gt;
&#039;&#039;&#039;00:34&#039;&#039;&#039; Health warning and suggestion to go watch cat videos instead&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=102s 01:42]&#039;&#039;&#039; Intro&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=200s 03:20]&#039;&#039;&#039; Pinouts of the 56 pin connector&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=256s 04:16]&#039;&#039;&#039; Pins 55,56 - Ground and +12V&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=289s 04:49]&#039;&#039;&#039; Pins 53,54 - Reverse and Forward Direction. Apply +12V to the pin for the direction needed. Configurable in the web interface to flip these since direction is relative&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=452s 07:32]&#039;&#039;&#039; Pins 52 - Start. Momentarily apply +12V to send a start signal&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=495s 08:15]&#039;&#039;&#039; Pin 51 - HV Request. Apply +12v to precharge and bring up the high voltage system (and not the drive components)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=545s 09:05]&#039;&#039;&#039; Pin 50 - General Purpose 12V Input. Reserved for future use&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=563s 09:23]&#039;&#039;&#039; Pin 49 - Brake Input. Connect to brake light switch to apply +12V signaling brakes are applied&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=615s 10:15]&#039;&#039;&#039; Pins 45,46,47,48 - Throttle. +5V power, ground, and 1 or 2 hall effect sensor inputs&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=660s 11:00]&#039;&#039;&#039; Pins 25,26,27,28 - 3 CAN bus interfaces. CAN EXT is for vehicle/body communication, CAN EXT 2 for the ISA shunt comms, CAN EXT 3 (with solderable jumpers to change modes) is for general purpose like charger, heater control&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=885s 14:45]&#039;&#039;&#039; Pin 24 - Local Interface Network (LIN)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=956s 15:56]&#039;&#039;&#039; Pins 16,17,18,19,20,21,22,23 - Toyota Hybrid Inverter specific using async serial comms.&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1041s 17:21]&#039;&#039;&#039; Pin 15 - Ignition T15 In. Apply +12V to turn Ignition on. Puts VCU in run mode&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1134s 18:54]&#039;&#039;&#039; Pins 37,38,39,40,41,42 - Toyota Hybrid Transmission shift control&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1182s 19:42]&#039;&#039;&#039; Pins 35,36 - POT1 &amp;amp; POT2. Digital potentiometer outputs to drive analog gauges (fuel, etc)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1270s 21:10]&#039;&#039;&#039; Pins 32,33,34 - Low Side (LS) switches for Inverter Power, Positive side Main Contactor, Precharge Contactor&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1401s 23:21]&#039;&#039;&#039; Pin 31 - General Purpose +12V Output. LS switch for Negative side Main Contactor&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1441s 24:01]&#039;&#039;&#039; Pins 12,13,14,29,30 - Toyota Hybrid System controls&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1524s 25:24]&#039;&#039;&#039; Pins 10,11 - Digital to Analog Converter (DAC) 1 &amp;amp; 2. Reserved for future use - additional analog instruments etc.&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1593s 26:33]&#039;&#039;&#039; Pins 8,9 - 0-5V Analog Inputs 1 &amp;amp; 2. Reserved for future use (ie not implemented yet)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1626s 27:06]&#039;&#039;&#039; Pins 5,6,7 - Pulse Width Modulation (PWM) 1-3 +12V output signals. Reserved for future use (ie not implemented yet)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1676s 27:56]&#039;&#039;&#039; Pins 3,4 - General Purpose +12V Outputs 2 &amp;amp; 3. Reserved for future use (ie not implemented yet)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1709s 28:29]&#039;&#039;&#039; Pins 1,2 - RS232 Rx/Tx Serial connection for alternation VCU communication (solder jumper configurable). Reserved for future expansion&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1811s 30:11]&#039;&#039;&#039; CAN bus connected Isabellenhutte Huesler Shunt&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=2325s 38:45]&#039;&#039;&#039; Web Interface&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=2650s 44:10]&#039;&#039;&#039; How to perform a software update via the web interface using a precompiled binary&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=2852s 47:32]&#039;&#039;&#039; UI Features - Commands&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=3170s 52:50]&#039;&#039;&#039; UI Features - Update&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=3210s 53:30]&#039;&#039;&#039; UI Features - Parameters&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=4290s 1:11:32]&#039;&#039;&#039; UI Features - Spot Values&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=4914s 1:21:54]&#039;&#039;&#039; Epilogue &amp;lt;br/&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====ZombieVerter VCU V1 Part 3====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ ZombieVerter VCU V1 Part 3&lt;br /&gt;
|-&lt;br /&gt;
! Video !! Highlights&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;youtube&amp;gt;https://youtu.be/oPb4vMO17B4&amp;lt;/youtube&amp;gt; ||&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=38s 00:38]&#039;&#039;&#039; Intro/Recap of part 2&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=64s 01:04]&#039;&#039;&#039; Description of 2018 Nissan Leaf components used in the video&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=227s 03:47]&#039;&#039;&#039; VCU, wiring harness, 12V battery, ISA shunt, contactors&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=426s 07:06]&#039;&#039;&#039; 12V battery - negative to chassis ground with fuse, and ground to VCU pin 55&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=472s 07:52]&#039;&#039;&#039; 12V battery - positive to PDM positive terminal and distribution block&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=522s 08:42]&#039;&#039;&#039; 12V battery - permanent fused +12v from PDM positive terminal to inverter and PDM&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=554s 09:14]&#039;&#039;&#039; 12V battery - permanent fused +12v to vcu, relay controlled by VCU for switched +12v to inverter and PDM&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=641s 10:41]&#039;&#039;&#039; 12V battery - permanent fused +12v to contactor coil positives&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=657s 10:57]&#039;&#039;&#039; 12V battery - permanent fused +12v to switch to provide tings like T15 on signal to VCU&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=762s 12:42]&#039;&#039;&#039; Other end of permanent 12v feed to inverter and PDM connections&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=803s 13:23]&#039;&#039;&#039; Other end of switched +12v feed to inverter and PDM connections&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=816s 13:36]&#039;&#039;&#039; Other end of switched 12v ground connection&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=838s 13:52]&#039;&#039;&#039; Twisted pair wires from EV CAN CAN EXT 2 High (pin 28) and CAN EXT 2 Low (pin 27) to inverter&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=946s 15:46]&#039;&#039;&#039; To use the PDM for charging, wire control pilot (CP) and plug present (PP) from PDM to charge socket&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=989s 16:29]&#039;&#039;&#039; High voltage setup and controlling it with the VCU&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1028s 17:08]&#039;&#039;&#039; Positive and precharge contactors (only 2 for the test rig - usually would have a negative contactor as well)&amp;lt;br/&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Will complete soon&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&#039;&#039;&#039;Pin Out Diagram&#039;&#039;&#039;[[File:ZombieVerter VCU V1 cable side pinout.jpg|thumb|alt=|VCU pinout diagram |none]]&lt;br /&gt;
[[File:Zomb-con-et.png|none|thumb|List of connections to system components (GS450 application)]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Further information for a GS450 system can be found here: [[Lexus GS450h Inverter]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note&#039;&#039;&#039;: In the software port 0 = EXT2 and port 1 = EXT&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Initial start-up and testing (Instructions for GS450H application) ==&lt;br /&gt;
The VCU is configured by connecting to its wifi access point.  For existing units this is something like SSID: ESP-03xxxx, no password.  For future units (shipped after 20/10/21) this will be SSID: inverter (or zom_vcu) PASSWORD: inverter123&lt;br /&gt;
&lt;br /&gt;
Then navigate to 192.168.4.1 to see the huebner inverter dashboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Get familiar with the interface and check that all of the parameters make sense. If in doubt, make sure the default value is set.  At each stage the current state of the system and any error can be seen on the interface, for example &#039;&#039;&#039;opmode&#039;&#039;&#039; and &#039;&#039;&#039;lasterr&#039;&#039;&#039;. Press refresh at the top of the screen to update the values.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will need the HV supply connected, which can be a lower voltage (50-100V), current limited power supply for test purposes.  Set &#039;&#039;&#039;udcmin&#039;&#039;&#039; to some value below that (e.g. 50V for a 100V supply) and &#039;&#039;&#039;udcsw&#039;&#039;&#039; to 10V lower than the supply.&lt;br /&gt;
&lt;br /&gt;
* Apply the &#039;&#039;&#039;Ignition T15 in&#039;&#039;&#039; 12V signal.  The relay supplying 12V to the inverter should now be on.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Check the accelerator by applying it gradually and watching / refreshing the interface. You should see values at &#039;&#039;&#039;pot&#039;&#039;&#039; change as the pedal is pressed.  &#039;&#039;&#039;potmin&#039;&#039;&#039; should be set just above where your off-throttle position is, and &#039;&#039;&#039;potmax&#039;&#039;&#039; just below the value seen at maximum travel. Same for &#039;&#039;&#039;pot2min&#039;&#039;&#039; and &#039;&#039;&#039;pot2max&#039;&#039;&#039;, if they are electrically connected. The resulting value as a 0-100 value can be seen at &#039;&#039;&#039;potnom&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If it does not show up, check for errors and check that throtmax is not set to zero!  Check that tmpm is less than tmpmmax, as it can derate the potnom value down as far as zero!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Apply the &#039;&#039;&#039;Start&#039;&#039;&#039; 12V signal for a short time.  The pre-charge relay should turn on, and the voltage available at the inverter and the U1 input of the ISA shunt should quickly rise. If the &#039;&#039;&#039;udc&#039;&#039;&#039; reading goes above &#039;&#039;&#039;udcsw&#039;&#039;&#039; within 5 seconds then the main contactor(s) should close. If all is well, &#039;&#039;&#039;invstat&#039;&#039;&#039; should now be &amp;quot;on&amp;quot;, &#039;&#039;&#039;opmode&#039;&#039;&#039; should be &amp;quot;run&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you do not see a good value at udc, it may be that your external shunt is not connected properly or is not initialised.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you do not see a good value at Invudc, it may be that the inverter is not powered, or the communication signals are not correctly wired.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;if the status stays at &amp;quot;PRECHARGE&amp;quot; then you possibly didn&#039;t hold the start signal on for long enough!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Once the contactors are on, select forwards direction.  For example if &#039;&#039;&#039;dirmode&#039;&#039;&#039; is set to &amp;quot;Switch&amp;quot; then a 12V signal applied to the Forward input will work.&lt;br /&gt;
&lt;br /&gt;
* Carefully apply the accelerator and the motor should begin to turn. Do not spin the motor up to any speed if you are using a test power supply.&lt;br /&gt;
&lt;br /&gt;
== Software==&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/Stm32-vcu &#039;&#039;&#039;Github for the project:&#039;&#039;&#039; https://github.com/damienmaguire/Stm32-vcu]&lt;br /&gt;
&lt;br /&gt;
Various binaries can be found in the support thread, for example https://openinverter.org/forum/viewtopic.php?p=33379#p33379&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;GD variant:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Status as of November 20 2021&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Early boards fitted with the GigaDevices  &#039;&#039;&#039;GD32F107&#039;&#039;&#039; aka &amp;quot;GD chip&amp;quot; require different firmware routines than &#039;&#039;&#039;STM32F107&#039;&#039;&#039; equipped boards.  See this [https://openinverter.org/forum/viewtopic.php?p=33758#p33758 Zombieverter VCU Support Thread forum post]&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;The GigaDevices `[https://www.gigadevice.com/products/microcontrollers/gd32/arm-cortex-m3/connectivity-line/gd32f107-series/ GD32F107] was chosen as an alternative to the ST equivalent due to microchip shortages during the COVID-19 pandemic.  A specific branch of firmware code for the GD32F107 variant is found here:  https://github.com/damienmaguire/Stm32-vcu/tree/GD_Zombie  However development of this variant was abandoned shortly after it&#039;s release.&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;As of this writing , The [https://github.com/damienmaguire/Stm32-vcu/tree/GD_Zombie GD_Zombie] branch has fallen behind and substantially diverged from the primary code base. It has been suggested that work needs to be done to make the present firmware chip agnostic via detection routines.  See this [https://openinverter.org/forum/viewtopic.php?p=34220#p34220 Zombieverter Development Thread forum post]. As of this writing that work has yet to be undertaken and remains to be organized and completed.  And issue has be devoted to tracking this progress here: [https://github.com/damienmaguire/Stm32-vcu/issues/21 Issue #21]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Here is a link to a post with a pre compiled bin and hex for the GD_Zombie created by Damien on the 23/11/21;  [https://openinverter.org/forum/viewtopic.php?p=34264#p34264 ZombieVerter VCU Support - Page 9 - openinverter forum] This is based on the 16/6/21 code it is &amp;lt;u&amp;gt;&#039;&#039;&#039;not&#039;&#039;&#039;&amp;lt;/u&amp;gt; an update. Ensure you rename the binaries to stm32_vcu.xxx to ensure no wifi issues.&lt;br /&gt;
 &lt;br /&gt;
&#039;&#039;UPDATE November 23 2021&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Updated information about the necessary edits to make to the STM32 based firmware have been posted in a [https://openinverter.org/forum/viewtopic.php?p=34264#p34264 forum post here.]  In order to get the firmware to compile and run on the &#039;&#039;&#039;GD32F107&#039;&#039;&#039;  you must make the following changes:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;In the file &amp;quot;&#039;&#039;&#039;anain.cpp&#039;&#039;&#039;&amp;quot; @ line 68:&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;68 - // adc_start_conversion_regular(ADC1);  // Comment out for GD MCU&amp;lt;/code&amp;gt;In the file&#039;&#039; &#039;&#039;&amp;quot;&#039;&#039;&#039;stm32_can.cpp&#039;&#039;&#039;&amp;quot; @ starting at line 305 modify as follows :&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;305 - gpio_set_mode(GPIO_BANK_CAN2_RE_RX, GPIO_MODE_INPUT, GPIO_CNF_INPUT_PULL_UPDOWN, GPIO_CAN2_RE_RX);&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;306 - gpio_set(GPIO_BANK_CAN2_RE_RX, GPIO_CAN2_RE_RX);&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;307 - // Configure CAN pin: TX.-&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;308 - gpio_set_mode(GPIO_BANK_CAN2_RE_TX, GPIO_MODE_OUTPUT_50_MHZ, GPIO_CNF_OUTPUT_ALTFN_PUSHPULL, GPIO_CAN2_RE_TX);&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you properly clone the repository with &#039;&#039;&#039;git&#039;&#039;&#039; on the command line that looks like this;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;git clone --recurse-submodules git@github.com:damienmaguire/Stm32-vcu.git&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
That recursively pulls in copies of &#039;&#039;&#039;&#039;&#039;libopeninv&#039;&#039;&#039;&#039;&#039;, etc and tracks them...   Hence your file-path should look like &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;./Stm32-vcu/libopeninv/src/&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
within the &#039;&#039;&#039;&#039;&#039;libopeninv&#039;&#039;&#039;&#039;&#039; src (source) directory you will find &#039;&#039;&#039;&#039;&#039;anain.cpp&#039;&#039;&#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;stm32_can.cpp&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Make the above changes to these files for the &#039;&#039;&#039;GigaDevices GD32F107&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
== Software update ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As supplied, both the ESP32 (the wifi plug-in board) and the STM32 (main MPU) are pre-loaded.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;UART Update&amp;quot; field on the GUI can be given a &#039;&#039;&#039;stm32_vcu.bin&#039;&#039;&#039; file to update the firmware.   Note that at this time, loading via Windows 10 is suspect and may lock you out of the board. Ubuntu works best.&lt;br /&gt;
&lt;br /&gt;
If you are unable to build your own, use the [https://openinverter.org/forum/download/file.php?id=11673 stm32_vcu.bin] that Damien posted on 10/30/2021 in the [https://openinverter.org/forum/viewtopic.php?p=33379#p33379 ZombieVerter VCU Support thread].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By using the ST-Link V2 in-circuit loader, &#039;&#039;&#039;.hex&#039;&#039;&#039; files can be sent to the board to initialize a fresh STM32 MCU, or if it can&#039;t be loaded via the bootloader.&lt;br /&gt;
&lt;br /&gt;
If you are unable to build your own, use the [https://openinverter.org/forum/download/file.php?id=11674 stm32_vcu.hex] that Damien posted on 10/30/2021 in the [https://openinverter.org/forum/viewtopic.php?p=33379#p33379 ZombieVerter VCU Support thread].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The connections needed to use the ST-Link loader are shown below:&lt;br /&gt;
[[File:0B35D4F9-BA64-46E7-A570-A0CE1D619D63.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
=== Initializing an ISA Shunt ===&lt;br /&gt;
Under Comms in the web interface, there is now an ISAMode option. By default its in &amp;quot;Normal&amp;quot;. If you want to initialize a new shunt, connect it up, power on the shunt and vcu, select &amp;quot;Init&amp;quot;, hit save parameters to flash. Power cycle the vcu and shunt at same time (they should be on same 12v feed anyway). The shunt will initialize. Select ISAMode &amp;quot;normal&amp;quot;, save to flash again and reboot again. The shunt should now be up and running.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Supported OEM Hardware==&lt;br /&gt;
&lt;br /&gt;
*Nissan Leaf Gen1/2/3 Inverter/ motor&lt;br /&gt;
*nissan leaf gen 2 drive stack (inverter, dcdc, charger) gen 3 coming soon&lt;br /&gt;
&lt;br /&gt;
*[[Lexus GS450h Inverter|Lexus GS450H inverter / gearbox via sync serial]]&lt;br /&gt;
* Toyota Prius/Yaris/Auris Gen 3 inverters via sync serial&lt;br /&gt;
* chevy volt HV water heater&lt;br /&gt;
*BMW E46 CAN support&lt;br /&gt;
*BMW E39 CAN support&lt;br /&gt;
*BMW E65 CAN Support&lt;br /&gt;
*CCS DC Fast Charge via BMW i3 LIM&lt;/div&gt;</summary>
		<author><name>Cgalpin</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=2010</id>
		<title>ZombieVerter VCU</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=2010"/>
		<updated>2021-12-12T16:09:57Z</updated>

		<summary type="html">&lt;p&gt;Cgalpin: Some organization, and addition of VCU video 3, and started on highlights&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;big&amp;gt;Now available for general sale [https://www.evbmw.com/index.php/evbmw-webshop/vcu-boards here].&amp;lt;/big&amp;gt;&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Development continues&#039;&#039;&#039; and you can&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?f=3&amp;amp;t=1277 follow and contribute along with the development here on the forum]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?f=3&amp;amp;t=1696 &#039;&#039;&#039;Support&#039;&#039;&#039; is available via a separate thread on the forum]&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
Rather than crack open inverters and swap components about to drive them, what if we simply send them the messages they&#039;re expecting? This has been the case with a couple of existing designs (Nissan leaf inverter and GS450H) and thanks to the SAM3X8E microcontroller no longer being stocked by JLCPCB this project looks to take it further.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So rather than driving an inverter powerstage this version sends CAN for the Leaf inverter or Sync serial for the GS450H and of course can be expanded to any number of others. This will be the default firmware for all vcu products from now on and future hardware will support future fun packed stuff like FLEXRAY!!!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&#039;s basically an &amp;lt;s&amp;gt;rip off&amp;lt;/s&amp;gt; homage and builds on other people&#039;s hard work in the shape of the following projects&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/jsphuebner/stm32-car STM32-CAR project] &lt;br /&gt;
* [https://github.com/jsphuebner/stm32-sine Openinverter]&lt;br /&gt;
* [https://github.com/Isaac96/SimpleISA ISA library]&lt;br /&gt;
* Leaf inverter driver by Celeron55&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
What we have as of now is the openinverter wrapper with things like :&lt;br /&gt;
&lt;br /&gt;
* Throttle cal and mapping,&lt;br /&gt;
* Precharge and contactor control,&lt;br /&gt;
* Temp derating,&lt;br /&gt;
* BMS limits,&lt;br /&gt;
* for/rev/neutral control,&lt;br /&gt;
* Graphing and monitoring,&lt;br /&gt;
* Firmware updates via the web interface,&lt;br /&gt;
* Cruise control,&lt;br /&gt;
* Fuel gauge driver,&lt;br /&gt;
* etc &lt;br /&gt;
&lt;br /&gt;
==Hardware==&lt;br /&gt;
So you&#039;ve ordered your kit, first things first, watch the following two videos to assemble it. &lt;br /&gt;
&lt;br /&gt;
Due to chip shortages (written summer 2021) the board isn&#039;t fully assembled so you will need to do some soldering, or take it to a local phone repair shop (or similar) who&#039;ll find soldering at this scale like playing with Duplo (Legos to you Yanks).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The current list of parts to be fitted:&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
CONN1&lt;br /&gt;
IC10 = MCP25625T&lt;br /&gt;
IC14 = TJA1020 OR MCP2004 &lt;br /&gt;
IC19 = NCV7356&lt;br /&gt;
IC20 = TJA1055T&lt;br /&gt;
IC21, 22 = AD5160&lt;br /&gt;
IC27, 28, 29 = FAN3122&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And the positions on the V1 board.&lt;br /&gt;
[[File:Zombv1boardb.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===The enclosure kit links===&lt;br /&gt;
&lt;br /&gt;
You only need one, but below are two options - one with just the connector, and the other prewired with 3M long leads.&lt;br /&gt;
&lt;br /&gt;
::Enclosure Kit with Header, connector and pins :&lt;br /&gt;
&lt;br /&gt;
::::https://www.aliexpress.com/item/32857771975.html?spm=a2g0s.9042311.0.0.39f24c4dWOmGPE&lt;br /&gt;
&lt;br /&gt;
::Prewired connector with 3M leads (limited colors which will not match standard wire colouring conventions) :&lt;br /&gt;
&lt;br /&gt;
::::https://www.aliexpress.com/item/4001213569338.html?spm=a2g0o.cart.0.0.366c3c00qhBvGO&amp;amp;mp=1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The kits do not come with M3 screws needed to secure the board to the enclosure (2 need to be slightly longer), and to secure the lid. Nor a gasket for the lid.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note that in addition to the VCU, the inverter and transmission, you will require a specific CANBUS connected shunt&#039;&#039;&#039;: [[Isabellenhütte Heusler]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Build and Configuration Videos===&lt;br /&gt;
====ZombieVerter VCU V1 Build Part 1====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ ZombieVerter VCU V1 Build Part 1&lt;br /&gt;
|-&lt;br /&gt;
! Video !! Highlights&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;youtube&amp;gt;https://www.youtube.com/watch?v=geZuIbGHh30&amp;lt;/youtube&amp;gt; ||&lt;br /&gt;
&#039;&#039;&#039;00:33&#039;&#039;&#039; Warning and suggestion to go watch cat videos instead&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=66s 01:06]&#039;&#039;&#039; Recap about the ZombieVerter VCU Build Part 1&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=184s 03:04]&#039;&#039;&#039; How to get one&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=215s 03:35]&#039;&#039;&#039; Design files currently require E10 Patreon membership/contribution if wanting to build your own&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=268s 04:28]&#039;&#039;&#039; Components still requiring soldering&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=303s 05:03]&#039;&#039;&#039; IC19 - 8 pin SOIC for single wire CAN (NCV7356)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=360s 06:00]&#039;&#039;&#039; IC10 - SPI CAN controller and transceiver (MCP25625T)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=390s 06:30]&#039;&#039;&#039; &amp;lt;del&amp;gt;IC1,3,5,6,7,24,25,26  load driver mosfets (NCV8402)&amp;lt;/del&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=440s 07:20]&#039;&#039;&#039; Do you need these components?&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=520s 08:40]&#039;&#039;&#039; Soldering begins - IC19&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=550s 09:10]&#039;&#039;&#039; Soldering iron for SOIC parts&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=567s 09:27]&#039;&#039;&#039; Applying flux using Damien&#039;s favorite Flux, UV80&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=634s 10:34]&#039;&#039;&#039; Magnifier headset&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=807s 13:27]&#039;&#039;&#039; Soldering MCP25625&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=955s 15:55]&#039;&#039;&#039; Suggests getting an phone/computer repair shop to help out if needed&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1025s 17:05]&#039;&#039;&#039; Using hot air gun to warm the board and position the chip&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1174s 19:34]&#039;&#039;&#039; &amp;lt;del&amp;gt;Soldering NCV8402s&amp;lt;/del&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1408s 23:28]&#039;&#039;&#039; Clean soldering with IPA Solvent&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1480s 24:40]&#039;&#039;&#039; First power up test using bench power supply to limit current to a few hundred mA&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1607s 26:47]&#039;&#039;&#039; 60mA current draw with no wifi board&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1655s 27:35]&#039;&#039;&#039; Wifi module&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1790s 29:50]&#039;&#039;&#039; Power up test with wifi draws 90mA&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1825s 30:25]&#039;&#039;&#039; Enclosure kit(s)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=2162s 36:02]&#039;&#039;&#039; Soldering the PCB header (56 pin)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=2668s 44:28]&#039;&#039;&#039; Installing in the enclosure&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=3030s 50:30]&#039;&#039;&#039; Cameo appearance by Gome cat&amp;lt;br/&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====ZombieVerter VCU V1 Build Part 2====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ ZombieVerter VCU V1 Build Part 2&lt;br /&gt;
|-&lt;br /&gt;
! Video !! Highlights&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;youtube&amp;gt;https://youtu.be/MUhs9j9R9Mg&amp;lt;/youtube&amp;gt; ||&lt;br /&gt;
&#039;&#039;&#039;00:34&#039;&#039;&#039; Health warning and suggestion to go watch cat videos instead&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=102s 01:42]&#039;&#039;&#039; Intro&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=200s 03:20]&#039;&#039;&#039; Pinouts of the 56 pin connector&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=256s 04:16]&#039;&#039;&#039; Pins 55,56 - Ground and +12V&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=289s 04:49]&#039;&#039;&#039; Pins 53,54 - Reverse and Forward Direction. Apply +12V to the pin for the direction needed. Configurable in the web interface to flip these since direction is relative&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=452s 07:32]&#039;&#039;&#039; Pins 52 - Start. Momentarily apply +12V to send a start signal&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=495s 08:15]&#039;&#039;&#039; Pin 51 - HV Request. Apply +12v to precharge and bring up the high voltage system (and not the drive components)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=545s 09:05]&#039;&#039;&#039; Pin 50 - General Purpose 12V Input. Reserved for future use&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=563s 09:23]&#039;&#039;&#039; Pin 49 - Brake Input. Connect to brake light switch to apply +12V signaling brakes are applied&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=615s 10:15]&#039;&#039;&#039; Pins 45,46,47,48 - Throttle. +5V power, ground, and 1 or 2 hall effect sensor inputs&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=660s 11:00]&#039;&#039;&#039; Pins 25,26,27,28 - 3 CAN bus interfaces. CAN EXT is for vehicle/body communication, CAN EXT 2 for the ISA shunt comms, CAN EXT 3 (with solderable jumpers to change modes) is for general purpose like charger, heater control&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=885s 14:45]&#039;&#039;&#039; Pin 24 - Local Interface Network (LIN)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=956s 15:56]&#039;&#039;&#039; Pins 16,17,18,19,20,21,22,23 - Toyota Hybrid Inverter specific using async serial comms.&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1041s 17:21]&#039;&#039;&#039; Pin 15 - Ignition T15 In. Apply +12V to turn Ignition on. Puts VCU in run mode&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1134s 18:54]&#039;&#039;&#039; Pins 37,38,39,40,41,42 - Toyota Hybrid Transmission shift control&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1182s 19:42]&#039;&#039;&#039; Pins 35,36 - POT1 &amp;amp; POT2. Digital potentiometer outputs to drive analog gauges (fuel, etc)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1270s 21:10]&#039;&#039;&#039; Pins 32,33,34 - Low Side (LS) switches for Inverter Power, Positive side Main Contactor, Precharge Contactor&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1401s 23:21]&#039;&#039;&#039; Pin 31 - General Purpose +12V Output. LS switch for Negative side Main Contactor&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1441s 24:01]&#039;&#039;&#039; Pins 12,13,14,29,30 - Toyota Hybrid System controls&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1524s 25:24]&#039;&#039;&#039; Pins 10,11 - Digital to Analog Converter (DAC) 1 &amp;amp; 2. Reserved for future use - additional analog instruments etc.&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1593s 26:33]&#039;&#039;&#039; Pins 8,9 - 0-5V Analog Inputs 1 &amp;amp; 2. Reserved for future use (ie not implemented yet)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1626s 27:06]&#039;&#039;&#039; Pins 5,6,7 - Pulse Width Modulation (PWM) 1-3 +12V output signals. Reserved for future use (ie not implemented yet)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1676s 27:56]&#039;&#039;&#039; Pins 3,4 - General Purpose +12V Outputs 2 &amp;amp; 3. Reserved for future use (ie not implemented yet)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1709s 28:29]&#039;&#039;&#039; Pins 1,2 - RS232 Rx/Tx Serial connection for alternation VCU communication (solder jumper configurable). Reserved for future expansion&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1811s 30:11]&#039;&#039;&#039; CAN bus connected Isabellenhutte Huesler Shunt&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=2325s 38:45]&#039;&#039;&#039; Web Interface&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=2650s 44:10]&#039;&#039;&#039; How to perform a software update via the web interface using a precompiled binary&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=2852s 47:32]&#039;&#039;&#039; UI Features - Commands&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=3170s 52:50]&#039;&#039;&#039; UI Features - Update&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=3210s 53:30]&#039;&#039;&#039; UI Features - Parameters&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=4290s 1:11:32]&#039;&#039;&#039; UI Features - Spot Values&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=4914s 1:21:54]&#039;&#039;&#039; Epilogue &amp;lt;br/&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====ZombieVerter VCU V1 Part 3====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ ZombieVerter VCU V1 Part 3&lt;br /&gt;
|-&lt;br /&gt;
! Video !! Highlights&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;youtube&amp;gt;https://youtu.be/oPb4vMO17B4&amp;lt;/youtube&amp;gt; ||&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=38s 00:38]&#039;&#039;&#039; Intro/Recap of part 2&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=64s 01:04]&#039;&#039;&#039; Description of 2018 Nissan Leaf components used in the video&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=227s 03:47]&#039;&#039;&#039; VCU, wiring harness, 12V battery, ISA shunt, contactors&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=426s 07:06]&#039;&#039;&#039; 12V battery - negative to chassis ground with fuse, and ground to VCU pin 55&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=472s 07:52]&#039;&#039;&#039; 12V battery - positive to PDM positive terminal and distribution block&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=522s 08:42]&#039;&#039;&#039; 12V battery - permanent fused +12v from PDM positive terminal to inverter and PDM&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=554s 09:14]&#039;&#039;&#039; 12V battery - permanent fused +12v to vcu, relay controlled by VCU for switched +12v to inverter and PDM&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=641s 10:41]&#039;&#039;&#039; 12V battery - permanent fused +12v to contactor coil positives&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=657s 10:57]&#039;&#039;&#039; 12V battery - permanent fused +12v to switch to provide tings like T15 on signal to VCU&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=762s 12:42]&#039;&#039;&#039; Other end of permanent 12v feed to inverter and PDM connections&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=803s 13:23]&#039;&#039;&#039; Other end of switched +12v feed to inverter and PDM connections&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=816s 13:36]&#039;&#039;&#039; Other end of switched 12v ground connection&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=838s 13:52]&#039;&#039;&#039; Twisted pair wires from EV CAN CAN EXT 2 High (pin 28) and CAN EXT 2 Low (pin 27) to inverter&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=946s 15:46]&#039;&#039;&#039; To use the PDM for charging, wire control pilot (CP) and plug present (PP) from PDM to charge socket&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=989s 16:29]&#039;&#039;&#039; High voltage setup and controlling it with the VCU&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1028s 17:08]&#039;&#039;&#039; Positive and precharge contactors (only 2 for the test rig - usually would have a negative contactor as well)&amp;lt;br/&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Will complete soon&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&#039;&#039;&#039;Pin Out Diagram&#039;&#039;&#039;[[File:ZombieVerter VCU V1 cable side pinout.jpg|thumb|alt=|VCU pinout diagram |none]]&lt;br /&gt;
[[File:Zomb-con-et.png|none|thumb|List of connections to system components (GS450 application)]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Further information for a GS450 system can be found here: [[Lexus GS450h Inverter]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note&#039;&#039;&#039;: In the software port 0 = EXT2 and port 1 = EXT&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Initial start-up and testing (Instructions for GS450H application) ==&lt;br /&gt;
The VCU is configured by connecting to its wifi access point.  For existing units this is something like SSID: ESP-03xxxx, no password.  For future units (shipped after 20/10/21) this will be SSID: inverter (or zom_vcu) PASSWORD: inverter123&lt;br /&gt;
&lt;br /&gt;
Then navigate to 192.168.4.1 to see the huebner inverter dashboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Get familiar with the interface and check that all of the parameters make sense. If in doubt, make sure the default value is set.  At each stage the current state of the system and any error can be seen on the interface, for example &#039;&#039;&#039;opmode&#039;&#039;&#039; and &#039;&#039;&#039;lasterr&#039;&#039;&#039;. Press refresh at the top of the screen to update the values.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will need the HV supply connected, which can be a lower voltage (50-100V), current limited power supply for test purposes.  Set &#039;&#039;&#039;udcmin&#039;&#039;&#039; to some value below that (e.g. 50V for a 100V supply) and &#039;&#039;&#039;udcsw&#039;&#039;&#039; to 10V lower than the supply.&lt;br /&gt;
&lt;br /&gt;
* Apply the &#039;&#039;&#039;Ignition T15 in&#039;&#039;&#039; 12V signal.  The relay supplying 12V to the inverter should now be on.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Check the accelerator by applying it gradually and watching / refreshing the interface. You should see values at &#039;&#039;&#039;pot&#039;&#039;&#039; change as the pedal is pressed.  &#039;&#039;&#039;potmin&#039;&#039;&#039; should be set just above where your off-throttle position is, and &#039;&#039;&#039;potmax&#039;&#039;&#039; just below the value seen at maximum travel. Same for &#039;&#039;&#039;pot2min&#039;&#039;&#039; and &#039;&#039;&#039;pot2max&#039;&#039;&#039;, if they are electrically connected. The resulting value as a 0-100 value can be seen at &#039;&#039;&#039;potnom&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If it does not show up, check for errors and check that throtmax is not set to zero!  Check that tmpm is less than tmpmmax, as it can derate the potnom value down as far as zero!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Apply the &#039;&#039;&#039;Start&#039;&#039;&#039; 12V signal for a short time.  The pre-charge relay should turn on, and the voltage available at the inverter and the U1 input of the ISA shunt should quickly rise. If the &#039;&#039;&#039;udc&#039;&#039;&#039; reading goes above &#039;&#039;&#039;udcsw&#039;&#039;&#039; within 5 seconds then the main contactor(s) should close. If all is well, &#039;&#039;&#039;invstat&#039;&#039;&#039; should now be &amp;quot;on&amp;quot;, &#039;&#039;&#039;opmode&#039;&#039;&#039; should be &amp;quot;run&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you do not see a good value at udc, it may be that your external shunt is not connected properly or is not initialised.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you do not see a good value at Invudc, it may be that the inverter is not powered, or the communication signals are not correctly wired.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;if the status stays at &amp;quot;PRECHARGE&amp;quot; then you possibly didn&#039;t hold the start signal on for long enough!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Once the contactors are on, select forwards direction.  For example if &#039;&#039;&#039;dirmode&#039;&#039;&#039; is set to &amp;quot;Switch&amp;quot; then a 12V signal applied to the Forward input will work.&lt;br /&gt;
&lt;br /&gt;
* Carefully apply the accelerator and the motor should begin to turn. Do not spin the motor up to any speed if you are using a test power supply.&lt;br /&gt;
&lt;br /&gt;
== Software==&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/Stm32-vcu &#039;&#039;&#039;Github for the project:&#039;&#039;&#039; https://github.com/damienmaguire/Stm32-vcu]&lt;br /&gt;
&lt;br /&gt;
Various binaries can be found in the support thread, for example https://openinverter.org/forum/viewtopic.php?p=33379#p33379&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;GD variant:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Status as of November 20 2021&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Early boards fitted with the GigaDevices  &#039;&#039;&#039;GD32F107&#039;&#039;&#039; aka &amp;quot;GD chip&amp;quot; require different firmware routines than &#039;&#039;&#039;STM32F107&#039;&#039;&#039; equipped boards.  See this [https://openinverter.org/forum/viewtopic.php?p=33758#p33758 Zombieverter VCU Support Thread forum post]&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;The GigaDevices `[https://www.gigadevice.com/products/microcontrollers/gd32/arm-cortex-m3/connectivity-line/gd32f107-series/ GD32F107] was chosen as an alternative to the ST equivalent due to microchip shortages during the COVID-19 pandemic.  A specific branch of firmware code for the GD32F107 variant is found here:  https://github.com/damienmaguire/Stm32-vcu/tree/GD_Zombie  However development of this variant was abandoned shortly after it&#039;s release.&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;As of this writing , The [https://github.com/damienmaguire/Stm32-vcu/tree/GD_Zombie GD_Zombie] branch has fallen behind and substantially diverged from the primary code base. It has been suggested that work needs to be done to make the present firmware chip agnostic via detection routines.  See this [https://openinverter.org/forum/viewtopic.php?p=34220#p34220 Zombieverter Development Thread forum post]. As of this writing that work has yet to be undertaken and remains to be organized and completed.  And issue has be devoted to tracking this progress here: [https://github.com/damienmaguire/Stm32-vcu/issues/21 Issue #21]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Here is a link to a post with a pre compiled bin and hex for the GD_Zombie created by Damien on the 23/11/21;  [https://openinverter.org/forum/viewtopic.php?p=34264#p34264 ZombieVerter VCU Support - Page 9 - openinverter forum] This is based on the 16/6/21 code it is &amp;lt;u&amp;gt;&#039;&#039;&#039;not&#039;&#039;&#039;&amp;lt;/u&amp;gt; an update. Ensure you rename the binaries to stm32_vcu.xxx to ensure no wifi issues.&lt;br /&gt;
 &lt;br /&gt;
&#039;&#039;UPDATE November 23 2021&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Updated information about the necessary edits to make to the STM32 based firmware have been posted in a [https://openinverter.org/forum/viewtopic.php?p=34264#p34264 forum post here.]  In order to get the firmware to compile and run on the &#039;&#039;&#039;GD32F107&#039;&#039;&#039;  you must make the following changes:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;In the file &amp;quot;&#039;&#039;&#039;anain.cpp&#039;&#039;&#039;&amp;quot; @ line 68:&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;68 - // adc_start_conversion_regular(ADC1);  // Comment out for GD MCU&amp;lt;/code&amp;gt;In the file&#039;&#039; &#039;&#039;&amp;quot;&#039;&#039;&#039;stm32_can.cpp&#039;&#039;&#039;&amp;quot; @ starting at line 305 modify as follows :&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;305 - gpio_set_mode(GPIO_BANK_CAN2_RE_RX, GPIO_MODE_INPUT, GPIO_CNF_INPUT_PULL_UPDOWN, GPIO_CAN2_RE_RX);&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;306 - gpio_set(GPIO_BANK_CAN2_RE_RX, GPIO_CAN2_RE_RX);&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;307 - // Configure CAN pin: TX.-&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;308 - gpio_set_mode(GPIO_BANK_CAN2_RE_TX, GPIO_MODE_OUTPUT_50_MHZ, GPIO_CNF_OUTPUT_ALTFN_PUSHPULL, GPIO_CAN2_RE_TX);&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you properly clone the repository with &#039;&#039;&#039;git&#039;&#039;&#039; on the command line that looks like this;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;git clone --recurse-submodules git@github.com:damienmaguire/Stm32-vcu.git&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
That recursively pulls in copies of &#039;&#039;&#039;&#039;&#039;libopeninv&#039;&#039;&#039;&#039;&#039;, etc and tracks them...   Hence your file-path should look like &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;./Stm32-vcu/libopeninv/src/&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
within the &#039;&#039;&#039;&#039;&#039;libopeninv&#039;&#039;&#039;&#039;&#039; src (source) directory you will find &#039;&#039;&#039;&#039;&#039;anain.cpp&#039;&#039;&#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;stm32_can.cpp&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Make the above changes to these files for the &#039;&#039;&#039;GigaDevices GD32F107&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
== Software update ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As supplied, both the ESP32 (the wifi plug-in board) and the STM32 (main MPU) are pre-loaded.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;UART Update&amp;quot; field on the GUI can be given a &#039;&#039;&#039;stm32_vcu.bin&#039;&#039;&#039; file to update the firmware.   Note that at this time, loading via Windows 10 is suspect and may lock you out of the board. Ubuntu works best.&lt;br /&gt;
&lt;br /&gt;
If you are unable to build your own, use the [https://openinverter.org/forum/download/file.php?id=11673 stm32_vcu.bin] that Damien posted on 10/30/2021 in the [https://openinverter.org/forum/viewtopic.php?p=33379#p33379 ZombieVerter VCU Support thread].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By using the ST-Link V2 in-circuit loader, &#039;&#039;&#039;.hex&#039;&#039;&#039; files can be sent to the board to initialize a fresh STM32 MCU, or if it can&#039;t be loaded via the bootloader.&lt;br /&gt;
&lt;br /&gt;
If you are unable to build your own, use the [https://openinverter.org/forum/download/file.php?id=11674 stm32_vcu.hex] that Damien posted on 10/30/2021 in the [https://openinverter.org/forum/viewtopic.php?p=33379#p33379 ZombieVerter VCU Support thread].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The connections needed to use the ST-Link loader are shown below:&lt;br /&gt;
[[File:0B35D4F9-BA64-46E7-A570-A0CE1D619D63.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
=== Initializing an ISA Shunt ===&lt;br /&gt;
Under Comms in the web interface, there is now an ISAMode option. By default its in &amp;quot;Normal&amp;quot;. If you want to initialize a new shunt, connect it up, power on the shunt and vcu, select &amp;quot;Init&amp;quot;, hit save parameters to flash. Power cycle the vcu and shunt at same time (they should be on same 12v feed anyway). The shunt will initialize. Select ISAMode &amp;quot;normal&amp;quot;, save to flash again and reboot again. The shunt should now be up and running.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Supported OEM Hardware==&lt;br /&gt;
&lt;br /&gt;
*Nissan Leaf Gen1/2/3 Inverter/ motor&lt;br /&gt;
*nissan leaf gen 2 drive stack (inverter, dcdc, charger) gen 3 coming soon&lt;br /&gt;
&lt;br /&gt;
*[[Lexus GS450h Inverter|Lexus GS450H inverter / gearbox via sync serial]]&lt;br /&gt;
* Toyota Prius/Yaris/Auris Gen 3 inverters via sync serial&lt;br /&gt;
* chevy volt HV water heater&lt;br /&gt;
*BMW E46 CAN support&lt;br /&gt;
*BMW E39 CAN support&lt;br /&gt;
*BMW E65 CAN Support&lt;br /&gt;
*CCS DC Fast Charge via BMW i3 LIM&lt;/div&gt;</summary>
		<author><name>Cgalpin</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=2009</id>
		<title>ZombieVerter VCU</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=2009"/>
		<updated>2021-12-12T15:05:20Z</updated>

		<summary type="html">&lt;p&gt;Cgalpin: final video highlights for ZombieVerter VCU V1 Build Part 2&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;big&amp;gt;Now available for general sale [https://www.evbmw.com/index.php/evbmw-webshop/vcu-boards here].&amp;lt;/big&amp;gt;&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Development continues&#039;&#039;&#039; and you can&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?f=3&amp;amp;t=1277 follow and contribute along with the development here on the forum]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?f=3&amp;amp;t=1696 &#039;&#039;&#039;Support&#039;&#039;&#039; is available via a separate thread on the forum]&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
Rather than crack open inverters and swap components about to drive them, what if we simply send them the messages they&#039;re expecting? This has been the case with a couple of existing designs (Nissan leaf inverter and GS450H) and thanks to the SAM3X8E microcontroller no longer being stocked by JLCPCB this project looks to take it further.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So rather than driving an inverter powerstage this version sends CAN for the Leaf inverter or Sync serial for the GS450H and of course can be expanded to any number of others. This will be the default firmware for all vcu products from now on and future hardware will support future fun packed stuff like FLEXRAY!!!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&#039;s basically an &amp;lt;s&amp;gt;rip off&amp;lt;/s&amp;gt; homage and builds on other people&#039;s hard work in the shape of the following projects&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/jsphuebner/stm32-car STM32-CAR project] &lt;br /&gt;
* [https://github.com/jsphuebner/stm32-sine Openinverter]&lt;br /&gt;
* [https://github.com/Isaac96/SimpleISA ISA library]&lt;br /&gt;
* Leaf inverter driver by Celeron55&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
What we have as of now is the openinverter wrapper with things like :&lt;br /&gt;
&lt;br /&gt;
* Throttle cal and mapping,&lt;br /&gt;
* Precharge and contactor control,&lt;br /&gt;
* Temp derating,&lt;br /&gt;
* BMS limits,&lt;br /&gt;
* for/rev/neutral control,&lt;br /&gt;
* Graphing and monitoring,&lt;br /&gt;
* Firmware updates via the web interface,&lt;br /&gt;
* Cruise control,&lt;br /&gt;
* Fuel gauge driver,&lt;br /&gt;
* etc &lt;br /&gt;
&lt;br /&gt;
==Hardware==&lt;br /&gt;
So you&#039;ve ordered your kit, first things first, watch the following two videos to assemble it. &lt;br /&gt;
&lt;br /&gt;
Due to chip shortages (written summer 2021) the board isn&#039;t fully assembled so you will need to do some soldering, or take it to a local phone repair shop (or similar) who&#039;ll find soldering at this scale like playing with Duplo (Legos to you Yanks).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The current list of parts to be fitted:&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
CONN1&lt;br /&gt;
IC10 = MCP25625T&lt;br /&gt;
IC14 = TJA1020 OR MCP2004 &lt;br /&gt;
IC19 = NCV7356&lt;br /&gt;
IC20 = TJA1055T&lt;br /&gt;
IC21, 22 = AD5160&lt;br /&gt;
IC27, 28, 29 = FAN3122&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And the positions on the V1 board.&lt;br /&gt;
[[File:Zombv1boardb.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===The enclosure kit links===&lt;br /&gt;
&lt;br /&gt;
You only need one, but below are two options - one with just the connector, and the other prewired with 3M long leads.&lt;br /&gt;
&lt;br /&gt;
::Enclosure Kit with Header, connector and pins :&lt;br /&gt;
&lt;br /&gt;
::::https://www.aliexpress.com/item/32857771975.html?spm=a2g0s.9042311.0.0.39f24c4dWOmGPE&lt;br /&gt;
&lt;br /&gt;
::Prewired connector with 3M leads (limited colors which will not match standard wire colouring conventions) :&lt;br /&gt;
&lt;br /&gt;
::::https://www.aliexpress.com/item/4001213569338.html?spm=a2g0o.cart.0.0.366c3c00qhBvGO&amp;amp;mp=1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The kits do not come with M3 screws needed to secure the board to the enclosure (2 need to be slightly longer), and to secure the lid. Nor a gasket for the lid.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note that in addition to the VCU, the inverter and transmission, you will require a specific CANBUS connected shunt&#039;&#039;&#039;: [[Isabellenhütte Heusler]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ ZombieVerter VCU V1 Build Part 1&lt;br /&gt;
|-&lt;br /&gt;
! Video !! Highlights&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;youtube&amp;gt;https://www.youtube.com/watch?v=geZuIbGHh30&amp;lt;/youtube&amp;gt; ||&lt;br /&gt;
&#039;&#039;&#039;00:33&#039;&#039;&#039; Warning and suggestion to go watch cat videos instead&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=66s 01:06]&#039;&#039;&#039; Recap about the ZombieVerter VCU Build Part 1&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=184s 03:04]&#039;&#039;&#039; How to get one&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=215s 03:35]&#039;&#039;&#039; Design files currently require E10 Patreon membership/contribution if wanting to build your own&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=268s 04:28]&#039;&#039;&#039; Components still requiring soldering&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=303s 05:03]&#039;&#039;&#039; IC19 - 8 pin SOIC for single wire CAN (NCV7356)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=360s 06:00]&#039;&#039;&#039; IC10 - SPI CAN controller and transceiver (MCP25625T)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=390s 06:30]&#039;&#039;&#039; &amp;lt;del&amp;gt;IC1,3,5,6,7,24,25,26  load driver mosfets (NCV8402)&amp;lt;/del&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=440s 07:20]&#039;&#039;&#039; Do you need these components?&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=520s 08:40]&#039;&#039;&#039; Soldering begins - IC19&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=550s 09:10]&#039;&#039;&#039; Soldering iron for SOIC parts&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=567s 09:27]&#039;&#039;&#039; Applying flux using Damien&#039;s favorite Flux, UV80&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=634s 10:34]&#039;&#039;&#039; Magnifier headset&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=807s 13:27]&#039;&#039;&#039; Soldering MCP25625&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=955s 15:55]&#039;&#039;&#039; Suggests getting an phone/computer repair shop to help out if needed&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1025s 17:05]&#039;&#039;&#039; Using hot air gun to warm the board and position the chip&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1174s 19:34]&#039;&#039;&#039; &amp;lt;del&amp;gt;Soldering NCV8402s&amp;lt;/del&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1408s 23:28]&#039;&#039;&#039; Clean soldering with IPA Solvent&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1480s 24:40]&#039;&#039;&#039; First power up test using bench power supply to limit current to a few hundred mA&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1607s 26:47]&#039;&#039;&#039; 60mA current draw with no wifi board&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1655s 27:35]&#039;&#039;&#039; Wifi module&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1790s 29:50]&#039;&#039;&#039; Power up test with wifi draws 90mA&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1825s 30:25]&#039;&#039;&#039; Enclosure kit(s)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=2162s 36:02]&#039;&#039;&#039; Soldering the PCB header (56 pin)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=2668s 44:28]&#039;&#039;&#039; Installing in the enclosure&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=3030s 50:30]&#039;&#039;&#039; Cameo appearance by Gome cat&amp;lt;br/&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ ZombieVerter VCU V1 Build Part 2&lt;br /&gt;
|-&lt;br /&gt;
! Video !! Highlights&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;youtube&amp;gt;https://youtu.be/MUhs9j9R9Mg&amp;lt;/youtube&amp;gt; ||&lt;br /&gt;
&#039;&#039;&#039;00:34&#039;&#039;&#039; Health warning and suggestion to go watch cat videos instead&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=102s 01:42]&#039;&#039;&#039; Intro&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=200s 03:20]&#039;&#039;&#039; Pinouts of the 56 pin connector&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=256s 04:16]&#039;&#039;&#039; Pins 55,56 - Ground and +12V&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=289s 04:49]&#039;&#039;&#039; Pins 53,54 - Reverse and Forward Direction. Apply +12V to the pin for the direction needed. Configurable in the web interface to flip these since direction is relative&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=452s 07:32]&#039;&#039;&#039; Pins 52 - Start. Momentarily apply +12V to send a start signal&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=495s 08:15]&#039;&#039;&#039; Pin 51 - HV Request. Apply +12v to precharge and bring up the high voltage system (and not the drive components)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=545s 09:05]&#039;&#039;&#039; Pin 50 - General Purpose 12V Input. Reserved for future use&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=563s 09:23]&#039;&#039;&#039; Pin 49 - Brake Input. Connect to brake light switch to apply +12V signaling brakes are applied&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=615s 10:15]&#039;&#039;&#039; Pins 45,46,47,48 - Throttle. +5V power, ground, and 1 or 2 hall effect sensor inputs&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=660s 11:00]&#039;&#039;&#039; Pins 25,26,27,28 - 3 CAN bus interfaces. CAN EXT is for vehicle/body communication, CAN EXT 2 for the ISA shunt comms, CAN EXT 3 (with solderable jumpers to change modes) is for general purpose like charger, heater control&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=885s 14:45]&#039;&#039;&#039; Pin 24 - Local Interface Network (LIN)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=956s 15:56]&#039;&#039;&#039; Pins 16,17,18,19,20,21,22,23 - Toyota Hybrid Inverter specific using async serial comms.&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1041s 17:21]&#039;&#039;&#039; Pin 15 - Ignition T15 In. Apply +12V to turn Ignition on. Puts VCU in run mode&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1134s 18:54]&#039;&#039;&#039; Pins 37,38,39,40,41,42 - Toyota Hybrid Transmission shift control&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1182s 19:42]&#039;&#039;&#039; Pins 35,36 - POT1 &amp;amp; POT2. Digital potentiometer outputs to drive analog gauges (fuel, etc)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1270s 21:10]&#039;&#039;&#039; Pins 32,33,34 - Low Side (LS) switches for Inverter Power, Positive side Main Contactor, Precharge Contactor&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1401s 23:21]&#039;&#039;&#039; Pin 31 - General Purpose +12V Output. LS switch for Negative side Main Contactor&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1441s 24:01]&#039;&#039;&#039; Pins 12,13,14,29,30 - Toyota Hybrid System controls&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1524s 25:24]&#039;&#039;&#039; Pins 10,11 - Digital to Analog Converter (DAC) 1 &amp;amp; 2. Reserved for future use - additional analog instruments etc.&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1593s 26:33]&#039;&#039;&#039; Pins 8,9 - 0-5V Analog Inputs 1 &amp;amp; 2. Reserved for future use (ie not implemented yet)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1626s 27:06]&#039;&#039;&#039; Pins 5,6,7 - Pulse Width Modulation (PWM) 1-3 +12V output signals. Reserved for future use (ie not implemented yet)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1676s 27:56]&#039;&#039;&#039; Pins 3,4 - General Purpose +12V Outputs 2 &amp;amp; 3. Reserved for future use (ie not implemented yet)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1709s 28:29]&#039;&#039;&#039; Pins 1,2 - RS232 Rx/Tx Serial connection for alternation VCU communication (solder jumper configurable). Reserved for future expansion&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1811s 30:11]&#039;&#039;&#039; CAN bus connected Isabellenhutte Huesler Shunt&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=2325s 38:45]&#039;&#039;&#039; Web Interface&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=2650s 44:10]&#039;&#039;&#039; How to perform a software update via the web interface using a precompiled binary&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=2852s 47:32]&#039;&#039;&#039; UI Features - Commands&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=3170s 52:50]&#039;&#039;&#039; UI Features - Update&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=3210s 53:30]&#039;&#039;&#039; UI Features - Parameters&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=4290s 1:11:32]&#039;&#039;&#039; UI Features - Spot Values&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=4914s 1:21:54]&#039;&#039;&#039; Epilogue &amp;lt;br/&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&#039;&#039;&#039;Pin Out Diagram&#039;&#039;&#039;[[File:ZombieVerter VCU V1 cable side pinout.jpg|thumb|alt=|VCU pinout diagram |none]]&lt;br /&gt;
[[File:Zomb-con-et.png|none|thumb|List of connections to system components (GS450 application)]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Further information for a GS450 system can be found here: [[Lexus GS450h Inverter]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note&#039;&#039;&#039;: In the software port 0 = EXT2 and port 1 = EXT&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Initial start-up and testing (Instructions for GS450H application) ==&lt;br /&gt;
The VCU is configured by connecting to its wifi access point.  For existing units this is something like SSID: ESP-03xxxx, no password.  For future units (shipped after 20/10/21) this will be SSID: inverter (or zom_vcu) PASSWORD: inverter123&lt;br /&gt;
&lt;br /&gt;
Then navigate to 192.168.4.1 to see the huebner inverter dashboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Get familiar with the interface and check that all of the parameters make sense. If in doubt, make sure the default value is set.  At each stage the current state of the system and any error can be seen on the interface, for example &#039;&#039;&#039;opmode&#039;&#039;&#039; and &#039;&#039;&#039;lasterr&#039;&#039;&#039;. Press refresh at the top of the screen to update the values.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will need the HV supply connected, which can be a lower voltage (50-100V), current limited power supply for test purposes.  Set &#039;&#039;&#039;udcmin&#039;&#039;&#039; to some value below that (e.g. 50V for a 100V supply) and &#039;&#039;&#039;udcsw&#039;&#039;&#039; to 10V lower than the supply.&lt;br /&gt;
&lt;br /&gt;
* Apply the &#039;&#039;&#039;Ignition T15 in&#039;&#039;&#039; 12V signal.  The relay supplying 12V to the inverter should now be on.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Check the accelerator by applying it gradually and watching / refreshing the interface. You should see values at &#039;&#039;&#039;pot&#039;&#039;&#039; change as the pedal is pressed.  &#039;&#039;&#039;potmin&#039;&#039;&#039; should be set just above where your off-throttle position is, and &#039;&#039;&#039;potmax&#039;&#039;&#039; just below the value seen at maximum travel. Same for &#039;&#039;&#039;pot2min&#039;&#039;&#039; and &#039;&#039;&#039;pot2max&#039;&#039;&#039;, if they are electrically connected. The resulting value as a 0-100 value can be seen at &#039;&#039;&#039;potnom&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If it does not show up, check for errors and check that throtmax is not set to zero!  Check that tmpm is less than tmpmmax, as it can derate the potnom value down as far as zero!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Apply the &#039;&#039;&#039;Start&#039;&#039;&#039; 12V signal for a short time.  The pre-charge relay should turn on, and the voltage available at the inverter and the U1 input of the ISA shunt should quickly rise. If the &#039;&#039;&#039;udc&#039;&#039;&#039; reading goes above &#039;&#039;&#039;udcsw&#039;&#039;&#039; within 5 seconds then the main contactor(s) should close. If all is well, &#039;&#039;&#039;invstat&#039;&#039;&#039; should now be &amp;quot;on&amp;quot;, &#039;&#039;&#039;opmode&#039;&#039;&#039; should be &amp;quot;run&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you do not see a good value at udc, it may be that your external shunt is not connected properly or is not initialised.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you do not see a good value at Invudc, it may be that the inverter is not powered, or the communication signals are not correctly wired.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;if the status stays at &amp;quot;PRECHARGE&amp;quot; then you possibly didn&#039;t hold the start signal on for long enough!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Once the contactors are on, select forwards direction.  For example if &#039;&#039;&#039;dirmode&#039;&#039;&#039; is set to &amp;quot;Switch&amp;quot; then a 12V signal applied to the Forward input will work.&lt;br /&gt;
&lt;br /&gt;
* Carefully apply the accelerator and the motor should begin to turn. Do not spin the motor up to any speed if you are using a test power supply.&lt;br /&gt;
&lt;br /&gt;
== Software==&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/Stm32-vcu &#039;&#039;&#039;Github for the project:&#039;&#039;&#039; https://github.com/damienmaguire/Stm32-vcu]&lt;br /&gt;
&lt;br /&gt;
Various binaries can be found in the support thread, for example https://openinverter.org/forum/viewtopic.php?p=33379#p33379&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;GD variant:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Status as of November 20 2021&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Early boards fitted with the GigaDevices  &#039;&#039;&#039;GD32F107&#039;&#039;&#039; aka &amp;quot;GD chip&amp;quot; require different firmware routines than &#039;&#039;&#039;STM32F107&#039;&#039;&#039; equipped boards.  See this [https://openinverter.org/forum/viewtopic.php?p=33758#p33758 Zombieverter VCU Support Thread forum post]&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;The GigaDevices `[https://www.gigadevice.com/products/microcontrollers/gd32/arm-cortex-m3/connectivity-line/gd32f107-series/ GD32F107] was chosen as an alternative to the ST equivalent due to microchip shortages during the COVID-19 pandemic.  A specific branch of firmware code for the GD32F107 variant is found here:  https://github.com/damienmaguire/Stm32-vcu/tree/GD_Zombie  However development of this variant was abandoned shortly after it&#039;s release.&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;As of this writing , The [https://github.com/damienmaguire/Stm32-vcu/tree/GD_Zombie GD_Zombie] branch has fallen behind and substantially diverged from the primary code base. It has been suggested that work needs to be done to make the present firmware chip agnostic via detection routines.  See this [https://openinverter.org/forum/viewtopic.php?p=34220#p34220 Zombieverter Development Thread forum post]. As of this writing that work has yet to be undertaken and remains to be organized and completed.  And issue has be devoted to tracking this progress here: [https://github.com/damienmaguire/Stm32-vcu/issues/21 Issue #21]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Here is a link to a post with a pre compiled bin and hex for the GD_Zombie created by Damien on the 23/11/21;  [https://openinverter.org/forum/viewtopic.php?p=34264#p34264 ZombieVerter VCU Support - Page 9 - openinverter forum] This is based on the 16/6/21 code it is &amp;lt;u&amp;gt;&#039;&#039;&#039;not&#039;&#039;&#039;&amp;lt;/u&amp;gt; an update. Ensure you rename the binaries to stm32_vcu.xxx to ensure no wifi issues.&lt;br /&gt;
 &lt;br /&gt;
&#039;&#039;UPDATE November 23 2021&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Updated information about the necessary edits to make to the STM32 based firmware have been posted in a [https://openinverter.org/forum/viewtopic.php?p=34264#p34264 forum post here.]  In order to get the firmware to compile and run on the &#039;&#039;&#039;GD32F107&#039;&#039;&#039;  you must make the following changes:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;In the file &amp;quot;&#039;&#039;&#039;anain.cpp&#039;&#039;&#039;&amp;quot; @ line 68:&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;68 - // adc_start_conversion_regular(ADC1);  // Comment out for GD MCU&amp;lt;/code&amp;gt;In the file&#039;&#039; &#039;&#039;&amp;quot;&#039;&#039;&#039;stm32_can.cpp&#039;&#039;&#039;&amp;quot; @ starting at line 305 modify as follows :&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;305 - gpio_set_mode(GPIO_BANK_CAN2_RE_RX, GPIO_MODE_INPUT, GPIO_CNF_INPUT_PULL_UPDOWN, GPIO_CAN2_RE_RX);&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;306 - gpio_set(GPIO_BANK_CAN2_RE_RX, GPIO_CAN2_RE_RX);&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;307 - // Configure CAN pin: TX.-&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;308 - gpio_set_mode(GPIO_BANK_CAN2_RE_TX, GPIO_MODE_OUTPUT_50_MHZ, GPIO_CNF_OUTPUT_ALTFN_PUSHPULL, GPIO_CAN2_RE_TX);&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you properly clone the repository with &#039;&#039;&#039;git&#039;&#039;&#039; on the command line that looks like this;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;git clone --recurse-submodules git@github.com:damienmaguire/Stm32-vcu.git&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
That recursively pulls in copies of &#039;&#039;&#039;&#039;&#039;libopeninv&#039;&#039;&#039;&#039;&#039;, etc and tracks them...   Hence your file-path should look like &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;./Stm32-vcu/libopeninv/src/&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
within the &#039;&#039;&#039;&#039;&#039;libopeninv&#039;&#039;&#039;&#039;&#039; src (source) directory you will find &#039;&#039;&#039;&#039;&#039;anain.cpp&#039;&#039;&#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;stm32_can.cpp&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Make the above changes to these files for the &#039;&#039;&#039;GigaDevices GD32F107&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
== Software update ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As supplied, both the ESP32 (the wifi plug-in board) and the STM32 (main MPU) are pre-loaded.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;UART Update&amp;quot; field on the GUI can be given a &#039;&#039;&#039;stm32_vcu.bin&#039;&#039;&#039; file to update the firmware.   Note that at this time, loading via Windows 10 is suspect and may lock you out of the board. Ubuntu works best.&lt;br /&gt;
&lt;br /&gt;
If you are unable to build your own, use the [https://openinverter.org/forum/download/file.php?id=11673 stm32_vcu.bin] that Damien posted on 10/30/2021 in the [https://openinverter.org/forum/viewtopic.php?p=33379#p33379 ZombieVerter VCU Support thread].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By using the ST-Link V2 in-circuit loader, &#039;&#039;&#039;.hex&#039;&#039;&#039; files can be sent to the board to initialize a fresh STM32 MCU, or if it can&#039;t be loaded via the bootloader.&lt;br /&gt;
&lt;br /&gt;
If you are unable to build your own, use the [https://openinverter.org/forum/download/file.php?id=11674 stm32_vcu.hex] that Damien posted on 10/30/2021 in the [https://openinverter.org/forum/viewtopic.php?p=33379#p33379 ZombieVerter VCU Support thread].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The connections needed to use the ST-Link loader are shown below:&lt;br /&gt;
[[File:0B35D4F9-BA64-46E7-A570-A0CE1D619D63.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
=== Initializing an ISA Shunt ===&lt;br /&gt;
Under Comms in the web interface, there is now an ISAMode option. By default its in &amp;quot;Normal&amp;quot;. If you want to initialize a new shunt, connect it up, power on the shunt and vcu, select &amp;quot;Init&amp;quot;, hit save parameters to flash. Power cycle the vcu and shunt at same time (they should be on same 12v feed anyway). The shunt will initialize. Select ISAMode &amp;quot;normal&amp;quot;, save to flash again and reboot again. The shunt should now be up and running.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Supported OEM Hardware==&lt;br /&gt;
&lt;br /&gt;
*Nissan Leaf Gen1/2/3 Inverter/ motor&lt;br /&gt;
*nissan leaf gen 2 drive stack (inverter, dcdc, charger) gen 3 coming soon&lt;br /&gt;
&lt;br /&gt;
*[[Lexus GS450h Inverter|Lexus GS450H inverter / gearbox via sync serial]]&lt;br /&gt;
* Toyota Prius/Yaris/Auris Gen 3 inverters via sync serial&lt;br /&gt;
* chevy volt HV water heater&lt;br /&gt;
*BMW E46 CAN support&lt;br /&gt;
*BMW E39 CAN support&lt;br /&gt;
*BMW E65 CAN Support&lt;br /&gt;
*CCS DC Fast Charge via BMW i3 LIM&lt;/div&gt;</summary>
		<author><name>Cgalpin</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=2002</id>
		<title>ZombieVerter VCU</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=2002"/>
		<updated>2021-12-09T03:08:03Z</updated>

		<summary type="html">&lt;p&gt;Cgalpin: /* Hardware */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;big&amp;gt;Now available for general sale [https://www.evbmw.com/index.php/evbmw-webshop/vcu-boards here].&amp;lt;/big&amp;gt;&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Development continues&#039;&#039;&#039; and you can&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?f=3&amp;amp;t=1277 follow and contribute along with the development here on the forum]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?f=3&amp;amp;t=1696 &#039;&#039;&#039;Support&#039;&#039;&#039; is available via a separate thread on the forum]&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
Rather than crack open inverters and swap components about to drive them, what if we simply send them the messages they&#039;re expecting? This has been the case with a couple of existing designs (Nissan leaf inverter and GS450H) and thanks to the SAM3X8E microcontroller no longer being stocked by JLCPCB this project looks to take it further.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So rather than driving an inverter powerstage this version sends CAN for the Leaf inverter or Sync serial for the GS450H and of course can be expanded to any number of others. This will be the default firmware for all vcu products from now on and future hardware will support future fun packed stuff like FLEXRAY!!!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&#039;s basically an &amp;lt;s&amp;gt;rip off&amp;lt;/s&amp;gt; homage and builds on other people&#039;s hard work in the shape of the following projects&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/jsphuebner/stm32-car STM32-CAR project] &lt;br /&gt;
* [https://github.com/jsphuebner/stm32-sine Openinverter]&lt;br /&gt;
* [https://github.com/Isaac96/SimpleISA ISA library]&lt;br /&gt;
* Leaf inverter driver by Celeron55&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
What we have as of now is the openinverter wrapper with things like :&lt;br /&gt;
&lt;br /&gt;
* Throttle cal and mapping,&lt;br /&gt;
* Precharge and contactor control,&lt;br /&gt;
* Temp derating,&lt;br /&gt;
* BMS limits,&lt;br /&gt;
* for/rev/neutral control,&lt;br /&gt;
* Graphing and monitoring,&lt;br /&gt;
* Firmware updates via the web interface,&lt;br /&gt;
* Cruise control,&lt;br /&gt;
* Fuel gauge driver,&lt;br /&gt;
* etc &lt;br /&gt;
&lt;br /&gt;
==Hardware==&lt;br /&gt;
So you&#039;ve ordered your kit, first things first, watch the following two videos to assemble it. &lt;br /&gt;
&lt;br /&gt;
Due to chip shortages (written summer 2021) the board isn&#039;t fully assembled so you will need to do some soldering, or take it to a local phone repair shop (or similar) who&#039;ll find soldering at this scale like playing with Duplo (Legos to you Yanks).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The current list of parts to be fitted:&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
CONN1&lt;br /&gt;
IC10 = MCP25625T&lt;br /&gt;
IC14 = TJA1020 OR MCP2004 &lt;br /&gt;
IC19 = NCV7356&lt;br /&gt;
IC20 = TJA1055T&lt;br /&gt;
IC21, 22 = AD5160&lt;br /&gt;
IC27, 28, 29 = FAN3122&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And the positions on the V1 board.&lt;br /&gt;
[[File:Zombv1boardb.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===The enclosure kit links===&lt;br /&gt;
&lt;br /&gt;
You only need one, but below are two options - one with just the connector, and the other prewired with 3M long leads.&lt;br /&gt;
&lt;br /&gt;
::Enclosure Kit with Header, connector and pins :&lt;br /&gt;
&lt;br /&gt;
::::https://www.aliexpress.com/item/32857771975.html?spm=a2g0s.9042311.0.0.39f24c4dWOmGPE&lt;br /&gt;
&lt;br /&gt;
::Prewired connector with 3M leads (limited colors which will not match standard wire colouring conventions) :&lt;br /&gt;
&lt;br /&gt;
::::https://www.aliexpress.com/item/4001213569338.html?spm=a2g0o.cart.0.0.366c3c00qhBvGO&amp;amp;mp=1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The kits do not come with M3 screws needed to secure the board to the enclosure (2 need to be slightly longer), and to secure the lid. Nor a gasket for the lid.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note that in addition to the VCU, the inverter and transmission, you will require a specific CANBUS connected shunt&#039;&#039;&#039;: [[Isabellenhütte Heusler]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ ZombieVerter VCU V1 Build Part 1&lt;br /&gt;
|-&lt;br /&gt;
! Video !! Highlights&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;youtube&amp;gt;https://www.youtube.com/watch?v=geZuIbGHh30&amp;lt;/youtube&amp;gt; ||&lt;br /&gt;
&#039;&#039;&#039;00:33&#039;&#039;&#039; Warning and suggestion to go watch cat videos instead&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=66s 01:06]&#039;&#039;&#039; Recap about the ZombieVerter VCU Build Part 1&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=184s 03:04]&#039;&#039;&#039; How to get one&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=215s 03:35]&#039;&#039;&#039; Design files currently require E10 Patreon membership/contribution if wanting to build your own&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=268s 04:28]&#039;&#039;&#039; Components still requiring soldering&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=303s 05:03]&#039;&#039;&#039; IC19 - 8 pin SOIC for single wire CAN (NCV7356)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=360s 06:00]&#039;&#039;&#039; IC10 - SPI CAN controller and transceiver (MCP25625T)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=390s 06:30]&#039;&#039;&#039; &amp;lt;del&amp;gt;IC1,3,5,6,7,24,25,26  load driver mosfets (NCV8402)&amp;lt;/del&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=440s 07:20]&#039;&#039;&#039; Do you need these components?&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=520s 08:40]&#039;&#039;&#039; Soldering begins - IC19&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=550s 09:10]&#039;&#039;&#039; Soldering iron for SOIC parts&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=567s 09:27]&#039;&#039;&#039; Applying flux using Damien&#039;s favorite Flux, UV80&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=634s 10:34]&#039;&#039;&#039; Magnifier headset&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=807s 13:27]&#039;&#039;&#039; Soldering MCP25625&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=955s 15:55]&#039;&#039;&#039; Suggests getting an phone/computer repair shop to help out if needed&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1025s 17:05]&#039;&#039;&#039; Using hot air gun to warm the board and position the chip&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1174s 19:34]&#039;&#039;&#039; &amp;lt;del&amp;gt;Soldering NCV8402s&amp;lt;/del&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1408s 23:28]&#039;&#039;&#039; Clean soldering with IPA Solvent&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1480s 24:40]&#039;&#039;&#039; First power up test using bench power supply to limit current to a few hundred mA&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1607s 26:47]&#039;&#039;&#039; 60mA current draw with no wifi board&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1655s 27:35]&#039;&#039;&#039; Wifi module&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1790s 29:50]&#039;&#039;&#039; Power up test with wifi draws 90mA&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1825s 30:25]&#039;&#039;&#039; Enclosure kit(s)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=2162s 36:02]&#039;&#039;&#039; Soldering the PCB header (56 pin)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=2668s 44:28]&#039;&#039;&#039; Installing in the enclosure&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=3030s 50:30]&#039;&#039;&#039; Cameo appearance by Gome cat&amp;lt;br/&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ ZombieVerter VCU V1 Build Part 2&lt;br /&gt;
|-&lt;br /&gt;
! Video !! Highlights&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;youtube&amp;gt;https://youtu.be/MUhs9j9R9Mg&amp;lt;/youtube&amp;gt; ||&lt;br /&gt;
&#039;&#039;&#039;00:34&#039;&#039;&#039; Health warning and suggestion to go watch cat videos instead&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=102s 01:42]&#039;&#039;&#039; Intro&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=200s 03:20]&#039;&#039;&#039; Pinouts of the 56 pin connector&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=256s 04:16]&#039;&#039;&#039; Pins 55,56 - Ground and +12V&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=289s 04:49]&#039;&#039;&#039; Pins 53,54 - Reverse and Forward Direction. Apply +12V to the pin for the direction needed. Configurable in the web interface to flip these since direction is relative&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=452s 07:32]&#039;&#039;&#039; Pins 52 - Start. Momentarily apply +12V to send a start signal&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=495s 08:15]&#039;&#039;&#039; Pin 51 - HV Request. Apply +12v to precharge and bring up the high voltage system (and not the drive components)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=545s 09:05]&#039;&#039;&#039; Pin 50 - General Purpose 12V Input. Reserved for future use&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=563s 09:23]&#039;&#039;&#039; Pin 49 - Brake Input. Connect to brake light switch to apply +12V signaling brakes are applied&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=615s 10:15]&#039;&#039;&#039; Pins 45,46,47,48 - Throttle. +5V power, ground, and 1 or 2 hall effect sensor inputs&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=660s 11:00]&#039;&#039;&#039; Pins 25,26,27,28 - 3 CAN bus interfaces. CAN EXT is for vehicle/body communication, CAN EXT 2 for the ISA shunt comms, CAN EXT 3 (with solderable jumpers to change modes) is for general purpose like charger, heater control&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=885s 14:45]&#039;&#039;&#039; Pin 24 - Local Interface Network (LIN)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=956s 15:56]&#039;&#039;&#039; Pins 16,17,18,19,20,21,22,23 - Toyota Hybrid Inverter specific using async serial comms.&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1041s 17:21]&#039;&#039;&#039; Pin 15 - Ignition T15 In. Apply +12V to turn Ignition on. Puts VCU in run mode&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1134s 18:54]&#039;&#039;&#039; Pins 37,38,39,40,41,42 - Toyota Hybrid Transmission shift control&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1182s 19:42]&#039;&#039;&#039; Pins 35,36 - POT1 &amp;amp; POT2. Digital potentiometer outputs to drive analog gauges (fuel, etc)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1270s 21:10]&#039;&#039;&#039; Pins 32,33,34 - Low Side (LS) switches for Inverter Power, Positive side Main Contactor, Precharge Contactor&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1401s 23:21]&#039;&#039;&#039; Pin 31 - General Purpose +12V Output. LS switch for Negative side Main Contactor&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1441s 24:01]&#039;&#039;&#039; Pins 12,13,14,29,30 - Toyota Hybrid System controls&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1524s 25:24]&#039;&#039;&#039; Pins 10,11 - Digital to Analog Converter (DAC) 1 &amp;amp; 2. Reserved for future use - additional analog instruments etc.&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1593s 26:33]&#039;&#039;&#039; Pins 8,9 - 0-5V Analog Inputs 1 &amp;amp; 2. Reserved for future use (ie not implemented yet)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1626s 27:06]&#039;&#039;&#039; Pins 5,6,7 - Pulse Width Modulation (PWM) 1-3 +12V output signals. Reserved for future use (ie not implemented yet)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1676s 27:56]&#039;&#039;&#039; Pins 3,4 - General Purpose +12V Outputs 2 &amp;amp; 3. Reserved for future use (ie not implemented yet)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1709s 28:29]&#039;&#039;&#039; Pins 1,2 - RS232 Rx/Tx Serial connection for alternation VCU communication (solder jumper configurable). Reserved for future expansion&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1811s 30:11]&#039;&#039;&#039; CAN bus connected Isabellenhutte Huesler Shunt&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=2325s 38:45]&#039;&#039;&#039; Web Interface&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=2650s 44:10]&#039;&#039;&#039; How to perform a software update via the web interface using a precompiled binary&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=2852s 47:32]&#039;&#039;&#039; UI Features - Commands&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=3170s 52:50]&#039;&#039;&#039; UI Features - Update&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=3210s 53:30]&#039;&#039;&#039; UI Features - Parameters&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=4290s 1:11:32]&#039;&#039;&#039; UI Features - Spot Values&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will finish soon..&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&#039;&#039;&#039;Pin Out Diagram&#039;&#039;&#039;[[File:ZombieVerter VCU V1 cable side pinout.jpg|thumb|alt=|VCU pinout diagram |none]]&lt;br /&gt;
[[File:Zomb-con-et.png|none|thumb|List of connections to system components (GS450 application)]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Further information for a GS450 system can be found here: [[Lexus GS450h Inverter]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note&#039;&#039;&#039;: In the software port 0 = EXT2 and port 1 = EXT&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Initial start-up and testing (Instructions for GS450H application) ==&lt;br /&gt;
The VCU is configured by connecting to its wifi access point.  For existing units this is something like SSID: ESP-03xxxx, no password.  For future units (shipped after 20/10/21) this will be SSID: inverter (or zom_vcu) PASSWORD: inverter123&lt;br /&gt;
&lt;br /&gt;
Then navigate to 192.168.4.1 to see the huebner inverter dashboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Get familiar with the interface and check that all of the parameters make sense. If in doubt, make sure the default value is set.  At each stage the current state of the system and any error can be seen on the interface, for example &#039;&#039;&#039;opmode&#039;&#039;&#039; and &#039;&#039;&#039;lasterr&#039;&#039;&#039;. Press refresh at the top of the screen to update the values.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will need the HV supply connected, which can be a lower voltage (50-100V), current limited power supply for test purposes.  Set &#039;&#039;&#039;udcmin&#039;&#039;&#039; to some value below that (e.g. 50V for a 100V supply) and &#039;&#039;&#039;udcsw&#039;&#039;&#039; to 10V lower than the supply.&lt;br /&gt;
&lt;br /&gt;
* Apply the &#039;&#039;&#039;Ignition T15 in&#039;&#039;&#039; 12V signal.  The relay supplying 12V to the inverter should now be on.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Check the accelerator by applying it gradually and watching / refreshing the interface. You should see values at &#039;&#039;&#039;pot&#039;&#039;&#039; change as the pedal is pressed.  &#039;&#039;&#039;potmin&#039;&#039;&#039; should be set just above where your off-throttle position is, and &#039;&#039;&#039;potmax&#039;&#039;&#039; just below the value seen at maximum travel. Same for &#039;&#039;&#039;pot2min&#039;&#039;&#039; and &#039;&#039;&#039;pot2max&#039;&#039;&#039;, if they are electrically connected. The resulting value as a 0-100 value can be seen at &#039;&#039;&#039;potnom&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If it does not show up, check for errors and check that throtmax is not set to zero!  Check that tmpm is less than tmpmmax, as it can derate the potnom value down as far as zero!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Apply the &#039;&#039;&#039;Start&#039;&#039;&#039; 12V signal for a short time.  The pre-charge relay should turn on, and the voltage available at the inverter and the U1 input of the ISA shunt should quickly rise. If the &#039;&#039;&#039;udc&#039;&#039;&#039; reading goes above &#039;&#039;&#039;udcsw&#039;&#039;&#039; within 5 seconds then the main contactor(s) should close. If all is well, &#039;&#039;&#039;invstat&#039;&#039;&#039; should now be &amp;quot;on&amp;quot;, &#039;&#039;&#039;opmode&#039;&#039;&#039; should be &amp;quot;run&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you do not see a good value at udc, it may be that your external shunt is not connected properly or is not initialised.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you do not see a good value at Invudc, it may be that the inverter is not powered, or the communication signals are not correctly wired.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;if the status stays at &amp;quot;PRECHARGE&amp;quot; then you possibly didn&#039;t hold the start signal on for long enough!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Once the contactors are on, select forwards direction.  For example if &#039;&#039;&#039;dirmode&#039;&#039;&#039; is set to &amp;quot;Switch&amp;quot; then a 12V signal applied to the Forward input will work.&lt;br /&gt;
&lt;br /&gt;
* Carefully apply the accelerator and the motor should begin to turn. Do not spin the motor up to any speed if you are using a test power supply.&lt;br /&gt;
&lt;br /&gt;
== Software==&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/Stm32-vcu &#039;&#039;&#039;Github for the project:&#039;&#039;&#039; https://github.com/damienmaguire/Stm32-vcu]&lt;br /&gt;
&lt;br /&gt;
Various binaries can be found in the support thread, for example https://openinverter.org/forum/viewtopic.php?p=33379#p33379&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;GD variant:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Status as of November 20 2021&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Early boards fitted with the GigaDevices  &#039;&#039;&#039;GD32F107&#039;&#039;&#039; aka &amp;quot;GD chip&amp;quot; require different firmware routines than &#039;&#039;&#039;STM32F107&#039;&#039;&#039; equipped boards.  See this [https://openinverter.org/forum/viewtopic.php?p=33758#p33758 Zombieverter VCU Support Thread forum post]&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;The GigaDevices `[https://www.gigadevice.com/products/microcontrollers/gd32/arm-cortex-m3/connectivity-line/gd32f107-series/ GD32F107] was chosen as an alternative to the ST equivalent due to microchip shortages during the COVID-19 pandemic.  A specific branch of firmware code for the GD32F107 variant is found here:  https://github.com/damienmaguire/Stm32-vcu/tree/GD_Zombie  However development of this variant was abandoned shortly after it&#039;s release.&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;As of this writing , The [https://github.com/damienmaguire/Stm32-vcu/tree/GD_Zombie GD_Zombie] branch has fallen behind and substantially diverged from the primary code base. It has been suggested that work needs to be done to make the present firmware chip agnostic via detection routines.  See this [https://openinverter.org/forum/viewtopic.php?p=34220#p34220 Zombieverter Development Thread forum post]. As of this writing that work has yet to be undertaken and remains to be organized and completed.  And issue has be devoted to tracking this progress here: [https://github.com/damienmaguire/Stm32-vcu/issues/21 Issue #21]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Here is a link to a post with a pre compiled bin and hex for the GD_Zombie created by Damien on the 23/11/21;  [https://openinverter.org/forum/viewtopic.php?p=34264#p34264 ZombieVerter VCU Support - Page 9 - openinverter forum] This is based on the 16/6/21 code it is &amp;lt;u&amp;gt;&#039;&#039;&#039;not&#039;&#039;&#039;&amp;lt;/u&amp;gt; an update. Ensure you rename the binaries to stm32_vcu.xxx to ensure no wifi issues.&lt;br /&gt;
 &lt;br /&gt;
&#039;&#039;UPDATE November 23 2021&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Updated information about the necessary edits to make to the STM32 based firmware have been posted in a [https://openinverter.org/forum/viewtopic.php?p=34264#p34264 forum post here.]  In order to get the firmware to compile and run on the &#039;&#039;&#039;GD32F107&#039;&#039;&#039;  you must make the following changes:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;In the file &amp;quot;&#039;&#039;&#039;anain.cpp&#039;&#039;&#039;&amp;quot; @ line 68:&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;68 - // adc_start_conversion_regular(ADC1);  // Comment out for GD MCU&amp;lt;/code&amp;gt;In the file&#039;&#039; &#039;&#039;&amp;quot;&#039;&#039;&#039;stm32_can.cpp&#039;&#039;&#039;&amp;quot; @ starting at line 305 modify as follows :&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;305 - gpio_set_mode(GPIO_BANK_CAN2_RE_RX, GPIO_MODE_INPUT, GPIO_CNF_INPUT_PULL_UPDOWN, GPIO_CAN2_RE_RX);&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;306 - gpio_set(GPIO_BANK_CAN2_RE_RX, GPIO_CAN2_RE_RX);&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;307 - // Configure CAN pin: TX.-&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;308 - gpio_set_mode(GPIO_BANK_CAN2_RE_TX, GPIO_MODE_OUTPUT_50_MHZ, GPIO_CNF_OUTPUT_ALTFN_PUSHPULL, GPIO_CAN2_RE_TX);&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you properly clone the repository with &#039;&#039;&#039;git&#039;&#039;&#039; on the command line that looks like this;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;git clone --recurse-submodules git@github.com:damienmaguire/Stm32-vcu.git&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
That recursively pulls in copies of &#039;&#039;&#039;&#039;&#039;libopeninv&#039;&#039;&#039;&#039;&#039;, etc and tracks them...   Hence your file-path should look like &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;./Stm32-vcu/libopeninv/src/&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
within the &#039;&#039;&#039;&#039;&#039;libopeninv&#039;&#039;&#039;&#039;&#039; src (source) directory you will find &#039;&#039;&#039;&#039;&#039;anain.cpp&#039;&#039;&#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;stm32_can.cpp&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Make the above changes to these files for the &#039;&#039;&#039;GigaDevices GD32F107&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
== Software update ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As supplied, both the ESP32 (the wifi plug-in board) and the STM32 (main MPU) are pre-loaded.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;UART Update&amp;quot; field on the GUI can be given a &#039;&#039;&#039;stm32_vcu.bin&#039;&#039;&#039; file to update the firmware.   Note that at this time, loading via Windows 10 is suspect and may lock you out of the board. Ubuntu works best.&lt;br /&gt;
&lt;br /&gt;
If you are unable to build your own, use the [https://openinverter.org/forum/download/file.php?id=11673 stm32_vcu.bin] that Damien posted on 10/30/2021 in the [https://openinverter.org/forum/viewtopic.php?p=33379#p33379 ZombieVerter VCU Support thread].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By using the ST-Link V2 in-circuit loader, &#039;&#039;&#039;.hex&#039;&#039;&#039; files can be sent to the board to initialize a fresh STM32 MCU, or if it can&#039;t be loaded via the bootloader.&lt;br /&gt;
&lt;br /&gt;
If you are unable to build your own, use the [https://openinverter.org/forum/download/file.php?id=11674 stm32_vcu.hex] that Damien posted on 10/30/2021 in the [https://openinverter.org/forum/viewtopic.php?p=33379#p33379 ZombieVerter VCU Support thread].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The connections needed to use the ST-Link loader are shown below:&lt;br /&gt;
[[File:0B35D4F9-BA64-46E7-A570-A0CE1D619D63.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
=== Initializing an ISA Shunt ===&lt;br /&gt;
Under Comms in the web interface, there is now an ISAMode option. By default its in &amp;quot;Normal&amp;quot;. If you want to initialize a new shunt, connect it up, power on the shunt and vcu, select &amp;quot;Init&amp;quot;, hit save parameters to flash. Power cycle the vcu and shunt at same time (they should be on same 12v feed anyway). The shunt will initialize. Select ISAMode &amp;quot;normal&amp;quot;, save to flash again and reboot again. The shunt should now be up and running.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Supported OEM Hardware==&lt;br /&gt;
&lt;br /&gt;
*Nissan Leaf Gen1/2/3 Inverter/ motor&lt;br /&gt;
*nissan leaf gen 2 drive stack (inverter, dcdc, charger) gen 3 coming soon&lt;br /&gt;
&lt;br /&gt;
*[[Lexus GS450h Inverter|Lexus GS450H inverter / gearbox via sync serial]]&lt;br /&gt;
* Toyota Prius/Yaris/Auris Gen 3 inverters via sync serial&lt;br /&gt;
* chevy volt HV water heater&lt;br /&gt;
*BMW E46 CAN support&lt;br /&gt;
*BMW E39 CAN support&lt;br /&gt;
*BMW E65 CAN Support&lt;br /&gt;
*CCS DC Fast Charge via BMW i3 LIM&lt;/div&gt;</summary>
		<author><name>Cgalpin</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=2001</id>
		<title>ZombieVerter VCU</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=2001"/>
		<updated>2021-12-09T03:02:59Z</updated>

		<summary type="html">&lt;p&gt;Cgalpin: /* The enclosure kit links */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;big&amp;gt;Now available for general sale [https://www.evbmw.com/index.php/evbmw-webshop/vcu-boards here].&amp;lt;/big&amp;gt;&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Development continues&#039;&#039;&#039; and you can&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?f=3&amp;amp;t=1277 follow and contribute along with the development here on the forum]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?f=3&amp;amp;t=1696 &#039;&#039;&#039;Support&#039;&#039;&#039; is available via a separate thread on the forum]&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
Rather than crack open inverters and swap components about to drive them, what if we simply send them the messages they&#039;re expecting? This has been the case with a couple of existing designs (Nissan leaf inverter and GS450H) and thanks to the SAM3X8E microcontroller no longer being stocked by JLCPCB this project looks to take it further.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So rather than driving an inverter powerstage this version sends CAN for the Leaf inverter or Sync serial for the GS450H and of course can be expanded to any number of others. This will be the default firmware for all vcu products from now on and future hardware will support future fun packed stuff like FLEXRAY!!!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&#039;s basically an &amp;lt;s&amp;gt;rip off&amp;lt;/s&amp;gt; homage and builds on other people&#039;s hard work in the shape of the following projects&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/jsphuebner/stm32-car STM32-CAR project] &lt;br /&gt;
* [https://github.com/jsphuebner/stm32-sine Openinverter]&lt;br /&gt;
* [https://github.com/Isaac96/SimpleISA ISA library]&lt;br /&gt;
* Leaf inverter driver by Celeron55&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
What we have as of now is the openinverter wrapper with things like :&lt;br /&gt;
&lt;br /&gt;
* Throttle cal and mapping,&lt;br /&gt;
* Precharge and contactor control,&lt;br /&gt;
* Temp derating,&lt;br /&gt;
* BMS limits,&lt;br /&gt;
* for/rev/neutral control,&lt;br /&gt;
* Graphing and monitoring,&lt;br /&gt;
* Firmware updates via the web interface,&lt;br /&gt;
* Cruise control,&lt;br /&gt;
* Fuel gauge driver,&lt;br /&gt;
* etc &lt;br /&gt;
&lt;br /&gt;
==Hardware==&lt;br /&gt;
So you&#039;ve ordered your kit, first things first, watch the following two videos to assemble it. &lt;br /&gt;
&lt;br /&gt;
Due to chip shortages (written summer 2021) the board isn&#039;t fully assembled so you will need to do some soldering, or take it to a local phone repair shop (or similar) who&#039;ll find soldering at this scale like playing with Duplo (Legos to you Yanks).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The current list of parts to be fitted:&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
CONN1&lt;br /&gt;
IC10 = MCP25625T&lt;br /&gt;
IC14 = TJA1020 OR MCP2004 &lt;br /&gt;
IC19 = NCV7356&lt;br /&gt;
IC20 = TJA1055T&lt;br /&gt;
IC21, 22 = AD5160&lt;br /&gt;
IC27, 28, 29 = FAN3122&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And the positions on the V1 board.&lt;br /&gt;
[[File:Zombv1boardb.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===The enclosure kit links===&lt;br /&gt;
&lt;br /&gt;
You only need one, but below are two options - one with just the connector, and the other prewired with 3M long leads.&lt;br /&gt;
&lt;br /&gt;
::Enclosure Kit with Header, connector and pins :&lt;br /&gt;
&lt;br /&gt;
::::https://www.aliexpress.com/item/32857771975.html?spm=a2g0s.9042311.0.0.39f24c4dWOmGPE&lt;br /&gt;
&lt;br /&gt;
::Prewired connector with 3M leads (limited colors which will not match standard wire colouring conventions) :&lt;br /&gt;
&lt;br /&gt;
::::https://www.aliexpress.com/item/4001213569338.html?spm=a2g0o.cart.0.0.366c3c00qhBvGO&amp;amp;mp=1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The kits do not come with M3 screws needed to secure the board to the enclosure (2 need to be slightly longer), and to secure the lid. Nor a gasket for the lid.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note that in addition to the VCU, the inverter and transmission, you will require a specific CANBUS connected shunt&#039;&#039;&#039;: [[Isabellenhütte Heusler]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ ZombieVerter VCU V1 Build Part 1&lt;br /&gt;
|-&lt;br /&gt;
! Video !! Highlights&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;youtube&amp;gt;https://www.youtube.com/watch?v=geZuIbGHh30&amp;lt;/youtube&amp;gt; ||&lt;br /&gt;
&#039;&#039;&#039;00:33&#039;&#039;&#039; Warning and suggestion to go watch cat videos instead&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=66s 01:06]&#039;&#039;&#039; Recap about the ZombieVerter VCU Build Part 1&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=184s 03:04]&#039;&#039;&#039; How to get one&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=215s 03:35]&#039;&#039;&#039; Design files currently require E10 Patreon membership/contribution if wanting to build your own&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=268s 04:28]&#039;&#039;&#039; Components still requiring soldering&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=303s 05:03]&#039;&#039;&#039; IC19 - 8 pin SOIC for single wire CAN (NCV7356)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=360s 06:00]&#039;&#039;&#039; IC10 - SPI CAN controller and transceiver (MCP25625T)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=390s 06:30]&#039;&#039;&#039; &amp;lt;del&amp;gt;IC1,3,5,6,7,24,25,26  load driver mosfets (NCV8402)&amp;lt;/del&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=440s 07:20]&#039;&#039;&#039; Do you need these components?&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=520s 08:40]&#039;&#039;&#039; Soldering begins - IC19&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=550s 09:10]&#039;&#039;&#039; Soldering iron for SOIC parts&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=567s 09:27]&#039;&#039;&#039; Applying flux using Damien&#039;s favorite Flux, UV80&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=634s 10:34]&#039;&#039;&#039; Magnifier headset&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=807s 13:27]&#039;&#039;&#039; Soldering MCP25625&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=955s 15:55]&#039;&#039;&#039; Suggests getting an phone/computer repair shop to help out if needed&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1025s 17:05]&#039;&#039;&#039; Using hot air gun to warm the board and position the chip&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1174s 19:34]&#039;&#039;&#039; &amp;lt;del&amp;gt;Soldering NCV8402s&amp;lt;/del&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1408s 23:28]&#039;&#039;&#039; Clean soldering with IPA Solvent&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1480s 24:40]&#039;&#039;&#039; First power up test using bench power supply to limit current to a few hundred mA&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1607s 26:47]&#039;&#039;&#039; 60mA current draw with no wifi board&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1655s 27:35]&#039;&#039;&#039; Wifi module&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1790s 29:50]&#039;&#039;&#039; Power up test with wifi draws 90mA&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1825s 30:25]&#039;&#039;&#039; Enclosure kit(s)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=2162s 36:02]&#039;&#039;&#039; Soldering the PCB header (56 pin)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=2668s 44:28]&#039;&#039;&#039; Installing in the enclosure&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=3030s 50:30]&#039;&#039;&#039; Cameo appearance by Gome cat&amp;lt;br/&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ ZombieVerter VCU V1 Build Part 2&lt;br /&gt;
|-&lt;br /&gt;
! Video !! Highlights&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;youtube&amp;gt;https://youtu.be/MUhs9j9R9Mg&amp;lt;/youtube&amp;gt; ||&lt;br /&gt;
&#039;&#039;&#039;00:34&#039;&#039;&#039; Health warning and suggestion to go watch cat videos instead&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=102s 01:42]&#039;&#039;&#039; Intro&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=200s 03:20]&#039;&#039;&#039; Pinouts of the 56 pin connector&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=256s 04:16]&#039;&#039;&#039; Pins 55,56 - Ground and +12V&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=289s 04:49]&#039;&#039;&#039; Pins 53,54 - Reverse and Forward Direction. Apply +12V to the pin for the direction needed. Configurable in the web interface to flip these since direction is relative&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=452s 07:32]&#039;&#039;&#039; Pins 52 - Start. Momentarily apply +12V to send a start signal&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=495s 08:15]&#039;&#039;&#039; Pin 51 - HV Request. Apply +12v to precharge and bring up the high voltage system (and not the drive components)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=545s 09:05]&#039;&#039;&#039; Pin 50 - General Purpose 12V Input. Reserved for future use&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=563s 09:23]&#039;&#039;&#039; Pin 49 - Brake Input. Connect to brake light switch to apply +12V signaling brakes are applied&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=615s 10:15]&#039;&#039;&#039; Pins 45,46,47,48 - Throttle. +5V power, ground, and 1 or 2 hall effect sensor inputs&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=660s 11:00]&#039;&#039;&#039; Pins 25,26,27,28 - 3 CAN bus interfaces. CAN EXT is for vehicle/body communication, CAN EXT 2 for the ISA shunt comms, CAN EXT 3 (with solderable jumpers to change modes) is for general purpose like charger, heater control&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=885s 14:45]&#039;&#039;&#039; Pin 24 - Local Interface Network (LIN)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=956s 15:56]&#039;&#039;&#039; Pins 16,17,18,19,20,21,22,23 - Toyota Hybrid Inverter specific using async serial comms.&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1041s 17:21]&#039;&#039;&#039; Pin 15 - Ignition T15 In. Apply +12V to turn Ignition on. Puts VCU in run mode&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1134s 18:54]&#039;&#039;&#039; Pins 37,38,39,40,41,42 - Toyota Hybrid Transmission shift control&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1182s 19:42]&#039;&#039;&#039; Pins 35,36 - POT1 &amp;amp; POT2. Digital potentiometer outputs to drive analog gauges (fuel, etc)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1270s 21:10]&#039;&#039;&#039; Pins 32,33,34 - Low Side (LS) switches for Inverter Power, Positive side Main Contactor, Precharge Contactor&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1401s 23:21]&#039;&#039;&#039; Pin 31 - General Purpose +12V Output. LS switch for Negative side Main Contactor&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1441s 24:01]&#039;&#039;&#039; Pins 12,13,14,29,30 - Toyota Hybrid System controls&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1524s 25:24]&#039;&#039;&#039; Pins 10,11 - Digital to Analog Converter (DAC) 1 &amp;amp; 2. Reserved for future use - additional analog instruments etc.&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1593s 26:33]&#039;&#039;&#039; Pins 8,9 - 0-5V Analog Inputs 1 &amp;amp; 2. Reserved for future use (ie not implemented yet)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1626s 27:06]&#039;&#039;&#039; Pins 5,6,7 - Pulse Width Modulation (PWM) 1-3 +12V output signals. Reserved for future use (ie not implemented yet)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1676s 27:56]&#039;&#039;&#039; Pins 3,4 - General Purpose +12V Outputs 2 &amp;amp; 3. Reserved for future use (ie not implemented yet)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1709s 28:29]&#039;&#039;&#039; Pins 1,2 - RS232 Rx/Tx Serial connection for alternation VCU communication (solder jumper configurable). Reserved for future expansion&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1811s 30:11]&#039;&#039;&#039; CAN bus connected Isabellenhutte Huesler Shunt&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=2325s 38:45]&#039;&#039;&#039; Web Interface&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=2650s 44:10]&#039;&#039;&#039; How to perform a software update via the web interface using a precompiled binary&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=2852s 47:32]&#039;&#039;&#039; UI Features - Commands&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=3170s 52:50]&#039;&#039;&#039; UI Features - Update&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=3210s 53:30]&#039;&#039;&#039; UI Features - Parameters&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will finish soon..&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&#039;&#039;&#039;Pin Out Diagram&#039;&#039;&#039;[[File:ZombieVerter VCU V1 cable side pinout.jpg|thumb|alt=|VCU pinout diagram |none]]&lt;br /&gt;
[[File:Zomb-con-et.png|none|thumb|List of connections to system components (GS450 application)]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Further information for a GS450 system can be found here: [[Lexus GS450h Inverter]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note&#039;&#039;&#039;: In the software port 0 = EXT2 and port 1 = EXT&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Initial start-up and testing (Instructions for GS450H application) ==&lt;br /&gt;
The VCU is configured by connecting to its wifi access point.  For existing units this is something like SSID: ESP-03xxxx, no password.  For future units (shipped after 20/10/21) this will be SSID: inverter (or zom_vcu) PASSWORD: inverter123&lt;br /&gt;
&lt;br /&gt;
Then navigate to 192.168.4.1 to see the huebner inverter dashboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Get familiar with the interface and check that all of the parameters make sense. If in doubt, make sure the default value is set.  At each stage the current state of the system and any error can be seen on the interface, for example &#039;&#039;&#039;opmode&#039;&#039;&#039; and &#039;&#039;&#039;lasterr&#039;&#039;&#039;. Press refresh at the top of the screen to update the values.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will need the HV supply connected, which can be a lower voltage (50-100V), current limited power supply for test purposes.  Set &#039;&#039;&#039;udcmin&#039;&#039;&#039; to some value below that (e.g. 50V for a 100V supply) and &#039;&#039;&#039;udcsw&#039;&#039;&#039; to 10V lower than the supply.&lt;br /&gt;
&lt;br /&gt;
* Apply the &#039;&#039;&#039;Ignition T15 in&#039;&#039;&#039; 12V signal.  The relay supplying 12V to the inverter should now be on.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Check the accelerator by applying it gradually and watching / refreshing the interface. You should see values at &#039;&#039;&#039;pot&#039;&#039;&#039; change as the pedal is pressed.  &#039;&#039;&#039;potmin&#039;&#039;&#039; should be set just above where your off-throttle position is, and &#039;&#039;&#039;potmax&#039;&#039;&#039; just below the value seen at maximum travel. Same for &#039;&#039;&#039;pot2min&#039;&#039;&#039; and &#039;&#039;&#039;pot2max&#039;&#039;&#039;, if they are electrically connected. The resulting value as a 0-100 value can be seen at &#039;&#039;&#039;potnom&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If it does not show up, check for errors and check that throtmax is not set to zero!  Check that tmpm is less than tmpmmax, as it can derate the potnom value down as far as zero!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Apply the &#039;&#039;&#039;Start&#039;&#039;&#039; 12V signal for a short time.  The pre-charge relay should turn on, and the voltage available at the inverter and the U1 input of the ISA shunt should quickly rise. If the &#039;&#039;&#039;udc&#039;&#039;&#039; reading goes above &#039;&#039;&#039;udcsw&#039;&#039;&#039; within 5 seconds then the main contactor(s) should close. If all is well, &#039;&#039;&#039;invstat&#039;&#039;&#039; should now be &amp;quot;on&amp;quot;, &#039;&#039;&#039;opmode&#039;&#039;&#039; should be &amp;quot;run&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you do not see a good value at udc, it may be that your external shunt is not connected properly or is not initialised.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you do not see a good value at Invudc, it may be that the inverter is not powered, or the communication signals are not correctly wired.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;if the status stays at &amp;quot;PRECHARGE&amp;quot; then you possibly didn&#039;t hold the start signal on for long enough!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Once the contactors are on, select forwards direction.  For example if &#039;&#039;&#039;dirmode&#039;&#039;&#039; is set to &amp;quot;Switch&amp;quot; then a 12V signal applied to the Forward input will work.&lt;br /&gt;
&lt;br /&gt;
* Carefully apply the accelerator and the motor should begin to turn. Do not spin the motor up to any speed if you are using a test power supply.&lt;br /&gt;
&lt;br /&gt;
== Software==&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/Stm32-vcu &#039;&#039;&#039;Github for the project:&#039;&#039;&#039; https://github.com/damienmaguire/Stm32-vcu]&lt;br /&gt;
&lt;br /&gt;
Various binaries can be found in the support thread, for example https://openinverter.org/forum/viewtopic.php?p=33379#p33379&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;GD variant:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Status as of November 20 2021&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Early boards fitted with the GigaDevices  &#039;&#039;&#039;GD32F107&#039;&#039;&#039; aka &amp;quot;GD chip&amp;quot; require different firmware routines than &#039;&#039;&#039;STM32F107&#039;&#039;&#039; equipped boards.  See this [https://openinverter.org/forum/viewtopic.php?p=33758#p33758 Zombieverter VCU Support Thread forum post]&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;The GigaDevices `[https://www.gigadevice.com/products/microcontrollers/gd32/arm-cortex-m3/connectivity-line/gd32f107-series/ GD32F107] was chosen as an alternative to the ST equivalent due to microchip shortages during the COVID-19 pandemic.  A specific branch of firmware code for the GD32F107 variant is found here:  https://github.com/damienmaguire/Stm32-vcu/tree/GD_Zombie  However development of this variant was abandoned shortly after it&#039;s release.&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;As of this writing , The [https://github.com/damienmaguire/Stm32-vcu/tree/GD_Zombie GD_Zombie] branch has fallen behind and substantially diverged from the primary code base. It has been suggested that work needs to be done to make the present firmware chip agnostic via detection routines.  See this [https://openinverter.org/forum/viewtopic.php?p=34220#p34220 Zombieverter Development Thread forum post]. As of this writing that work has yet to be undertaken and remains to be organized and completed.  And issue has be devoted to tracking this progress here: [https://github.com/damienmaguire/Stm32-vcu/issues/21 Issue #21]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Here is a link to a post with a pre compiled bin and hex for the GD_Zombie created by Damien on the 23/11/21;  [https://openinverter.org/forum/viewtopic.php?p=34264#p34264 ZombieVerter VCU Support - Page 9 - openinverter forum] This is based on the 16/6/21 code it is &amp;lt;u&amp;gt;&#039;&#039;&#039;not&#039;&#039;&#039;&amp;lt;/u&amp;gt; an update. Ensure you rename the binaries to stm32_vcu.xxx to ensure no wifi issues.&lt;br /&gt;
 &lt;br /&gt;
&#039;&#039;UPDATE November 23 2021&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Updated information about the necessary edits to make to the STM32 based firmware have been posted in a [https://openinverter.org/forum/viewtopic.php?p=34264#p34264 forum post here.]  In order to get the firmware to compile and run on the &#039;&#039;&#039;GD32F107&#039;&#039;&#039;  you must make the following changes:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;In the file &amp;quot;&#039;&#039;&#039;anain.cpp&#039;&#039;&#039;&amp;quot; @ line 68:&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;68 - // adc_start_conversion_regular(ADC1);  // Comment out for GD MCU&amp;lt;/code&amp;gt;In the file&#039;&#039; &#039;&#039;&amp;quot;&#039;&#039;&#039;stm32_can.cpp&#039;&#039;&#039;&amp;quot; @ starting at line 305 modify as follows :&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;305 - gpio_set_mode(GPIO_BANK_CAN2_RE_RX, GPIO_MODE_INPUT, GPIO_CNF_INPUT_PULL_UPDOWN, GPIO_CAN2_RE_RX);&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;306 - gpio_set(GPIO_BANK_CAN2_RE_RX, GPIO_CAN2_RE_RX);&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;307 - // Configure CAN pin: TX.-&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;308 - gpio_set_mode(GPIO_BANK_CAN2_RE_TX, GPIO_MODE_OUTPUT_50_MHZ, GPIO_CNF_OUTPUT_ALTFN_PUSHPULL, GPIO_CAN2_RE_TX);&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you properly clone the repository with &#039;&#039;&#039;git&#039;&#039;&#039; on the command line that looks like this;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;git clone --recurse-submodules git@github.com:damienmaguire/Stm32-vcu.git&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
That recursively pulls in copies of &#039;&#039;&#039;&#039;&#039;libopeninv&#039;&#039;&#039;&#039;&#039;, etc and tracks them...   Hence your file-path should look like &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;./Stm32-vcu/libopeninv/src/&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
within the &#039;&#039;&#039;&#039;&#039;libopeninv&#039;&#039;&#039;&#039;&#039; src (source) directory you will find &#039;&#039;&#039;&#039;&#039;anain.cpp&#039;&#039;&#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;stm32_can.cpp&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Make the above changes to these files for the &#039;&#039;&#039;GigaDevices GD32F107&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
== Software update ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As supplied, both the ESP32 (the wifi plug-in board) and the STM32 (main MPU) are pre-loaded.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;UART Update&amp;quot; field on the GUI can be given a &#039;&#039;&#039;stm32_vcu.bin&#039;&#039;&#039; file to update the firmware.   Note that at this time, loading via Windows 10 is suspect and may lock you out of the board. Ubuntu works best.&lt;br /&gt;
&lt;br /&gt;
If you are unable to build your own, use the [https://openinverter.org/forum/download/file.php?id=11673 stm32_vcu.bin] that Damien posted on 10/30/2021 in the [https://openinverter.org/forum/viewtopic.php?p=33379#p33379 ZombieVerter VCU Support thread].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By using the ST-Link V2 in-circuit loader, &#039;&#039;&#039;.hex&#039;&#039;&#039; files can be sent to the board to initialize a fresh STM32 MCU, or if it can&#039;t be loaded via the bootloader.&lt;br /&gt;
&lt;br /&gt;
If you are unable to build your own, use the [https://openinverter.org/forum/download/file.php?id=11674 stm32_vcu.hex] that Damien posted on 10/30/2021 in the [https://openinverter.org/forum/viewtopic.php?p=33379#p33379 ZombieVerter VCU Support thread].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The connections needed to use the ST-Link loader are shown below:&lt;br /&gt;
[[File:0B35D4F9-BA64-46E7-A570-A0CE1D619D63.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
=== Initializing an ISA Shunt ===&lt;br /&gt;
Under Comms in the web interface, there is now an ISAMode option. By default its in &amp;quot;Normal&amp;quot;. If you want to initialize a new shunt, connect it up, power on the shunt and vcu, select &amp;quot;Init&amp;quot;, hit save parameters to flash. Power cycle the vcu and shunt at same time (they should be on same 12v feed anyway). The shunt will initialize. Select ISAMode &amp;quot;normal&amp;quot;, save to flash again and reboot again. The shunt should now be up and running.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Supported OEM Hardware==&lt;br /&gt;
&lt;br /&gt;
*Nissan Leaf Gen1/2/3 Inverter/ motor&lt;br /&gt;
*nissan leaf gen 2 drive stack (inverter, dcdc, charger) gen 3 coming soon&lt;br /&gt;
&lt;br /&gt;
*[[Lexus GS450h Inverter|Lexus GS450H inverter / gearbox via sync serial]]&lt;br /&gt;
* Toyota Prius/Yaris/Auris Gen 3 inverters via sync serial&lt;br /&gt;
* chevy volt HV water heater&lt;br /&gt;
*BMW E46 CAN support&lt;br /&gt;
*BMW E39 CAN support&lt;br /&gt;
*BMW E65 CAN Support&lt;br /&gt;
*CCS DC Fast Charge via BMW i3 LIM&lt;/div&gt;</summary>
		<author><name>Cgalpin</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=2000</id>
		<title>ZombieVerter VCU</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=2000"/>
		<updated>2021-12-09T03:02:16Z</updated>

		<summary type="html">&lt;p&gt;Cgalpin: More video highlights&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;big&amp;gt;Now available for general sale [https://www.evbmw.com/index.php/evbmw-webshop/vcu-boards here].&amp;lt;/big&amp;gt;&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Development continues&#039;&#039;&#039; and you can&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?f=3&amp;amp;t=1277 follow and contribute along with the development here on the forum]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?f=3&amp;amp;t=1696 &#039;&#039;&#039;Support&#039;&#039;&#039; is available via a separate thread on the forum]&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
Rather than crack open inverters and swap components about to drive them, what if we simply send them the messages they&#039;re expecting? This has been the case with a couple of existing designs (Nissan leaf inverter and GS450H) and thanks to the SAM3X8E microcontroller no longer being stocked by JLCPCB this project looks to take it further.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So rather than driving an inverter powerstage this version sends CAN for the Leaf inverter or Sync serial for the GS450H and of course can be expanded to any number of others. This will be the default firmware for all vcu products from now on and future hardware will support future fun packed stuff like FLEXRAY!!!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&#039;s basically an &amp;lt;s&amp;gt;rip off&amp;lt;/s&amp;gt; homage and builds on other people&#039;s hard work in the shape of the following projects&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/jsphuebner/stm32-car STM32-CAR project] &lt;br /&gt;
* [https://github.com/jsphuebner/stm32-sine Openinverter]&lt;br /&gt;
* [https://github.com/Isaac96/SimpleISA ISA library]&lt;br /&gt;
* Leaf inverter driver by Celeron55&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
What we have as of now is the openinverter wrapper with things like :&lt;br /&gt;
&lt;br /&gt;
* Throttle cal and mapping,&lt;br /&gt;
* Precharge and contactor control,&lt;br /&gt;
* Temp derating,&lt;br /&gt;
* BMS limits,&lt;br /&gt;
* for/rev/neutral control,&lt;br /&gt;
* Graphing and monitoring,&lt;br /&gt;
* Firmware updates via the web interface,&lt;br /&gt;
* Cruise control,&lt;br /&gt;
* Fuel gauge driver,&lt;br /&gt;
* etc &lt;br /&gt;
&lt;br /&gt;
==Hardware==&lt;br /&gt;
So you&#039;ve ordered your kit, first things first, watch the following two videos to assemble it. &lt;br /&gt;
&lt;br /&gt;
Due to chip shortages (written summer 2021) the board isn&#039;t fully assembled so you will need to do some soldering, or take it to a local phone repair shop (or similar) who&#039;ll find soldering at this scale like playing with Duplo (Legos to you Yanks).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The current list of parts to be fitted:&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
CONN1&lt;br /&gt;
IC10 = MCP25625T&lt;br /&gt;
IC14 = TJA1020 OR MCP2004 &lt;br /&gt;
IC19 = NCV7356&lt;br /&gt;
IC20 = TJA1055T&lt;br /&gt;
IC21, 22 = AD5160&lt;br /&gt;
IC27, 28, 29 = FAN3122&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And the positions on the V1 board.&lt;br /&gt;
[[File:Zombv1boardb.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===The enclosure kit links===&lt;br /&gt;
&lt;br /&gt;
You only need one, but below are two options - one with just the connector, and the other prewired with 3M long leads.&lt;br /&gt;
&lt;br /&gt;
::Enclosure Kit with Header, connector and pins :&lt;br /&gt;
&lt;br /&gt;
::::https://www.aliexpress.com/item/32857771975.html?spm=a2g0s.9042311.0.0.39f24c4dWOmGPE&lt;br /&gt;
&lt;br /&gt;
::Prewired connector with 3M leads (limited colors which will not match standard wire colouring conventions) :&lt;br /&gt;
&lt;br /&gt;
::::https://www.aliexpress.com/item/4001213569338.html?spm=a2g0o.cart.0.0.366c3c00qhBvGO&amp;amp;mp=1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The kits do not come with M3 screws needed to secure the board to the enclosure (2 need to be slightly longer), and to secure the lid. Nor a gasket for the lid.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note that in addition to the VCU, the inverter and transmission, you will require a specific CANBUS connected shunt&#039;&#039;&#039;: [[Isabellenhütte Heusler]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ ZombieVerter VCU V1 Build Part 1&lt;br /&gt;
|-&lt;br /&gt;
! Video !! Highlights&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;youtube&amp;gt;https://www.youtube.com/watch?v=geZuIbGHh30&amp;lt;/youtube&amp;gt; ||&lt;br /&gt;
&#039;&#039;&#039;00:33&#039;&#039;&#039; Warning and suggestion to go watch cat videos instead&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=66s 01:06]&#039;&#039;&#039; Recap about the ZombieVerter VCU Build Part 1&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=184s 03:04]&#039;&#039;&#039; How to get one&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=215s 03:35]&#039;&#039;&#039; Design files currently require E10 Patreon membership/contribution if wanting to build your own&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=268s 04:28]&#039;&#039;&#039; Components still requiring soldering&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=303s 05:03]&#039;&#039;&#039; IC19 - 8 pin SOIC for single wire CAN (NCV7356)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=360s 06:00]&#039;&#039;&#039; IC10 - SPI CAN controller and transceiver (MCP25625T)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=390s 06:30]&#039;&#039;&#039; &amp;lt;del&amp;gt;IC1,3,5,6,7,24,25,26  load driver mosfets (NCV8402)&amp;lt;/del&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=440s 07:20]&#039;&#039;&#039; Do you need these components?&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=520s 08:40]&#039;&#039;&#039; Soldering begins - IC19&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=550s 09:10]&#039;&#039;&#039; Soldering iron for SOIC parts&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=567s 09:27]&#039;&#039;&#039; Applying flux using Damien&#039;s favorite Flux, UV80&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=634s 10:34]&#039;&#039;&#039; Magnifier headset&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=807s 13:27]&#039;&#039;&#039; Soldering MCP25625&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=955s 15:55]&#039;&#039;&#039; Suggests getting an phone/computer repair shop to help out if needed&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1025s 17:05]&#039;&#039;&#039; Using hot air gun to warm the board and position the chip&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1174s 19:34]&#039;&#039;&#039; &amp;lt;del&amp;gt;Soldering NCV8402s&amp;lt;/del&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1408s 23:28]&#039;&#039;&#039; Clean soldering with IPA Solvent&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1480s 24:40]&#039;&#039;&#039; First power up test using bench power supply to limit current to a few hundred mA&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1607s 26:47]&#039;&#039;&#039; 60mA current draw with no wifi board&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1655s 27:35]&#039;&#039;&#039; Wifi module&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1790s 29:50]&#039;&#039;&#039; Power up test with wifi draws 90mA&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1825s 30:25]&#039;&#039;&#039; Enclosure kit(s)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=2162s 36:02]&#039;&#039;&#039; Soldering the PCB header (56 pin)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=2668s 44:28]&#039;&#039;&#039; Installing in the enclosure&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=3030s 50:30]&#039;&#039;&#039; Cameo appearance by Gome cat&amp;lt;br/&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ ZombieVerter VCU V1 Build Part 2&lt;br /&gt;
|-&lt;br /&gt;
! Video !! Highlights&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;youtube&amp;gt;https://youtu.be/MUhs9j9R9Mg&amp;lt;/youtube&amp;gt; ||&lt;br /&gt;
&#039;&#039;&#039;00:34&#039;&#039;&#039; Health warning and suggestion to go watch cat videos instead&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=102s 01:42]&#039;&#039;&#039; Intro&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=200s 03:20]&#039;&#039;&#039; Pinouts of the 56 pin connector&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=256s 04:16]&#039;&#039;&#039; Pins 55,56 - Ground and +12V&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=289s 04:49]&#039;&#039;&#039; Pins 53,54 - Reverse and Forward Direction. Apply +12V to the pin for the direction needed. Configurable in the web interface to flip these since direction is relative&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=452s 07:32]&#039;&#039;&#039; Pins 52 - Start. Momentarily apply +12V to send a start signal&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=495s 08:15]&#039;&#039;&#039; Pin 51 - HV Request. Apply +12v to precharge and bring up the high voltage system (and not the drive components)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=545s 09:05]&#039;&#039;&#039; Pin 50 - General Purpose 12V Input. Reserved for future use&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=563s 09:23]&#039;&#039;&#039; Pin 49 - Brake Input. Connect to brake light switch to apply +12V signaling brakes are applied&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=615s 10:15]&#039;&#039;&#039; Pins 45,46,47,48 - Throttle. +5V power, ground, and 1 or 2 hall effect sensor inputs&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=660s 11:00]&#039;&#039;&#039; Pins 25,26,27,28 - 3 CAN bus interfaces. CAN EXT is for vehicle/body communication, CAN EXT 2 for the ISA shunt comms, CAN EXT 3 (with solderable jumpers to change modes) is for general purpose like charger, heater control&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=885s 14:45]&#039;&#039;&#039; Pin 24 - Local Interface Network (LIN)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=956s 15:56]&#039;&#039;&#039; Pins 16,17,18,19,20,21,22,23 - Toyota Hybrid Inverter specific using async serial comms.&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1041s 17:21]&#039;&#039;&#039; Pin 15 - Ignition T15 In. Apply +12V to turn Ignition on. Puts VCU in run mode&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1134s 18:54]&#039;&#039;&#039; Pins 37,38,39,40,41,42 - Toyota Hybrid Transmission shift control&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1182s 19:42]&#039;&#039;&#039; Pins 35,36 - POT1 &amp;amp; POT2. Digital potentiometer outputs to drive analog gauges (fuel, etc)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1270s 21:10]&#039;&#039;&#039; Pins 32,33,34 - Low Side (LS) switches for Inverter Power, Positive side Main Contactor, Precharge Contactor&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1401s 23:21]&#039;&#039;&#039; Pin 31 - General Purpose +12V Output. LS switch for Negative side Main Contactor&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1441s 24:01]&#039;&#039;&#039; Pins 12,13,14,29,30 - Toyota Hybrid System controls&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1524s 25:24]&#039;&#039;&#039; Pins 10,11 - Digital to Analog Converter (DAC) 1 &amp;amp; 2. Reserved for future use - additional analog instruments etc.&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1593s 26:33]&#039;&#039;&#039; Pins 8,9 - 0-5V Analog Inputs 1 &amp;amp; 2. Reserved for future use (ie not implemented yet)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1626s 27:06]&#039;&#039;&#039; Pins 5,6,7 - Pulse Width Modulation (PWM) 1-3 +12V output signals. Reserved for future use (ie not implemented yet)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1676s 27:56]&#039;&#039;&#039; Pins 3,4 - General Purpose +12V Outputs 2 &amp;amp; 3. Reserved for future use (ie not implemented yet)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1709s 28:29]&#039;&#039;&#039; Pins 1,2 - RS232 Rx/Tx Serial connection for alternation VCU communication (solder jumper configurable). Reserved for future expansion&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1811s 30:11]&#039;&#039;&#039; CAN bus connected Isabellenhutte Huesler Shunt&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=2325s 38:45]&#039;&#039;&#039; Web Interface&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=2650s 44:10]&#039;&#039;&#039; How to perform a software update via the web interface using as precompiled binary&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=2852s 47:32]&#039;&#039;&#039; UI Features - Commands&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=3170s 52:50]&#039;&#039;&#039; UI Features - Update&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=3210s 53:30]&#039;&#039;&#039; UI Features - Parameters&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will finish soon..&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&#039;&#039;&#039;Pin Out Diagram&#039;&#039;&#039;[[File:ZombieVerter VCU V1 cable side pinout.jpg|thumb|alt=|VCU pinout diagram |none]]&lt;br /&gt;
[[File:Zomb-con-et.png|none|thumb|List of connections to system components (GS450 application)]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Further information for a GS450 system can be found here: [[Lexus GS450h Inverter]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note&#039;&#039;&#039;: In the software port 0 = EXT2 and port 1 = EXT&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Initial start-up and testing (Instructions for GS450H application) ==&lt;br /&gt;
The VCU is configured by connecting to its wifi access point.  For existing units this is something like SSID: ESP-03xxxx, no password.  For future units (shipped after 20/10/21) this will be SSID: inverter (or zom_vcu) PASSWORD: inverter123&lt;br /&gt;
&lt;br /&gt;
Then navigate to 192.168.4.1 to see the huebner inverter dashboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Get familiar with the interface and check that all of the parameters make sense. If in doubt, make sure the default value is set.  At each stage the current state of the system and any error can be seen on the interface, for example &#039;&#039;&#039;opmode&#039;&#039;&#039; and &#039;&#039;&#039;lasterr&#039;&#039;&#039;. Press refresh at the top of the screen to update the values.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will need the HV supply connected, which can be a lower voltage (50-100V), current limited power supply for test purposes.  Set &#039;&#039;&#039;udcmin&#039;&#039;&#039; to some value below that (e.g. 50V for a 100V supply) and &#039;&#039;&#039;udcsw&#039;&#039;&#039; to 10V lower than the supply.&lt;br /&gt;
&lt;br /&gt;
* Apply the &#039;&#039;&#039;Ignition T15 in&#039;&#039;&#039; 12V signal.  The relay supplying 12V to the inverter should now be on.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Check the accelerator by applying it gradually and watching / refreshing the interface. You should see values at &#039;&#039;&#039;pot&#039;&#039;&#039; change as the pedal is pressed.  &#039;&#039;&#039;potmin&#039;&#039;&#039; should be set just above where your off-throttle position is, and &#039;&#039;&#039;potmax&#039;&#039;&#039; just below the value seen at maximum travel. Same for &#039;&#039;&#039;pot2min&#039;&#039;&#039; and &#039;&#039;&#039;pot2max&#039;&#039;&#039;, if they are electrically connected. The resulting value as a 0-100 value can be seen at &#039;&#039;&#039;potnom&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If it does not show up, check for errors and check that throtmax is not set to zero!  Check that tmpm is less than tmpmmax, as it can derate the potnom value down as far as zero!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Apply the &#039;&#039;&#039;Start&#039;&#039;&#039; 12V signal for a short time.  The pre-charge relay should turn on, and the voltage available at the inverter and the U1 input of the ISA shunt should quickly rise. If the &#039;&#039;&#039;udc&#039;&#039;&#039; reading goes above &#039;&#039;&#039;udcsw&#039;&#039;&#039; within 5 seconds then the main contactor(s) should close. If all is well, &#039;&#039;&#039;invstat&#039;&#039;&#039; should now be &amp;quot;on&amp;quot;, &#039;&#039;&#039;opmode&#039;&#039;&#039; should be &amp;quot;run&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you do not see a good value at udc, it may be that your external shunt is not connected properly or is not initialised.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you do not see a good value at Invudc, it may be that the inverter is not powered, or the communication signals are not correctly wired.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;if the status stays at &amp;quot;PRECHARGE&amp;quot; then you possibly didn&#039;t hold the start signal on for long enough!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Once the contactors are on, select forwards direction.  For example if &#039;&#039;&#039;dirmode&#039;&#039;&#039; is set to &amp;quot;Switch&amp;quot; then a 12V signal applied to the Forward input will work.&lt;br /&gt;
&lt;br /&gt;
* Carefully apply the accelerator and the motor should begin to turn. Do not spin the motor up to any speed if you are using a test power supply.&lt;br /&gt;
&lt;br /&gt;
== Software==&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/Stm32-vcu &#039;&#039;&#039;Github for the project:&#039;&#039;&#039; https://github.com/damienmaguire/Stm32-vcu]&lt;br /&gt;
&lt;br /&gt;
Various binaries can be found in the support thread, for example https://openinverter.org/forum/viewtopic.php?p=33379#p33379&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;GD variant:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Status as of November 20 2021&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Early boards fitted with the GigaDevices  &#039;&#039;&#039;GD32F107&#039;&#039;&#039; aka &amp;quot;GD chip&amp;quot; require different firmware routines than &#039;&#039;&#039;STM32F107&#039;&#039;&#039; equipped boards.  See this [https://openinverter.org/forum/viewtopic.php?p=33758#p33758 Zombieverter VCU Support Thread forum post]&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;The GigaDevices `[https://www.gigadevice.com/products/microcontrollers/gd32/arm-cortex-m3/connectivity-line/gd32f107-series/ GD32F107] was chosen as an alternative to the ST equivalent due to microchip shortages during the COVID-19 pandemic.  A specific branch of firmware code for the GD32F107 variant is found here:  https://github.com/damienmaguire/Stm32-vcu/tree/GD_Zombie  However development of this variant was abandoned shortly after it&#039;s release.&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;As of this writing , The [https://github.com/damienmaguire/Stm32-vcu/tree/GD_Zombie GD_Zombie] branch has fallen behind and substantially diverged from the primary code base. It has been suggested that work needs to be done to make the present firmware chip agnostic via detection routines.  See this [https://openinverter.org/forum/viewtopic.php?p=34220#p34220 Zombieverter Development Thread forum post]. As of this writing that work has yet to be undertaken and remains to be organized and completed.  And issue has be devoted to tracking this progress here: [https://github.com/damienmaguire/Stm32-vcu/issues/21 Issue #21]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Here is a link to a post with a pre compiled bin and hex for the GD_Zombie created by Damien on the 23/11/21;  [https://openinverter.org/forum/viewtopic.php?p=34264#p34264 ZombieVerter VCU Support - Page 9 - openinverter forum] This is based on the 16/6/21 code it is &amp;lt;u&amp;gt;&#039;&#039;&#039;not&#039;&#039;&#039;&amp;lt;/u&amp;gt; an update. Ensure you rename the binaries to stm32_vcu.xxx to ensure no wifi issues.&lt;br /&gt;
 &lt;br /&gt;
&#039;&#039;UPDATE November 23 2021&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Updated information about the necessary edits to make to the STM32 based firmware have been posted in a [https://openinverter.org/forum/viewtopic.php?p=34264#p34264 forum post here.]  In order to get the firmware to compile and run on the &#039;&#039;&#039;GD32F107&#039;&#039;&#039;  you must make the following changes:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;In the file &amp;quot;&#039;&#039;&#039;anain.cpp&#039;&#039;&#039;&amp;quot; @ line 68:&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;68 - // adc_start_conversion_regular(ADC1);  // Comment out for GD MCU&amp;lt;/code&amp;gt;In the file&#039;&#039; &#039;&#039;&amp;quot;&#039;&#039;&#039;stm32_can.cpp&#039;&#039;&#039;&amp;quot; @ starting at line 305 modify as follows :&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;305 - gpio_set_mode(GPIO_BANK_CAN2_RE_RX, GPIO_MODE_INPUT, GPIO_CNF_INPUT_PULL_UPDOWN, GPIO_CAN2_RE_RX);&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;306 - gpio_set(GPIO_BANK_CAN2_RE_RX, GPIO_CAN2_RE_RX);&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;307 - // Configure CAN pin: TX.-&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;308 - gpio_set_mode(GPIO_BANK_CAN2_RE_TX, GPIO_MODE_OUTPUT_50_MHZ, GPIO_CNF_OUTPUT_ALTFN_PUSHPULL, GPIO_CAN2_RE_TX);&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you properly clone the repository with &#039;&#039;&#039;git&#039;&#039;&#039; on the command line that looks like this;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;git clone --recurse-submodules git@github.com:damienmaguire/Stm32-vcu.git&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
That recursively pulls in copies of &#039;&#039;&#039;&#039;&#039;libopeninv&#039;&#039;&#039;&#039;&#039;, etc and tracks them...   Hence your file-path should look like &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;./Stm32-vcu/libopeninv/src/&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
within the &#039;&#039;&#039;&#039;&#039;libopeninv&#039;&#039;&#039;&#039;&#039; src (source) directory you will find &#039;&#039;&#039;&#039;&#039;anain.cpp&#039;&#039;&#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;stm32_can.cpp&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Make the above changes to these files for the &#039;&#039;&#039;GigaDevices GD32F107&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
== Software update ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As supplied, both the ESP32 (the wifi plug-in board) and the STM32 (main MPU) are pre-loaded.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;UART Update&amp;quot; field on the GUI can be given a &#039;&#039;&#039;stm32_vcu.bin&#039;&#039;&#039; file to update the firmware.   Note that at this time, loading via Windows 10 is suspect and may lock you out of the board. Ubuntu works best.&lt;br /&gt;
&lt;br /&gt;
If you are unable to build your own, use the [https://openinverter.org/forum/download/file.php?id=11673 stm32_vcu.bin] that Damien posted on 10/30/2021 in the [https://openinverter.org/forum/viewtopic.php?p=33379#p33379 ZombieVerter VCU Support thread].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By using the ST-Link V2 in-circuit loader, &#039;&#039;&#039;.hex&#039;&#039;&#039; files can be sent to the board to initialize a fresh STM32 MCU, or if it can&#039;t be loaded via the bootloader.&lt;br /&gt;
&lt;br /&gt;
If you are unable to build your own, use the [https://openinverter.org/forum/download/file.php?id=11674 stm32_vcu.hex] that Damien posted on 10/30/2021 in the [https://openinverter.org/forum/viewtopic.php?p=33379#p33379 ZombieVerter VCU Support thread].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The connections needed to use the ST-Link loader are shown below:&lt;br /&gt;
[[File:0B35D4F9-BA64-46E7-A570-A0CE1D619D63.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
=== Initializing an ISA Shunt ===&lt;br /&gt;
Under Comms in the web interface, there is now an ISAMode option. By default its in &amp;quot;Normal&amp;quot;. If you want to initialize a new shunt, connect it up, power on the shunt and vcu, select &amp;quot;Init&amp;quot;, hit save parameters to flash. Power cycle the vcu and shunt at same time (they should be on same 12v feed anyway). The shunt will initialize. Select ISAMode &amp;quot;normal&amp;quot;, save to flash again and reboot again. The shunt should now be up and running.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Supported OEM Hardware==&lt;br /&gt;
&lt;br /&gt;
*Nissan Leaf Gen1/2/3 Inverter/ motor&lt;br /&gt;
*nissan leaf gen 2 drive stack (inverter, dcdc, charger) gen 3 coming soon&lt;br /&gt;
&lt;br /&gt;
*[[Lexus GS450h Inverter|Lexus GS450H inverter / gearbox via sync serial]]&lt;br /&gt;
* Toyota Prius/Yaris/Auris Gen 3 inverters via sync serial&lt;br /&gt;
* chevy volt HV water heater&lt;br /&gt;
*BMW E46 CAN support&lt;br /&gt;
*BMW E39 CAN support&lt;br /&gt;
*BMW E65 CAN Support&lt;br /&gt;
*CCS DC Fast Charge via BMW i3 LIM&lt;/div&gt;</summary>
		<author><name>Cgalpin</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1999</id>
		<title>ZombieVerter VCU</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1999"/>
		<updated>2021-12-08T00:32:39Z</updated>

		<summary type="html">&lt;p&gt;Cgalpin: More video highlights&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;big&amp;gt;Now available for general sale [https://www.evbmw.com/index.php/evbmw-webshop/vcu-boards here].&amp;lt;/big&amp;gt;&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Development continues&#039;&#039;&#039; and you can&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?f=3&amp;amp;t=1277 follow and contribute along with the development here on the forum]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?f=3&amp;amp;t=1696 &#039;&#039;&#039;Support&#039;&#039;&#039; is available via a separate thread on the forum]&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
Rather than crack open inverters and swap components about to drive them, what if we simply send them the messages they&#039;re expecting? This has been the case with a couple of existing designs (Nissan leaf inverter and GS450H) and thanks to the SAM3X8E microcontroller no longer being stocked by JLCPCB this project looks to take it further.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So rather than driving an inverter powerstage this version sends CAN for the Leaf inverter or Sync serial for the GS450H and of course can be expanded to any number of others. This will be the default firmware for all vcu products from now on and future hardware will support future fun packed stuff like FLEXRAY!!!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&#039;s basically an &amp;lt;s&amp;gt;rip off&amp;lt;/s&amp;gt; homage and builds on other people&#039;s hard work in the shape of the following projects&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/jsphuebner/stm32-car STM32-CAR project] &lt;br /&gt;
* [https://github.com/jsphuebner/stm32-sine Openinverter]&lt;br /&gt;
* [https://github.com/Isaac96/SimpleISA ISA library]&lt;br /&gt;
* Leaf inverter driver by Celeron55&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
What we have as of now is the openinverter wrapper with things like :&lt;br /&gt;
&lt;br /&gt;
* Throttle cal and mapping,&lt;br /&gt;
* Precharge and contactor control,&lt;br /&gt;
* Temp derating,&lt;br /&gt;
* BMS limits,&lt;br /&gt;
* for/rev/neutral control,&lt;br /&gt;
* Graphing and monitoring,&lt;br /&gt;
* Firmware updates via the web interface,&lt;br /&gt;
* Cruise control,&lt;br /&gt;
* Fuel gauge driver,&lt;br /&gt;
* etc &lt;br /&gt;
&lt;br /&gt;
==Hardware==&lt;br /&gt;
So you&#039;ve ordered your kit, first things first, watch the following two videos to assemble it. &lt;br /&gt;
&lt;br /&gt;
Due to chip shortages (written summer 2021) the board isn&#039;t fully assembled so you will need to do some soldering, or take it to a local phone repair shop (or similar) who&#039;ll find soldering at this scale like playing with Duplo (Legos to you Yanks).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The current list of parts to be fitted:&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
CONN1&lt;br /&gt;
IC10 = MCP25625T&lt;br /&gt;
IC14 = TJA1020 OR MCP2004 &lt;br /&gt;
IC19 = NCV7356&lt;br /&gt;
IC20 = TJA1055T&lt;br /&gt;
IC21, 22 = AD5160&lt;br /&gt;
IC27, 28, 29 = FAN3122&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And the positions on the V1 board.&lt;br /&gt;
[[File:Zombv1boardb.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===The enclosure kit links===&lt;br /&gt;
&lt;br /&gt;
You only need one, but below are two options - one with just the connector, and the other prewired with 3M long leads.&lt;br /&gt;
&lt;br /&gt;
::Enclosure Kit with Header, connector and pins :&lt;br /&gt;
&lt;br /&gt;
::::https://www.aliexpress.com/item/32857771975.html?spm=a2g0s.9042311.0.0.39f24c4dWOmGPE&lt;br /&gt;
&lt;br /&gt;
::Prewired connector with 3M leads (limited colors which will not match standard wire colouring conventions) :&lt;br /&gt;
&lt;br /&gt;
::::https://www.aliexpress.com/item/4001213569338.html?spm=a2g0o.cart.0.0.366c3c00qhBvGO&amp;amp;mp=1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The kits do not come with M3 screws needed to secure the board to the enclosure (2 need to be slightly longer), and to secure the lid. Nor a gasket for the lid.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note that in addition to the VCU, the inverter and transmission, you will require a specific CANBUS connected shunt&#039;&#039;&#039;: [[Isabellenhütte Heusler]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ ZombieVerter VCU V1 Build Part 1&lt;br /&gt;
|-&lt;br /&gt;
! Video !! Highlights&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;youtube&amp;gt;https://www.youtube.com/watch?v=geZuIbGHh30&amp;lt;/youtube&amp;gt; ||&lt;br /&gt;
&#039;&#039;&#039;00:33&#039;&#039;&#039; Warning and suggestion to go watch cat videos instead&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=66s 01:06]&#039;&#039;&#039; Recap about the ZombieVerter VCU Build Part 1&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=184s 03:04]&#039;&#039;&#039; How to get one&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=215s 03:35]&#039;&#039;&#039; Design files currently require E10 Patreon membership/contribution if wanting to build your own&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=268s 04:28]&#039;&#039;&#039; Components still requiring soldering&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=303s 05:03]&#039;&#039;&#039; IC19 - 8 pin SOIC for single wire CAN (NCV7356)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=360s 06:00]&#039;&#039;&#039; IC10 - SPI CAN controller and transceiver (MCP25625T)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=390s 06:30]&#039;&#039;&#039; &amp;lt;del&amp;gt;IC1,3,5,6,7,24,25,26  load driver mosfets (NCV8402)&amp;lt;/del&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=440s 07:20]&#039;&#039;&#039; Do you need these components?&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=520s 08:40]&#039;&#039;&#039; Soldering begins - IC19&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=550s 09:10]&#039;&#039;&#039; Soldering iron for SOIC parts&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=567s 09:27]&#039;&#039;&#039; Applying flux using Damien&#039;s favorite Flux, UV80&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=634s 10:34]&#039;&#039;&#039; Magnifier headset&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=807s 13:27]&#039;&#039;&#039; Soldering MCP25625&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=955s 15:55]&#039;&#039;&#039; Suggests getting an phone/computer repair shop to help out if needed&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1025s 17:05]&#039;&#039;&#039; Using hot air gun to warm the board and position the chip&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1174s 19:34]&#039;&#039;&#039; &amp;lt;del&amp;gt;Soldering NCV8402s&amp;lt;/del&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1408s 23:28]&#039;&#039;&#039; Clean soldering with IPA Solvent&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1480s 24:40]&#039;&#039;&#039; First power up test using bench power supply to limit current to a few hundred mA&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1607s 26:47]&#039;&#039;&#039; 60mA current draw with no wifi board&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1655s 27:35]&#039;&#039;&#039; Wifi module&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1790s 29:50]&#039;&#039;&#039; Power up test with wifi draws 90mA&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1825s 30:25]&#039;&#039;&#039; Enclosure kit(s)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=2162s 36:02]&#039;&#039;&#039; Soldering the PCB header (56 pin)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=2668s 44:28]&#039;&#039;&#039; Installing in the enclosure&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=3030s 50:30]&#039;&#039;&#039; Cameo appearance by Gome cat&amp;lt;br/&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ ZombieVerter VCU V1 Build Part 2&lt;br /&gt;
|-&lt;br /&gt;
! Video !! Highlights&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;youtube&amp;gt;https://youtu.be/MUhs9j9R9Mg&amp;lt;/youtube&amp;gt; ||&lt;br /&gt;
&#039;&#039;&#039;00:34&#039;&#039;&#039; Health warning and suggestion to go watch cat videos instead&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=102s 01:42]&#039;&#039;&#039; Intro&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=200s 03:20]&#039;&#039;&#039; Pinouts of the 56 pin connector&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=256s 04:16]&#039;&#039;&#039; Pins 55,56 - Ground and +12V&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=289s 04:49]&#039;&#039;&#039; Pins 53,54 - Reverse and Forward Direction. Apply +12V to the pin for the direction needed. Configurable in the web interface to flip these since direction is relative&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=452s 07:32]&#039;&#039;&#039; Pins 52 - Start. Momentarily apply +12V to send a start signal&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=495s 08:15]&#039;&#039;&#039; Pin 51 - HV Request. Apply +12v to precharge and bring up the high voltage system (and not the drive components)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=545s 09:05]&#039;&#039;&#039; Pin 50 - General Purpose 12V Input. Reserved for future use&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=563s 09:23]&#039;&#039;&#039; Pin 49 - Brake Input. Connect to brake light switch to apply +12V signaling brakes are applied&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=615s 10:15]&#039;&#039;&#039; Pins 45,46,47,48 - Throttle. +5V power, ground, and 1 or 2 hall effect sensor inputs&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=660s 11:00]&#039;&#039;&#039; Pins 25,26,27,28 - 3 CAN bus interfaces. CAN EXT is for vehicle/body communication, CAN EXT 2 for the ISA shunt comms, CAN EXT 3 (with solderable jumpers to change modes) is for general purpose like charger, heater control&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=885s 14:45]&#039;&#039;&#039; Pin 24 - Local Interface Network (LIN)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=956s 15:56]&#039;&#039;&#039; Pins 16,17,18,19,20,21,22,23 - Toyota Hybrid Inverter specific using async serial comms.&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1041s 17:21]&#039;&#039;&#039; Pin 15 - Ignition T15 In. Apply +12V to turn Ignition on. Puts VCU in run mode&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1134s 18:54]&#039;&#039;&#039; Pins 37,38,39,40,41,42 - Toyota Hybrid Transmission shift control&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1182s 19:42]&#039;&#039;&#039; Pins 35,36 - POT1 &amp;amp; POT2. Digital potentiometer outputs to drive analog gauges (fuel, etc)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1270s 21:10]&#039;&#039;&#039; Pins 32,33,34 - Low Side (LS) switches for Inverter Power, Positive side Main Contactor, Precharge Contactor&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1401s 23:21]&#039;&#039;&#039; Pin 31 - General Purpose +12V Output. LS switch for Negative side Main Contactor&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1441s 24:01]&#039;&#039;&#039; Pins 12,13,14,29,30 - Toyota Hybrid System controls&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1524s 25:24]&#039;&#039;&#039; Pins 10,11 - Digital to Analog Converter (DAC) 1 &amp;amp; 2. Reserved for future use - additional analog instruments etc.&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1593s 26:33]&#039;&#039;&#039; Pins 8,9 - 0-5V Analog Inputs 1 &amp;amp; 2. Reserved for future use (ie not implemented yet)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1626s 27:06]&#039;&#039;&#039; Pins 5,6,7 - Pulse Width Modulation (PWM) 1-3 +12V output signals. Reserved for future use (ie not implemented yet)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1676s 27:56]&#039;&#039;&#039; Pins 3,4 - General Purpose +12V Outputs 2 &amp;amp; 3. Reserved for future use (ie not implemented yet)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1709s 28:29]&#039;&#039;&#039; Pins 1,2 - RS232 Rx/Tx Serial connection for alternation VCU communication (solder jumper configurable). Reserved for future expansion&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1811s 30:11]&#039;&#039;&#039; CAN bus connected Isabellenhutte Huesler Shunt&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Will finish soon..&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&#039;&#039;&#039;Pin Out Diagram&#039;&#039;&#039;[[File:ZombieVerter VCU V1 cable side pinout.jpg|thumb|alt=|VCU pinout diagram |none]]&lt;br /&gt;
[[File:Zomb-con-et.png|none|thumb|List of connections to system components (GS450 application)]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Further information for a GS450 system can be found here: [[Lexus GS450h Inverter]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note&#039;&#039;&#039;: In the software port 0 = EXT2 and port 1 = EXT&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Initial start-up and testing (Instructions for GS450H application) ==&lt;br /&gt;
The VCU is configured by connecting to its wifi access point.  For existing units this is something like SSID: ESP-03xxxx, no password.  For future units (shipped after 20/10/21) this will be SSID: inverter (or zom_vcu) PASSWORD: inverter123&lt;br /&gt;
&lt;br /&gt;
Then navigate to 192.168.4.1 to see the huebner inverter dashboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Get familiar with the interface and check that all of the parameters make sense. If in doubt, make sure the default value is set.  At each stage the current state of the system and any error can be seen on the interface, for example &#039;&#039;&#039;opmode&#039;&#039;&#039; and &#039;&#039;&#039;lasterr&#039;&#039;&#039;. Press refresh at the top of the screen to update the values.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will need the HV supply connected, which can be a lower voltage (50-100V), current limited power supply for test purposes.  Set &#039;&#039;&#039;udcmin&#039;&#039;&#039; to some value below that (e.g. 50V for a 100V supply) and &#039;&#039;&#039;udcsw&#039;&#039;&#039; to 10V lower than the supply.&lt;br /&gt;
&lt;br /&gt;
* Apply the &#039;&#039;&#039;Ignition T15 in&#039;&#039;&#039; 12V signal.  The relay supplying 12V to the inverter should now be on.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Check the accelerator by applying it gradually and watching / refreshing the interface. You should see values at &#039;&#039;&#039;pot&#039;&#039;&#039; change as the pedal is pressed.  &#039;&#039;&#039;potmin&#039;&#039;&#039; should be set just above where your off-throttle position is, and &#039;&#039;&#039;potmax&#039;&#039;&#039; just below the value seen at maximum travel. Same for &#039;&#039;&#039;pot2min&#039;&#039;&#039; and &#039;&#039;&#039;pot2max&#039;&#039;&#039;, if they are electrically connected. The resulting value as a 0-100 value can be seen at &#039;&#039;&#039;potnom&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If it does not show up, check for errors and check that throtmax is not set to zero!  Check that tmpm is less than tmpmmax, as it can derate the potnom value down as far as zero!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Apply the &#039;&#039;&#039;Start&#039;&#039;&#039; 12V signal for a short time.  The pre-charge relay should turn on, and the voltage available at the inverter and the U1 input of the ISA shunt should quickly rise. If the &#039;&#039;&#039;udc&#039;&#039;&#039; reading goes above &#039;&#039;&#039;udcsw&#039;&#039;&#039; within 5 seconds then the main contactor(s) should close. If all is well, &#039;&#039;&#039;invstat&#039;&#039;&#039; should now be &amp;quot;on&amp;quot;, &#039;&#039;&#039;opmode&#039;&#039;&#039; should be &amp;quot;run&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you do not see a good value at udc, it may be that your external shunt is not connected properly or is not initialised.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you do not see a good value at Invudc, it may be that the inverter is not powered, or the communication signals are not correctly wired.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;if the status stays at &amp;quot;PRECHARGE&amp;quot; then you possibly didn&#039;t hold the start signal on for long enough!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Once the contactors are on, select forwards direction.  For example if &#039;&#039;&#039;dirmode&#039;&#039;&#039; is set to &amp;quot;Switch&amp;quot; then a 12V signal applied to the Forward input will work.&lt;br /&gt;
&lt;br /&gt;
* Carefully apply the accelerator and the motor should begin to turn. Do not spin the motor up to any speed if you are using a test power supply.&lt;br /&gt;
&lt;br /&gt;
== Software==&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/Stm32-vcu &#039;&#039;&#039;Github for the project:&#039;&#039;&#039; https://github.com/damienmaguire/Stm32-vcu]&lt;br /&gt;
&lt;br /&gt;
Various binaries can be found in the support thread, for example https://openinverter.org/forum/viewtopic.php?p=33379#p33379&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;GD variant:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Status as of November 20 2021&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Early boards fitted with the GigaDevices  &#039;&#039;&#039;GD32F107&#039;&#039;&#039; aka &amp;quot;GD chip&amp;quot; require different firmware routines than &#039;&#039;&#039;STM32F107&#039;&#039;&#039; equipped boards.  See this [https://openinverter.org/forum/viewtopic.php?p=33758#p33758 Zombieverter VCU Support Thread forum post]&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;The GigaDevices `[https://www.gigadevice.com/products/microcontrollers/gd32/arm-cortex-m3/connectivity-line/gd32f107-series/ GD32F107] was chosen as an alternative to the ST equivalent due to microchip shortages during the COVID-19 pandemic.  A specific branch of firmware code for the GD32F107 variant is found here:  https://github.com/damienmaguire/Stm32-vcu/tree/GD_Zombie  However development of this variant was abandoned shortly after it&#039;s release.&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;As of this writing , The [https://github.com/damienmaguire/Stm32-vcu/tree/GD_Zombie GD_Zombie] branch has fallen behind and substantially diverged from the primary code base. It has been suggested that work needs to be done to make the present firmware chip agnostic via detection routines.  See this [https://openinverter.org/forum/viewtopic.php?p=34220#p34220 Zombieverter Development Thread forum post]. As of this writing that work has yet to be undertaken and remains to be organized and completed.  And issue has be devoted to tracking this progress here: [https://github.com/damienmaguire/Stm32-vcu/issues/21 Issue #21]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Here is a link to a post with a pre compiled bin and hex for the GD_Zombie created by Damien on the 23/11/21;  [https://openinverter.org/forum/viewtopic.php?p=34264#p34264 ZombieVerter VCU Support - Page 9 - openinverter forum] This is based on the 16/6/21 code it is &amp;lt;u&amp;gt;&#039;&#039;&#039;not&#039;&#039;&#039;&amp;lt;/u&amp;gt; an update. Ensure you rename the binaries to stm32_vcu.xxx to ensure no wifi issues.&lt;br /&gt;
 &lt;br /&gt;
&#039;&#039;UPDATE November 23 2021&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Updated information about the necessary edits to make to the STM32 based firmware have been posted in a [https://openinverter.org/forum/viewtopic.php?p=34264#p34264 forum post here.]  In order to get the firmware to compile and run on the &#039;&#039;&#039;GD32F107&#039;&#039;&#039;  you must make the following changes:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;In the file &amp;quot;&#039;&#039;&#039;anain.cpp&#039;&#039;&#039;&amp;quot; @ line 68:&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;68 - // adc_start_conversion_regular(ADC1);  // Comment out for GD MCU&amp;lt;/code&amp;gt;In the file&#039;&#039; &#039;&#039;&amp;quot;&#039;&#039;&#039;stm32_can.cpp&#039;&#039;&#039;&amp;quot; @ starting at line 305 modify as follows :&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;305 - gpio_set_mode(GPIO_BANK_CAN2_RE_RX, GPIO_MODE_INPUT, GPIO_CNF_INPUT_PULL_UPDOWN, GPIO_CAN2_RE_RX);&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;306 - gpio_set(GPIO_BANK_CAN2_RE_RX, GPIO_CAN2_RE_RX);&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;307 - // Configure CAN pin: TX.-&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;308 - gpio_set_mode(GPIO_BANK_CAN2_RE_TX, GPIO_MODE_OUTPUT_50_MHZ, GPIO_CNF_OUTPUT_ALTFN_PUSHPULL, GPIO_CAN2_RE_TX);&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you properly clone the repository with &#039;&#039;&#039;git&#039;&#039;&#039; on the command line that looks like this;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;git clone --recurse-submodules git@github.com:damienmaguire/Stm32-vcu.git&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
That recursively pulls in copies of &#039;&#039;&#039;&#039;&#039;libopeninv&#039;&#039;&#039;&#039;&#039;, etc and tracks them...   Hence your file-path should look like &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;./Stm32-vcu/libopeninv/src/&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
within the &#039;&#039;&#039;&#039;&#039;libopeninv&#039;&#039;&#039;&#039;&#039; src (source) directory you will find &#039;&#039;&#039;&#039;&#039;anain.cpp&#039;&#039;&#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;stm32_can.cpp&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Make the above changes to these files for the &#039;&#039;&#039;GigaDevices GD32F107&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
== Software update ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As supplied, both the ESP32 (the wifi plug-in board) and the STM32 (main MPU) are pre-loaded.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;UART Update&amp;quot; field on the GUI can be given a &#039;&#039;&#039;stm32_vcu.bin&#039;&#039;&#039; file to update the firmware.   Note that at this time, loading via Windows 10 is suspect and may lock you out of the board. Ubuntu works best.&lt;br /&gt;
&lt;br /&gt;
If you are unable to build your own, use the [https://openinverter.org/forum/download/file.php?id=11673 stm32_vcu.bin] that Damien posted on 10/30/2021 in the [https://openinverter.org/forum/viewtopic.php?p=33379#p33379 ZombieVerter VCU Support thread].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By using the ST-Link V2 in-circuit loader, &#039;&#039;&#039;.hex&#039;&#039;&#039; files can be sent to the board to initialize a fresh STM32 MCU, or if it can&#039;t be loaded via the bootloader.&lt;br /&gt;
&lt;br /&gt;
If you are unable to build your own, use the [https://openinverter.org/forum/download/file.php?id=11674 stm32_vcu.hex] that Damien posted on 10/30/2021 in the [https://openinverter.org/forum/viewtopic.php?p=33379#p33379 ZombieVerter VCU Support thread].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The connections needed to use the ST-Link loader are shown below:&lt;br /&gt;
[[File:0B35D4F9-BA64-46E7-A570-A0CE1D619D63.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
=== Initializing an ISA Shunt ===&lt;br /&gt;
Under Comms in the web interface, there is now an ISAMode option. By default its in &amp;quot;Normal&amp;quot;. If you want to initialize a new shunt, connect it up, power on the shunt and vcu, select &amp;quot;Init&amp;quot;, hit save parameters to flash. Power cycle the vcu and shunt at same time (they should be on same 12v feed anyway). The shunt will initialize. Select ISAMode &amp;quot;normal&amp;quot;, save to flash again and reboot again. The shunt should now be up and running.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Supported OEM Hardware==&lt;br /&gt;
&lt;br /&gt;
*Nissan Leaf Gen1/2/3 Inverter/ motor&lt;br /&gt;
*nissan leaf gen 2 drive stack (inverter, dcdc, charger) gen 3 coming soon&lt;br /&gt;
&lt;br /&gt;
*[[Lexus GS450h Inverter|Lexus GS450H inverter / gearbox via sync serial]]&lt;br /&gt;
* Toyota Prius/Yaris/Auris Gen 3 inverters via sync serial&lt;br /&gt;
* chevy volt HV water heater&lt;br /&gt;
*BMW E46 CAN support&lt;br /&gt;
*BMW E39 CAN support&lt;br /&gt;
*BMW E65 CAN Support&lt;br /&gt;
*CCS DC Fast Charge via BMW i3 LIM&lt;/div&gt;</summary>
		<author><name>Cgalpin</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1998</id>
		<title>ZombieVerter VCU</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1998"/>
		<updated>2021-12-07T23:15:38Z</updated>

		<summary type="html">&lt;p&gt;Cgalpin: added SSID mine shipped with&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;big&amp;gt;Now available for general sale [https://www.evbmw.com/index.php/evbmw-webshop/vcu-boards here].&amp;lt;/big&amp;gt;&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Development continues&#039;&#039;&#039; and you can&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?f=3&amp;amp;t=1277 follow and contribute along with the development here on the forum]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?f=3&amp;amp;t=1696 &#039;&#039;&#039;Support&#039;&#039;&#039; is available via a separate thread on the forum]&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
Rather than crack open inverters and swap components about to drive them, what if we simply send them the messages they&#039;re expecting? This has been the case with a couple of existing designs (Nissan leaf inverter and GS450H) and thanks to the SAM3X8E microcontroller no longer being stocked by JLCPCB this project looks to take it further.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So rather than driving an inverter powerstage this version sends CAN for the Leaf inverter or Sync serial for the GS450H and of course can be expanded to any number of others. This will be the default firmware for all vcu products from now on and future hardware will support future fun packed stuff like FLEXRAY!!!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&#039;s basically an &amp;lt;s&amp;gt;rip off&amp;lt;/s&amp;gt; homage and builds on other people&#039;s hard work in the shape of the following projects&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/jsphuebner/stm32-car STM32-CAR project] &lt;br /&gt;
* [https://github.com/jsphuebner/stm32-sine Openinverter]&lt;br /&gt;
* [https://github.com/Isaac96/SimpleISA ISA library]&lt;br /&gt;
* Leaf inverter driver by Celeron55&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
What we have as of now is the openinverter wrapper with things like :&lt;br /&gt;
&lt;br /&gt;
* Throttle cal and mapping,&lt;br /&gt;
* Precharge and contactor control,&lt;br /&gt;
* Temp derating,&lt;br /&gt;
* BMS limits,&lt;br /&gt;
* for/rev/neutral control,&lt;br /&gt;
* Graphing and monitoring,&lt;br /&gt;
* Firmware updates via the web interface,&lt;br /&gt;
* Cruise control,&lt;br /&gt;
* Fuel gauge driver,&lt;br /&gt;
* etc &lt;br /&gt;
&lt;br /&gt;
==Hardware==&lt;br /&gt;
So you&#039;ve ordered your kit, first things first, watch the following two videos to assemble it. &lt;br /&gt;
&lt;br /&gt;
Due to chip shortages (written summer 2021) the board isn&#039;t fully assembled so you will need to do some soldering, or take it to a local phone repair shop (or similar) who&#039;ll find soldering at this scale like playing with Duplo (Legos to you Yanks).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The current list of parts to be fitted:&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
CONN1&lt;br /&gt;
IC10 = MCP25625T&lt;br /&gt;
IC14 = TJA1020 OR MCP2004 &lt;br /&gt;
IC19 = NCV7356&lt;br /&gt;
IC20 = TJA1055T&lt;br /&gt;
IC21, 22 = AD5160&lt;br /&gt;
IC27, 28, 29 = FAN3122&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And the positions on the V1 board.&lt;br /&gt;
[[File:Zombv1boardb.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===The enclosure kit links===&lt;br /&gt;
&lt;br /&gt;
You only need one, but below are two options - one with just the connector, and the other prewired with 3M long leads.&lt;br /&gt;
&lt;br /&gt;
::Enclosure Kit with Header, connector and pins :&lt;br /&gt;
&lt;br /&gt;
::::https://www.aliexpress.com/item/32857771975.html?spm=a2g0s.9042311.0.0.39f24c4dWOmGPE&lt;br /&gt;
&lt;br /&gt;
::Prewired connector with 3M leads (limited colors which will not match standard wire colouring conventions) :&lt;br /&gt;
&lt;br /&gt;
::::https://www.aliexpress.com/item/4001213569338.html?spm=a2g0o.cart.0.0.366c3c00qhBvGO&amp;amp;mp=1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The kits do not come with M3 screws needed to secure the board to the enclosure (2 need to be slightly longer), and to secure the lid. Nor a gasket for the lid.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note that in addition to the VCU, the inverter and transmission, you will require a specific CANBUS connected shunt&#039;&#039;&#039;: [[Isabellenhütte Heusler]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ ZombieVerter VCU V1 Build Part 1&lt;br /&gt;
|-&lt;br /&gt;
! Video !! Highlights&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;youtube&amp;gt;https://www.youtube.com/watch?v=geZuIbGHh30&amp;lt;/youtube&amp;gt; ||&lt;br /&gt;
&#039;&#039;&#039;00:33&#039;&#039;&#039; Warning and suggestion to go watch cat videos instead&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=66s 01:06]&#039;&#039;&#039; Recap about the ZombieVerter VCU Build Part 1&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=184s 03:04]&#039;&#039;&#039; How to get one&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=215s 03:35]&#039;&#039;&#039; Design files currently require E10 Patreon membership/contribution if wanting to build your own&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=268s 04:28]&#039;&#039;&#039; Components still requiring soldering&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=303s 05:03]&#039;&#039;&#039; IC19 - 8 pin SOIC for single wire CAN (NCV7356)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=360s 06:00]&#039;&#039;&#039; IC10 - SPI CAN controller and transceiver (MCP25625T)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=390s 06:30]&#039;&#039;&#039; &amp;lt;del&amp;gt;IC1,3,5,6,7,24,25,26  load driver mosfets (NCV8402)&amp;lt;/del&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=440s 07:20]&#039;&#039;&#039; Do you need these components?&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=520s 08:40]&#039;&#039;&#039; Soldering begins - IC19&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=550s 09:10]&#039;&#039;&#039; Soldering iron for SOIC parts&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=567s 09:27]&#039;&#039;&#039; Applying flux using Damien&#039;s favorite Flux, UV80&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=634s 10:34]&#039;&#039;&#039; Magnifier headset&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=807s 13:27]&#039;&#039;&#039; Soldering MCP25625&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=955s 15:55]&#039;&#039;&#039; Suggests getting an phone/computer repair shop to help out if needed&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1025s 17:05]&#039;&#039;&#039; Using hot air gun to warm the board and position the chip&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1174s 19:34]&#039;&#039;&#039; &amp;lt;del&amp;gt;Soldering NCV8402s&amp;lt;/del&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1408s 23:28]&#039;&#039;&#039; Clean soldering with IPA Solvent&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1480s 24:40]&#039;&#039;&#039; First power up test using bench power supply to limit current to a few hundred mA&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1607s 26:47]&#039;&#039;&#039; 60mA current draw with no wifi board&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1655s 27:35]&#039;&#039;&#039; Wifi module&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1790s 29:50]&#039;&#039;&#039; Power up test with wifi draws 90mA&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1825s 30:25]&#039;&#039;&#039; Enclosure kit(s)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=2162s 36:02]&#039;&#039;&#039; Soldering the PCB header (56 pin)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=2668s 44:28]&#039;&#039;&#039; Installing in the enclosure&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=3030s 50:30]&#039;&#039;&#039; Cameo appearance by Gome cat&amp;lt;br/&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ ZombieVerter VCU V1 Build Part 2&lt;br /&gt;
|-&lt;br /&gt;
! Video !! Highlights&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;youtube&amp;gt;https://youtu.be/MUhs9j9R9Mg&amp;lt;/youtube&amp;gt; ||&lt;br /&gt;
&#039;&#039;&#039;00:34&#039;&#039;&#039; Health warning and suggestion to go watch cat videos instead&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=102s 01:42]&#039;&#039;&#039; Intro&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=200s 03:20]&#039;&#039;&#039; Pinouts of the 56 pin connector&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=256s 04:16]&#039;&#039;&#039; Pins 55,56 - Ground and +12V&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will finish soon..&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&#039;&#039;&#039;Pin Out Diagram&#039;&#039;&#039;[[File:ZombieVerter VCU V1 cable side pinout.jpg|thumb|alt=|VCU pinout diagram |none]]&lt;br /&gt;
[[File:Zomb-con-et.png|none|thumb|List of connections to system components (GS450 application)]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Further information for a GS450 system can be found here: [[Lexus GS450h Inverter]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note&#039;&#039;&#039;: In the software port 0 = EXT2 and port 1 = EXT&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Initial start-up and testing (Instructions for GS450H application) ==&lt;br /&gt;
The VCU is configured by connecting to its wifi access point.  For existing units this is something like SSID: ESP-03xxxx, no password.  For future units (shipped after 20/10/21) this will be SSID: inverter (or zom_vcu) PASSWORD: inverter123&lt;br /&gt;
&lt;br /&gt;
Then navigate to 192.168.4.1 to see the huebner inverter dashboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Get familiar with the interface and check that all of the parameters make sense. If in doubt, make sure the default value is set.  At each stage the current state of the system and any error can be seen on the interface, for example &#039;&#039;&#039;opmode&#039;&#039;&#039; and &#039;&#039;&#039;lasterr&#039;&#039;&#039;. Press refresh at the top of the screen to update the values.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will need the HV supply connected, which can be a lower voltage (50-100V), current limited power supply for test purposes.  Set &#039;&#039;&#039;udcmin&#039;&#039;&#039; to some value below that (e.g. 50V for a 100V supply) and &#039;&#039;&#039;udcsw&#039;&#039;&#039; to 10V lower than the supply.&lt;br /&gt;
&lt;br /&gt;
* Apply the &#039;&#039;&#039;Ignition T15 in&#039;&#039;&#039; 12V signal.  The relay supplying 12V to the inverter should now be on.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Check the accelerator by applying it gradually and watching / refreshing the interface. You should see values at &#039;&#039;&#039;pot&#039;&#039;&#039; change as the pedal is pressed.  &#039;&#039;&#039;potmin&#039;&#039;&#039; should be set just above where your off-throttle position is, and &#039;&#039;&#039;potmax&#039;&#039;&#039; just below the value seen at maximum travel. Same for &#039;&#039;&#039;pot2min&#039;&#039;&#039; and &#039;&#039;&#039;pot2max&#039;&#039;&#039;, if they are electrically connected. The resulting value as a 0-100 value can be seen at &#039;&#039;&#039;potnom&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If it does not show up, check for errors and check that throtmax is not set to zero!  Check that tmpm is less than tmpmmax, as it can derate the potnom value down as far as zero!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Apply the &#039;&#039;&#039;Start&#039;&#039;&#039; 12V signal for a short time.  The pre-charge relay should turn on, and the voltage available at the inverter and the U1 input of the ISA shunt should quickly rise. If the &#039;&#039;&#039;udc&#039;&#039;&#039; reading goes above &#039;&#039;&#039;udcsw&#039;&#039;&#039; within 5 seconds then the main contactor(s) should close. If all is well, &#039;&#039;&#039;invstat&#039;&#039;&#039; should now be &amp;quot;on&amp;quot;, &#039;&#039;&#039;opmode&#039;&#039;&#039; should be &amp;quot;run&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you do not see a good value at udc, it may be that your external shunt is not connected properly or is not initialised.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you do not see a good value at Invudc, it may be that the inverter is not powered, or the communication signals are not correctly wired.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;if the status stays at &amp;quot;PRECHARGE&amp;quot; then you possibly didn&#039;t hold the start signal on for long enough!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Once the contactors are on, select forwards direction.  For example if &#039;&#039;&#039;dirmode&#039;&#039;&#039; is set to &amp;quot;Switch&amp;quot; then a 12V signal applied to the Forward input will work.&lt;br /&gt;
&lt;br /&gt;
* Carefully apply the accelerator and the motor should begin to turn. Do not spin the motor up to any speed if you are using a test power supply.&lt;br /&gt;
&lt;br /&gt;
== Software==&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/Stm32-vcu &#039;&#039;&#039;Github for the project:&#039;&#039;&#039; https://github.com/damienmaguire/Stm32-vcu]&lt;br /&gt;
&lt;br /&gt;
Various binaries can be found in the support thread, for example https://openinverter.org/forum/viewtopic.php?p=33379#p33379&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;GD variant:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Status as of November 20 2021&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Early boards fitted with the GigaDevices  &#039;&#039;&#039;GD32F107&#039;&#039;&#039; aka &amp;quot;GD chip&amp;quot; require different firmware routines than &#039;&#039;&#039;STM32F107&#039;&#039;&#039; equipped boards.  See this [https://openinverter.org/forum/viewtopic.php?p=33758#p33758 Zombieverter VCU Support Thread forum post]&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;The GigaDevices `[https://www.gigadevice.com/products/microcontrollers/gd32/arm-cortex-m3/connectivity-line/gd32f107-series/ GD32F107] was chosen as an alternative to the ST equivalent due to microchip shortages during the COVID-19 pandemic.  A specific branch of firmware code for the GD32F107 variant is found here:  https://github.com/damienmaguire/Stm32-vcu/tree/GD_Zombie  However development of this variant was abandoned shortly after it&#039;s release.&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;As of this writing , The [https://github.com/damienmaguire/Stm32-vcu/tree/GD_Zombie GD_Zombie] branch has fallen behind and substantially diverged from the primary code base. It has been suggested that work needs to be done to make the present firmware chip agnostic via detection routines.  See this [https://openinverter.org/forum/viewtopic.php?p=34220#p34220 Zombieverter Development Thread forum post]. As of this writing that work has yet to be undertaken and remains to be organized and completed.  And issue has be devoted to tracking this progress here: [https://github.com/damienmaguire/Stm32-vcu/issues/21 Issue #21]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Here is a link to a post with a pre compiled bin and hex for the GD_Zombie created by Damien on the 23/11/21;  [https://openinverter.org/forum/viewtopic.php?p=34264#p34264 ZombieVerter VCU Support - Page 9 - openinverter forum] This is based on the 16/6/21 code it is &amp;lt;u&amp;gt;&#039;&#039;&#039;not&#039;&#039;&#039;&amp;lt;/u&amp;gt; an update. Ensure you rename the binaries to stm32_vcu.xxx to ensure no wifi issues.&lt;br /&gt;
 &lt;br /&gt;
&#039;&#039;UPDATE November 23 2021&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Updated information about the necessary edits to make to the STM32 based firmware have been posted in a [https://openinverter.org/forum/viewtopic.php?p=34264#p34264 forum post here.]  In order to get the firmware to compile and run on the &#039;&#039;&#039;GD32F107&#039;&#039;&#039;  you must make the following changes:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;In the file &amp;quot;&#039;&#039;&#039;anain.cpp&#039;&#039;&#039;&amp;quot; @ line 68:&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;68 - // adc_start_conversion_regular(ADC1);  // Comment out for GD MCU&amp;lt;/code&amp;gt;In the file&#039;&#039; &#039;&#039;&amp;quot;&#039;&#039;&#039;stm32_can.cpp&#039;&#039;&#039;&amp;quot; @ starting at line 305 modify as follows :&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;305 - gpio_set_mode(GPIO_BANK_CAN2_RE_RX, GPIO_MODE_INPUT, GPIO_CNF_INPUT_PULL_UPDOWN, GPIO_CAN2_RE_RX);&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;306 - gpio_set(GPIO_BANK_CAN2_RE_RX, GPIO_CAN2_RE_RX);&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;307 - // Configure CAN pin: TX.-&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;308 - gpio_set_mode(GPIO_BANK_CAN2_RE_TX, GPIO_MODE_OUTPUT_50_MHZ, GPIO_CNF_OUTPUT_ALTFN_PUSHPULL, GPIO_CAN2_RE_TX);&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you properly clone the repository with &#039;&#039;&#039;git&#039;&#039;&#039; on the command line that looks like this;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;git clone --recurse-submodules git@github.com:damienmaguire/Stm32-vcu.git&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
That recursively pulls in copies of &#039;&#039;&#039;&#039;&#039;libopeninv&#039;&#039;&#039;&#039;&#039;, etc and tracks them...   Hence your file-path should look like &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;./Stm32-vcu/libopeninv/src/&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
within the &#039;&#039;&#039;&#039;&#039;libopeninv&#039;&#039;&#039;&#039;&#039; src (source) directory you will find &#039;&#039;&#039;&#039;&#039;anain.cpp&#039;&#039;&#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;stm32_can.cpp&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Make the above changes to these files for the &#039;&#039;&#039;GigaDevices GD32F107&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
== Software update ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As supplied, both the ESP32 (the wifi plug-in board) and the STM32 (main MPU) are pre-loaded.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;UART Update&amp;quot; field on the GUI can be given a &#039;&#039;&#039;stm32_vcu.bin&#039;&#039;&#039; file to update the firmware.   Note that at this time, loading via Windows 10 is suspect and may lock you out of the board. Ubuntu works best.&lt;br /&gt;
&lt;br /&gt;
If you are unable to build your own, use the [https://openinverter.org/forum/download/file.php?id=11673 stm32_vcu.bin] that Damien posted on 10/30/2021 in the [https://openinverter.org/forum/viewtopic.php?p=33379#p33379 ZombieVerter VCU Support thread].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By using the ST-Link V2 in-circuit loader, &#039;&#039;&#039;.hex&#039;&#039;&#039; files can be sent to the board to initialize a fresh STM32 MCU, or if it can&#039;t be loaded via the bootloader.&lt;br /&gt;
&lt;br /&gt;
If you are unable to build your own, use the [https://openinverter.org/forum/download/file.php?id=11674 stm32_vcu.hex] that Damien posted on 10/30/2021 in the [https://openinverter.org/forum/viewtopic.php?p=33379#p33379 ZombieVerter VCU Support thread].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The connections needed to use the ST-Link loader are shown below:&lt;br /&gt;
[[File:0B35D4F9-BA64-46E7-A570-A0CE1D619D63.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
=== Initializing an ISA Shunt ===&lt;br /&gt;
Under Comms in the web interface, there is now an ISAMode option. By default its in &amp;quot;Normal&amp;quot;. If you want to initialize a new shunt, connect it up, power on the shunt and vcu, select &amp;quot;Init&amp;quot;, hit save parameters to flash. Power cycle the vcu and shunt at same time (they should be on same 12v feed anyway). The shunt will initialize. Select ISAMode &amp;quot;normal&amp;quot;, save to flash again and reboot again. The shunt should now be up and running.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Supported OEM Hardware==&lt;br /&gt;
&lt;br /&gt;
*Nissan Leaf Gen1/2/3 Inverter/ motor&lt;br /&gt;
*nissan leaf gen 2 drive stack (inverter, dcdc, charger) gen 3 coming soon&lt;br /&gt;
&lt;br /&gt;
*[[Lexus GS450h Inverter|Lexus GS450H inverter / gearbox via sync serial]]&lt;br /&gt;
* Toyota Prius/Yaris/Auris Gen 3 inverters via sync serial&lt;br /&gt;
* chevy volt HV water heater&lt;br /&gt;
*BMW E46 CAN support&lt;br /&gt;
*BMW E39 CAN support&lt;br /&gt;
*BMW E65 CAN Support&lt;br /&gt;
*CCS DC Fast Charge via BMW i3 LIM&lt;/div&gt;</summary>
		<author><name>Cgalpin</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1997</id>
		<title>ZombieVerter VCU</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1997"/>
		<updated>2021-12-04T21:04:00Z</updated>

		<summary type="html">&lt;p&gt;Cgalpin: started highlights for part 2 of the video. out of time for now&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;big&amp;gt;Now available for general sale [https://www.evbmw.com/index.php/evbmw-webshop/vcu-boards here].&amp;lt;/big&amp;gt;&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Development continues&#039;&#039;&#039; and you can&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?f=3&amp;amp;t=1277 follow and contribute along with the development here on the forum]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?f=3&amp;amp;t=1696 &#039;&#039;&#039;Support&#039;&#039;&#039; is available via a separate thread on the forum]&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
Rather than crack open inverters and swap components about to drive them, what if we simply send them the messages they&#039;re expecting? This has been the case with a couple of existing designs (Nissan leaf inverter and GS450H) and thanks to the SAM3X8E microcontroller no longer being stocked by JLCPCB this project looks to take it further.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So rather than driving an inverter powerstage this version sends CAN for the Leaf inverter or Sync serial for the GS450H and of course can be expanded to any number of others. This will be the default firmware for all vcu products from now on and future hardware will support future fun packed stuff like FLEXRAY!!!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&#039;s basically an &amp;lt;s&amp;gt;rip off&amp;lt;/s&amp;gt; homage and builds on other people&#039;s hard work in the shape of the following projects&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/jsphuebner/stm32-car STM32-CAR project] &lt;br /&gt;
* [https://github.com/jsphuebner/stm32-sine Openinverter]&lt;br /&gt;
* [https://github.com/Isaac96/SimpleISA ISA library]&lt;br /&gt;
* Leaf inverter driver by Celeron55&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
What we have as of now is the openinverter wrapper with things like :&lt;br /&gt;
&lt;br /&gt;
* Throttle cal and mapping,&lt;br /&gt;
* Precharge and contactor control,&lt;br /&gt;
* Temp derating,&lt;br /&gt;
* BMS limits,&lt;br /&gt;
* for/rev/neutral control,&lt;br /&gt;
* Graphing and monitoring,&lt;br /&gt;
* Firmware updates via the web interface,&lt;br /&gt;
* Cruise control,&lt;br /&gt;
* Fuel gauge driver,&lt;br /&gt;
* etc &lt;br /&gt;
&lt;br /&gt;
==Hardware==&lt;br /&gt;
So you&#039;ve ordered your kit, first things first, watch the following two videos to assemble it. &lt;br /&gt;
&lt;br /&gt;
Due to chip shortages (written summer 2021) the board isn&#039;t fully assembled so you will need to do some soldering, or take it to a local phone repair shop (or similar) who&#039;ll find soldering at this scale like playing with Duplo (Legos to you Yanks).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The current list of parts to be fitted:&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
CONN1&lt;br /&gt;
IC10 = MCP25625T&lt;br /&gt;
IC14 = TJA1020 OR MCP2004 &lt;br /&gt;
IC19 = NCV7356&lt;br /&gt;
IC20 = TJA1055T&lt;br /&gt;
IC21, 22 = AD5160&lt;br /&gt;
IC27, 28, 29 = FAN3122&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And the positions on the V1 board.&lt;br /&gt;
[[File:Zombv1boardb.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===The enclosure kit links===&lt;br /&gt;
&lt;br /&gt;
You only need one, but below are two options - one with just the connector, and the other prewired with 3M long leads.&lt;br /&gt;
&lt;br /&gt;
::Enclosure Kit with Header, connector and pins :&lt;br /&gt;
&lt;br /&gt;
::::https://www.aliexpress.com/item/32857771975.html?spm=a2g0s.9042311.0.0.39f24c4dWOmGPE&lt;br /&gt;
&lt;br /&gt;
::Prewired connector with 3M leads (limited colors which will not match standard wire colouring conventions) :&lt;br /&gt;
&lt;br /&gt;
::::https://www.aliexpress.com/item/4001213569338.html?spm=a2g0o.cart.0.0.366c3c00qhBvGO&amp;amp;mp=1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The kits do not come with M3 screws needed to secure the board to the enclosure (2 need to be slightly longer), and to secure the lid. Nor a gasket for the lid.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note that in addition to the VCU, the inverter and transmission, you will require a specific CANBUS connected shunt&#039;&#039;&#039;: [[Isabellenhütte Heusler]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ ZombieVerter VCU V1 Build Part 1&lt;br /&gt;
|-&lt;br /&gt;
! Video !! Highlights&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;youtube&amp;gt;https://www.youtube.com/watch?v=geZuIbGHh30&amp;lt;/youtube&amp;gt; ||&lt;br /&gt;
&#039;&#039;&#039;00:33&#039;&#039;&#039; Warning and suggestion to go watch cat videos instead&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=66s 01:06]&#039;&#039;&#039; Recap about the ZombieVerter VCU Build Part 1&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=184s 03:04]&#039;&#039;&#039; How to get one&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=215s 03:35]&#039;&#039;&#039; Design files currently require E10 Patreon membership/contribution if wanting to build your own&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=268s 04:28]&#039;&#039;&#039; Components still requiring soldering&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=303s 05:03]&#039;&#039;&#039; IC19 - 8 pin SOIC for single wire CAN (NCV7356)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=360s 06:00]&#039;&#039;&#039; IC10 - SPI CAN controller and transceiver (MCP25625T)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=390s 06:30]&#039;&#039;&#039; &amp;lt;del&amp;gt;IC1,3,5,6,7,24,25,26  load driver mosfets (NCV8402)&amp;lt;/del&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=440s 07:20]&#039;&#039;&#039; Do you need these components?&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=520s 08:40]&#039;&#039;&#039; Soldering begins - IC19&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=550s 09:10]&#039;&#039;&#039; Soldering iron for SOIC parts&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=567s 09:27]&#039;&#039;&#039; Applying flux using Damien&#039;s favorite Flux, UV80&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=634s 10:34]&#039;&#039;&#039; Magnifier headset&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=807s 13:27]&#039;&#039;&#039; Soldering MCP25625&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=955s 15:55]&#039;&#039;&#039; Suggests getting an phone/computer repair shop to help out if needed&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1025s 17:05]&#039;&#039;&#039; Using hot air gun to warm the board and position the chip&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1174s 19:34]&#039;&#039;&#039; &amp;lt;del&amp;gt;Soldering NCV8402s&amp;lt;/del&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1408s 23:28]&#039;&#039;&#039; Clean soldering with IPA Solvent&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1480s 24:40]&#039;&#039;&#039; First power up test using bench power supply to limit current to a few hundred mA&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1607s 26:47]&#039;&#039;&#039; 60mA current draw with no wifi board&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1655s 27:35]&#039;&#039;&#039; Wifi module&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1790s 29:50]&#039;&#039;&#039; Power up test with wifi draws 90mA&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1825s 30:25]&#039;&#039;&#039; Enclosure kit(s)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=2162s 36:02]&#039;&#039;&#039; Soldering the PCB header (56 pin)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=2668s 44:28]&#039;&#039;&#039; Installing in the enclosure&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=3030s 50:30]&#039;&#039;&#039; Cameo appearance by Gome cat&amp;lt;br/&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ ZombieVerter VCU V1 Build Part 2&lt;br /&gt;
|-&lt;br /&gt;
! Video !! Highlights&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;youtube&amp;gt;https://youtu.be/MUhs9j9R9Mg&amp;lt;/youtube&amp;gt; ||&lt;br /&gt;
&#039;&#039;&#039;00:34&#039;&#039;&#039; Health warning and suggestion to go watch cat videos instead&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=102s 01:42]&#039;&#039;&#039; Intro&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=200s 03:20]&#039;&#039;&#039; Pinouts of the 56 pin connector&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=256s 04:16]&#039;&#039;&#039; Pins 55,56 - Ground and +12V&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will finish soon..&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&#039;&#039;&#039;Pin Out Diagram&#039;&#039;&#039;[[File:ZombieVerter VCU V1 cable side pinout.jpg|thumb|alt=|VCU pinout diagram |none]]&lt;br /&gt;
[[File:Zomb-con-et.png|none|thumb|List of connections to system components (GS450 application)]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Further information for a GS450 system can be found here: [[Lexus GS450h Inverter]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note&#039;&#039;&#039;: In the software port 0 = EXT2 and port 1 = EXT&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Initial start-up and testing (Instructions for GS450H application) ==&lt;br /&gt;
The VCU is configured by connecting to its wifi access point.  For existing units this is something like SSID: ESP-03xxxx, no password.  For future units (shipped after 20/10/21) this will be SSID: inverter PASSWORD: inverter123&lt;br /&gt;
&lt;br /&gt;
Then navigate to 192.168.4.1 to see the huebner inverter dashboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Get familiar with the interface and check that all of the parameters make sense. If in doubt, make sure the default value is set.  At each stage the current state of the system and any error can be seen on the interface, for example &#039;&#039;&#039;opmode&#039;&#039;&#039; and &#039;&#039;&#039;lasterr&#039;&#039;&#039;. Press refresh at the top of the screen to update the values.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will need the HV supply connected, which can be a lower voltage (50-100V), current limited power supply for test purposes.  Set &#039;&#039;&#039;udcmin&#039;&#039;&#039; to some value below that (e.g. 50V for a 100V supply) and &#039;&#039;&#039;udcsw&#039;&#039;&#039; to 10V lower than the supply.&lt;br /&gt;
&lt;br /&gt;
* Apply the &#039;&#039;&#039;Ignition T15 in&#039;&#039;&#039; 12V signal.  The relay supplying 12V to the inverter should now be on.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Check the accelerator by applying it gradually and watching / refreshing the interface. You should see values at &#039;&#039;&#039;pot&#039;&#039;&#039; change as the pedal is pressed.  &#039;&#039;&#039;potmin&#039;&#039;&#039; should be set just above where your off-throttle position is, and &#039;&#039;&#039;potmax&#039;&#039;&#039; just below the value seen at maximum travel. Same for &#039;&#039;&#039;pot2min&#039;&#039;&#039; and &#039;&#039;&#039;pot2max&#039;&#039;&#039;, if they are electrically connected. The resulting value as a 0-100 value can be seen at &#039;&#039;&#039;potnom&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If it does not show up, check for errors and check that throtmax is not set to zero!  Check that tmpm is less than tmpmmax, as it can derate the potnom value down as far as zero!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Apply the &#039;&#039;&#039;Start&#039;&#039;&#039; 12V signal for a short time.  The pre-charge relay should turn on, and the voltage available at the inverter and the U1 input of the ISA shunt should quickly rise. If the &#039;&#039;&#039;udc&#039;&#039;&#039; reading goes above &#039;&#039;&#039;udcsw&#039;&#039;&#039; within 5 seconds then the main contactor(s) should close. If all is well, &#039;&#039;&#039;invstat&#039;&#039;&#039; should now be &amp;quot;on&amp;quot;, &#039;&#039;&#039;opmode&#039;&#039;&#039; should be &amp;quot;run&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you do not see a good value at udc, it may be that your external shunt is not connected properly or is not initialised.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you do not see a good value at Invudc, it may be that the inverter is not powered, or the communication signals are not correctly wired.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;if the status stays at &amp;quot;PRECHARGE&amp;quot; then you possibly didn&#039;t hold the start signal on for long enough!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Once the contactors are on, select forwards direction.  For example if &#039;&#039;&#039;dirmode&#039;&#039;&#039; is set to &amp;quot;Switch&amp;quot; then a 12V signal applied to the Forward input will work.&lt;br /&gt;
&lt;br /&gt;
* Carefully apply the accelerator and the motor should begin to turn. Do not spin the motor up to any speed if you are using a test power supply.&lt;br /&gt;
&lt;br /&gt;
== Software==&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/Stm32-vcu &#039;&#039;&#039;Github for the project:&#039;&#039;&#039; https://github.com/damienmaguire/Stm32-vcu]&lt;br /&gt;
&lt;br /&gt;
Various binaries can be found in the support thread, for example https://openinverter.org/forum/viewtopic.php?p=33379#p33379&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;GD variant:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Status as of November 20 2021&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Early boards fitted with the GigaDevices  &#039;&#039;&#039;GD32F107&#039;&#039;&#039; aka &amp;quot;GD chip&amp;quot; require different firmware routines than &#039;&#039;&#039;STM32F107&#039;&#039;&#039; equipped boards.  See this [https://openinverter.org/forum/viewtopic.php?p=33758#p33758 Zombieverter VCU Support Thread forum post]&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;The GigaDevices `[https://www.gigadevice.com/products/microcontrollers/gd32/arm-cortex-m3/connectivity-line/gd32f107-series/ GD32F107] was chosen as an alternative to the ST equivalent due to microchip shortages during the COVID-19 pandemic.  A specific branch of firmware code for the GD32F107 variant is found here:  https://github.com/damienmaguire/Stm32-vcu/tree/GD_Zombie  However development of this variant was abandoned shortly after it&#039;s release.&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;As of this writing , The [https://github.com/damienmaguire/Stm32-vcu/tree/GD_Zombie GD_Zombie] branch has fallen behind and substantially diverged from the primary code base. It has been suggested that work needs to be done to make the present firmware chip agnostic via detection routines.  See this [https://openinverter.org/forum/viewtopic.php?p=34220#p34220 Zombieverter Development Thread forum post]. As of this writing that work has yet to be undertaken and remains to be organized and completed.  And issue has be devoted to tracking this progress here: [https://github.com/damienmaguire/Stm32-vcu/issues/21 Issue #21]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Here is a link to a post with a pre compiled bin and hex for the GD_Zombie created by Damien on the 23/11/21;  [https://openinverter.org/forum/viewtopic.php?p=34264#p34264 ZombieVerter VCU Support - Page 9 - openinverter forum] This is based on the 16/6/21 code it is &amp;lt;u&amp;gt;&#039;&#039;&#039;not&#039;&#039;&#039;&amp;lt;/u&amp;gt; an update. Ensure you rename the binaries to stm32_vcu.xxx to ensure no wifi issues.&lt;br /&gt;
 &lt;br /&gt;
&#039;&#039;UPDATE November 23 2021&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Updated information about the necessary edits to make to the STM32 based firmware have been posted in a [https://openinverter.org/forum/viewtopic.php?p=34264#p34264 forum post here.]  In order to get the firmware to compile and run on the &#039;&#039;&#039;GD32F107&#039;&#039;&#039;  you must make the following changes:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;In the file &amp;quot;&#039;&#039;&#039;anain.cpp&#039;&#039;&#039;&amp;quot; @ line 68:&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;68 - // adc_start_conversion_regular(ADC1);  // Comment out for GD MCU&amp;lt;/code&amp;gt;In the file&#039;&#039; &#039;&#039;&amp;quot;&#039;&#039;&#039;stm32_can.cpp&#039;&#039;&#039;&amp;quot; @ starting at line 305 modify as follows :&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;305 - gpio_set_mode(GPIO_BANK_CAN2_RE_RX, GPIO_MODE_INPUT, GPIO_CNF_INPUT_PULL_UPDOWN, GPIO_CAN2_RE_RX);&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;306 - gpio_set(GPIO_BANK_CAN2_RE_RX, GPIO_CAN2_RE_RX);&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;307 - // Configure CAN pin: TX.-&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;308 - gpio_set_mode(GPIO_BANK_CAN2_RE_TX, GPIO_MODE_OUTPUT_50_MHZ, GPIO_CNF_OUTPUT_ALTFN_PUSHPULL, GPIO_CAN2_RE_TX);&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you properly clone the repository with &#039;&#039;&#039;git&#039;&#039;&#039; on the command line that looks like this;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;git clone --recurse-submodules git@github.com:damienmaguire/Stm32-vcu.git&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
That recursively pulls in copies of &#039;&#039;&#039;&#039;&#039;libopeninv&#039;&#039;&#039;&#039;&#039;, etc and tracks them...   Hence your file-path should look like &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;./Stm32-vcu/libopeninv/src/&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
within the &#039;&#039;&#039;&#039;&#039;libopeninv&#039;&#039;&#039;&#039;&#039; src (source) directory you will find &#039;&#039;&#039;&#039;&#039;anain.cpp&#039;&#039;&#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;stm32_can.cpp&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Make the above changes to these files for the &#039;&#039;&#039;GigaDevices GD32F107&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
== Software update ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As supplied, both the ESP32 (the wifi plug-in board) and the STM32 (main MPU) are pre-loaded.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;UART Update&amp;quot; field on the GUI can be given a &#039;&#039;&#039;stm32_vcu.bin&#039;&#039;&#039; file to update the firmware.   Note that at this time, loading via Windows 10 is suspect and may lock you out of the board. Ubuntu works best.&lt;br /&gt;
&lt;br /&gt;
If you are unable to build your own, use the [https://openinverter.org/forum/download/file.php?id=11673 stm32_vcu.bin] that Damien posted on 10/30/2021 in the [https://openinverter.org/forum/viewtopic.php?p=33379#p33379 ZombieVerter VCU Support thread].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By using the ST-Link V2 in-circuit loader, &#039;&#039;&#039;.hex&#039;&#039;&#039; files can be sent to the board to initialize a fresh STM32 MCU, or if it can&#039;t be loaded via the bootloader.&lt;br /&gt;
&lt;br /&gt;
If you are unable to build your own, use the [https://openinverter.org/forum/download/file.php?id=11674 stm32_vcu.hex] that Damien posted on 10/30/2021 in the [https://openinverter.org/forum/viewtopic.php?p=33379#p33379 ZombieVerter VCU Support thread].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The connections needed to use the ST-Link loader are shown below:&lt;br /&gt;
[[File:0B35D4F9-BA64-46E7-A570-A0CE1D619D63.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
=== Initializing an ISA Shunt ===&lt;br /&gt;
Under Comms in the web interface, there is now an ISAMode option. By default its in &amp;quot;Normal&amp;quot;. If you want to initialize a new shunt, connect it up, power on the shunt and vcu, select &amp;quot;Init&amp;quot;, hit save parameters to flash. Power cycle the vcu and shunt at same time (they should be on same 12v feed anyway). The shunt will initialize. Select ISAMode &amp;quot;normal&amp;quot;, save to flash again and reboot again. The shunt should now be up and running.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Supported OEM Hardware==&lt;br /&gt;
&lt;br /&gt;
*Nissan Leaf Gen1/2/3 Inverter/ motor&lt;br /&gt;
*nissan leaf gen 2 drive stack (inverter, dcdc, charger) gen 3 coming soon&lt;br /&gt;
&lt;br /&gt;
*[[Lexus GS450h Inverter|Lexus GS450H inverter / gearbox via sync serial]]&lt;br /&gt;
* Toyota Prius/Yaris/Auris Gen 3 inverters via sync serial&lt;br /&gt;
* chevy volt HV water heater&lt;br /&gt;
*BMW E46 CAN support&lt;br /&gt;
*BMW E39 CAN support&lt;br /&gt;
*BMW E65 CAN Support&lt;br /&gt;
*CCS DC Fast Charge via BMW i3 LIM&lt;/div&gt;</summary>
		<author><name>Cgalpin</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1996</id>
		<title>ZombieVerter VCU</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1996"/>
		<updated>2021-12-04T20:53:40Z</updated>

		<summary type="html">&lt;p&gt;Cgalpin: Annotated highlights of ZombieVerter VCU video part 1&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;big&amp;gt;Now available for general sale [https://www.evbmw.com/index.php/evbmw-webshop/vcu-boards here].&amp;lt;/big&amp;gt;&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Development continues&#039;&#039;&#039; and you can&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?f=3&amp;amp;t=1277 follow and contribute along with the development here on the forum]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?f=3&amp;amp;t=1696 &#039;&#039;&#039;Support&#039;&#039;&#039; is available via a separate thread on the forum]&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
Rather than crack open inverters and swap components about to drive them, what if we simply send them the messages they&#039;re expecting? This has been the case with a couple of existing designs (Nissan leaf inverter and GS450H) and thanks to the SAM3X8E microcontroller no longer being stocked by JLCPCB this project looks to take it further.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So rather than driving an inverter powerstage this version sends CAN for the Leaf inverter or Sync serial for the GS450H and of course can be expanded to any number of others. This will be the default firmware for all vcu products from now on and future hardware will support future fun packed stuff like FLEXRAY!!!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&#039;s basically an &amp;lt;s&amp;gt;rip off&amp;lt;/s&amp;gt; homage and builds on other people&#039;s hard work in the shape of the following projects&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/jsphuebner/stm32-car STM32-CAR project] &lt;br /&gt;
* [https://github.com/jsphuebner/stm32-sine Openinverter]&lt;br /&gt;
* [https://github.com/Isaac96/SimpleISA ISA library]&lt;br /&gt;
* Leaf inverter driver by Celeron55&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
What we have as of now is the openinverter wrapper with things like :&lt;br /&gt;
&lt;br /&gt;
* Throttle cal and mapping,&lt;br /&gt;
* Precharge and contactor control,&lt;br /&gt;
* Temp derating,&lt;br /&gt;
* BMS limits,&lt;br /&gt;
* for/rev/neutral control,&lt;br /&gt;
* Graphing and monitoring,&lt;br /&gt;
* Firmware updates via the web interface,&lt;br /&gt;
* Cruise control,&lt;br /&gt;
* Fuel gauge driver,&lt;br /&gt;
* etc &lt;br /&gt;
&lt;br /&gt;
==Hardware==&lt;br /&gt;
So you&#039;ve ordered your kit, first things first, watch the following two videos to assemble it. &lt;br /&gt;
&lt;br /&gt;
Due to chip shortages (written summer 2021) the board isn&#039;t fully assembled so you will need to do some soldering, or take it to a local phone repair shop (or similar) who&#039;ll find soldering at this scale like playing with Duplo (Legos to you Yanks).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The current list of parts to be fitted:&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
CONN1&lt;br /&gt;
IC10 = MCP25625T&lt;br /&gt;
IC14 = TJA1020 OR MCP2004 &lt;br /&gt;
IC19 = NCV7356&lt;br /&gt;
IC20 = TJA1055T&lt;br /&gt;
IC21, 22 = AD5160&lt;br /&gt;
IC27, 28, 29 = FAN3122&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And the positions on the V1 board.&lt;br /&gt;
[[File:Zombv1boardb.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===The enclosure kit links===&lt;br /&gt;
&lt;br /&gt;
You only need one, but below are two options - one with just the connector, and the other prewired with 3M long leads.&lt;br /&gt;
&lt;br /&gt;
::Enclosure Kit with Header, connector and pins :&lt;br /&gt;
&lt;br /&gt;
::::https://www.aliexpress.com/item/32857771975.html?spm=a2g0s.9042311.0.0.39f24c4dWOmGPE&lt;br /&gt;
&lt;br /&gt;
::Prewired connector with 3M leads (limited colors which will not match standard wire colouring conventions) :&lt;br /&gt;
&lt;br /&gt;
::::https://www.aliexpress.com/item/4001213569338.html?spm=a2g0o.cart.0.0.366c3c00qhBvGO&amp;amp;mp=1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The kits do not come with M3 screws needed to secure the board to the enclosure (2 need to be slightly longer), and to secure the lid. Nor a gasket for the lid.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note that in addition to the VCU, the inverter and transmission, you will require a specific CANBUS connected shunt&#039;&#039;&#039;: [[Isabellenhütte Heusler]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ ZombieVerter VCU V1 Build Part 1&lt;br /&gt;
|-&lt;br /&gt;
! Video !! Highlights&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;youtube&amp;gt;https://www.youtube.com/watch?v=geZuIbGHh30&amp;lt;/youtube&amp;gt; ||&lt;br /&gt;
&#039;&#039;&#039;00:00&#039;&#039;&#039; Intro&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;00:33&#039;&#039;&#039; Warning and suggestion to go watch cat videos instead&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=66s 01:06]&#039;&#039;&#039; Recap about the ZombieVerter VCU Build Part 1&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=184s 03:04]&#039;&#039;&#039; How to get one&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=215s 03:35]&#039;&#039;&#039; Design files currently require E10 Patreon membership/contribution if wanting to build your own&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=268s 04:28]&#039;&#039;&#039; Components still requiring soldering&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=303s 05:03]&#039;&#039;&#039; IC19 - 8 pin SOIC for single wire CAN (NCV7356)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=360s 06:00]&#039;&#039;&#039; IC10 - SPI CAN controller and transceiver (MCP25625T)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=390s 06:30]&#039;&#039;&#039; &amp;lt;del&amp;gt;IC1,3,5,6,7,24,25,26  load driver mosfets (NCV8402)&amp;lt;/del&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=440s 07:20]&#039;&#039;&#039; Do you need these components?&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=520s 08:40]&#039;&#039;&#039; Soldering begins - IC19&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=550s 09:10]&#039;&#039;&#039; Soldering iron for SOIC parts&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=567s 09:27]&#039;&#039;&#039; Applying flux using Damien&#039;s favorite Flux, UV80&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=634s 10:34]&#039;&#039;&#039; Magnifier headset&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=807s 13:27]&#039;&#039;&#039; Soldering MCP25625&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=955s 15:55]&#039;&#039;&#039; Suggests getting an phone/computer repair shop to help out if needed&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1025s 17:05]&#039;&#039;&#039; Using hot air gun to warm the board and position the chip&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1174s 19:34]&#039;&#039;&#039; &amp;lt;del&amp;gt;Soldering NCV8402s&amp;lt;/del&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1408s 23:28]&#039;&#039;&#039; Clean soldering with IPA Solvent&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1480s 24:40]&#039;&#039;&#039; First power up test using bench power supply to limit current to a few hundred mA&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1607s 26:47]&#039;&#039;&#039; 60mA current draw with no wifi board&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1655s 27:35]&#039;&#039;&#039; Wifi module&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1790s 29:50]&#039;&#039;&#039; Power up test with wifi draws 90mA&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1825s 30:25]&#039;&#039;&#039; Enclosure kit(s)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=2162s 36:02]&#039;&#039;&#039; Soldering the PCB header (56 pin)&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=2668s 44:28]&#039;&#039;&#039; Installing in the enclosure&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=3030s 50:30]&#039;&#039;&#039; Cameo appearance by Gome cat&amp;lt;br/&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ ZombieVerter VCU V1 Build Part 2&lt;br /&gt;
|-&lt;br /&gt;
! Video !! Highlights&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;youtube&amp;gt;https://youtu.be/MUhs9j9R9Mg&amp;lt;/youtube&amp;gt; ||&lt;br /&gt;
Coming soon&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&#039;&#039;&#039;Pin Out Diagram&#039;&#039;&#039;[[File:ZombieVerter VCU V1 cable side pinout.jpg|thumb|alt=|VCU pinout diagram |none]]&lt;br /&gt;
[[File:Zomb-con-et.png|none|thumb|List of connections to system components (GS450 application)]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Further information for a GS450 system can be found here: [[Lexus GS450h Inverter]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note&#039;&#039;&#039;: In the software port 0 = EXT2 and port 1 = EXT&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Initial start-up and testing (Instructions for GS450H application) ==&lt;br /&gt;
The VCU is configured by connecting to its wifi access point.  For existing units this is something like SSID: ESP-03xxxx, no password.  For future units (shipped after 20/10/21) this will be SSID: inverter PASSWORD: inverter123&lt;br /&gt;
&lt;br /&gt;
Then navigate to 192.168.4.1 to see the huebner inverter dashboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Get familiar with the interface and check that all of the parameters make sense. If in doubt, make sure the default value is set.  At each stage the current state of the system and any error can be seen on the interface, for example &#039;&#039;&#039;opmode&#039;&#039;&#039; and &#039;&#039;&#039;lasterr&#039;&#039;&#039;. Press refresh at the top of the screen to update the values.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will need the HV supply connected, which can be a lower voltage (50-100V), current limited power supply for test purposes.  Set &#039;&#039;&#039;udcmin&#039;&#039;&#039; to some value below that (e.g. 50V for a 100V supply) and &#039;&#039;&#039;udcsw&#039;&#039;&#039; to 10V lower than the supply.&lt;br /&gt;
&lt;br /&gt;
* Apply the &#039;&#039;&#039;Ignition T15 in&#039;&#039;&#039; 12V signal.  The relay supplying 12V to the inverter should now be on.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Check the accelerator by applying it gradually and watching / refreshing the interface. You should see values at &#039;&#039;&#039;pot&#039;&#039;&#039; change as the pedal is pressed.  &#039;&#039;&#039;potmin&#039;&#039;&#039; should be set just above where your off-throttle position is, and &#039;&#039;&#039;potmax&#039;&#039;&#039; just below the value seen at maximum travel. Same for &#039;&#039;&#039;pot2min&#039;&#039;&#039; and &#039;&#039;&#039;pot2max&#039;&#039;&#039;, if they are electrically connected. The resulting value as a 0-100 value can be seen at &#039;&#039;&#039;potnom&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If it does not show up, check for errors and check that throtmax is not set to zero!  Check that tmpm is less than tmpmmax, as it can derate the potnom value down as far as zero!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Apply the &#039;&#039;&#039;Start&#039;&#039;&#039; 12V signal for a short time.  The pre-charge relay should turn on, and the voltage available at the inverter and the U1 input of the ISA shunt should quickly rise. If the &#039;&#039;&#039;udc&#039;&#039;&#039; reading goes above &#039;&#039;&#039;udcsw&#039;&#039;&#039; within 5 seconds then the main contactor(s) should close. If all is well, &#039;&#039;&#039;invstat&#039;&#039;&#039; should now be &amp;quot;on&amp;quot;, &#039;&#039;&#039;opmode&#039;&#039;&#039; should be &amp;quot;run&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you do not see a good value at udc, it may be that your external shunt is not connected properly or is not initialised.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you do not see a good value at Invudc, it may be that the inverter is not powered, or the communication signals are not correctly wired.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;if the status stays at &amp;quot;PRECHARGE&amp;quot; then you possibly didn&#039;t hold the start signal on for long enough!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Once the contactors are on, select forwards direction.  For example if &#039;&#039;&#039;dirmode&#039;&#039;&#039; is set to &amp;quot;Switch&amp;quot; then a 12V signal applied to the Forward input will work.&lt;br /&gt;
&lt;br /&gt;
* Carefully apply the accelerator and the motor should begin to turn. Do not spin the motor up to any speed if you are using a test power supply.&lt;br /&gt;
&lt;br /&gt;
== Software==&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/Stm32-vcu &#039;&#039;&#039;Github for the project:&#039;&#039;&#039; https://github.com/damienmaguire/Stm32-vcu]&lt;br /&gt;
&lt;br /&gt;
Various binaries can be found in the support thread, for example https://openinverter.org/forum/viewtopic.php?p=33379#p33379&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;GD variant:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Status as of November 20 2021&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Early boards fitted with the GigaDevices  &#039;&#039;&#039;GD32F107&#039;&#039;&#039; aka &amp;quot;GD chip&amp;quot; require different firmware routines than &#039;&#039;&#039;STM32F107&#039;&#039;&#039; equipped boards.  See this [https://openinverter.org/forum/viewtopic.php?p=33758#p33758 Zombieverter VCU Support Thread forum post]&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;The GigaDevices `[https://www.gigadevice.com/products/microcontrollers/gd32/arm-cortex-m3/connectivity-line/gd32f107-series/ GD32F107] was chosen as an alternative to the ST equivalent due to microchip shortages during the COVID-19 pandemic.  A specific branch of firmware code for the GD32F107 variant is found here:  https://github.com/damienmaguire/Stm32-vcu/tree/GD_Zombie  However development of this variant was abandoned shortly after it&#039;s release.&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;As of this writing , The [https://github.com/damienmaguire/Stm32-vcu/tree/GD_Zombie GD_Zombie] branch has fallen behind and substantially diverged from the primary code base. It has been suggested that work needs to be done to make the present firmware chip agnostic via detection routines.  See this [https://openinverter.org/forum/viewtopic.php?p=34220#p34220 Zombieverter Development Thread forum post]. As of this writing that work has yet to be undertaken and remains to be organized and completed.  And issue has be devoted to tracking this progress here: [https://github.com/damienmaguire/Stm32-vcu/issues/21 Issue #21]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Here is a link to a post with a pre compiled bin and hex for the GD_Zombie created by Damien on the 23/11/21;  [https://openinverter.org/forum/viewtopic.php?p=34264#p34264 ZombieVerter VCU Support - Page 9 - openinverter forum] This is based on the 16/6/21 code it is &amp;lt;u&amp;gt;&#039;&#039;&#039;not&#039;&#039;&#039;&amp;lt;/u&amp;gt; an update. Ensure you rename the binaries to stm32_vcu.xxx to ensure no wifi issues.&lt;br /&gt;
 &lt;br /&gt;
&#039;&#039;UPDATE November 23 2021&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Updated information about the necessary edits to make to the STM32 based firmware have been posted in a [https://openinverter.org/forum/viewtopic.php?p=34264#p34264 forum post here.]  In order to get the firmware to compile and run on the &#039;&#039;&#039;GD32F107&#039;&#039;&#039;  you must make the following changes:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;In the file &amp;quot;&#039;&#039;&#039;anain.cpp&#039;&#039;&#039;&amp;quot; @ line 68:&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;68 - // adc_start_conversion_regular(ADC1);  // Comment out for GD MCU&amp;lt;/code&amp;gt;In the file&#039;&#039; &#039;&#039;&amp;quot;&#039;&#039;&#039;stm32_can.cpp&#039;&#039;&#039;&amp;quot; @ starting at line 305 modify as follows :&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;305 - gpio_set_mode(GPIO_BANK_CAN2_RE_RX, GPIO_MODE_INPUT, GPIO_CNF_INPUT_PULL_UPDOWN, GPIO_CAN2_RE_RX);&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;306 - gpio_set(GPIO_BANK_CAN2_RE_RX, GPIO_CAN2_RE_RX);&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;307 - // Configure CAN pin: TX.-&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;308 - gpio_set_mode(GPIO_BANK_CAN2_RE_TX, GPIO_MODE_OUTPUT_50_MHZ, GPIO_CNF_OUTPUT_ALTFN_PUSHPULL, GPIO_CAN2_RE_TX);&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you properly clone the repository with &#039;&#039;&#039;git&#039;&#039;&#039; on the command line that looks like this;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;git clone --recurse-submodules git@github.com:damienmaguire/Stm32-vcu.git&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
That recursively pulls in copies of &#039;&#039;&#039;&#039;&#039;libopeninv&#039;&#039;&#039;&#039;&#039;, etc and tracks them...   Hence your file-path should look like &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;./Stm32-vcu/libopeninv/src/&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
within the &#039;&#039;&#039;&#039;&#039;libopeninv&#039;&#039;&#039;&#039;&#039; src (source) directory you will find &#039;&#039;&#039;&#039;&#039;anain.cpp&#039;&#039;&#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;stm32_can.cpp&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Make the above changes to these files for the &#039;&#039;&#039;GigaDevices GD32F107&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
== Software update ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As supplied, both the ESP32 (the wifi plug-in board) and the STM32 (main MPU) are pre-loaded.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;UART Update&amp;quot; field on the GUI can be given a &#039;&#039;&#039;stm32_vcu.bin&#039;&#039;&#039; file to update the firmware.   Note that at this time, loading via Windows 10 is suspect and may lock you out of the board. Ubuntu works best.&lt;br /&gt;
&lt;br /&gt;
If you are unable to build your own, use the [https://openinverter.org/forum/download/file.php?id=11673 stm32_vcu.bin] that Damien posted on 10/30/2021 in the [https://openinverter.org/forum/viewtopic.php?p=33379#p33379 ZombieVerter VCU Support thread].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By using the ST-Link V2 in-circuit loader, &#039;&#039;&#039;.hex&#039;&#039;&#039; files can be sent to the board to initialize a fresh STM32 MCU, or if it can&#039;t be loaded via the bootloader.&lt;br /&gt;
&lt;br /&gt;
If you are unable to build your own, use the [https://openinverter.org/forum/download/file.php?id=11674 stm32_vcu.hex] that Damien posted on 10/30/2021 in the [https://openinverter.org/forum/viewtopic.php?p=33379#p33379 ZombieVerter VCU Support thread].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The connections needed to use the ST-Link loader are shown below:&lt;br /&gt;
[[File:0B35D4F9-BA64-46E7-A570-A0CE1D619D63.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
=== Initializing an ISA Shunt ===&lt;br /&gt;
Under Comms in the web interface, there is now an ISAMode option. By default its in &amp;quot;Normal&amp;quot;. If you want to initialize a new shunt, connect it up, power on the shunt and vcu, select &amp;quot;Init&amp;quot;, hit save parameters to flash. Power cycle the vcu and shunt at same time (they should be on same 12v feed anyway). The shunt will initialize. Select ISAMode &amp;quot;normal&amp;quot;, save to flash again and reboot again. The shunt should now be up and running.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Supported OEM Hardware==&lt;br /&gt;
&lt;br /&gt;
*Nissan Leaf Gen1/2/3 Inverter/ motor&lt;br /&gt;
*nissan leaf gen 2 drive stack (inverter, dcdc, charger) gen 3 coming soon&lt;br /&gt;
&lt;br /&gt;
*[[Lexus GS450h Inverter|Lexus GS450H inverter / gearbox via sync serial]]&lt;br /&gt;
* Toyota Prius/Yaris/Auris Gen 3 inverters via sync serial&lt;br /&gt;
* chevy volt HV water heater&lt;br /&gt;
*BMW E46 CAN support&lt;br /&gt;
*BMW E39 CAN support&lt;br /&gt;
*BMW E65 CAN Support&lt;br /&gt;
*CCS DC Fast Charge via BMW i3 LIM&lt;/div&gt;</summary>
		<author><name>Cgalpin</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1991</id>
		<title>ZombieVerter VCU</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1991"/>
		<updated>2021-12-01T02:04:40Z</updated>

		<summary type="html">&lt;p&gt;Cgalpin: fixed formatting&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;big&amp;gt;Now available for general sale [https://www.evbmw.com/index.php/evbmw-webshop/vcu-boards here].&amp;lt;/big&amp;gt;&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Development continues&#039;&#039;&#039; and you can&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?f=3&amp;amp;t=1277 follow and contribute along with the development here on the forum]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?f=3&amp;amp;t=1696 &#039;&#039;&#039;Support&#039;&#039;&#039; is available via a separate thread on the forum]&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
Rather than crack open inverters and swap components about to drive them, what if we simply send them the messages they&#039;re expecting? This has been the case with a couple of existing designs (Nissan leaf inverter and GS450H) and thanks to the SAM3X8E microcontroller no longer being stocked by JLCPCB this project looks to take it further.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So rather than driving an inverter powerstage this version sends CAN for the Leaf inverter or Sync serial for the GS450H and of course can be expanded to any number of others. This will be the default firmware for all vcu products from now on and future hardware will support future fun packed stuff like FLEXRAY!!!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&#039;s basically an &amp;lt;s&amp;gt;rip off&amp;lt;/s&amp;gt; homage and builds on other people&#039;s hard work in the shape of the following projects&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/jsphuebner/stm32-car STM32-CAR project] &lt;br /&gt;
* [https://github.com/jsphuebner/stm32-sine Openinverter]&lt;br /&gt;
* [https://github.com/Isaac96/SimpleISA ISA library]&lt;br /&gt;
* Leaf inverter driver by Celeron55&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
What we have as of now is the openinverter wrapper with things like :&lt;br /&gt;
&lt;br /&gt;
* Throttle cal and mapping,&lt;br /&gt;
* Precharge and contactor control,&lt;br /&gt;
* Temp derating,&lt;br /&gt;
* BMS limits,&lt;br /&gt;
* for/rev/neutral control,&lt;br /&gt;
* Graphing and monitoring,&lt;br /&gt;
* Firmware updates via the web interface,&lt;br /&gt;
* Cruise control,&lt;br /&gt;
* Fuel gauge driver,&lt;br /&gt;
* etc &lt;br /&gt;
&lt;br /&gt;
==Hardware==&lt;br /&gt;
So you&#039;ve ordered your kit, first things first, watch the following two videos to assemble it. &lt;br /&gt;
&lt;br /&gt;
Due to chip shortages (written summer 2021) the board isn&#039;t fully assembled so you will need to do some soldering, or take it to a local phone repair shop (or similar) who&#039;ll find soldering at this scale like playing with Duplo (Legos to you Yanks).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The current list of parts to be fitted:&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
CONN1&lt;br /&gt;
IC10 = MCP25625T&lt;br /&gt;
IC14 = TJA1020 OR MCP2004 &lt;br /&gt;
IC19 = NCV7356&lt;br /&gt;
IC20 = TJA1055T&lt;br /&gt;
IC21, 22 = AD5160&lt;br /&gt;
IC27, 28, 29 = FAN3122&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And the positions on the V1 board.&lt;br /&gt;
[[File:Zombv1boardb.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===The enclosure kit links===&lt;br /&gt;
&lt;br /&gt;
You only need one, but below are two options - one with just the connector, and the other prewired with 3M long leads.&lt;br /&gt;
&lt;br /&gt;
::Enclosure Kit with Header, connector and pins :&lt;br /&gt;
&lt;br /&gt;
::::https://www.aliexpress.com/item/32857771975.html?spm=a2g0s.9042311.0.0.39f24c4dWOmGPE&lt;br /&gt;
&lt;br /&gt;
::Prewired connector with 3M leads :&lt;br /&gt;
&lt;br /&gt;
::::https://www.aliexpress.com/item/4001213569338.html?spm=a2g0o.cart.0.0.366c3c00qhBvGO&amp;amp;mp=1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note that in addition to the VCU, the inverter and transmission, you will require a specific CANBUS connected shunt&#039;&#039;&#039;: [[Isabellenhütte Heusler]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;youtube&amp;gt;https://www.youtube.com/watch?v=geZuIbGHh30&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;youtube&amp;gt;https://youtu.be/MUhs9j9R9Mg&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&#039;&#039;&#039;Pin Out Diagram&#039;&#039;&#039;[[File:ZombieVerter VCU V1 cable side pinout.jpg|thumb|alt=|VCU pinout diagram |none]]&lt;br /&gt;
[[File:Zomb-con-et.png|none|thumb|List of connections to system components (GS450 application)]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Further information for a GS450 system can be found here: [[Lexus GS450h Inverter]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note&#039;&#039;&#039;: In the software port 0 = EXT2 and port 1 = EXT&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Initial start-up and testing (Instructions for GS450H application) ==&lt;br /&gt;
The VCU is configured by connecting to its wifi access point.  For existing units this is something like SSID: ESP-03xxxx, no password.  For future units (shipped after 20/10/21) this will be SSID: inverter PASSWORD: inverter123&lt;br /&gt;
&lt;br /&gt;
Then navigate to 192.168.4.1 to see the huebner inverter dashboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Get familiar with the interface and check that all of the parameters make sense. If in doubt, make sure the default value is set.  At each stage the current state of the system and any error can be seen on the interface, for example &#039;&#039;&#039;opmode&#039;&#039;&#039; and &#039;&#039;&#039;lasterr&#039;&#039;&#039;. Press refresh at the top of the screen to update the values.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will need the HV supply connected, which can be a lower voltage (50-100V), current limited power supply for test purposes.  Set &#039;&#039;&#039;udcmin&#039;&#039;&#039; to some value below that (e.g. 50V for a 100V supply) and &#039;&#039;&#039;udcsw&#039;&#039;&#039; to 10V lower than the supply.&lt;br /&gt;
&lt;br /&gt;
* Apply the &#039;&#039;&#039;Ignition T15 in&#039;&#039;&#039; 12V signal.  The relay supplying 12V to the inverter should now be on.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Check the accelerator by applying it gradually and watching / refreshing the interface. You should see values at &#039;&#039;&#039;pot&#039;&#039;&#039; change as the pedal is pressed.  &#039;&#039;&#039;potmin&#039;&#039;&#039; should be set just above where your off-throttle position is, and &#039;&#039;&#039;potmax&#039;&#039;&#039; just below the value seen at maximum travel. Same for &#039;&#039;&#039;pot2min&#039;&#039;&#039; and &#039;&#039;&#039;pot2max&#039;&#039;&#039;, if they are electrically connected. The resulting value as a 0-100 value can be seen at &#039;&#039;&#039;potnom&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If it does not show up, check for errors and check that throtmax is not set to zero!  Check that tmpm is less than tmpmmax, as it can derate the potnom value down as far as zero!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Apply the &#039;&#039;&#039;Start&#039;&#039;&#039; 12V signal for a short time.  The pre-charge relay should turn on, and the voltage available at the inverter and the U1 input of the ISA shunt should quickly rise. If the &#039;&#039;&#039;udc&#039;&#039;&#039; reading goes above &#039;&#039;&#039;udcsw&#039;&#039;&#039; within 5 seconds then the main contactor(s) should close. If all is well, &#039;&#039;&#039;invstat&#039;&#039;&#039; should now be &amp;quot;on&amp;quot;, &#039;&#039;&#039;opmode&#039;&#039;&#039; should be &amp;quot;run&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you do not see a good value at udc, it may be that your external shunt is not connected properly or is not initialised.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you do not see a good value at Invudc, it may be that the inverter is not powered, or the communication signals are not correctly wired.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;if the status stays at &amp;quot;PRECHARGE&amp;quot; then you possibly didn&#039;t hold the start signal on for long enough!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Once the contactors are on, select forwards direction.  For example if &#039;&#039;&#039;dirmode&#039;&#039;&#039; is set to &amp;quot;Switch&amp;quot; then a 12V signal applied to the Forward input will work.&lt;br /&gt;
&lt;br /&gt;
* Carefully apply the accelerator and the motor should begin to turn. Do not spin the motor up to any speed if you are using a test power supply.&lt;br /&gt;
&lt;br /&gt;
== Software==&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/Stm32-vcu &#039;&#039;&#039;Github for the project:&#039;&#039;&#039; https://github.com/damienmaguire/Stm32-vcu]&lt;br /&gt;
&lt;br /&gt;
Various binaries can be found in the support thread, for example https://openinverter.org/forum/viewtopic.php?p=33379#p33379&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;GD variant:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Status as of November 20 2021&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Early boards fitted with the GigaDevices  &#039;&#039;&#039;GD32F107&#039;&#039;&#039; aka &amp;quot;GD chip&amp;quot; require different firmware routines than &#039;&#039;&#039;STM32F107&#039;&#039;&#039; equipped boards.  See this [https://openinverter.org/forum/viewtopic.php?p=33758#p33758 Zombieverter VCU Support Thread forum post]&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;The GigaDevices `[https://www.gigadevice.com/products/microcontrollers/gd32/arm-cortex-m3/connectivity-line/gd32f107-series/ GD32F107] was chosen as an alternative to the ST equivalent due to microchip shortages during the COVID-19 pandemic.  A specific branch of firmware code for the GD32F107 variant is found here:  https://github.com/damienmaguire/Stm32-vcu/tree/GD_Zombie  However development of this variant was abandoned shortly after it&#039;s release.&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;As of this writing , The [https://github.com/damienmaguire/Stm32-vcu/tree/GD_Zombie GD_Zombie] branch has fallen behind and substantially diverged from the primary code base. It has been suggested that work needs to be done to make the present firmware chip agnostic via detection routines.  See this [https://openinverter.org/forum/viewtopic.php?p=34220#p34220 Zombieverter Development Thread forum post]. As of this writing that work has yet to be undertaken and remains to be organized and completed.  And issue has be devoted to tracking this progress here: [https://github.com/damienmaguire/Stm32-vcu/issues/21 Issue #21]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Here is a link to a post with a pre compiled bin and hex for the GD_Zombie created by Damien on the 23/11/21;  [https://openinverter.org/forum/viewtopic.php?p=34264#p34264 ZombieVerter VCU Support - Page 9 - openinverter forum] This is based on the 16/6/21 code it is &amp;lt;u&amp;gt;&#039;&#039;&#039;not&#039;&#039;&#039;&amp;lt;/u&amp;gt; an update. Ensure you rename the binaries to stm32_vcu.xxx to ensure no wifi issues.&lt;br /&gt;
 &lt;br /&gt;
&#039;&#039;UPDATE November 23 2021&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Updated information about the necessary edits to make to the STM32 based firmware have been posted in a [https://openinverter.org/forum/viewtopic.php?p=34264#p34264 forum post here.]  In order to get the firmware to compile and run on the &#039;&#039;&#039;GD32F107&#039;&#039;&#039;  you must make the following changes:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;In the file &amp;quot;&#039;&#039;&#039;anain.cpp&#039;&#039;&#039;&amp;quot; @ line 68:&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;68 - // adc_start_conversion_regular(ADC1);  // Comment out for GD MCU&amp;lt;/code&amp;gt;In the file&#039;&#039; &#039;&#039;&amp;quot;&#039;&#039;&#039;stm32_can.cpp&#039;&#039;&#039;&amp;quot; @ starting at line 305 modify as follows :&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;305 - gpio_set_mode(GPIO_BANK_CAN2_RE_RX, GPIO_MODE_INPUT, GPIO_CNF_INPUT_PULL_UPDOWN, GPIO_CAN2_RE_RX);&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;306 - gpio_set(GPIO_BANK_CAN2_RE_RX, GPIO_CAN2_RE_RX);&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;307 - // Configure CAN pin: TX.-&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;code&amp;gt;308 - gpio_set_mode(GPIO_BANK_CAN2_RE_TX, GPIO_MODE_OUTPUT_50_MHZ, GPIO_CNF_OUTPUT_ALTFN_PUSHPULL, GPIO_CAN2_RE_TX);&amp;lt;/code&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you properly clone the repository with &#039;&#039;&#039;git&#039;&#039;&#039; on the command line that looks like this;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;git clone --recurse-submodules git@github.com:damienmaguire/Stm32-vcu.git&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
That recursively pulls in copies of &#039;&#039;&#039;&#039;&#039;libopeninv&#039;&#039;&#039;&#039;&#039;, etc and tracks them...   Hence your file-path should look like &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;./Stm32-vcu/libopeninv/src/&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
within the &#039;&#039;&#039;&#039;&#039;libopeninv&#039;&#039;&#039;&#039;&#039; src (source) directory you will find &#039;&#039;&#039;&#039;&#039;anain.cpp&#039;&#039;&#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;stm32_can.cpp&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Make the above changes to these files for the &#039;&#039;&#039;GigaDevices GD32F107&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
== Software update ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As supplied, both the ESP32 (the wifi plug-in board) and the STM32 (main MPU) are pre-loaded.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;UART Update&amp;quot; field on the GUI can be given a &#039;&#039;&#039;stm32_vcu.bin&#039;&#039;&#039; file to update the firmware.   Note that at this time, loading via Windows 10 is suspect and may lock you out of the board. Ubuntu works best.&lt;br /&gt;
&lt;br /&gt;
If you are unable to build your own, use the [https://openinverter.org/forum/download/file.php?id=11673 stm32_vcu.bin] that Damien posted on 10/30/2021 in the [https://openinverter.org/forum/viewtopic.php?p=33379#p33379 ZombieVerter VCU Support thread].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By using the ST-Link V2 in-circuit loader, &#039;&#039;&#039;.hex&#039;&#039;&#039; files can be sent to the board to initialize a fresh STM32 MCU, or if it can&#039;t be loaded via the bootloader.&lt;br /&gt;
&lt;br /&gt;
If you are unable to build your own, use the [https://openinverter.org/forum/download/file.php?id=11674 stm32_vcu.hex] that Damien posted on 10/30/2021 in the [https://openinverter.org/forum/viewtopic.php?p=33379#p33379 ZombieVerter VCU Support thread].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The connections needed to use the ST-Link loader are shown below:&lt;br /&gt;
[[File:0B35D4F9-BA64-46E7-A570-A0CE1D619D63.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
=== Initializing an ISA Shunt ===&lt;br /&gt;
Under Comms in the web interface, there is now an ISAMode option. By default its in &amp;quot;Normal&amp;quot;. If you want to initialize a new shunt, connect it up, power on the shunt and vcu, select &amp;quot;Init&amp;quot;, hit save parameters to flash. Power cycle the vcu and shunt at same time (they should be on same 12v feed anyway). The shunt will initialize. Select ISAMode &amp;quot;normal&amp;quot;, save to flash again and reboot again. The shunt should now be up and running.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Supported OEM Hardware==&lt;br /&gt;
&lt;br /&gt;
*Nissan Leaf Gen1/2/3 Inverter/ motor&lt;br /&gt;
*nissan leaf gen 2 drive stack (inverter, dcdc, charger) gen 3 coming soon&lt;br /&gt;
&lt;br /&gt;
*[[Lexus GS450h Inverter|Lexus GS450H inverter / gearbox via sync serial]]&lt;br /&gt;
* Toyota Prius/Yaris/Auris Gen 3 inverters via sync serial&lt;br /&gt;
* chevy volt HV water heater&lt;br /&gt;
*BMW E46 CAN support&lt;br /&gt;
*BMW E39 CAN support&lt;br /&gt;
*BMW E65 CAN Support&lt;br /&gt;
*CCS DC Fast Charge via BMW i3 LIM&lt;/div&gt;</summary>
		<author><name>Cgalpin</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1964</id>
		<title>ZombieVerter VCU</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1964"/>
		<updated>2021-11-22T01:02:25Z</updated>

		<summary type="html">&lt;p&gt;Cgalpin: Added whitespace&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;big&amp;gt;Now available for general sale [https://www.evbmw.com/index.php/evbmw-webshop/vcu-boards here].&amp;lt;/big&amp;gt;&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Development continues&#039;&#039;&#039; and you can&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?f=3&amp;amp;t=1277 follow and contribute along with the development here on the forum]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?f=3&amp;amp;t=1696 &#039;&#039;&#039;Support&#039;&#039;&#039; is available via a separate thread on the forum]&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
Rather than crack open inverters and swap components about to drive them, what if we simply send them the messages they&#039;re expecting? This has been the case with a couple of existing designs (Nissan leaf inverter and GS450H) and thanks to the SAM3X8E microcontroller no longer being stocked by JLCPCB this project looks to take it further.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So rather than driving an inverter powerstage this version sends CAN for the Leaf inverter or Sync serial for the GS450H and of course can be expanded to any number of others. This will be the default firmware for all vcu products from now on and future hardware will support future fun packed stuff like FLEXRAY!!!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&#039;s basically an &amp;lt;s&amp;gt;rip off&amp;lt;/s&amp;gt; homage and builds on other people&#039;s hard work in the shape of the following projects&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/jsphuebner/stm32-car STM32-CAR project] &lt;br /&gt;
* [https://github.com/jsphuebner/stm32-sine Openinverter]&lt;br /&gt;
* [https://github.com/Isaac96/SimpleISA ISA library]&lt;br /&gt;
* Leaf inverter driver by Celeron55&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
What we have as of now is the openinverter wrapper with things like :&lt;br /&gt;
&lt;br /&gt;
* Throttle cal and mapping,&lt;br /&gt;
* Precharge and contactor control,&lt;br /&gt;
* Temp derating,&lt;br /&gt;
* BMS limits,&lt;br /&gt;
* for/rev/neutral control,&lt;br /&gt;
* Graphing and monitoring,&lt;br /&gt;
* Firmware updates via the web interface,&lt;br /&gt;
* Cruise control,&lt;br /&gt;
* Fuel gauge driver,&lt;br /&gt;
* etc &lt;br /&gt;
&lt;br /&gt;
==Hardware==&lt;br /&gt;
So you&#039;ve ordered your kit, first things first, watch the following two videos to assemble it. &lt;br /&gt;
&lt;br /&gt;
Due to chip shortages (written summer 2021) the board isn&#039;t fully assembled so you will need to do some soldering, or take it to a local phone repair shop (or similar) who&#039;ll find soldering at this scale like playing with Duplo (Legos to you Yanks).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The current list of parts to be fitted:&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
CONN1&lt;br /&gt;
IC10 = MCP25625T&lt;br /&gt;
IC14 = TJA1020 OR MCP2004 &lt;br /&gt;
IC19 = NCV7356&lt;br /&gt;
IC20 = TJA1055T&lt;br /&gt;
IC21, 22 = AD5160&lt;br /&gt;
IC27, 28, 29 = FAN3122&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And the positions on the V1 board.&lt;br /&gt;
[[File:Zombv1boardb.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===The enclosure kit links===&lt;br /&gt;
&lt;br /&gt;
You only need one, but below are two options - one with just the connector, and the other prewired with 3M long leads.&lt;br /&gt;
&lt;br /&gt;
::Enclosure Kit with Header, connector and pins :&lt;br /&gt;
&lt;br /&gt;
::::https://www.aliexpress.com/item/32857771975.html?spm=a2g0s.9042311.0.0.39f24c4dWOmGPE&lt;br /&gt;
&lt;br /&gt;
::Prewired connector with 3M leads :&lt;br /&gt;
&lt;br /&gt;
::::https://www.aliexpress.com/item/4001213569338.html?spm=a2g0o.cart.0.0.366c3c00qhBvGO&amp;amp;mp=1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note that in addition to the VCU, the inverter and transmission, you will require a specific CANBUS connected shunt&#039;&#039;&#039;: [[Isabellenhütte Heusler]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;youtube&amp;gt;https://www.youtube.com/watch?v=geZuIbGHh30&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;youtube&amp;gt;https://youtu.be/MUhs9j9R9Mg&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&#039;&#039;&#039;Pin Out Diagram&#039;&#039;&#039;[[File:ZombieVerter VCU V1 cable side pinout.jpg|thumb|alt=|VCU pinout diagram |none]]&lt;br /&gt;
[[File:Zomb-con-et.png|none|thumb|List of connections to system components (GS450 application)]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Further information for a GS450 system can be found here: [[Lexus GS450h Inverter]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note&#039;&#039;&#039;: In the software port 0 = EXT2 and port 1 = EXT&lt;br /&gt;
&lt;br /&gt;
== Software==&lt;br /&gt;
&lt;br /&gt;
https://github.com/damienmaguire/Stm32-vcu/tree/LIM_ST107&lt;br /&gt;
&lt;br /&gt;
NOTE. Early boards fitted with the GD chip require different firmware to the St board. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The VCU is configured by connecting to its wifi access point.  For existing units this is something like SSID: ESP-03xxxx, no password.  For future units (shipped after 20/10/21) this will be SSID: inverter PASSWORD: inverter123&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then navigate to 192.168.4.1 to see the huebner inverter dashboard.&lt;br /&gt;
&lt;br /&gt;
=== Initial start-up and testing (Instructions for GS450H application) ===&lt;br /&gt;
Get familiar with the interface and check that all of the parameters make sense. If in doubt, make sure the default value is set.  At each stage the current state of the system and any error can be seen on the interface, for example &#039;&#039;&#039;opmode&#039;&#039;&#039; and &#039;&#039;&#039;lasterr&#039;&#039;&#039;. Press refresh at the top of the screen to update the values.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will need the HV supply connected, which can be a lower voltage (50-100V), current limited power supply for test purposes.  Set &#039;&#039;&#039;udcmin&#039;&#039;&#039; to some value below that (e.g. 50V for a 100V supply) and &#039;&#039;&#039;udcsw&#039;&#039;&#039; to 10V lower than the supply.&lt;br /&gt;
&lt;br /&gt;
* Apply the &#039;&#039;&#039;Ignition T15 in&#039;&#039;&#039; 12V signal.  The relay supplying 12V to the inverter should now be on. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Check the accelerator by applying it gradually and watching / refreshing the interface. You should see values at &#039;&#039;&#039;pot&#039;&#039;&#039; change as the pedal is pressed.  &#039;&#039;&#039;potmin&#039;&#039;&#039; should be set just above where your off-throttle position is, and &#039;&#039;&#039;potmax&#039;&#039;&#039; just below the value seen at maximum travel. Same for &#039;&#039;&#039;pot2min&#039;&#039;&#039; and &#039;&#039;&#039;pot2max&#039;&#039;&#039;, if they are electrically connected. The resulting value as a 0-100 value can be seen at &#039;&#039;&#039;potnom&#039;&#039;&#039;.  &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If it does not show up, check for errors and check that throtmax is not set to zero!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Apply the &#039;&#039;&#039;Start&#039;&#039;&#039; 12V signal for a short time.  The pre-charge relay should turn on, and the voltage available at the inverter and the U1 input of the ISA shunt should quickly rise. If the &#039;&#039;&#039;udc&#039;&#039;&#039; reading goes above &#039;&#039;&#039;udcsw&#039;&#039;&#039; within 5 seconds then the main contactor(s) should close. If all is well, &#039;&#039;&#039;invstat&#039;&#039;&#039; should now be &amp;quot;on&amp;quot;, &#039;&#039;&#039;opmode&#039;&#039;&#039; should be &amp;quot;run&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you do not see a good value at udc, it may be that your external shunt is not connected properly or is not initialised.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you do not see a good value at Invudc, it may be that the inverter is not powered, or the communication signals are not correctly wired.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Once the contactors are on, select forwards direction.  For example if &#039;&#039;&#039;dirmode&#039;&#039;&#039; is set to &amp;quot;Switch&amp;quot; then a 12V signal applied to the Forward input will work. &lt;br /&gt;
&lt;br /&gt;
* Carefully apply the accelerator and the motor should begin to turn. Do not spin the motor up to any speed if you are using a test power supply.&lt;br /&gt;
&lt;br /&gt;
== Software update ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As supplied, both the ESP32 (the wifi plug-in board) and the STM32 (main MPU) are pre-loaded.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;UART Update&amp;quot; field on the GUI can be given a &#039;&#039;&#039;stm32_vcu.bin&#039;&#039;&#039; file to update the firmware.   Note that at this time, loading via Windows 10 is suspect and may lock you out of the board. Ubuntu works best.&lt;br /&gt;
&lt;br /&gt;
If you are unable to build your own, use the [https://openinverter.org/forum/download/file.php?id=11673 stm32_vcu.bin] that Damien posted on 10/30/2021 in the [https://openinverter.org/forum/viewtopic.php?p=33379#p33379 ZombieVerter VCU Support thread].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By using the ST-Link V2 in-circuit loader, &#039;&#039;&#039;.hex&#039;&#039;&#039; files can be sent to the board to initialize a fresh STM32 MCU, or if it can&#039;t be loaded via the bootloader.&lt;br /&gt;
&lt;br /&gt;
If you are unable to build your own, use the [https://openinverter.org/forum/download/file.php?id=11674 stm32_vcu.hex] that Damien posted on 10/30/2021 in the [https://openinverter.org/forum/viewtopic.php?p=33379#p33379 ZombieVerter VCU Support thread].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The connections needed to use the ST-Link loader are shown below:&lt;br /&gt;
[[File:0B35D4F9-BA64-46E7-A570-A0CE1D619D63.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
=== Initializing an ISA Shunt ===&lt;br /&gt;
Under Comms in the web interface, there is now an ISAMode option. By default its in &amp;quot;Normal&amp;quot;. If you want to initialize a new shunt, connect it up, power on the shunt and vcu, select &amp;quot;Init&amp;quot;, hit save parameters to flash. Power cycle the vcu and shunt at same time (they should be on same 12v feed anyway). The shunt will initialize. Select ISAMode &amp;quot;normal&amp;quot;, save to flash again and reboot again. The shunt should now be up and running.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Supported OEM Hardware==&lt;br /&gt;
&lt;br /&gt;
*Nissan Leaf Gen1/2/3 Inverter/ motor&lt;br /&gt;
*nissan leaf gen 2 drive stack (inverter, dcdc, charger) gen 3 coming soon&lt;br /&gt;
&lt;br /&gt;
*[[Lexus GS450h Inverter|Lexus GS450H inverter / gearbox via sync serial]]&lt;br /&gt;
* Toyota Prius/Yaris/Auris Gen 3 inverters via sync serial&lt;br /&gt;
* chevy volt HV water heater&lt;br /&gt;
*BMW E46 CAN support&lt;br /&gt;
*BMW E39 CAN support&lt;br /&gt;
*BMW E65 CAN Support&lt;br /&gt;
*CCS DC Fast Charge via BMW i3 LIM&lt;/div&gt;</summary>
		<author><name>Cgalpin</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1963</id>
		<title>ZombieVerter VCU</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1963"/>
		<updated>2021-11-22T01:01:02Z</updated>

		<summary type="html">&lt;p&gt;Cgalpin: Clarifications to the Hardware section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;big&amp;gt;Now available for general sale [https://www.evbmw.com/index.php/evbmw-webshop/vcu-boards here].&amp;lt;/big&amp;gt;&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Development continues&#039;&#039;&#039; and you can&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?f=3&amp;amp;t=1277 follow and contribute along with the development here on the forum]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?f=3&amp;amp;t=1696 &#039;&#039;&#039;Support&#039;&#039;&#039; is available via a separate thread on the forum]&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
Rather than crack open inverters and swap components about to drive them, what if we simply send them the messages they&#039;re expecting? This has been the case with a couple of existing designs (Nissan leaf inverter and GS450H) and thanks to the SAM3X8E microcontroller no longer being stocked by JLCPCB this project looks to take it further.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So rather than driving an inverter powerstage this version sends CAN for the Leaf inverter or Sync serial for the GS450H and of course can be expanded to any number of others. This will be the default firmware for all vcu products from now on and future hardware will support future fun packed stuff like FLEXRAY!!!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&#039;s basically an &amp;lt;s&amp;gt;rip off&amp;lt;/s&amp;gt; homage and builds on other people&#039;s hard work in the shape of the following projects&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/jsphuebner/stm32-car STM32-CAR project] &lt;br /&gt;
* [https://github.com/jsphuebner/stm32-sine Openinverter]&lt;br /&gt;
* [https://github.com/Isaac96/SimpleISA ISA library]&lt;br /&gt;
* Leaf inverter driver by Celeron55&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
What we have as of now is the openinverter wrapper with things like :&lt;br /&gt;
&lt;br /&gt;
* Throttle cal and mapping,&lt;br /&gt;
* Precharge and contactor control,&lt;br /&gt;
* Temp derating,&lt;br /&gt;
* BMS limits,&lt;br /&gt;
* for/rev/neutral control,&lt;br /&gt;
* Graphing and monitoring,&lt;br /&gt;
* Firmware updates via the web interface,&lt;br /&gt;
* Cruise control,&lt;br /&gt;
* Fuel gauge driver,&lt;br /&gt;
* etc &lt;br /&gt;
&lt;br /&gt;
==Hardware==&lt;br /&gt;
So you&#039;ve ordered your kit, first things first, watch the following two videos to assemble it. &lt;br /&gt;
&lt;br /&gt;
Due to chip shortages (written summer 2021) the board isn&#039;t fully assembled so you will need to do some soldering, or take it to a local phone repair shop (or similar) who&#039;ll find soldering at this scale like playing with Duplo (Legos to you Yanks).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The current list of parts to be fitted:&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
CONN1&lt;br /&gt;
IC10 = MCP25625T&lt;br /&gt;
IC14 = TJA1020 OR MCP2004 &lt;br /&gt;
IC19 = NCV7356&lt;br /&gt;
IC20 = TJA1055T&lt;br /&gt;
IC21, 22 = AD5160&lt;br /&gt;
IC27, 28, 29 = FAN3122&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And the positions on the V1 board.&lt;br /&gt;
[[File:Zombv1boardb.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===The enclosure kit links===&lt;br /&gt;
&lt;br /&gt;
You only need one, but below are two options - one with just the connector, and the other prewired with 3M long leads.&lt;br /&gt;
&lt;br /&gt;
::Enclosure Kit with Header, connector and pins :&lt;br /&gt;
&lt;br /&gt;
::::https://www.aliexpress.com/item/32857771975.html?spm=a2g0s.9042311.0.0.39f24c4dWOmGPE&lt;br /&gt;
&lt;br /&gt;
::Prewired connector with 3M leads :&lt;br /&gt;
&lt;br /&gt;
::::https://www.aliexpress.com/item/4001213569338.html?spm=a2g0o.cart.0.0.366c3c00qhBvGO&amp;amp;mp=1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note that in addition to the VCU, the inverter and transmission, you will require a specific CANBUS connected shunt&#039;&#039;&#039;: [[Isabellenhütte Heusler]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;youtube&amp;gt;https://www.youtube.com/watch?v=geZuIbGHh30&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;youtube&amp;gt;https://youtu.be/MUhs9j9R9Mg&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&#039;&#039;&#039;Pin Out Diagram&#039;&#039;&#039;[[File:ZombieVerter VCU V1 cable side pinout.jpg|thumb|alt=|VCU pinout diagram |none]]&lt;br /&gt;
[[File:Zomb-con-et.png|none|thumb|List of connections to system components (GS450 application)]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Further information for a GS450 system can be found here: [[Lexus GS450h Inverter]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note&#039;&#039;&#039;: In the software port 0 = EXT2 and port 1 = EXT&lt;br /&gt;
&lt;br /&gt;
== Software==&lt;br /&gt;
&lt;br /&gt;
https://github.com/damienmaguire/Stm32-vcu/tree/LIM_ST107&lt;br /&gt;
&lt;br /&gt;
NOTE. Early boards fitted with the GD chip require different firmware to the St board. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The VCU is configured by connecting to its wifi access point.  For existing units this is something like SSID: ESP-03xxxx, no password.  For future units (shipped after 20/10/21) this will be SSID: inverter PASSWORD: inverter123&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then navigate to 192.168.4.1 to see the huebner inverter dashboard.&lt;br /&gt;
&lt;br /&gt;
=== Initial start-up and testing (Instructions for GS450H application) ===&lt;br /&gt;
Get familiar with the interface and check that all of the parameters make sense. If in doubt, make sure the default value is set.  At each stage the current state of the system and any error can be seen on the interface, for example &#039;&#039;&#039;opmode&#039;&#039;&#039; and &#039;&#039;&#039;lasterr&#039;&#039;&#039;. Press refresh at the top of the screen to update the values.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will need the HV supply connected, which can be a lower voltage (50-100V), current limited power supply for test purposes.  Set &#039;&#039;&#039;udcmin&#039;&#039;&#039; to some value below that (e.g. 50V for a 100V supply) and &#039;&#039;&#039;udcsw&#039;&#039;&#039; to 10V lower than the supply.&lt;br /&gt;
&lt;br /&gt;
* Apply the &#039;&#039;&#039;Ignition T15 in&#039;&#039;&#039; 12V signal.  The relay supplying 12V to the inverter should now be on. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Check the accelerator by applying it gradually and watching / refreshing the interface. You should see values at &#039;&#039;&#039;pot&#039;&#039;&#039; change as the pedal is pressed.  &#039;&#039;&#039;potmin&#039;&#039;&#039; should be set just above where your off-throttle position is, and &#039;&#039;&#039;potmax&#039;&#039;&#039; just below the value seen at maximum travel. Same for &#039;&#039;&#039;pot2min&#039;&#039;&#039; and &#039;&#039;&#039;pot2max&#039;&#039;&#039;, if they are electrically connected. The resulting value as a 0-100 value can be seen at &#039;&#039;&#039;potnom&#039;&#039;&#039;.  &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If it does not show up, check for errors and check that throtmax is not set to zero!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Apply the &#039;&#039;&#039;Start&#039;&#039;&#039; 12V signal for a short time.  The pre-charge relay should turn on, and the voltage available at the inverter and the U1 input of the ISA shunt should quickly rise. If the &#039;&#039;&#039;udc&#039;&#039;&#039; reading goes above &#039;&#039;&#039;udcsw&#039;&#039;&#039; within 5 seconds then the main contactor(s) should close. If all is well, &#039;&#039;&#039;invstat&#039;&#039;&#039; should now be &amp;quot;on&amp;quot;, &#039;&#039;&#039;opmode&#039;&#039;&#039; should be &amp;quot;run&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you do not see a good value at udc, it may be that your external shunt is not connected properly or is not initialised.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you do not see a good value at Invudc, it may be that the inverter is not powered, or the communication signals are not correctly wired.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Once the contactors are on, select forwards direction.  For example if &#039;&#039;&#039;dirmode&#039;&#039;&#039; is set to &amp;quot;Switch&amp;quot; then a 12V signal applied to the Forward input will work. &lt;br /&gt;
&lt;br /&gt;
* Carefully apply the accelerator and the motor should begin to turn. Do not spin the motor up to any speed if you are using a test power supply.&lt;br /&gt;
&lt;br /&gt;
== Software update ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As supplied, both the ESP32 (the wifi plug-in board) and the STM32 (main MPU) are pre-loaded.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;UART Update&amp;quot; field on the GUI can be given a &#039;&#039;&#039;stm32_vcu.bin&#039;&#039;&#039; file to update the firmware.   Note that at this time, loading via Windows 10 is suspect and may lock you out of the board. Ubuntu works best.&lt;br /&gt;
&lt;br /&gt;
If you are unable to build your own, use the [https://openinverter.org/forum/download/file.php?id=11673 stm32_vcu.bin] that Damien posted on 10/30/2021 in the [https://openinverter.org/forum/viewtopic.php?p=33379#p33379 ZombieVerter VCU Support thread].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By using the ST-Link V2 in-circuit loader, &#039;&#039;&#039;.hex&#039;&#039;&#039; files can be sent to the board to initialize a fresh STM32 MCU, or if it can&#039;t be loaded via the bootloader.&lt;br /&gt;
&lt;br /&gt;
If you are unable to build your own, use the [https://openinverter.org/forum/download/file.php?id=11674 stm32_vcu.hex] that Damien posted on 10/30/2021 in the [https://openinverter.org/forum/viewtopic.php?p=33379#p33379 ZombieVerter VCU Support thread].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The connections needed to use the ST-Link loader are shown below:&lt;br /&gt;
[[File:0B35D4F9-BA64-46E7-A570-A0CE1D619D63.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
=== Initializing an ISA Shunt ===&lt;br /&gt;
Under Comms in the web interface, there is now an ISAMode option. By default its in &amp;quot;Normal&amp;quot;. If you want to initialize a new shunt, connect it up, power on the shunt and vcu, select &amp;quot;Init&amp;quot;, hit save parameters to flash. Power cycle the vcu and shunt at same time (they should be on same 12v feed anyway). The shunt will initialize. Select ISAMode &amp;quot;normal&amp;quot;, save to flash again and reboot again. The shunt should now be up and running.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Supported OEM Hardware==&lt;br /&gt;
&lt;br /&gt;
*Nissan Leaf Gen1/2/3 Inverter/ motor&lt;br /&gt;
*nissan leaf gen 2 drive stack (inverter, dcdc, charger) gen 3 coming soon&lt;br /&gt;
&lt;br /&gt;
*[[Lexus GS450h Inverter|Lexus GS450H inverter / gearbox via sync serial]]&lt;br /&gt;
* Toyota Prius/Yaris/Auris Gen 3 inverters via sync serial&lt;br /&gt;
* chevy volt HV water heater&lt;br /&gt;
*BMW E46 CAN support&lt;br /&gt;
*BMW E39 CAN support&lt;br /&gt;
*BMW E65 CAN Support&lt;br /&gt;
*CCS DC Fast Charge via BMW i3 LIM&lt;/div&gt;</summary>
		<author><name>Cgalpin</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1962</id>
		<title>ZombieVerter VCU</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1962"/>
		<updated>2021-11-22T00:47:16Z</updated>

		<summary type="html">&lt;p&gt;Cgalpin: Add the &amp;quot;Initializing an ISA Shunt&amp;quot; section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;big&amp;gt;Now available for general sale [https://www.evbmw.com/index.php/evbmw-webshop/vcu-boards here].&amp;lt;/big&amp;gt;&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Development continues&#039;&#039;&#039; and you can&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?f=3&amp;amp;t=1277 follow and contribute along with the development here on the forum]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?f=3&amp;amp;t=1696 &#039;&#039;&#039;Support&#039;&#039;&#039; is available via a separate thread on the forum]&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
Rather than crack open inverters and swap components about to drive them, what if we simply send them the messages they&#039;re expecting? This has been the case with a couple of existing designs (Nissan leaf inverter and GS450H) and thanks to the SAM3X8E microcontroller no longer being stocked by JLCPCB this project looks to take it further.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So rather than driving an inverter powerstage this version sends CAN for the Leaf inverter or Sync serial for the GS450H and of course can be expanded to any number of others. This will be the default firmware for all vcu products from now on and future hardware will support future fun packed stuff like FLEXRAY!!!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&#039;s basically an &amp;lt;s&amp;gt;rip off&amp;lt;/s&amp;gt; homage and builds on other people&#039;s hard work in the shape of the following projects&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/jsphuebner/stm32-car STM32-CAR project] &lt;br /&gt;
* [https://github.com/jsphuebner/stm32-sine Openinverter]&lt;br /&gt;
* [https://github.com/Isaac96/SimpleISA ISA library]&lt;br /&gt;
* Leaf inverter driver by Celeron55&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
What we have as of now is the openinverter wrapper with things like :&lt;br /&gt;
&lt;br /&gt;
* Throttle cal and mapping,&lt;br /&gt;
* Precharge and contactor control,&lt;br /&gt;
* Temp derating,&lt;br /&gt;
* BMS limits,&lt;br /&gt;
* for/rev/neutral control,&lt;br /&gt;
* Graphing and monitoring,&lt;br /&gt;
* Firmware updates via the web interface,&lt;br /&gt;
* Cruise control,&lt;br /&gt;
* Fuel gauge driver,&lt;br /&gt;
* etc &lt;br /&gt;
&lt;br /&gt;
==Hardware==&lt;br /&gt;
So you&#039;ve ordered your kit, first things first, watch the following video to assemble it. &lt;br /&gt;
&lt;br /&gt;
Due to chip shortages (written summer 2021) the board isn&#039;t fully assembled so you will need to do some soldering, or take it to a local phone repair shop (or similar) who&#039;ll find soldering at this scale like playing with Duplo.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The current list of parts to be fitted:&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
CONN1&lt;br /&gt;
IC10 = MCP25625T&lt;br /&gt;
IC14 = TJA1020 OR MCP2004 &lt;br /&gt;
IC19 = NCV7356&lt;br /&gt;
IC20 = TJA1055T&lt;br /&gt;
IC21, 22 = AD5160&lt;br /&gt;
IC27, 28, 29 = FAN3122&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;And the positions on the V1 board.&lt;br /&gt;
[[File:Zombv1boardb.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The enclosure kit links:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Enclosure Kit with Header, connector and pins :&lt;br /&gt;
&lt;br /&gt;
https://www.aliexpress.com/item/32857771975.html?spm=a2g0s.9042311.0.0.39f24c4dWOmGPE&lt;br /&gt;
&lt;br /&gt;
Prewired connector with 3M leads :&lt;br /&gt;
&lt;br /&gt;
https://www.aliexpress.com/item/4001213569338.html?spm=a2g0o.cart.0.0.366c3c00qhBvGO&amp;amp;mp=1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note that in addition to the VCU, the inverter and transmission, you will require a specific CANBUS connected shunt&#039;&#039;&#039;: [[Isabellenhütte Heusler]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;youtube&amp;gt;https://www.youtube.com/watch?v=geZuIbGHh30&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;youtube&amp;gt;https://youtu.be/MUhs9j9R9Mg&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&#039;&#039;&#039;Pin Out Diagram&#039;&#039;&#039;[[File:ZombieVerter VCU V1 cable side pinout.jpg|thumb|alt=|VCU pinout diagram |none]]&lt;br /&gt;
[[File:Zomb-con-et.png|none|thumb|List of connections to system components (GS450 application)]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Further information for a GS450 system can be found here: [[Lexus GS450h Inverter]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note&#039;&#039;&#039;: In the software port 0 = EXT2 and port 1 = EXT&lt;br /&gt;
&lt;br /&gt;
== Software==&lt;br /&gt;
&lt;br /&gt;
https://github.com/damienmaguire/Stm32-vcu/tree/LIM_ST107&lt;br /&gt;
&lt;br /&gt;
NOTE. Early boards fitted with the GD chip require different firmware to the St board. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The VCU is configured by connecting to its wifi access point.  For existing units this is something like SSID: ESP-03xxxx, no password.  For future units (shipped after 20/10/21) this will be SSID: inverter PASSWORD: inverter123&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then navigate to 192.168.4.1 to see the huebner inverter dashboard.&lt;br /&gt;
&lt;br /&gt;
=== Initial start-up and testing (Instructions for GS450H application) ===&lt;br /&gt;
Get familiar with the interface and check that all of the parameters make sense. If in doubt, make sure the default value is set.  At each stage the current state of the system and any error can be seen on the interface, for example &#039;&#039;&#039;opmode&#039;&#039;&#039; and &#039;&#039;&#039;lasterr&#039;&#039;&#039;. Press refresh at the top of the screen to update the values.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will need the HV supply connected, which can be a lower voltage (50-100V), current limited power supply for test purposes.  Set &#039;&#039;&#039;udcmin&#039;&#039;&#039; to some value below that (e.g. 50V for a 100V supply) and &#039;&#039;&#039;udcsw&#039;&#039;&#039; to 10V lower than the supply.&lt;br /&gt;
&lt;br /&gt;
* Apply the &#039;&#039;&#039;Ignition T15 in&#039;&#039;&#039; 12V signal.  The relay supplying 12V to the inverter should now be on. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Check the accelerator by applying it gradually and watching / refreshing the interface. You should see values at &#039;&#039;&#039;pot&#039;&#039;&#039; change as the pedal is pressed.  &#039;&#039;&#039;potmin&#039;&#039;&#039; should be set just above where your off-throttle position is, and &#039;&#039;&#039;potmax&#039;&#039;&#039; just below the value seen at maximum travel. Same for &#039;&#039;&#039;pot2min&#039;&#039;&#039; and &#039;&#039;&#039;pot2max&#039;&#039;&#039;, if they are electrically connected. The resulting value as a 0-100 value can be seen at &#039;&#039;&#039;potnom&#039;&#039;&#039;.  &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If it does not show up, check for errors and check that throtmax is not set to zero!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Apply the &#039;&#039;&#039;Start&#039;&#039;&#039; 12V signal for a short time.  The pre-charge relay should turn on, and the voltage available at the inverter and the U1 input of the ISA shunt should quickly rise. If the &#039;&#039;&#039;udc&#039;&#039;&#039; reading goes above &#039;&#039;&#039;udcsw&#039;&#039;&#039; within 5 seconds then the main contactor(s) should close. If all is well, &#039;&#039;&#039;invstat&#039;&#039;&#039; should now be &amp;quot;on&amp;quot;, &#039;&#039;&#039;opmode&#039;&#039;&#039; should be &amp;quot;run&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you do not see a good value at udc, it may be that your external shunt is not connected properly or is not initialised.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you do not see a good value at Invudc, it may be that the inverter is not powered, or the communication signals are not correctly wired.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Once the contactors are on, select forwards direction.  For example if &#039;&#039;&#039;dirmode&#039;&#039;&#039; is set to &amp;quot;Switch&amp;quot; then a 12V signal applied to the Forward input will work. &lt;br /&gt;
&lt;br /&gt;
* Carefully apply the accelerator and the motor should begin to turn. Do not spin the motor up to any speed if you are using a test power supply.&lt;br /&gt;
&lt;br /&gt;
== Software update ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As supplied, both the ESP32 (the wifi plug-in board) and the STM32 (main MPU) are pre-loaded.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;UART Update&amp;quot; field on the GUI can be given a &#039;&#039;&#039;stm32_vcu.bin&#039;&#039;&#039; file to update the firmware.   Note that at this time, loading via Windows 10 is suspect and may lock you out of the board. Ubuntu works best.&lt;br /&gt;
&lt;br /&gt;
If you are unable to build your own, use the [https://openinverter.org/forum/download/file.php?id=11673 stm32_vcu.bin] that Damien posted on 10/30/2021 in the [https://openinverter.org/forum/viewtopic.php?p=33379#p33379 ZombieVerter VCU Support thread].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By using the ST-Link V2 in-circuit loader, &#039;&#039;&#039;.hex&#039;&#039;&#039; files can be sent to the board to initialize a fresh STM32 MCU, or if it can&#039;t be loaded via the bootloader.&lt;br /&gt;
&lt;br /&gt;
If you are unable to build your own, use the [https://openinverter.org/forum/download/file.php?id=11674 stm32_vcu.hex] that Damien posted on 10/30/2021 in the [https://openinverter.org/forum/viewtopic.php?p=33379#p33379 ZombieVerter VCU Support thread].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The connections needed to use the ST-Link loader are shown below:&lt;br /&gt;
[[File:0B35D4F9-BA64-46E7-A570-A0CE1D619D63.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
=== Initializing an ISA Shunt ===&lt;br /&gt;
Under Comms in the web interface, there is now an ISAMode option. By default its in &amp;quot;Normal&amp;quot;. If you want to initialize a new shunt, connect it up, power on the shunt and vcu, select &amp;quot;Init&amp;quot;, hit save parameters to flash. Power cycle the vcu and shunt at same time (they should be on same 12v feed anyway). The shunt will initialize. Select ISAMode &amp;quot;normal&amp;quot;, save to flash again and reboot again. The shunt should now be up and running.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Supported OEM Hardware==&lt;br /&gt;
&lt;br /&gt;
*Nissan Leaf Gen1/2/3 Inverter/ motor&lt;br /&gt;
*nissan leaf gen 2 drive stack (inverter, dcdc, charger) gen 3 coming soon&lt;br /&gt;
&lt;br /&gt;
*[[Lexus GS450h Inverter|Lexus GS450H inverter / gearbox via sync serial]]&lt;br /&gt;
* Toyota Prius/Yaris/Auris Gen 3 inverters via sync serial&lt;br /&gt;
* chevy volt HV water heater&lt;br /&gt;
*BMW E46 CAN support&lt;br /&gt;
*BMW E39 CAN support&lt;br /&gt;
*BMW E65 CAN Support&lt;br /&gt;
*CCS DC Fast Charge via BMW i3 LIM&lt;/div&gt;</summary>
		<author><name>Cgalpin</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1961</id>
		<title>ZombieVerter VCU</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1961"/>
		<updated>2021-11-22T00:37:47Z</updated>

		<summary type="html">&lt;p&gt;Cgalpin: /* fixed minor typos and added whitespace */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;big&amp;gt;Now available for general sale [https://www.evbmw.com/index.php/evbmw-webshop/vcu-boards here].&amp;lt;/big&amp;gt;&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Development continues&#039;&#039;&#039; and you can&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?f=3&amp;amp;t=1277 follow and contribute along with the development here on the forum]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?f=3&amp;amp;t=1696 &#039;&#039;&#039;Support&#039;&#039;&#039; is available via a separate thread on the forum]&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
Rather than crack open inverters and swap components about to drive them, what if we simply send them the messages they&#039;re expecting? This has been the case with a couple of existing designs (Nissan leaf inverter and GS450H) and thanks to the SAM3X8E microcontroller no longer being stocked by JLCPCB this project looks to take it further.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So rather than driving an inverter powerstage this version sends CAN for the Leaf inverter or Sync serial for the GS450H and of course can be expanded to any number of others. This will be the default firmware for all vcu products from now on and future hardware will support future fun packed stuff like FLEXRAY!!!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&#039;s basically an &amp;lt;s&amp;gt;rip off&amp;lt;/s&amp;gt; homage and builds on other people&#039;s hard work in the shape of the following projects&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/jsphuebner/stm32-car STM32-CAR project] &lt;br /&gt;
* [https://github.com/jsphuebner/stm32-sine Openinverter]&lt;br /&gt;
* [https://github.com/Isaac96/SimpleISA ISA library]&lt;br /&gt;
* Leaf inverter driver by Celeron55&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
What we have as of now is the openinverter wrapper with things like :&lt;br /&gt;
&lt;br /&gt;
* Throttle cal and mapping,&lt;br /&gt;
* Precharge and contactor control,&lt;br /&gt;
* Temp derating,&lt;br /&gt;
* BMS limits,&lt;br /&gt;
* for/rev/neutral control,&lt;br /&gt;
* Graphing and monitoring,&lt;br /&gt;
* Firmware updates via the web interface,&lt;br /&gt;
* Cruise control,&lt;br /&gt;
* Fuel gauge driver,&lt;br /&gt;
* etc &lt;br /&gt;
&lt;br /&gt;
==Hardware==&lt;br /&gt;
So you&#039;ve ordered your kit, first things first, watch the following video to assemble it. &lt;br /&gt;
&lt;br /&gt;
Due to chip shortages (written summer 2021) the board isn&#039;t fully assembled so you will need to do some soldering, or take it to a local phone repair shop (or similar) who&#039;ll find soldering at this scale like playing with Duplo.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The current list of parts to be fitted:&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
CONN1&lt;br /&gt;
IC10 = MCP25625T&lt;br /&gt;
IC14 = TJA1020 OR MCP2004 &lt;br /&gt;
IC19 = NCV7356&lt;br /&gt;
IC20 = TJA1055T&lt;br /&gt;
IC21, 22 = AD5160&lt;br /&gt;
IC27, 28, 29 = FAN3122&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;And the positions on the V1 board.&lt;br /&gt;
[[File:Zombv1boardb.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The enclosure kit links:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Enclosure Kit with Header, connector and pins :&lt;br /&gt;
&lt;br /&gt;
https://www.aliexpress.com/item/32857771975.html?spm=a2g0s.9042311.0.0.39f24c4dWOmGPE&lt;br /&gt;
&lt;br /&gt;
Prewired connector with 3M leads :&lt;br /&gt;
&lt;br /&gt;
https://www.aliexpress.com/item/4001213569338.html?spm=a2g0o.cart.0.0.366c3c00qhBvGO&amp;amp;mp=1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note that in addition to the VCU, the inverter and transmission, you will require a specific CANBUS connected shunt&#039;&#039;&#039;: [[Isabellenhütte Heusler]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;youtube&amp;gt;https://www.youtube.com/watch?v=geZuIbGHh30&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;youtube&amp;gt;https://youtu.be/MUhs9j9R9Mg&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&#039;&#039;&#039;Pin Out Diagram&#039;&#039;&#039;[[File:ZombieVerter VCU V1 cable side pinout.jpg|thumb|alt=|VCU pinout diagram |none]]&lt;br /&gt;
[[File:Zomb-con-et.png|none|thumb|List of connections to system components (GS450 application)]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Further information for a GS450 system can be found here: [[Lexus GS450h Inverter]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note&#039;&#039;&#039;: In the software port 0 = EXT2 and port 1 = EXT&lt;br /&gt;
&lt;br /&gt;
== Software==&lt;br /&gt;
&lt;br /&gt;
https://github.com/damienmaguire/Stm32-vcu/tree/LIM_ST107&lt;br /&gt;
&lt;br /&gt;
NOTE. Early boards fitted with the GD chip require different firmware to the St board. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The VCU is configured by connecting to its wifi access point.  For existing units this is something like SSID: ESP-03xxxx, no password.  For future units (shipped after 20/10/21) this will be SSID: inverter PASSWORD: inverter123&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then navigate to 192.168.4.1 to see the huebner inverter dashboard.&lt;br /&gt;
&lt;br /&gt;
=== Initial start-up and testing (Instructions for GS450H application) ===&lt;br /&gt;
Get familiar with the interface and check that all of the parameters make sense. If in doubt, make sure the default value is set.  At each stage the current state of the system and any error can be seen on the interface, for example &#039;&#039;&#039;opmode&#039;&#039;&#039; and &#039;&#039;&#039;lasterr&#039;&#039;&#039;. Press refresh at the top of the screen to update the values.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will need the HV supply connected, which can be a lower voltage (50-100V), current limited power supply for test purposes.  Set &#039;&#039;&#039;udcmin&#039;&#039;&#039; to some value below that (e.g. 50V for a 100V supply) and &#039;&#039;&#039;udcsw&#039;&#039;&#039; to 10V lower than the supply.&lt;br /&gt;
&lt;br /&gt;
* Apply the &#039;&#039;&#039;Ignition T15 in&#039;&#039;&#039; 12V signal.  The relay supplying 12V to the inverter should now be on. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Check the accelerator by applying it gradually and watching / refreshing the interface. You should see values at &#039;&#039;&#039;pot&#039;&#039;&#039; change as the pedal is pressed.  &#039;&#039;&#039;potmin&#039;&#039;&#039; should be set just above where your off-throttle position is, and &#039;&#039;&#039;potmax&#039;&#039;&#039; just below the value seen at maximum travel. Same for &#039;&#039;&#039;pot2min&#039;&#039;&#039; and &#039;&#039;&#039;pot2max&#039;&#039;&#039;, if they are electrically connected. The resulting value as a 0-100 value can be seen at &#039;&#039;&#039;potnom&#039;&#039;&#039;.  &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If it does not show up, check for errors and check that throtmax is not set to zero!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Apply the &#039;&#039;&#039;Start&#039;&#039;&#039; 12V signal for a short time.  The pre-charge relay should turn on, and the voltage available at the inverter and the U1 input of the ISA shunt should quickly rise. If the &#039;&#039;&#039;udc&#039;&#039;&#039; reading goes above &#039;&#039;&#039;udcsw&#039;&#039;&#039; within 5 seconds then the main contactor(s) should close. If all is well, &#039;&#039;&#039;invstat&#039;&#039;&#039; should now be &amp;quot;on&amp;quot;, &#039;&#039;&#039;opmode&#039;&#039;&#039; should be &amp;quot;run&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you do not see a good value at udc, it may be that your external shunt is not connected properly or is not initialised.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you do not see a good value at Invudc, it may be that the inverter is not powered, or the communication signals are not correctly wired.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Once the contactors are on, select forwards direction.  For example if &#039;&#039;&#039;dirmode&#039;&#039;&#039; is set to &amp;quot;Switch&amp;quot; then a 12V signal applied to the Forward input will work. &lt;br /&gt;
&lt;br /&gt;
* Carefully apply the accelerator and the motor should begin to turn. Do not spin the motor up to any speed if you are using a test power supply.&lt;br /&gt;
&lt;br /&gt;
== Software update ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As supplied, both the ESP32 (the wifi plug-in board) and the STM32 (main MPU) are pre-loaded.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;UART Update&amp;quot; field on the GUI can be given a &#039;&#039;&#039;stm32_vcu.bin&#039;&#039;&#039; file to update the firmware.   Note that at this time, loading via Windows 10 is suspect and may lock you out of the board. Ubuntu works best.&lt;br /&gt;
&lt;br /&gt;
If you are unable to build your own, use the [https://openinverter.org/forum/download/file.php?id=11673 stm32_vcu.bin] that Damien posted on 10/30/2021 in the [https://openinverter.org/forum/viewtopic.php?p=33379#p33379 ZombieVerter VCU Support thread].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By using the ST-Link V2 in-circuit loader, &#039;&#039;&#039;.hex&#039;&#039;&#039; files can be sent to the board to initialize a fresh STM32 MCU, or if it can&#039;t be loaded via the bootloader.&lt;br /&gt;
&lt;br /&gt;
If you are unable to build your own, use the [https://openinverter.org/forum/download/file.php?id=11674 stm32_vcu.hex] that Damien posted on 10/30/2021 in the [https://openinverter.org/forum/viewtopic.php?p=33379#p33379 ZombieVerter VCU Support thread].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The connections needed to use the ST-Link loader are shown below:&lt;br /&gt;
[[File:0B35D4F9-BA64-46E7-A570-A0CE1D619D63.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
==Supported OEM Hardware==&lt;br /&gt;
&lt;br /&gt;
*Nissan Leaf Gen1/2/3 Inverter/ motor&lt;br /&gt;
*nissan leaf gen 2 drive stack (inverter, dcdc, charger) gen 3 coming soon&lt;br /&gt;
&lt;br /&gt;
*[[Lexus GS450h Inverter|Lexus GS450H inverter / gearbox via sync serial]]&lt;br /&gt;
* Toyota Prius/Yaris/Auris Gen 3 inverters via sync serial&lt;br /&gt;
* chevy volt HV water heater&lt;br /&gt;
*BMW E46 CAN support&lt;br /&gt;
*BMW E39 CAN support&lt;br /&gt;
*BMW E65 CAN Support&lt;br /&gt;
*CCS DC Fast Charge via BMW i3 LIM&lt;/div&gt;</summary>
		<author><name>Cgalpin</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1960</id>
		<title>ZombieVerter VCU</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1960"/>
		<updated>2021-11-22T00:36:40Z</updated>

		<summary type="html">&lt;p&gt;Cgalpin: /* Added some whitespace */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;big&amp;gt;Now available for general sale [https://www.evbmw.com/index.php/evbmw-webshop/vcu-boards here].&amp;lt;/big&amp;gt;&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Development continues&#039;&#039;&#039; and you can&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?f=3&amp;amp;t=1277 follow and contribute along with the development here on the forum]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?f=3&amp;amp;t=1696 &#039;&#039;&#039;Support&#039;&#039;&#039; is available via a separate thread on the forum]&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
Rather than crack open inverters and swap components about to drive them, what if we simply send them the messages they&#039;re expecting? This has been the case with a couple of existing designs (Nissan leaf inverter and GS450H) and thanks to the SAM3X8E microcontroller no longer being stocked by JLCPCB this project looks to take it further.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So rather than driving an inverter powerstage this version sends CAN for the Leaf inverter or Sync serial for the GS450H and of course can be expanded to any number of others. This will be the default firmware for all vcu products from now on and future hardware will support future fun packed stuff like FLEXRAY!!!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&#039;s basically an &amp;lt;s&amp;gt;rip off&amp;lt;/s&amp;gt; homage and builds on other people&#039;s hard work in the shape of the following projects&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/jsphuebner/stm32-car STM32-CAR project] &lt;br /&gt;
* [https://github.com/jsphuebner/stm32-sine Openinverter]&lt;br /&gt;
* [https://github.com/Isaac96/SimpleISA ISA library]&lt;br /&gt;
* Leaf inverter driver by Celeron55&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
What we have as of now is the openinverter wrapper with things like :&lt;br /&gt;
&lt;br /&gt;
* Throttle cal and mapping,&lt;br /&gt;
* Precharge and contactor control,&lt;br /&gt;
* Temp derating,&lt;br /&gt;
* BMS limits,&lt;br /&gt;
* for/rev/neutral control,&lt;br /&gt;
* Graphing and monitoring,&lt;br /&gt;
* Firmware updates via the web interface,&lt;br /&gt;
* Cruise control,&lt;br /&gt;
* Fuel gauge driver,&lt;br /&gt;
* etc &lt;br /&gt;
&lt;br /&gt;
==Hardware==&lt;br /&gt;
So you&#039;ve ordered your kit, first things first, watch the following video to assemble it. &lt;br /&gt;
&lt;br /&gt;
Due to chip shortages (written summer 2021) the board isn&#039;t fully assembled so you will need to do some soldering, or take it to a local phone repair shop (or similar) who&#039;ll find soldering at this scale like playing with Duplo.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The current list of parts to be fitted:&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
CONN1&lt;br /&gt;
IC10 = MCP25625T&lt;br /&gt;
IC14 = TJA1020 OR MCP2004 &lt;br /&gt;
IC19 = NCV7356&lt;br /&gt;
IC20 = TJA1055T&lt;br /&gt;
IC21, 22 = AD5160&lt;br /&gt;
IC27, 28, 29 = FAN3122&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;And the positions on the V1 board.&lt;br /&gt;
[[File:Zombv1boardb.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The enclosure kit links:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Enclosure Kit with Header, connector and pins :&lt;br /&gt;
&lt;br /&gt;
https://www.aliexpress.com/item/32857771975.html?spm=a2g0s.9042311.0.0.39f24c4dWOmGPE&lt;br /&gt;
&lt;br /&gt;
Prewired connector with 3M leads :&lt;br /&gt;
&lt;br /&gt;
https://www.aliexpress.com/item/4001213569338.html?spm=a2g0o.cart.0.0.366c3c00qhBvGO&amp;amp;mp=1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note that in addition to the VCU, the inverter and transmission, you will require a specific CANBUS connected shunt&#039;&#039;&#039;: [[Isabellenhütte Heusler]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;youtube&amp;gt;https://www.youtube.com/watch?v=geZuIbGHh30&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;youtube&amp;gt;https://youtu.be/MUhs9j9R9Mg&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&#039;&#039;&#039;Pin Out Diagram&#039;&#039;&#039;[[File:ZombieVerter VCU V1 cable side pinout.jpg|thumb|alt=|VCU pinout diagram |none]]&lt;br /&gt;
[[File:Zomb-con-et.png|none|thumb|List of connections to system components (GS450 application)]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Further information for a GS450 system can be found here: [[Lexus GS450h Inverter]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note&#039;&#039;&#039;: In the software port 0 = EXT2 and port 1 = EXT&lt;br /&gt;
&lt;br /&gt;
== Software==&lt;br /&gt;
&lt;br /&gt;
https://github.com/damienmaguire/Stm32-vcu/tree/LIM_ST107&lt;br /&gt;
&lt;br /&gt;
NOTE. Early boards fitted with the GD chip require different firmware to the St board. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The VCU is configured by connecting to its wifi access point.  For existing units this is something like SSID: ESP-03xxxx, no password.  For future units (shipped after 20/10/21) this will be SSID: inverter PASSWORD: inverter123&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then navigate to 192.168.4.1 to see the huebner inverter dashboard.&lt;br /&gt;
&lt;br /&gt;
=== Initial start-up and testing (Instructions for GS450H application) ===&lt;br /&gt;
Get familiar with the interface and check that all of the parameters make sense. If in doubt, make sure the default value is set.  At each stage the current state of the system and any error can be seen on the interface, for example &#039;&#039;&#039;opmode&#039;&#039;&#039; and &#039;&#039;&#039;lasterr&#039;&#039;&#039;. Press refresh at the top of the screen to update the values.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will need the HV supply connected, which can be a lower voltage (50-100V), current limited power supply for test purposes.  Set &#039;&#039;&#039;udcmin&#039;&#039;&#039; to some value below that (e.g. 50V for a 100V supply) and &#039;&#039;&#039;udcsw&#039;&#039;&#039; to 10V lower than the supply.&lt;br /&gt;
&lt;br /&gt;
* Apply the &#039;&#039;&#039;Ignition T15 in&#039;&#039;&#039; 12V signal.  The relay supplying 12V to the inverter should now be on. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Check the accelerator by applying it gradually and watching / refreshing the interface. You should see values at &#039;&#039;&#039;pot&#039;&#039;&#039; change as the pedal is pressed.  &#039;&#039;&#039;potmin&#039;&#039;&#039; should be set just above where your off-throttle position is, and &#039;&#039;&#039;potmax&#039;&#039;&#039; just below the value seen at maximum travel. Same for &#039;&#039;&#039;pot2min&#039;&#039;&#039; and &#039;&#039;&#039;pot2max&#039;&#039;&#039;, if they are electrically connected. The resulting value as a 0-100 value can be seen at &#039;&#039;&#039;potnom&#039;&#039;&#039;.  &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If it does not show up, check for errors and check that throtmax is not set to zero!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Apply the &#039;&#039;&#039;Start&#039;&#039;&#039; 12V signal for a short time.  The pre-charge relay should turn on, and the voltage available at the inverter and the U1 input of the ISA shunt should quickly rise. If the &#039;&#039;&#039;udc&#039;&#039;&#039; reading goes above &#039;&#039;&#039;udcsw&#039;&#039;&#039; within 5 seconds then the main contactor(s) should close. If all is well, &#039;&#039;&#039;invstat&#039;&#039;&#039; should now be &amp;quot;on&amp;quot;, &#039;&#039;&#039;opmode&#039;&#039;&#039; should be &amp;quot;run&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you do not see a good value at udc, it may be that your external shunt is not connected properly or is not initialised.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you do not see a good value at Invudc, it may be that the inverter is not powered, or the communication signals are not correctly wired.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Once the contactors are on, select forwards direction.  For example if &#039;&#039;&#039;dirmode&#039;&#039;&#039; is set to &amp;quot;Switch&amp;quot; then a 12V signal applied to the Forward input will work. &lt;br /&gt;
&lt;br /&gt;
* Carefully apply the accelerator and the motor should begin to turn. Do not spin the motor up to any speed if you are using a test power supply.&lt;br /&gt;
&lt;br /&gt;
== Software update ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As supplied, both the ESP32 (the wifi plug-in board) and the STM32 (main MPU) are pre-loaded.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;UART Update&amp;quot; field on the GUI can be given a &#039;&#039;&#039;stm32_vcu.bin&#039;&#039;&#039; file to update the firmware.   Note that at this time, loading via Windows 10 is suspect and may lock you out of the board. Ubuntu works best.&lt;br /&gt;
&lt;br /&gt;
If you are unable to build your own, use the [https://openinverter.org/forum/download/file.php?id=11673 stm32_vcu.bin] that Damien postedd on 10/30/2021 in the [https://openinverter.org/forum/viewtopic.php?p=33379#p33379 ZombieVerter VCU Support thread].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By using the ST-Link V2 in-circuit loader, &#039;&#039;&#039;.hex&#039;&#039;&#039; files can be sent to the board to initialize a fresh STM32 MCU, or if it can&#039;t be loaded via the bootloader.&lt;br /&gt;
&lt;br /&gt;
If you are unable to build your own, use the [https://openinverter.org/forum/download/file.php?id=11674 stm32_vcu.hex] that Damien postedd on 10/30/2021 in the [https://openinverter.org/forum/viewtopic.php?p=33379#p33379 ZombieVerter VCU Support thread].&lt;br /&gt;
&lt;br /&gt;
The connections needed to use the ST-Link loader are shown below:&lt;br /&gt;
[[File:0B35D4F9-BA64-46E7-A570-A0CE1D619D63.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
==Supported OEM Hardware==&lt;br /&gt;
&lt;br /&gt;
*Nissan Leaf Gen1/2/3 Inverter/ motor&lt;br /&gt;
*nissan leaf gen 2 drive stack (inverter, dcdc, charger) gen 3 coming soon&lt;br /&gt;
&lt;br /&gt;
*[[Lexus GS450h Inverter|Lexus GS450H inverter / gearbox via sync serial]]&lt;br /&gt;
* Toyota Prius/Yaris/Auris Gen 3 inverters via sync serial&lt;br /&gt;
* chevy volt HV water heater&lt;br /&gt;
*BMW E46 CAN support&lt;br /&gt;
*BMW E39 CAN support&lt;br /&gt;
*BMW E65 CAN Support&lt;br /&gt;
*CCS DC Fast Charge via BMW i3 LIM&lt;/div&gt;</summary>
		<author><name>Cgalpin</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1959</id>
		<title>ZombieVerter VCU</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1959"/>
		<updated>2021-11-22T00:35:53Z</updated>

		<summary type="html">&lt;p&gt;Cgalpin: /* Added links to  stm32_vcu.bin and stm32_vcu.hex files*/&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;big&amp;gt;Now available for general sale [https://www.evbmw.com/index.php/evbmw-webshop/vcu-boards here].&amp;lt;/big&amp;gt;&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Development continues&#039;&#039;&#039; and you can&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?f=3&amp;amp;t=1277 follow and contribute along with the development here on the forum]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?f=3&amp;amp;t=1696 &#039;&#039;&#039;Support&#039;&#039;&#039; is available via a separate thread on the forum]&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
Rather than crack open inverters and swap components about to drive them, what if we simply send them the messages they&#039;re expecting? This has been the case with a couple of existing designs (Nissan leaf inverter and GS450H) and thanks to the SAM3X8E microcontroller no longer being stocked by JLCPCB this project looks to take it further.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So rather than driving an inverter powerstage this version sends CAN for the Leaf inverter or Sync serial for the GS450H and of course can be expanded to any number of others. This will be the default firmware for all vcu products from now on and future hardware will support future fun packed stuff like FLEXRAY!!!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&#039;s basically an &amp;lt;s&amp;gt;rip off&amp;lt;/s&amp;gt; homage and builds on other people&#039;s hard work in the shape of the following projects&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/jsphuebner/stm32-car STM32-CAR project] &lt;br /&gt;
* [https://github.com/jsphuebner/stm32-sine Openinverter]&lt;br /&gt;
* [https://github.com/Isaac96/SimpleISA ISA library]&lt;br /&gt;
* Leaf inverter driver by Celeron55&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
What we have as of now is the openinverter wrapper with things like :&lt;br /&gt;
&lt;br /&gt;
* Throttle cal and mapping,&lt;br /&gt;
* Precharge and contactor control,&lt;br /&gt;
* Temp derating,&lt;br /&gt;
* BMS limits,&lt;br /&gt;
* for/rev/neutral control,&lt;br /&gt;
* Graphing and monitoring,&lt;br /&gt;
* Firmware updates via the web interface,&lt;br /&gt;
* Cruise control,&lt;br /&gt;
* Fuel gauge driver,&lt;br /&gt;
* etc &lt;br /&gt;
&lt;br /&gt;
==Hardware==&lt;br /&gt;
So you&#039;ve ordered your kit, first things first, watch the following video to assemble it. &lt;br /&gt;
&lt;br /&gt;
Due to chip shortages (written summer 2021) the board isn&#039;t fully assembled so you will need to do some soldering, or take it to a local phone repair shop (or similar) who&#039;ll find soldering at this scale like playing with Duplo.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The current list of parts to be fitted:&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
CONN1&lt;br /&gt;
IC10 = MCP25625T&lt;br /&gt;
IC14 = TJA1020 OR MCP2004 &lt;br /&gt;
IC19 = NCV7356&lt;br /&gt;
IC20 = TJA1055T&lt;br /&gt;
IC21, 22 = AD5160&lt;br /&gt;
IC27, 28, 29 = FAN3122&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;And the positions on the V1 board.&lt;br /&gt;
[[File:Zombv1boardb.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The enclosure kit links:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Enclosure Kit with Header, connector and pins :&lt;br /&gt;
&lt;br /&gt;
https://www.aliexpress.com/item/32857771975.html?spm=a2g0s.9042311.0.0.39f24c4dWOmGPE&lt;br /&gt;
&lt;br /&gt;
Prewired connector with 3M leads :&lt;br /&gt;
&lt;br /&gt;
https://www.aliexpress.com/item/4001213569338.html?spm=a2g0o.cart.0.0.366c3c00qhBvGO&amp;amp;mp=1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note that in addition to the VCU, the inverter and transmission, you will require a specific CANBUS connected shunt&#039;&#039;&#039;: [[Isabellenhütte Heusler]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;youtube&amp;gt;https://www.youtube.com/watch?v=geZuIbGHh30&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;youtube&amp;gt;https://youtu.be/MUhs9j9R9Mg&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&#039;&#039;&#039;Pin Out Diagram&#039;&#039;&#039;[[File:ZombieVerter VCU V1 cable side pinout.jpg|thumb|alt=|VCU pinout diagram |none]]&lt;br /&gt;
[[File:Zomb-con-et.png|none|thumb|List of connections to system components (GS450 application)]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Further information for a GS450 system can be found here: [[Lexus GS450h Inverter]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note&#039;&#039;&#039;: In the software port 0 = EXT2 and port 1 = EXT&lt;br /&gt;
&lt;br /&gt;
== Software==&lt;br /&gt;
&lt;br /&gt;
https://github.com/damienmaguire/Stm32-vcu/tree/LIM_ST107&lt;br /&gt;
&lt;br /&gt;
NOTE. Early boards fitted with the GD chip require different firmware to the St board. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The VCU is configured by connecting to its wifi access point.  For existing units this is something like SSID: ESP-03xxxx, no password.  For future units (shipped after 20/10/21) this will be SSID: inverter PASSWORD: inverter123&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then navigate to 192.168.4.1 to see the huebner inverter dashboard.&lt;br /&gt;
&lt;br /&gt;
=== Initial start-up and testing (Instructions for GS450H application) ===&lt;br /&gt;
Get familiar with the interface and check that all of the parameters make sense. If in doubt, make sure the default value is set.  At each stage the current state of the system and any error can be seen on the interface, for example &#039;&#039;&#039;opmode&#039;&#039;&#039; and &#039;&#039;&#039;lasterr&#039;&#039;&#039;. Press refresh at the top of the screen to update the values.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will need the HV supply connected, which can be a lower voltage (50-100V), current limited power supply for test purposes.  Set &#039;&#039;&#039;udcmin&#039;&#039;&#039; to some value below that (e.g. 50V for a 100V supply) and &#039;&#039;&#039;udcsw&#039;&#039;&#039; to 10V lower than the supply.&lt;br /&gt;
&lt;br /&gt;
* Apply the &#039;&#039;&#039;Ignition T15 in&#039;&#039;&#039; 12V signal.  The relay supplying 12V to the inverter should now be on. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Check the accelerator by applying it gradually and watching / refreshing the interface. You should see values at &#039;&#039;&#039;pot&#039;&#039;&#039; change as the pedal is pressed.  &#039;&#039;&#039;potmin&#039;&#039;&#039; should be set just above where your off-throttle position is, and &#039;&#039;&#039;potmax&#039;&#039;&#039; just below the value seen at maximum travel. Same for &#039;&#039;&#039;pot2min&#039;&#039;&#039; and &#039;&#039;&#039;pot2max&#039;&#039;&#039;, if they are electrically connected. The resulting value as a 0-100 value can be seen at &#039;&#039;&#039;potnom&#039;&#039;&#039;.  &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If it does not show up, check for errors and check that throtmax is not set to zero!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Apply the &#039;&#039;&#039;Start&#039;&#039;&#039; 12V signal for a short time.  The pre-charge relay should turn on, and the voltage available at the inverter and the U1 input of the ISA shunt should quickly rise. If the &#039;&#039;&#039;udc&#039;&#039;&#039; reading goes above &#039;&#039;&#039;udcsw&#039;&#039;&#039; within 5 seconds then the main contactor(s) should close. If all is well, &#039;&#039;&#039;invstat&#039;&#039;&#039; should now be &amp;quot;on&amp;quot;, &#039;&#039;&#039;opmode&#039;&#039;&#039; should be &amp;quot;run&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you do not see a good value at udc, it may be that your external shunt is not connected properly or is not initialised.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you do not see a good value at Invudc, it may be that the inverter is not powered, or the communication signals are not correctly wired.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Once the contactors are on, select forwards direction.  For example if &#039;&#039;&#039;dirmode&#039;&#039;&#039; is set to &amp;quot;Switch&amp;quot; then a 12V signal applied to the Forward input will work. &lt;br /&gt;
&lt;br /&gt;
* Carefully apply the accelerator and the motor should begin to turn. Do not spin the motor up to any speed if you are using a test power supply.&lt;br /&gt;
&lt;br /&gt;
== Software update ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As supplied, both the ESP32 (the wifi plug-in board) and the STM32 (main MPU) are pre-loaded.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;UART Update&amp;quot; field on the GUI can be given a &#039;&#039;&#039;stm32_vcu.bin&#039;&#039;&#039; file to update the firmware.   Note that at this time, loading via Windows 10 is suspect and may lock you out of the board. Ubuntu works best.&lt;br /&gt;
&lt;br /&gt;
If you are unable to build your own, use the [https://openinverter.org/forum/download/file.php?id=11673 stm32_vcu.bin] that Damien postedd on 10/30/2021 in the [https://openinverter.org/forum/viewtopic.php?p=33379#p33379 ZombieVerter VCU Support thread].&lt;br /&gt;
&lt;br /&gt;
By using the ST-Link V2 in-circuit loader, &#039;&#039;&#039;.hex&#039;&#039;&#039; files can be sent to the board to initialize a fresh STM32 MCU, or if it can&#039;t be loaded via the bootloader.&lt;br /&gt;
&lt;br /&gt;
If you are unable to build your own, use the [https://openinverter.org/forum/download/file.php?id=11674 stm32_vcu.hex] that Damien postedd on 10/30/2021 in the [https://openinverter.org/forum/viewtopic.php?p=33379#p33379 ZombieVerter VCU Support thread].&lt;br /&gt;
&lt;br /&gt;
The connections needed to use the ST-Link loader are shown below:&lt;br /&gt;
[[File:0B35D4F9-BA64-46E7-A570-A0CE1D619D63.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
==Supported OEM Hardware==&lt;br /&gt;
&lt;br /&gt;
*Nissan Leaf Gen1/2/3 Inverter/ motor&lt;br /&gt;
*nissan leaf gen 2 drive stack (inverter, dcdc, charger) gen 3 coming soon&lt;br /&gt;
&lt;br /&gt;
*[[Lexus GS450h Inverter|Lexus GS450H inverter / gearbox via sync serial]]&lt;br /&gt;
* Toyota Prius/Yaris/Auris Gen 3 inverters via sync serial&lt;br /&gt;
* chevy volt HV water heater&lt;br /&gt;
*BMW E46 CAN support&lt;br /&gt;
*BMW E39 CAN support&lt;br /&gt;
*BMW E65 CAN Support&lt;br /&gt;
*CCS DC Fast Charge via BMW i3 LIM&lt;/div&gt;</summary>
		<author><name>Cgalpin</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Nissan_Leaf_Motors&amp;diff=1888</id>
		<title>Nissan Leaf Motors</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Nissan_Leaf_Motors&amp;diff=1888"/>
		<updated>2021-10-22T18:46:04Z</updated>

		<summary type="html">&lt;p&gt;Cgalpin: typo - s/threw/through/&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The &#039;&#039;&#039;Nissan EM&#039;&#039;&#039; motor is an electrical motor manufactured by Nissan Motors.&lt;br /&gt;
&lt;br /&gt;
its used in a variety of vehicles, mainly the nissan leaf &lt;br /&gt;
&lt;br /&gt;
It is an 3-phase AC synchronous power electric motor, utilizing interior neodymium permanent magnets.&lt;br /&gt;
&lt;br /&gt;
motor couplers and adapter plates designs can be found [[Nissan leaf motor couplers and adapter plates|here]]&lt;br /&gt;
&lt;br /&gt;
open inverter replacement board for gen2 inverter: [[Nissan Leaf Gen2 Board]]&lt;br /&gt;
&lt;br /&gt;
zombieVerter VCU can bus controller: [[ZombieVerter VCU]]&lt;br /&gt;
&lt;br /&gt;
== EM61 ==&lt;br /&gt;
[[File:Em61 motor.png|thumb|390x390px|em61 motor tear down]]&lt;br /&gt;
The em61 motor was used in the first generation nissan leaf. It&#039;s a stand alone ipmsm motor, with a theoretical peak power output of a 250kw+.&lt;br /&gt;
&lt;br /&gt;
Regarded as nissans &amp;quot;r&amp;amp;d&amp;quot; motor, being the presents of stronger rare earth magnets. resulting in a slightly higher torque output efficiency than the gen2 em57 motor.&lt;br /&gt;
&lt;br /&gt;
In the stock OEM leaf, the motor was battery and inverter limited to 80kw and made 280Nm of peak torque.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The EM61 made its debut in 2010. It was used only in the first generation Nissan Leaf (ZE0 2010-2012).  &lt;br /&gt;
&lt;br /&gt;
== EM57 ==&lt;br /&gt;
[[File:Em57.jpg|thumb|393x393px|em57 motor]]&lt;br /&gt;
The EM57 is an improvement over the first generation. It was first released with the AZE0 Nissan Leaf refresh in 2013. &lt;br /&gt;
&lt;br /&gt;
This motor features a smaller footprint, allowing for 11.7 kg of weight savings in the inverter/motor package. The motor also trades some peak torque for a more efficient power range.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The em57 utilizes a stacking architecture for the power electrons, compared to the isolated nature of the em61 motor.&lt;br /&gt;
&lt;br /&gt;
Nissan has continued to use the em57 motor through multiple generation of vehicles, resulting in mechanically plug and play OEM inverter upgrades.&lt;br /&gt;
&lt;br /&gt;
inverters currently compatible with the em57 motor:&lt;br /&gt;
&lt;br /&gt;
* gen 2 leaf 80kw inverter&lt;br /&gt;
* gen 3 leaf 110kw inverter&lt;br /&gt;
* gen 3 leaf 160kw inverter&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It is used in the following electric vehicles:&lt;br /&gt;
&lt;br /&gt;
* Nissan Leaf (AZE0 2013-2017)&lt;br /&gt;
* Nissan e-NV200 (2014-Present)&lt;br /&gt;
* Nissan Leaf (ZE1 40kWh, 2018-Present)&lt;br /&gt;
* Nissan Leaf (ZE1 62kWh, 2019-Present)&lt;br /&gt;
&lt;br /&gt;
It is also used in the following hybrids:&lt;br /&gt;
&lt;br /&gt;
* Nissan Note e-Power (2017-Present)&lt;br /&gt;
* Nissan Serena e-Power (2018-Present)&lt;br /&gt;
&lt;br /&gt;
== EM47 ==&lt;br /&gt;
The EM47 motor released in 2020 with the refreshed Nissan Note. It is only used in Nissan&#039;s e-POWER lineup. It features a 40% size reduction and 30% weight reduction&lt;br /&gt;
&lt;br /&gt;
It is used in the following hybrids:&lt;br /&gt;
&lt;br /&gt;
* Nissan Note e-Power (2020-Present)&lt;/div&gt;</summary>
		<author><name>Cgalpin</name></author>
	</entry>
</feed>