<?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=Et0</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=Et0"/>
	<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/Special:Contributions/Et0"/>
	<updated>2026-04-29T07:01:22Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=2963</id>
		<title>ZombieVerter VCU</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=2963"/>
		<updated>2022-11-22T12:24:39Z</updated>

		<summary type="html">&lt;p&gt;Et0: /* change min and max instruction based on version 1.06A */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;background-color:#ffffcc;&amp;quot; cellpadding=&amp;quot;10&amp;quot;&lt;br /&gt;
|&#039;&#039;&#039;KINDLY NOTE:&#039;&#039;&#039;&lt;br /&gt;
*A fully tested V1a kit is now (Nov2022) available for general sale [https://www.evbmw.com/index.php/evbmw-webshop/vcu-boards/zombie-vcu here]. The boards are now shipping with the Wemos wifi module and all parts will be included in the kit. The Olimex header is still there for those who may prefer that option. See [https://openinverter.org/forum/viewtopic.php?p=48250#p48250 this post] for the Wemos wifi module mounting location.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;Unless you have a specific reason not to, end users should use a software release from https://github.com/damienmaguire/Stm32-vcu/releases&amp;lt;nowiki/&amp;gt;.&#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;
&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;
[[File:Zombv1boardb.jpg|thumb|alt=|Location of remaining parts]]&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;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Parts to be fitted to ZombieVerter VCU&lt;br /&gt;
!Name&lt;br /&gt;
!Part Numer&lt;br /&gt;
!Alternative Part Number&lt;br /&gt;
|-&lt;br /&gt;
|CONN1&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|IC10&lt;br /&gt;
|MCP25625T&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|IC14&lt;br /&gt;
|TJA1020&lt;br /&gt;
|MCP2004&lt;br /&gt;
|-&lt;br /&gt;
|IC19&lt;br /&gt;
|NCV7356&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|IC20&lt;br /&gt;
|TJA1055T&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| IC21, IC22&lt;br /&gt;
|AD5160&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|IC27, IC28, IC29&lt;br /&gt;
|FAN3122&lt;br /&gt;
|&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. The reference part numbers are 211PC562S8009 and 211PC562S0008.&lt;br /&gt;
&lt;br /&gt;
*Enclosure Kit with Header, connector and pins&amp;lt;ref&amp;gt;https://www.aliexpress.com/item/32857771975.html?spm=a2g0s.9042311.0.0.39f24c4dWOmGPE (Backup: [https://web.archive.org/web/20220524004318/https://www.aliexpress.com/item/32857771975.html Web Archive])&amp;lt;/ref&amp;gt;&lt;br /&gt;
*Connector and pins&amp;lt;ref&amp;gt;https://de.aliexpress.com/item/32822692950.html (Backup: [https://web.archive.org/web/20221119203700/https://www.aliexpress.us/item/2251832636378198.html?gatewayAdapt=glo2usa4itemAdapt&amp;amp;_randl_shipto=US Web Archive])&amp;lt;/ref&amp;gt;&lt;br /&gt;
*Prewired connector with 3M leads (limited colors which will not match standard wire colouring conventions)&amp;lt;ref&amp;gt;https://www.aliexpress.com/item/1005003512474442.html (Backup: [http://web.archive.org/web/20221120105651/https://www.aliexpress.us/item/3256803326159690.html?gatewayAdapt=glo2usa4itemAdapt&amp;amp;_randl_shipto=US Web Archive])&amp;lt;/ref&amp;gt;&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 things 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 Drivetrain]]&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==&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 below where your off-throttle position is, and &#039;&#039;&#039;potmax&#039;&#039;&#039; just above the value seen at maximum travel [note this used to be the opposite prior to version 1.06A). 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;
*Note: Leaf VCU requires minimum of 180v to operate, it is also sensible to test with rev limit set to 1000 RPM.&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
==Software==&lt;br /&gt;
&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;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Unless you have a specific reason not to, end users should use a released version from: https://github.com/damienmaguire/Stm32-vcu/releases&amp;lt;nowiki/&amp;gt;.&#039;&#039;&#039;&lt;br /&gt;
&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;
As supplied, both the ESP8266 (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;
&#039;&#039;&#039;Unless you have a specific reason not to, end users should use a released version from: https://github.com/damienmaguire/Stm32-vcu/releases&#039;&#039;&#039;.&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;
&#039;&#039;&#039;Unless you have a specific reason not to, end users should use a released version from: https://github.com/damienmaguire/Stm32-vcu/releases&#039;&#039;&#039;.&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;
==Supported OEM Hardware==&lt;br /&gt;
&lt;br /&gt;
* Nissan Leaf Gen1/2/3 inverter via CAN&lt;br /&gt;
* Nissan Leaf Gen2 PDM (Charger and DCDC)&lt;br /&gt;
* [[BMW I3 Fast Charging LIM Module|CCS DC fast charge via BMW i3 LIM]] - currently type 2 only, type 1 under development&lt;br /&gt;
* Lexus GS450h inverter / gearbox via sync serial&lt;br /&gt;
* Toyota Prius/Yaris/Auris Gen 3 inverters via sync serial&lt;br /&gt;
* 1998-2005 BMW 3-series (E46) CAN support&lt;br /&gt;
* 1996-2003 BMW 5-series (E39) CAN support&lt;br /&gt;
* 2001-2008 BMW 7-series (E65) CAN Support&lt;br /&gt;
* Mid-2000s VAG CAN support&lt;br /&gt;
* [[Chevrolet Volt Water Heater|Opel Ampera / Chevy Volt 6.5kw cabin heater]]&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
=== Serial Connection ===&lt;br /&gt;
If you&#039;re having trouble connecting using the serial interface, note that the parameters are 115200 8-N-2, which is different from the conventional 115200 8-N-1.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
[[Category:Inverter]]&lt;/div&gt;</summary>
		<author><name>Et0</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Tesla_Model_S/X_GEN2_Charger&amp;diff=2664</id>
		<title>Tesla Model S/X GEN2 Charger</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Tesla_Model_S/X_GEN2_Charger&amp;diff=2664"/>
		<updated>2022-08-03T12:06:48Z</updated>

		<summary type="html">&lt;p&gt;Et0: /* Functionality of external CAN bus */  correction&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Gen2.jpg|thumb|tesla gen2 ac charger]]&lt;br /&gt;
The Tesla GEN2 charger is a single/three phase 10kW AC charger that was fitted in the Model S from 2012 until it was replaced in the 2016 &#039;facelift&#039; model with GEN3.&lt;br /&gt;
&lt;br /&gt;
One or two GEN2 chargers are installed beneath the rear seats in the model s for ac charging.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The charger is made up of three 3.3 kw modules, each sitting on a liquid cooling plate. This assembly enables both single and multi phase ac charging. &lt;br /&gt;
&lt;br /&gt;
&amp;quot;[https://openinverter.org/forum/viewtopic.php?f=10&amp;amp;t=78&amp;amp;p=9994#p9994 Running a Tesla charger at much under 200v dc will cause it to explode. Yes I know the label says 50 to 450v but it lies. Yes I blew one up discovering this.]&amp;quot;&lt;br /&gt;
[[File:Tesla gen2 xray.png|thumb|Tesla Gen2 X-Ray]]&lt;br /&gt;
Charger Dimensions: 500x300x100mm&lt;br /&gt;
&lt;br /&gt;
== Replacement control boards ==&lt;br /&gt;
replacement control board https://github.com/damienmaguire/Tesla-Charger&lt;br /&gt;
&lt;br /&gt;
v5 kit: https://www.evbmw.com/index.php/evbmw-webshop/tesla-boards/tesla-gen-2-charger-logic-board-kit&lt;br /&gt;
&lt;br /&gt;
v5 partially built board: https://www.evbmw.com/index.php/evbmw-webshop/tesla-boards/tesla-gen-2-charger-logic-board-partially-built&lt;br /&gt;
&lt;br /&gt;
github: https://github.com/damienmaguire/Tesla-Charger&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Charger connection ==&lt;br /&gt;
[[File:Tesla Charger Logic connections.jpg|none|thumb|607x607px|&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!A1&lt;br /&gt;
!A2&lt;br /&gt;
!A3&lt;br /&gt;
!A4&lt;br /&gt;
!A5&lt;br /&gt;
!&lt;br /&gt;
!B1&lt;br /&gt;
!B2&lt;br /&gt;
!B3&lt;br /&gt;
!B4&lt;br /&gt;
!B5&lt;br /&gt;
!B6&lt;br /&gt;
|-&lt;br /&gt;
|OUT2 - AC present&lt;br /&gt;
|&lt;br /&gt;
|D1 - enable&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|12V supply&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|CANH&lt;br /&gt;
|Control Pilot&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
!A6&lt;br /&gt;
!A7&lt;br /&gt;
!A8&lt;br /&gt;
!A9&lt;br /&gt;
!A10&lt;br /&gt;
!&lt;br /&gt;
!B7&lt;br /&gt;
!B8&lt;br /&gt;
!B9&lt;br /&gt;
!B10&lt;br /&gt;
!B11&lt;br /&gt;
!B12&lt;br /&gt;
|-&lt;br /&gt;
|OUT1 - HV enable&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|D2 - 3p&lt;br /&gt;
|&lt;br /&gt;
|GND&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|CANL&lt;br /&gt;
|Proximity&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
[[File:AC DC Connections.jpg|left|thumb|600x600px]]]]&lt;br /&gt;
&lt;br /&gt;
===Connector part numbers===&lt;br /&gt;
AC and DC power connections (Molex Sabre series):&lt;br /&gt;
&lt;br /&gt;
*housing: 044441-2006&lt;br /&gt;
*pins: 043375-3001 (18-20AWG), 043375-0001 (14-16AWG)&lt;br /&gt;
&lt;br /&gt;
Logic connectors (Molex MX150L series):&lt;br /&gt;
&lt;br /&gt;
*housing: 10-way 19418-0014, 12-way 19418-0026&lt;br /&gt;
*pins: 33012-2002 (18-20AWG), 33012-2001 (14-16AWG)&lt;br /&gt;
&lt;br /&gt;
==Programming==&lt;br /&gt;
you&#039;ll need a st-link v2 smt32 programmer.  Unofficial ones are cheaply available from amazon and ebay.&lt;br /&gt;
&lt;br /&gt;
* st-link programming utility: https://www.st.com/en/development-tools/stsw-link004.html&lt;br /&gt;
* stm32_loader.hex  https://openinverter.org/forum/viewtopic.php?f=7&amp;amp;t=1119&lt;br /&gt;
&lt;br /&gt;
====Two options:====&lt;br /&gt;
#Charger_gen2_v5.hex https://github.com/damienmaguire/Tesla-Charger/tree/master/V5/Software/Binary&lt;br /&gt;
#Or commercial software: https://openinverter.org/files/stm32_charger.zip&lt;br /&gt;
&lt;br /&gt;
Click &amp;quot;Target --&amp;gt; Connect&amp;quot; from top menu. You want to see the screen get filled with a data dump of symbols. In the upper right of the screen you can see it identified the device. &lt;br /&gt;
&lt;br /&gt;
In the main viewing window are multiple tabs, click the &amp;quot;Binary File&amp;quot; tab to select it. &lt;br /&gt;
&lt;br /&gt;
This will ask to open a file, you choose: &amp;quot;stm32_loader.hex&amp;quot; from openinverter.org, download ahead of time. This will change what shows up in the viewing window.  &lt;br /&gt;
&lt;br /&gt;
Click &amp;quot;Target --&amp;gt; Program and Verify&amp;quot; from the top menu. This pops up a window, and you can probably just click &amp;quot;Start&amp;quot; on that window. This programs the STM32 chip with the stm32_loader.hex file.  &lt;br /&gt;
&lt;br /&gt;
The STM32 on your v5 gen2 Tesla charger Board can now load other files.   &lt;br /&gt;
&lt;br /&gt;
You can close the stm32_loader.hex tab, and go back to the &amp;quot;Binary File&amp;quot; tab, which will ask to open another file. &lt;br /&gt;
&lt;br /&gt;
You choose: &amp;quot;Charger_Gen2_v5.hex&amp;quot;  &lt;br /&gt;
&lt;br /&gt;
Same as last time, click &amp;quot;Target --&amp;gt; Program and Verify&amp;quot; from the top menu. And click Start. &lt;br /&gt;
&lt;br /&gt;
The STM32 on your v5 gen2 Tesla charger Board now also has the software to run.&lt;br /&gt;
&lt;br /&gt;
You are now done with the ST-Link USB dongle, it&#039;s no longer needed. &lt;br /&gt;
&lt;br /&gt;
Future updates can be done via WiFi. (must have esp8266 WiFi module programed https://openinverter.org/forum/viewtopic.php?f=5&amp;amp;t=8 )&lt;br /&gt;
&lt;br /&gt;
==External CAN bus==&lt;br /&gt;
[[File:Gen2 Charger V5aB2 logic board.jpg|thumb|Gen2 Charger V5aB2 logic board with CAN wired to external pins]]&lt;br /&gt;
The V5aB2 version of the board has no connection to the external CAN bus (V5aB3 has) but you can add it with to bodge wires as shown in the picture. You will find CANH and CANL on the 3 pin header underneath the WiFi module. Route them over to CONN6 as shown. CONN2.1 (CANH) is connected to CONN6.24, CONN2.2 (CANL) to CONN6.26.&lt;br /&gt;
&lt;br /&gt;
Revision V4aB3 does not need this modification. If you do NOT use the external CAN bus on that version &#039;&#039;&#039;remember to close the solder jumper&#039;&#039;&#039; next to R1 under the WiFi module.&lt;br /&gt;
&lt;br /&gt;
If the charger is the first/last device on your CAN bus there is nothing else to do. If it is somewhere in the middle you have to remove the bus termination resistor R1.&lt;br /&gt;
&lt;br /&gt;
Before doing this be aware that all internal CAN traffic is also seen on the external CAN bus. The following IDs are already used and mustn&#039;t used by any other device on the bus:&lt;br /&gt;
&lt;br /&gt;
207, 209, 20b, 217, 219, 21b, 227, 229, 22b, 237, 239, 23b, 247, 249, 24b, 327, 329, 32b, 347, 349, 34b, 357, 359, 35b, 367, 368, 369, 36b, 377, 379, 37b, 537, 539, 53b, 717, 719, 71b. &lt;br /&gt;
&lt;br /&gt;
====Functionality of external CAN bus====&lt;br /&gt;
With the CAN bus now available externally you can remote control your charger via CAN and also receive some values from it. The mapping is similar to the CHAdeMO CAN protocol. The feature is only available in the commercial firmware.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Charger CAN protocol - up to version 1.06.R&lt;br /&gt;
!ID&lt;br /&gt;
!Direction&lt;br /&gt;
!Byte 0&lt;br /&gt;
!Byte 1&lt;br /&gt;
!Byte 2&lt;br /&gt;
!Byte 3&lt;br /&gt;
!Byte 4&lt;br /&gt;
!Byte 5&lt;br /&gt;
!Byte 6&lt;br /&gt;
!Byte 7&lt;br /&gt;
|-&lt;br /&gt;
|0x102&lt;br /&gt;
|Receive by charger&lt;br /&gt;
|&lt;br /&gt;
|DC voltage limit MSB&lt;br /&gt;
|DC voltage limit LSB&lt;br /&gt;
|DC current set point&lt;br /&gt;
|==1 enable charging&lt;br /&gt;
|SoC&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x108&lt;br /&gt;
|Transmit by charger&lt;br /&gt;
|Version=0&lt;br /&gt;
|Max DC voltage MSB&lt;br /&gt;
|Max DC voltage LSB&lt;br /&gt;
|Max DC current&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x109&lt;br /&gt;
|Transmit by charger&lt;br /&gt;
|Version=0&lt;br /&gt;
|DC voltage MSB&lt;br /&gt;
|DC voltage LSB&lt;br /&gt;
|DC current&lt;br /&gt;
|&#039;&#039;0 when off, 5 when charging&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
Example: transmit &amp;quot;0x102 # 0 0x1 0x86 0x14 0x1 50 0 0&amp;quot; to enable charging up to a voltage of 390V and a DC current of 20A, report SoC of 50%&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Charger CAN protocol - after version 1.06.R&lt;br /&gt;
!ID&lt;br /&gt;
!Direction&lt;br /&gt;
!Byte 0&lt;br /&gt;
!Byte 1&lt;br /&gt;
!Byte 2&lt;br /&gt;
!Byte 3&lt;br /&gt;
!Byte 4&lt;br /&gt;
!Byte 5&lt;br /&gt;
!Byte 6&lt;br /&gt;
!Byte 7&lt;br /&gt;
|-&lt;br /&gt;
|0x102&lt;br /&gt;
|Receive by charger&lt;br /&gt;
|&lt;br /&gt;
|DC voltage limit MSB&lt;br /&gt;
|DC voltage limit LSB&lt;br /&gt;
|DC current set point&lt;br /&gt;
|&lt;br /&gt;
|==1 enable charging&lt;br /&gt;
|SoC&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x108&lt;br /&gt;
|Transmit by charger&lt;br /&gt;
|Version=0&lt;br /&gt;
|Max DC voltage MSB&lt;br /&gt;
|Max DC voltage LSB&lt;br /&gt;
|Max DC current&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x109&lt;br /&gt;
|Transmit by charger&lt;br /&gt;
|Version=0&lt;br /&gt;
|DC voltage MSB&lt;br /&gt;
|DC voltage LSB&lt;br /&gt;
|DC current&lt;br /&gt;
|&lt;br /&gt;
|0 when off, 5 when charging&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
[[File:Parameter view of commercial firmware.png|thumb|Parameter view of commercial firmware]]&lt;br /&gt;
&lt;br /&gt;
==Commercial charger firmware==&lt;br /&gt;
In addition to the open source firmware there is also a commercial firmware. It adds advanced features:&lt;br /&gt;
*Support for the standard open inverter web interface&lt;br /&gt;
*Parameter handling as known from the inverter firmware (see picture)&lt;br /&gt;
*Spot value handling like inverter including plotting, gauges, and logging&lt;br /&gt;
*Over the air update like inverter&lt;br /&gt;
*DC current control&lt;br /&gt;
*CAN control as described above&lt;br /&gt;
The firmware requires the board to be flashed with [https://github.com/jsphuebner/tumanako-inverter-fw-bootloader/releases stm32_loader.hex]. An Olimex MOD-ESP8266 must be programmed with the [https://github.com/jsphuebner/esp8266-web-interface openinverter web interface]. See [[Olimex MOD-WIFI-ESP8266]] and [https://openinverter.org/forum/viewtopic.php?f=5&amp;amp;t=8 this forum thread] for flashing instructions. With that done, future updates will happen via the web interface.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Connecting to the Web interface&#039;&#039;&#039;===&lt;br /&gt;
Depending on the version of your Olimex wifi dongle they are &amp;quot;open&amp;quot; or you need a password to connect.&lt;br /&gt;
&lt;br /&gt;
By default you can connect to the network (Access Point) and browse to: &#039;&#039;&#039;192.168.4.1&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
By default all charger kits will have &#039;&#039;&#039;SSID&#039;&#039;&#039; : charger &#039;&#039;&#039;PASSWORD&#039;&#039;&#039; : charger123&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note: Its recommend that you change it. Nobody wants to drive and have some joker with a phone finding this information and accessing your charger.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Registration===&lt;br /&gt;
If you bought a fully assembled V5aB3 board from the EVBMW webshop you can skip this step.&lt;br /&gt;
[[File:Tesla Charger Serial.png|frame]]&lt;br /&gt;
The firmware will work without registration but charging time is limited to 5 minutes. To overcome this, a board-specific pin must be bought. In order to do this the firmware and web interface must be installed and working.&lt;br /&gt;
&lt;br /&gt;
Go to the [https://openinverter.org/shop/index.php?route=product/product&amp;amp;product_id=67 openinverter webshop] and check out as many pins as you need. When checking out add the serial number(s) of your board(s) in the order option. You will find the serial number on the bottom of the page as last spot value.&lt;br /&gt;
&lt;br /&gt;
You will then receive an email containing one pin for each board. Enter the pin in the web interface in the &amp;quot;pin&amp;quot; parameter. When the pin is correct it will be automatically saved to flash and your board is ready to be used.&lt;br /&gt;
&lt;br /&gt;
==Commercial firmware usage manual==&lt;br /&gt;
===Parameters===&lt;br /&gt;
The firmware exports a number of parameters to be modified by the user. All modifications are temporary until you hit &amp;quot;Save Parameters to Flash&amp;quot; at the top of the page.&lt;br /&gt;
&lt;br /&gt;
We will go over all of them.&lt;br /&gt;
&lt;br /&gt;
====idclim====&lt;br /&gt;
This parameter is mainly relevant for CAN operation. It is transmitted via CAN to let the vehicle know how much DC current the charger can deliver. Each charger module maxes out at about 15.5A so the maximum total charging current is 46.5A. Since the total power is also limited to 10 kW it depends on the output voltage as well. There is no need to be exact on this, the firmware will automatically limit the AC input current to each module to the hardware maximum.&lt;br /&gt;
&lt;br /&gt;
====iaclim====&lt;br /&gt;
This is the per-module AC current limit. When charging from a 3-phase outlet (see below) each module will be allowed this current. When charging from single phase, this current will be equally distributed between the enabled chargers.&lt;br /&gt;
&lt;br /&gt;
====idcspnt====&lt;br /&gt;
DC charge current limit. An additional limit to charge power. It is also mapped to the CAN bus so if you have a BMS that calculates a maximum charge current you can forward this to the charger.&lt;br /&gt;
&lt;br /&gt;
====chargerena====&lt;br /&gt;
Here you can program which charger modules you want to enable. It is a flag channel, so 1 means &amp;quot;Module 1 enabled&amp;quot;, 2 means &amp;quot;Module 2 enabled&amp;quot; and 4 means &amp;quot;Module 3 enabled&amp;quot;. Combining these flags enables multiple modules, e.g. 5=4+1 enables modules 1 and 3. 7=4+2+1 enables all modules. This is the default. The parameter can not be directly changed, but you have to type &amp;quot;set chargerena 5&amp;quot; next to where it says &amp;quot;Send Custom Command&amp;quot; on the top of the page and then press the button.&lt;br /&gt;
&lt;br /&gt;
====udcspnt====&lt;br /&gt;
This modifies the constant voltage setpoint of the chargers. This value is transmitted directly to the modules without further processing. It lets you add a constant voltage phase to your charge process. When reaching this voltage the chargers will control the current to maintain this voltage.&lt;br /&gt;
&lt;br /&gt;
====udclim====&lt;br /&gt;
This parameters specifies a charge end condition. When the voltage is hit the charging process stops and will not resume until you re-plug the charge cable. If you wish to add a constant voltage phase and control charge end by your BMS, set this parameter higher than udcspnt.&lt;br /&gt;
&lt;br /&gt;
====timelim====&lt;br /&gt;
Another charge end condition. Charge only for the specified time in minutes.&lt;br /&gt;
&lt;br /&gt;
====inputype====&lt;br /&gt;
*&#039;&#039;&#039;Type2&#039;&#039;&#039;: Specifies one or more modules are operated on ONE common phase of a Type-2 EVSE. The limits imposed by &#039;&#039;cablelim&#039;&#039; and &#039;&#039;evselim&#039;&#039; (pilot signal) are distributed equally over the enabled modules. For example if you enable all 3 modules, the cable allows 32A but the EVSE only allows 16A, every module will run at 16/3=5.3A. Charging will start automatically as soon as proximity and a valid pilot signal is detected.&lt;br /&gt;
*&#039;&#039;&#039;Type2-3P&#039;&#039;&#039;: Specifies each module is connected to a different phase of a Type-2 EVSE. The limits imposed by &#039;&#039;cablelim&#039;&#039; and &#039;&#039;evselim&#039;&#039; are allowed for each module.&lt;br /&gt;
*&#039;&#039;&#039;Type-2Auto&#039;&#039;&#039;: relies on input D2 to indicate that 3 phase is present (from external relay), to allow charging on either single or three phase automatically.&lt;br /&gt;
*&#039;&#039;&#039;Type1&#039;&#039;&#039;: Like &#039;&#039;&#039;Type2&#039;&#039;&#039; but &#039;&#039;cablelim&#039;&#039; is always assumed 40A.&lt;br /&gt;
*&#039;&#039;&#039;Manual&#039;&#039;&#039;: Specifies one or more modules are operated on ONE common phase, power is distributed like in &#039;&#039;&#039;Type2&#039;&#039;&#039; mode. Charging starts as soon as the enable pin &amp;quot;D1&amp;quot; goes high. &#039;&#039;iaclim&#039;&#039; MUST be configured to the limits of your AC source as there is no automatic detection like in Type1 or Type2 modes.&lt;br /&gt;
*&#039;&#039;&#039;Manual-3P&#039;&#039;&#039;: Specifies that each module is connected to a different phase of 3-phase outlet. Each module is allowed &#039;&#039;iaclim&#039;&#039; AC current. &#039;&#039;iaclim&#039;&#039; MUST be configured to the limits of your AC source as there is no automatic detection like in Type1 or Type2 modes.&lt;br /&gt;
&lt;br /&gt;
====cancontrol====&lt;br /&gt;
When on, expect charging instructions via CAN message 0x102 as described above. Charging will start when the enable bit is set. when no CAN message is received for 1s, charging will stop. Note that the digital enable input &amp;quot;D1&amp;quot; also needs to high to allow charging. Also the autostart conditions apply when enabled.&lt;br /&gt;
&lt;br /&gt;
====idckp/idcki====&lt;br /&gt;
Can be used to tune the control loop of the DC current PI controller.&lt;br /&gt;
&lt;br /&gt;
====pin====&lt;br /&gt;
Software pin, obtained by registration.&lt;br /&gt;
&lt;br /&gt;
== Additional Resources ==&lt;br /&gt;
&lt;br /&gt;
Videos by Damien Maguire showing internals of the charger, CAN IDs, wiring, and development of the board:&lt;br /&gt;
&lt;br /&gt;
[https://www.youtube.com/watch?v=LqJ7HhS65po The Tesla Project : 10 Kw Gen 2 Charger]&lt;br /&gt;
&lt;br /&gt;
[https://www.youtube.com/watch?v=ULadBnl7wgM The Tesla Project : Charger Progress]&lt;br /&gt;
&lt;br /&gt;
[https://www.youtube.com/watch?v=mOIgp3QFg78 The Tesla Project : 10kW Charger Charging]&lt;br /&gt;
&lt;br /&gt;
[https://www.youtube.com/watch?v=BG4kYsoHe54 The Tesla Project : More Charger Hacking]&lt;br /&gt;
&lt;br /&gt;
[https://www.youtube.com/watch?v=bPLqXCiArVM The Tesla Project : Charger 10kw Run]&lt;br /&gt;
&lt;br /&gt;
== Common Issues ==&lt;br /&gt;
&lt;br /&gt;
* The Tesla chargers are very sensitive to grounding. The case MUST be connected to vehicle 12v ground AND evse earth/ground when charging. [https://openinverter.org/forum/viewtopic.php?p=3890#p3890]&lt;br /&gt;
* If you do NOT use the external CAN bus on that version &#039;&#039;&#039;remember to close the solder jumper&#039;&#039;&#039; next to R1 under the WiFi module.&lt;br /&gt;
* People had problems with unreliable connectivity between ESP8266 &amp;amp; the charger board [https://openinverter.org/wiki/Olimex_MOD-WIFI-ESP8266#Common_Issues]&lt;br /&gt;
* Firmware &#039;&#039;&#039;1.09&#039;&#039;&#039; and &#039;&#039;&#039;1.10&#039;&#039;&#039; can lose the CAN map, making the logic board go silent, reset instructions here: [https://openinverter.org/forum/viewtopic.php?p=40617&amp;amp;sid=e2369fea2b502a419f55e5aac10fe169#p40617]&lt;br /&gt;
&lt;br /&gt;
[[Category:OEM]] &lt;br /&gt;
[[Category:Tesla]] &lt;br /&gt;
[[Category:Charger]]&lt;/div&gt;</summary>
		<author><name>Et0</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Tesla_Model_S/X_GEN2_Charger&amp;diff=2390</id>
		<title>Tesla Model S/X GEN2 Charger</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Tesla_Model_S/X_GEN2_Charger&amp;diff=2390"/>
		<updated>2022-05-10T10:37:16Z</updated>

		<summary type="html">&lt;p&gt;Et0: /* inputype */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Gen2.jpg|thumb|tesla gen2 ac charger]]&lt;br /&gt;
The Tesla GEN2 charger is a single/three phase 10kW AC charger that was fitted in the Model S from 2012 until it was replaced in the 2016 &#039;facelift&#039; model with GEN3.&lt;br /&gt;
&lt;br /&gt;
One or two GEN2 chargers are installed beneath the rear seats in the model s for ac charging.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The charger is made up of three 3.3 kw modules, each sitting on a liquid cooling plate. This assembly enables both single and multi phase ac charging. &lt;br /&gt;
&lt;br /&gt;
&amp;quot;[https://openinverter.org/forum/viewtopic.php?f=10&amp;amp;t=78&amp;amp;p=9994#p9994 Running a Tesla charger at much under 200v dc will cause it to explode. Yes I know the label says 50 to 450v but it lies. Yes I blew one up discovering this.]&amp;quot;&lt;br /&gt;
[[File:Tesla gen2 xray.png|thumb|Tesla Gen2 X-Ray]]&lt;br /&gt;
Charger Dimensions: 500x300x100mm&lt;br /&gt;
&lt;br /&gt;
== Replacement control boards ==&lt;br /&gt;
replacement control board https://github.com/damienmaguire/Tesla-Charger&lt;br /&gt;
&lt;br /&gt;
v5 kit: https://www.evbmw.com/index.php/evbmw-webshop/tesla-boards/tesla-gen-2-charger-logic-board-kit&lt;br /&gt;
&lt;br /&gt;
v5 partially built board: https://www.evbmw.com/index.php/evbmw-webshop/tesla-boards/tesla-gen-2-charger-logic-board-partially-built&lt;br /&gt;
&lt;br /&gt;
github: https://github.com/damienmaguire/Tesla-Charger&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Charger connection ==&lt;br /&gt;
[[File:Tesla Charger Logic connections.jpg|none|thumb|607x607px|&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!A1&lt;br /&gt;
!A2&lt;br /&gt;
!A3&lt;br /&gt;
!A4&lt;br /&gt;
!A5&lt;br /&gt;
!&lt;br /&gt;
!B1&lt;br /&gt;
!B2&lt;br /&gt;
!B3&lt;br /&gt;
!B4&lt;br /&gt;
!B5&lt;br /&gt;
!B6&lt;br /&gt;
|-&lt;br /&gt;
|OUT2 - AC present&lt;br /&gt;
|&lt;br /&gt;
|D1 - enable&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|12V supply&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|CANH&lt;br /&gt;
|Control Pilot&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
!A6&lt;br /&gt;
!A7&lt;br /&gt;
!A8&lt;br /&gt;
!A9&lt;br /&gt;
!A10&lt;br /&gt;
!&lt;br /&gt;
!B7&lt;br /&gt;
!B8&lt;br /&gt;
!B9&lt;br /&gt;
!B10&lt;br /&gt;
!B11&lt;br /&gt;
!B12&lt;br /&gt;
|-&lt;br /&gt;
|OUT1 - HV enable&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|D2 - 3p&lt;br /&gt;
|&lt;br /&gt;
|GND&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|CANL&lt;br /&gt;
|Proximity&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
[[File:AC DC Connections.jpg|left|thumb|600x600px]]]]&lt;br /&gt;
&lt;br /&gt;
===Connector part numbers===&lt;br /&gt;
AC and DC power connections (Molex Sabre series):&lt;br /&gt;
&lt;br /&gt;
*housing: 044441-2006&lt;br /&gt;
*pins: 043375-3001 (18-20AWG), 043375-0001 (14-16AWG)&lt;br /&gt;
&lt;br /&gt;
Logic connectors (Molex MX150L series):&lt;br /&gt;
&lt;br /&gt;
*housing: 10-way 19418-0014, 12-way 19418-0026&lt;br /&gt;
*pins: 33012-2002 (18-20AWG), 33012-2001 (14-16AWG)&lt;br /&gt;
&lt;br /&gt;
==Programming==&lt;br /&gt;
you&#039;ll need a st-link v2 smt32 programmer.  Unofficial ones are cheaply available from amazon and ebay.&lt;br /&gt;
&lt;br /&gt;
* st-link programming utility: https://www.st.com/en/development-tools/stsw-link004.html&lt;br /&gt;
* stm32_loader.hex  https://openinverter.org/forum/viewtopic.php?f=7&amp;amp;t=1119&lt;br /&gt;
&lt;br /&gt;
====Two options:====&lt;br /&gt;
#Charger_gen2_v5.hex https://github.com/damienmaguire/Tesla-Charger/tree/master/V5/Software/Binary&lt;br /&gt;
#Or commercial software: https://openinverter.org/files/stm32_charger.zip&lt;br /&gt;
&lt;br /&gt;
Click &amp;quot;Target --&amp;gt; Connect&amp;quot; from top menu. You want to see the screen get filled with a data dump of symbols. In the upper right of the screen you can see it identified the device. &lt;br /&gt;
&lt;br /&gt;
In the main viewing window are multiple tabs, click the &amp;quot;Binary File&amp;quot; tab to select it. &lt;br /&gt;
&lt;br /&gt;
This will ask to open a file, you choose: &amp;quot;stm32_loader.hex&amp;quot; from openinverter.org, download ahead of time. This will change what shows up in the viewing window.  &lt;br /&gt;
&lt;br /&gt;
Click &amp;quot;Target --&amp;gt; Program and Verify&amp;quot; from the top menu. This pops up a window, and you can probably just click &amp;quot;Start&amp;quot; on that window. This programs the STM32 chip with the stm32_loader.hex file.  &lt;br /&gt;
&lt;br /&gt;
The STM32 on your v5 gen2 Tesla charger Board can now load other files.   &lt;br /&gt;
&lt;br /&gt;
You can close the stm32_loader.hex tab, and go back to the &amp;quot;Binary File&amp;quot; tab, which will ask to open another file. &lt;br /&gt;
&lt;br /&gt;
You choose: &amp;quot;Charger_Gen2_v5.hex&amp;quot;  &lt;br /&gt;
&lt;br /&gt;
Same as last time, click &amp;quot;Target --&amp;gt; Program and Verify&amp;quot; from the top menu. And click Start. &lt;br /&gt;
&lt;br /&gt;
The STM32 on your v5 gen2 Tesla charger Board now also has the software to run.&lt;br /&gt;
&lt;br /&gt;
You are now done with the ST-Link USB dongle, it&#039;s no longer needed. &lt;br /&gt;
&lt;br /&gt;
Future updates can be done via WiFi. (must have esp8266 WiFi module programed https://openinverter.org/forum/viewtopic.php?f=5&amp;amp;t=8 )&lt;br /&gt;
&lt;br /&gt;
==External CAN bus==&lt;br /&gt;
[[File:Gen2 Charger V5aB2 logic board.jpg|thumb|Gen2 Charger V5aB2 logic board with CAN wired to external pins]]&lt;br /&gt;
The V5aB2 version of the board has no connection to the external CAN bus (V5aB3 has) but you can add it with to bodge wires as shown in the picture. You will find CANH and CANL on the 3 pin header underneath the WiFi module. Route them over to CONN6 as shown. CONN2.1 (CANH) is connected to CONN6.24, CONN2.2 (CANL) to CONN6.26.&lt;br /&gt;
&lt;br /&gt;
Revision V4aB3 does not need this modification. If you do NOT use the external CAN bus on that version &#039;&#039;&#039;remember to close the solder jumper&#039;&#039;&#039; next to R1 under the WiFi module.&lt;br /&gt;
&lt;br /&gt;
If the charger is the first/last device on your CAN bus there is nothing else to do. If it is somewhere in the middle you have to remove the bus termination resistor R1.&lt;br /&gt;
&lt;br /&gt;
Before doing this be aware that all internal CAN traffic is also seen on the external CAN bus. The following IDs are already used and mustn&#039;t used by any other device on the bus:&lt;br /&gt;
&lt;br /&gt;
207, 209, 217, 219, 227, 229, 237, 239, 247, 249, 327, 329, 347, 349, 357, 359, 367, 368, 369, 377, 379, 537, 539, 717, 719, 20B, 21B, 22B, 23B, 24B, 32B, 34B, 35B, 36B, 37B, 42C, 43C, 44C, 45C, 53B, 71B. &lt;br /&gt;
&lt;br /&gt;
====Functionality of external CAN bus====&lt;br /&gt;
With the CAN bus now available externally you can remote control your charger via CAN and also receive some values from it. The mapping is similar to the CHAdeMO CAN protocol. The feature is only available in the commercial firmware.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Charger CAN protocol&lt;br /&gt;
!ID&lt;br /&gt;
!Direction&lt;br /&gt;
!Byte 0&lt;br /&gt;
!Byte 1&lt;br /&gt;
!Byte 2&lt;br /&gt;
!Byte 3&lt;br /&gt;
!Byte 4&lt;br /&gt;
!Byte 5&lt;br /&gt;
!Byte 6&lt;br /&gt;
!Byte 7&lt;br /&gt;
|-&lt;br /&gt;
|0x102&lt;br /&gt;
|Receive by charger&lt;br /&gt;
|&lt;br /&gt;
|DC voltage limit MSB&lt;br /&gt;
|DC voltage limit LSB&lt;br /&gt;
|DC current set point&lt;br /&gt;
|==1 enable charging&lt;br /&gt;
|SoC&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x108&lt;br /&gt;
|Transmit by charger&lt;br /&gt;
|Version=0&lt;br /&gt;
|Max DC voltage MSB&lt;br /&gt;
|Max DC voltage LSB&lt;br /&gt;
|Max DC current&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x109&lt;br /&gt;
|Transmit by charger&lt;br /&gt;
|Version=0&lt;br /&gt;
|DC voltage MSB&lt;br /&gt;
|DC voltage LSB&lt;br /&gt;
|DC current&lt;br /&gt;
|&#039;&#039;0 when off, 5 when charging&#039;&#039;&lt;br /&gt;
Doesn&#039;t belong here, will&lt;br /&gt;
&lt;br /&gt;
move to Byte 5 after 1.06.R!&lt;br /&gt;
|Like Byte 4&lt;br /&gt;
for versions&lt;br /&gt;
&lt;br /&gt;
after 1.06.R&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
Example: transmit &amp;quot;0x102 # 0 0x1 0x86 0x14 0x1 50 0 0&amp;quot; to enable charging up to a voltage of 390V and a DC current of 20A, report SoC of 50%.[[File:Parameter view of commercial firmware.png|thumb|Parameter view of commercial firmware]]&lt;br /&gt;
&lt;br /&gt;
==Commercial charger firmware==&lt;br /&gt;
In addition to the open source firmware there is also a commercial firmware. It adds advanced features:&lt;br /&gt;
*Support for the standard open inverter web interface&lt;br /&gt;
*Parameter handling as known from the inverter firmware (see picture)&lt;br /&gt;
*Spot value handling like inverter including plotting, gauges, and logging&lt;br /&gt;
*Over the air update like inverter&lt;br /&gt;
*DC current control&lt;br /&gt;
*CAN control as described above&lt;br /&gt;
The firmware requires the board to be flashed with [https://github.com/jsphuebner/tumanako-inverter-fw-bootloader/releases stm32_loader.hex]. An Olimex MOD-ESP8266 must be programmed with the [https://github.com/jsphuebner/esp8266-web-interface openinverter web interface]. See [[Olimex MOD-WIFI-ESP8266]] and [https://openinverter.org/forum/viewtopic.php?f=5&amp;amp;t=8 this forum thread] for flashing instructions. With that done, future updates will happen via the web interface.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Connecting to the Web interface&#039;&#039;&#039;===&lt;br /&gt;
Depending on the version of your Olimex wifi dongle they are &amp;quot;open&amp;quot; or you need a password to connect.&lt;br /&gt;
&lt;br /&gt;
By default you can connect to the network (Access Point) and browse to: &#039;&#039;&#039;192.168.4.1&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
By default all charger kits will have &#039;&#039;&#039;SSID&#039;&#039;&#039; : charger &#039;&#039;&#039;PASSWORD&#039;&#039;&#039; : charger123&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note: Its recommend that you change it. Nobody wants to drive and have some joker with a phone finding this information and accessing your charger.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Registration===&lt;br /&gt;
If you bought a fully assembled V5aB3 board from the EVBMW webshop you can skip this step.&lt;br /&gt;
[[File:Tesla Charger Serial.png|frame]]&lt;br /&gt;
The firmware will work without registration but charging time is limited to 5 minutes. To overcome this, a board-specific pin must be bought. In order to do this the firmware and web interface must be installed and working.&lt;br /&gt;
&lt;br /&gt;
Go to the [https://openinverter.org/shop/index.php?route=product/product&amp;amp;product_id=67 openinverter webshop] and check out as many pins as you need. When checking out add the serial number(s) of your board(s) in the order option. You will find the serial number on the bottom of the page as last spot value.&lt;br /&gt;
&lt;br /&gt;
You will then receive an email containing one pin for each board. Enter the pin in the web interface in the &amp;quot;pin&amp;quot; parameter. When the pin is correct it will be automatically saved to flash and your board is ready to be used.&lt;br /&gt;
&lt;br /&gt;
==Commercial firmware usage manual==&lt;br /&gt;
===Parameters===&lt;br /&gt;
The firmware exports a number of parameters to be modified by the user. All modifications are temporary until you hit &amp;quot;Save Parameters to Flash&amp;quot; at the top of the page.&lt;br /&gt;
&lt;br /&gt;
We will go over all of them.&lt;br /&gt;
&lt;br /&gt;
====idclim====&lt;br /&gt;
This parameter is mainly relevant for CAN operation. It is transmitted via CAN to let the vehicle know how much DC current the charger can deliver. Each charger module maxes out at about 15.5A so the maximum total charging current is 46.5A. Since the total power is also limited to 10 kW it depends on the output voltage as well. There is no need to be exact on this, the firmware will automatically limit the AC input current to each module to the hardware maximum.&lt;br /&gt;
&lt;br /&gt;
====iaclim====&lt;br /&gt;
This is the per-module AC current limit. When charging from a 3-phase outlet (see below) each module will be allowed this current. When charging from single phase, this current will be equally distributed between the enabled chargers.&lt;br /&gt;
&lt;br /&gt;
====idcspnt====&lt;br /&gt;
DC charge current limit. An additional limit to charge power. It is also mapped to the CAN bus so if you have a BMS that calculates a maximum charge current you can forward this to the charger.&lt;br /&gt;
&lt;br /&gt;
====chargerena====&lt;br /&gt;
Here you can program which charger modules you want to enable. It is a flag channel, so 1 means &amp;quot;Module 1 enabled&amp;quot;, 2 means &amp;quot;Module 2 enabled&amp;quot; and 4 means &amp;quot;Module 3 enabled&amp;quot;. Combining these flags enables multiple modules, e.g. 5=4+1 enables modules 1 and 3. 7=4+2+1 enables all modules. This is the default. The parameter can not be directly changed, but you have to type &amp;quot;set chargerena 5&amp;quot; next to where it says &amp;quot;Send Custom Command&amp;quot; on the top of the page and then press the button.&lt;br /&gt;
&lt;br /&gt;
====udcspnt====&lt;br /&gt;
This modifies the constant voltage setpoint of the chargers. This value is transmitted directly to the modules without further processing. It lets you add a constant voltage phase to your charge process. When reaching this voltage the chargers will control the current to maintain this voltage.&lt;br /&gt;
&lt;br /&gt;
====udclim====&lt;br /&gt;
This parameters specifies a charge end condition. When the voltage is hit the charging process stops and will not resume until you re-plug the charge cable. If you wish to add a constant voltage phase and control charge end by your BMS, set this parameter higher than udcspnt.&lt;br /&gt;
&lt;br /&gt;
====timelim====&lt;br /&gt;
Another charge end condition. Charge only for the specified time in minutes.&lt;br /&gt;
&lt;br /&gt;
====inputype====&lt;br /&gt;
*&#039;&#039;&#039;Type2&#039;&#039;&#039;: Specifies one or more modules are operated on ONE common phase of a Type-2 EVSE. The limits imposed by &#039;&#039;cablelim&#039;&#039; and &#039;&#039;evselim&#039;&#039; (pilot signal) are distributed equally over the enabled modules. For example if you enable all 3 modules, the cable allows 32A but the EVSE only allows 16A, every module will run at 16/3=5.3A. Charging will start automatically as soon as proximity and a valid pilot signal is detected.&lt;br /&gt;
*&#039;&#039;&#039;Type2-3P&#039;&#039;&#039;: Specifies each module is connected to a different phase of a Type-2 EVSE. The limits imposed by &#039;&#039;cablelim&#039;&#039; and &#039;&#039;evselim&#039;&#039; are allowed for each module.&lt;br /&gt;
*&#039;&#039;&#039;Type-2Auto&#039;&#039;&#039;: relies on input D2 to indicate that 3 phase is present (from external relay), to allow charging on either single or three phase automatically.&lt;br /&gt;
*&#039;&#039;&#039;Type1&#039;&#039;&#039;: Like &#039;&#039;&#039;Type2&#039;&#039;&#039; but &#039;&#039;cablelim&#039;&#039; is always assumed 40A.&lt;br /&gt;
*&#039;&#039;&#039;Manual&#039;&#039;&#039;: Specifies one or more modules are operated on ONE common phase, power is distributed like in &#039;&#039;&#039;Type2&#039;&#039;&#039; mode. Charging starts as soon as the enable pin &amp;quot;D1&amp;quot; goes high. &#039;&#039;iaclim&#039;&#039; MUST be configured to the limits of your AC source as there is no automatic detection like in Type1 or Type2 modes.&lt;br /&gt;
*&#039;&#039;&#039;Manual-3P&#039;&#039;&#039;: Specifies that each module is connected to a different phase of 3-phase outlet. Each module is allowed &#039;&#039;iaclim&#039;&#039; AC current. &#039;&#039;iaclim&#039;&#039; MUST be configured to the limits of your AC source as there is no automatic detection like in Type1 or Type2 modes.&lt;br /&gt;
&lt;br /&gt;
====cancontrol====&lt;br /&gt;
When on, expect charging instructions via CAN message 0x102 as described above. Charging will start when the enable bit is set. when no CAN message is received for 1s, charging will stop. Note that the digital enable input &amp;quot;D1&amp;quot; also needs to high to allow charging. Also the autostart conditions apply when enabled.&lt;br /&gt;
&lt;br /&gt;
====idckp/idcki====&lt;br /&gt;
Can be used to tune the control loop of the DC current PI controller.&lt;br /&gt;
&lt;br /&gt;
====pin====&lt;br /&gt;
Software pin, obtained by registration.&lt;br /&gt;
&lt;br /&gt;
== Additional Resources ==&lt;br /&gt;
&lt;br /&gt;
Videos by Damien Maguire showing internals of the charger, CAN IDs, wiring, and development of the board:&lt;br /&gt;
&lt;br /&gt;
[https://www.youtube.com/watch?v=LqJ7HhS65po The Tesla Project : 10 Kw Gen 2 Charger]&lt;br /&gt;
&lt;br /&gt;
[https://www.youtube.com/watch?v=ULadBnl7wgM The Tesla Project : Charger Progress]&lt;br /&gt;
&lt;br /&gt;
[https://www.youtube.com/watch?v=mOIgp3QFg78 The Tesla Project : 10kW Charger Charging]&lt;br /&gt;
&lt;br /&gt;
[https://www.youtube.com/watch?v=BG4kYsoHe54 The Tesla Project : More Charger Hacking]&lt;br /&gt;
&lt;br /&gt;
[https://www.youtube.com/watch?v=bPLqXCiArVM The Tesla Project : Charger 10kw Run]&lt;br /&gt;
&lt;br /&gt;
== Common Issues ==&lt;br /&gt;
&lt;br /&gt;
* The Tesla chargers are very sensitive to grounding. The case MUST be connected to vehicle 12v ground AND evse earth/ground when charging. [https://openinverter.org/forum/viewtopic.php?p=3890#p3890]&lt;br /&gt;
* If you do NOT use the external CAN bus on that version &#039;&#039;&#039;remember to close the solder jumper&#039;&#039;&#039; next to R1 under the WiFi module.&lt;br /&gt;
&lt;br /&gt;
[[Category:OEM]] &lt;br /&gt;
[[Category:Tesla]] &lt;br /&gt;
[[Category:Charger]]&lt;/div&gt;</summary>
		<author><name>Et0</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Tesla_Model_S/X_GEN2_Charger&amp;diff=2389</id>
		<title>Tesla Model S/X GEN2 Charger</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Tesla_Model_S/X_GEN2_Charger&amp;diff=2389"/>
		<updated>2022-05-10T10:33:30Z</updated>

		<summary type="html">&lt;p&gt;Et0: /* Charger connection */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Gen2.jpg|thumb|tesla gen2 ac charger]]&lt;br /&gt;
The Tesla GEN2 charger is a single/three phase 10kW AC charger that was fitted in the Model S from 2012 until it was replaced in the 2016 &#039;facelift&#039; model with GEN3.&lt;br /&gt;
&lt;br /&gt;
One or two GEN2 chargers are installed beneath the rear seats in the model s for ac charging.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The charger is made up of three 3.3 kw modules, each sitting on a liquid cooling plate. This assembly enables both single and multi phase ac charging. &lt;br /&gt;
&lt;br /&gt;
&amp;quot;[https://openinverter.org/forum/viewtopic.php?f=10&amp;amp;t=78&amp;amp;p=9994#p9994 Running a Tesla charger at much under 200v dc will cause it to explode. Yes I know the label says 50 to 450v but it lies. Yes I blew one up discovering this.]&amp;quot;&lt;br /&gt;
[[File:Tesla gen2 xray.png|thumb|Tesla Gen2 X-Ray]]&lt;br /&gt;
Charger Dimensions: 500x300x100mm&lt;br /&gt;
&lt;br /&gt;
== Replacement control boards ==&lt;br /&gt;
replacement control board https://github.com/damienmaguire/Tesla-Charger&lt;br /&gt;
&lt;br /&gt;
v5 kit: https://www.evbmw.com/index.php/evbmw-webshop/tesla-boards/tesla-gen-2-charger-logic-board-kit&lt;br /&gt;
&lt;br /&gt;
v5 partially built board: https://www.evbmw.com/index.php/evbmw-webshop/tesla-boards/tesla-gen-2-charger-logic-board-partially-built&lt;br /&gt;
&lt;br /&gt;
github: https://github.com/damienmaguire/Tesla-Charger&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Charger connection ==&lt;br /&gt;
[[File:Tesla Charger Logic connections.jpg|none|thumb|607x607px|&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!A1&lt;br /&gt;
!A2&lt;br /&gt;
!A3&lt;br /&gt;
!A4&lt;br /&gt;
!A5&lt;br /&gt;
!&lt;br /&gt;
!B1&lt;br /&gt;
!B2&lt;br /&gt;
!B3&lt;br /&gt;
!B4&lt;br /&gt;
!B5&lt;br /&gt;
!B6&lt;br /&gt;
|-&lt;br /&gt;
|OUT2 - AC present&lt;br /&gt;
|&lt;br /&gt;
|D1 - enable&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|12V supply&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|CANH&lt;br /&gt;
|Control Pilot&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
!A6&lt;br /&gt;
!A7&lt;br /&gt;
!A8&lt;br /&gt;
!A9&lt;br /&gt;
!A10&lt;br /&gt;
!&lt;br /&gt;
!B7&lt;br /&gt;
!B8&lt;br /&gt;
!B9&lt;br /&gt;
!B10&lt;br /&gt;
!B11&lt;br /&gt;
!B12&lt;br /&gt;
|-&lt;br /&gt;
|OUT1 - HV enable&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|D2 - 3p&lt;br /&gt;
|&lt;br /&gt;
|GND&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|CANL&lt;br /&gt;
|Proximity&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
[[File:AC DC Connections.jpg|left|thumb|600x600px]]]]&lt;br /&gt;
&lt;br /&gt;
===Connector part numbers===&lt;br /&gt;
AC and DC power connections (Molex Sabre series):&lt;br /&gt;
&lt;br /&gt;
*housing: 044441-2006&lt;br /&gt;
*pins: 043375-3001 (18-20AWG), 043375-0001 (14-16AWG)&lt;br /&gt;
&lt;br /&gt;
Logic connectors (Molex MX150L series):&lt;br /&gt;
&lt;br /&gt;
*housing: 10-way 19418-0014, 12-way 19418-0026&lt;br /&gt;
*pins: 33012-2002 (18-20AWG), 33012-2001 (14-16AWG)&lt;br /&gt;
&lt;br /&gt;
==Programming==&lt;br /&gt;
you&#039;ll need a st-link v2 smt32 programmer.  Unofficial ones are cheaply available from amazon and ebay.&lt;br /&gt;
&lt;br /&gt;
* st-link programming utility: https://www.st.com/en/development-tools/stsw-link004.html&lt;br /&gt;
* stm32_loader.hex  https://openinverter.org/forum/viewtopic.php?f=7&amp;amp;t=1119&lt;br /&gt;
&lt;br /&gt;
====Two options:====&lt;br /&gt;
#Charger_gen2_v5.hex https://github.com/damienmaguire/Tesla-Charger/tree/master/V5/Software/Binary&lt;br /&gt;
#Or commercial software: https://openinverter.org/files/stm32_charger.zip&lt;br /&gt;
&lt;br /&gt;
Click &amp;quot;Target --&amp;gt; Connect&amp;quot; from top menu. You want to see the screen get filled with a data dump of symbols. In the upper right of the screen you can see it identified the device. &lt;br /&gt;
&lt;br /&gt;
In the main viewing window are multiple tabs, click the &amp;quot;Binary File&amp;quot; tab to select it. &lt;br /&gt;
&lt;br /&gt;
This will ask to open a file, you choose: &amp;quot;stm32_loader.hex&amp;quot; from openinverter.org, download ahead of time. This will change what shows up in the viewing window.  &lt;br /&gt;
&lt;br /&gt;
Click &amp;quot;Target --&amp;gt; Program and Verify&amp;quot; from the top menu. This pops up a window, and you can probably just click &amp;quot;Start&amp;quot; on that window. This programs the STM32 chip with the stm32_loader.hex file.  &lt;br /&gt;
&lt;br /&gt;
The STM32 on your v5 gen2 Tesla charger Board can now load other files.   &lt;br /&gt;
&lt;br /&gt;
You can close the stm32_loader.hex tab, and go back to the &amp;quot;Binary File&amp;quot; tab, which will ask to open another file. &lt;br /&gt;
&lt;br /&gt;
You choose: &amp;quot;Charger_Gen2_v5.hex&amp;quot;  &lt;br /&gt;
&lt;br /&gt;
Same as last time, click &amp;quot;Target --&amp;gt; Program and Verify&amp;quot; from the top menu. And click Start. &lt;br /&gt;
&lt;br /&gt;
The STM32 on your v5 gen2 Tesla charger Board now also has the software to run.&lt;br /&gt;
&lt;br /&gt;
You are now done with the ST-Link USB dongle, it&#039;s no longer needed. &lt;br /&gt;
&lt;br /&gt;
Future updates can be done via WiFi. (must have esp8266 WiFi module programed https://openinverter.org/forum/viewtopic.php?f=5&amp;amp;t=8 )&lt;br /&gt;
&lt;br /&gt;
==External CAN bus==&lt;br /&gt;
[[File:Gen2 Charger V5aB2 logic board.jpg|thumb|Gen2 Charger V5aB2 logic board with CAN wired to external pins]]&lt;br /&gt;
The V5aB2 version of the board has no connection to the external CAN bus (V5aB3 has) but you can add it with to bodge wires as shown in the picture. You will find CANH and CANL on the 3 pin header underneath the WiFi module. Route them over to CONN6 as shown. CONN2.1 (CANH) is connected to CONN6.24, CONN2.2 (CANL) to CONN6.26.&lt;br /&gt;
&lt;br /&gt;
Revision V4aB3 does not need this modification. If you do NOT use the external CAN bus on that version &#039;&#039;&#039;remember to close the solder jumper&#039;&#039;&#039; next to R1 under the WiFi module.&lt;br /&gt;
&lt;br /&gt;
If the charger is the first/last device on your CAN bus there is nothing else to do. If it is somewhere in the middle you have to remove the bus termination resistor R1.&lt;br /&gt;
&lt;br /&gt;
Before doing this be aware that all internal CAN traffic is also seen on the external CAN bus. The following IDs are already used and mustn&#039;t used by any other device on the bus:&lt;br /&gt;
&lt;br /&gt;
207, 209, 217, 219, 227, 229, 237, 239, 247, 249, 327, 329, 347, 349, 357, 359, 367, 368, 369, 377, 379, 537, 539, 717, 719, 20B, 21B, 22B, 23B, 24B, 32B, 34B, 35B, 36B, 37B, 42C, 43C, 44C, 45C, 53B, 71B. &lt;br /&gt;
&lt;br /&gt;
====Functionality of external CAN bus====&lt;br /&gt;
With the CAN bus now available externally you can remote control your charger via CAN and also receive some values from it. The mapping is similar to the CHAdeMO CAN protocol. The feature is only available in the commercial firmware.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Charger CAN protocol&lt;br /&gt;
!ID&lt;br /&gt;
!Direction&lt;br /&gt;
!Byte 0&lt;br /&gt;
!Byte 1&lt;br /&gt;
!Byte 2&lt;br /&gt;
!Byte 3&lt;br /&gt;
!Byte 4&lt;br /&gt;
!Byte 5&lt;br /&gt;
!Byte 6&lt;br /&gt;
!Byte 7&lt;br /&gt;
|-&lt;br /&gt;
|0x102&lt;br /&gt;
|Receive by charger&lt;br /&gt;
|&lt;br /&gt;
|DC voltage limit MSB&lt;br /&gt;
|DC voltage limit LSB&lt;br /&gt;
|DC current set point&lt;br /&gt;
|==1 enable charging&lt;br /&gt;
|SoC&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x108&lt;br /&gt;
|Transmit by charger&lt;br /&gt;
|Version=0&lt;br /&gt;
|Max DC voltage MSB&lt;br /&gt;
|Max DC voltage LSB&lt;br /&gt;
|Max DC current&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x109&lt;br /&gt;
|Transmit by charger&lt;br /&gt;
|Version=0&lt;br /&gt;
|DC voltage MSB&lt;br /&gt;
|DC voltage LSB&lt;br /&gt;
|DC current&lt;br /&gt;
|&#039;&#039;0 when off, 5 when charging&#039;&#039;&lt;br /&gt;
Doesn&#039;t belong here, will&lt;br /&gt;
&lt;br /&gt;
move to Byte 5 after 1.06.R!&lt;br /&gt;
|Like Byte 4&lt;br /&gt;
for versions&lt;br /&gt;
&lt;br /&gt;
after 1.06.R&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
Example: transmit &amp;quot;0x102 # 0 0x1 0x86 0x14 0x1 50 0 0&amp;quot; to enable charging up to a voltage of 390V and a DC current of 20A, report SoC of 50%.[[File:Parameter view of commercial firmware.png|thumb|Parameter view of commercial firmware]]&lt;br /&gt;
&lt;br /&gt;
==Commercial charger firmware==&lt;br /&gt;
In addition to the open source firmware there is also a commercial firmware. It adds advanced features:&lt;br /&gt;
*Support for the standard open inverter web interface&lt;br /&gt;
*Parameter handling as known from the inverter firmware (see picture)&lt;br /&gt;
*Spot value handling like inverter including plotting, gauges, and logging&lt;br /&gt;
*Over the air update like inverter&lt;br /&gt;
*DC current control&lt;br /&gt;
*CAN control as described above&lt;br /&gt;
The firmware requires the board to be flashed with [https://github.com/jsphuebner/tumanako-inverter-fw-bootloader/releases stm32_loader.hex]. An Olimex MOD-ESP8266 must be programmed with the [https://github.com/jsphuebner/esp8266-web-interface openinverter web interface]. See [[Olimex MOD-WIFI-ESP8266]] and [https://openinverter.org/forum/viewtopic.php?f=5&amp;amp;t=8 this forum thread] for flashing instructions. With that done, future updates will happen via the web interface.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;&#039;Connecting to the Web interface&#039;&#039;&#039;===&lt;br /&gt;
Depending on the version of your Olimex wifi dongle they are &amp;quot;open&amp;quot; or you need a password to connect.&lt;br /&gt;
&lt;br /&gt;
By default you can connect to the network (Access Point) and browse to: &#039;&#039;&#039;192.168.4.1&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
By default all charger kits will have &#039;&#039;&#039;SSID&#039;&#039;&#039; : charger &#039;&#039;&#039;PASSWORD&#039;&#039;&#039; : charger123&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note: Its recommend that you change it. Nobody wants to drive and have some joker with a phone finding this information and accessing your charger.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Registration===&lt;br /&gt;
If you bought a fully assembled V5aB3 board from the EVBMW webshop you can skip this step.&lt;br /&gt;
[[File:Tesla Charger Serial.png|frame]]&lt;br /&gt;
The firmware will work without registration but charging time is limited to 5 minutes. To overcome this, a board-specific pin must be bought. In order to do this the firmware and web interface must be installed and working.&lt;br /&gt;
&lt;br /&gt;
Go to the [https://openinverter.org/shop/index.php?route=product/product&amp;amp;product_id=67 openinverter webshop] and check out as many pins as you need. When checking out add the serial number(s) of your board(s) in the order option. You will find the serial number on the bottom of the page as last spot value.&lt;br /&gt;
&lt;br /&gt;
You will then receive an email containing one pin for each board. Enter the pin in the web interface in the &amp;quot;pin&amp;quot; parameter. When the pin is correct it will be automatically saved to flash and your board is ready to be used.&lt;br /&gt;
&lt;br /&gt;
==Commercial firmware usage manual==&lt;br /&gt;
===Parameters===&lt;br /&gt;
The firmware exports a number of parameters to be modified by the user. All modifications are temporary until you hit &amp;quot;Save Parameters to Flash&amp;quot; at the top of the page.&lt;br /&gt;
&lt;br /&gt;
We will go over all of them.&lt;br /&gt;
&lt;br /&gt;
====idclim====&lt;br /&gt;
This parameter is mainly relevant for CAN operation. It is transmitted via CAN to let the vehicle know how much DC current the charger can deliver. Each charger module maxes out at about 15.5A so the maximum total charging current is 46.5A. Since the total power is also limited to 10 kW it depends on the output voltage as well. There is no need to be exact on this, the firmware will automatically limit the AC input current to each module to the hardware maximum.&lt;br /&gt;
&lt;br /&gt;
====iaclim====&lt;br /&gt;
This is the per-module AC current limit. When charging from a 3-phase outlet (see below) each module will be allowed this current. When charging from single phase, this current will be equally distributed between the enabled chargers.&lt;br /&gt;
&lt;br /&gt;
====idcspnt====&lt;br /&gt;
DC charge current limit. An additional limit to charge power. It is also mapped to the CAN bus so if you have a BMS that calculates a maximum charge current you can forward this to the charger.&lt;br /&gt;
&lt;br /&gt;
====chargerena====&lt;br /&gt;
Here you can program which charger modules you want to enable. It is a flag channel, so 1 means &amp;quot;Module 1 enabled&amp;quot;, 2 means &amp;quot;Module 2 enabled&amp;quot; and 4 means &amp;quot;Module 3 enabled&amp;quot;. Combining these flags enables multiple modules, e.g. 5=4+1 enables modules 1 and 3. 7=4+2+1 enables all modules. This is the default. The parameter can not be directly changed, but you have to type &amp;quot;set chargerena 5&amp;quot; next to where it says &amp;quot;Send Custom Command&amp;quot; on the top of the page and then press the button.&lt;br /&gt;
&lt;br /&gt;
====udcspnt====&lt;br /&gt;
This modifies the constant voltage setpoint of the chargers. This value is transmitted directly to the modules without further processing. It lets you add a constant voltage phase to your charge process. When reaching this voltage the chargers will control the current to maintain this voltage.&lt;br /&gt;
&lt;br /&gt;
====udclim====&lt;br /&gt;
This parameters specifies a charge end condition. When the voltage is hit the charging process stops and will not resume until you re-plug the charge cable. If you wish to add a constant voltage phase and control charge end by your BMS, set this parameter higher than udcspnt.&lt;br /&gt;
&lt;br /&gt;
====timelim====&lt;br /&gt;
Another charge end condition. Charge only for the specified time in minutes.&lt;br /&gt;
&lt;br /&gt;
====inputype====&lt;br /&gt;
*&#039;&#039;&#039;Type2&#039;&#039;&#039;: Specifies one or more modules are operated on ONE common phase of a Type-2 EVSE. The limits imposed by &#039;&#039;cablelim&#039;&#039; and &#039;&#039;evselim&#039;&#039; (pilot signal) are distributed equally over the enabled modules. For example if you enable all 3 modules, the cable allows 32A but the EVSE only allows 16A, every module will run at 16/3=5.3A. Charging will start automatically as soon as proximity and a valid pilot signal is detected.&lt;br /&gt;
*&#039;&#039;&#039;Type2-3P&#039;&#039;&#039;: Specifies each module is connected to a different phase of a Type-2 EVSE. The limits imposed by &#039;&#039;cablelim&#039;&#039; and &#039;&#039;evselim&#039;&#039; are allowed for each module.&lt;br /&gt;
*&#039;&#039;&#039;Type1&#039;&#039;&#039;: Like &#039;&#039;&#039;Type2&#039;&#039;&#039; but &#039;&#039;cablelim&#039;&#039; is always assumed 40A.&lt;br /&gt;
*&#039;&#039;&#039;Manual&#039;&#039;&#039;: Specifies one or more modules are operated on ONE common phase, power is distributed like in &#039;&#039;&#039;Type2&#039;&#039;&#039; mode. Charging starts as soon as the enable pin &amp;quot;D1&amp;quot; goes high. &#039;&#039;iaclim&#039;&#039; MUST be configured to the limits of your AC source as there is no automatic detection like in Type1 or Type2 modes.&lt;br /&gt;
*&#039;&#039;&#039;Manual-3P&#039;&#039;&#039;: Specifies that each module is connected to a different phase of 3-phase outlet. Each module is allowed &#039;&#039;iaclim&#039;&#039; AC current. &#039;&#039;iaclim&#039;&#039; MUST be configured to the limits of your AC source as there is no automatic detection like in Type1 or Type2 modes.&lt;br /&gt;
&lt;br /&gt;
====cancontrol====&lt;br /&gt;
When on, expect charging instructions via CAN message 0x102 as described above. Charging will start when the enable bit is set. when no CAN message is received for 1s, charging will stop. Note that the digital enable input &amp;quot;D1&amp;quot; also needs to high to allow charging. Also the autostart conditions apply when enabled.&lt;br /&gt;
&lt;br /&gt;
====idckp/idcki====&lt;br /&gt;
Can be used to tune the control loop of the DC current PI controller.&lt;br /&gt;
&lt;br /&gt;
====pin====&lt;br /&gt;
Software pin, obtained by registration.&lt;br /&gt;
&lt;br /&gt;
== Additional Resources ==&lt;br /&gt;
&lt;br /&gt;
Videos by Damien Maguire showing internals of the charger, CAN IDs, wiring, and development of the board:&lt;br /&gt;
&lt;br /&gt;
[https://www.youtube.com/watch?v=LqJ7HhS65po The Tesla Project : 10 Kw Gen 2 Charger]&lt;br /&gt;
&lt;br /&gt;
[https://www.youtube.com/watch?v=ULadBnl7wgM The Tesla Project : Charger Progress]&lt;br /&gt;
&lt;br /&gt;
[https://www.youtube.com/watch?v=mOIgp3QFg78 The Tesla Project : 10kW Charger Charging]&lt;br /&gt;
&lt;br /&gt;
[https://www.youtube.com/watch?v=BG4kYsoHe54 The Tesla Project : More Charger Hacking]&lt;br /&gt;
&lt;br /&gt;
[https://www.youtube.com/watch?v=bPLqXCiArVM The Tesla Project : Charger 10kw Run]&lt;br /&gt;
&lt;br /&gt;
== Common Issues ==&lt;br /&gt;
&lt;br /&gt;
* The Tesla chargers are very sensitive to grounding. The case MUST be connected to vehicle 12v ground AND evse earth/ground when charging. [https://openinverter.org/forum/viewtopic.php?p=3890#p3890]&lt;br /&gt;
* If you do NOT use the external CAN bus on that version &#039;&#039;&#039;remember to close the solder jumper&#039;&#039;&#039; next to R1 under the WiFi module.&lt;br /&gt;
&lt;br /&gt;
[[Category:OEM]] &lt;br /&gt;
[[Category:Tesla]] &lt;br /&gt;
[[Category:Charger]]&lt;/div&gt;</summary>
		<author><name>Et0</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:Zomb-con-et.png&amp;diff=2315</id>
		<title>File:Zomb-con-et.png</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:Zomb-con-et.png&amp;diff=2315"/>
		<updated>2022-03-08T16:18:37Z</updated>

		<summary type="html">&lt;p&gt;Et0: Et0 uploaded a new version of File:Zomb-con-et.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;List of connections and connector reference&lt;/div&gt;</summary>
		<author><name>Et0</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1990</id>
		<title>ZombieVerter VCU</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1990"/>
		<updated>2021-11-30T17:24:30Z</updated>

		<summary type="html">&lt;p&gt;Et0: /* Software */&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;&amp;lt;code&amp;gt;307 - // Configure CAN pin: TX.-&amp;lt;/code&amp;gt;&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;
&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>Et0</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1989</id>
		<title>ZombieVerter VCU</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1989"/>
		<updated>2021-11-30T17:15:50Z</updated>

		<summary type="html">&lt;p&gt;Et0: /* rearranged a 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;
&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;
&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;&amp;lt;code&amp;gt;307 - // Configure CAN pin: TX.-&amp;lt;/code&amp;gt;&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;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ST Variant:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
https://github.com/damienmaguire/Stm32-vcu/tree/LIM_ST107&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>Et0</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1937</id>
		<title>ZombieVerter VCU</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1937"/>
		<updated>2021-11-04T18:41:04Z</updated>

		<summary type="html">&lt;p&gt;Et0: /* 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 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;
&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;
&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;
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;
&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>Et0</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1936</id>
		<title>ZombieVerter VCU</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1936"/>
		<updated>2021-11-04T18:40:22Z</updated>

		<summary type="html">&lt;p&gt;Et0: /* 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 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;
&lt;br /&gt;
&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;
&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;
&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;
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;
&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>Et0</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:0B35D4F9-BA64-46E7-A570-A0CE1D619D63.jpg&amp;diff=1935</id>
		<title>File:0B35D4F9-BA64-46E7-A570-A0CE1D619D63.jpg</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:0B35D4F9-BA64-46E7-A570-A0CE1D619D63.jpg&amp;diff=1935"/>
		<updated>2021-11-04T18:39:07Z</updated>

		<summary type="html">&lt;p&gt;Et0: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;ST-Link V2 connection&lt;/div&gt;</summary>
		<author><name>Et0</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:Zombv1boardb.jpg&amp;diff=1934</id>
		<title>File:Zombv1boardb.jpg</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:Zombv1boardb.jpg&amp;diff=1934"/>
		<updated>2021-11-04T18:29:09Z</updated>

		<summary type="html">&lt;p&gt;Et0: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;PCB placements&lt;/div&gt;</summary>
		<author><name>Et0</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Isabellenh%C3%BCtte_Heusler&amp;diff=1923</id>
		<title>Isabellenhütte Heusler</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Isabellenh%C3%BCtte_Heusler&amp;diff=1923"/>
		<updated>2021-10-30T15:52:54Z</updated>

		<summary type="html">&lt;p&gt;Et0: /* Corrected link for ISA datasheet*/&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Isabellenhütte produce a number of high precision DC current measurement devices for use in electric vehicles. These devices read and communicate current and voltage information via CAN messages with a high degree of accuracy. They produce several models with a current measurement with a range of up to ±2500A.&lt;br /&gt;
&lt;br /&gt;
== IVT-S Current Measurement Device ==&lt;br /&gt;
[[File:IVT-S front and behind image .jpg|thumb|IVT-S 1000A current shunt front and rear]] &lt;br /&gt;
&lt;br /&gt;
The IVT-S current measurement device, often referred to as a current shunt, is one of the most popular current measurement devices for use with open source EVs due to its high precision, modularity and relatively low price point. The IVT-S comes in a number of current ranges to suit the peak usage and budget of your EV - 100A/300A/500A/1000A/2500A. &lt;br /&gt;
&lt;br /&gt;
== Programming The IVT-S With an Arduino Due with CAN or DM VCU Control Board ==&lt;br /&gt;
From the factory the ISA shunt does not output many parameters and not in a format that is readable to the library. It defaults to big endian and the arduino is written in little endian. Fortunately, friend Jack at EVTV took care of that and installed a configuration option in the library. To use the shunt the following steps are required;&lt;br /&gt;
# If you haven&#039;t used an Arduino Due board before, install &amp;quot;Arduino SAM Boards (32-bits ARM Cortex-M3)&amp;quot; from the Arduino Boards Manager&lt;br /&gt;
# Install &amp;quot;DueTimer&amp;quot; and &amp;quot;can_due&amp;quot; from the Arduino Library Manager.&lt;br /&gt;
# Install the [https://github.com/collin80/due_wire due_wire] and [https://github.com/collin80/Wire_EEPROM Wire_EEPROM] libraries from GitHub.&lt;br /&gt;
# Install the [https://openinverter.org/forum/download/file.php?id=3829 ISA library]. There is an error in this library if you download it from the EV-TV site: &amp;lt;code&amp;gt;ISA.cpp&amp;lt;/code&amp;gt; specifies &amp;lt;code&amp;gt;#include &amp;lt;ISA2.h&amp;gt;&amp;lt;/code&amp;gt;, but the file is actually named &amp;lt;code&amp;gt;ISA.h&amp;lt;/code&amp;gt;. This has been fixed in the version linked to here.&lt;br /&gt;
# Load up the [https://openinverter.org/forum/download/file.php?id=3830 demo sketch] on a due with a can transceiver or any of the VCUs (via the programming USB port).&lt;br /&gt;
# Now connect to the Due native USB port with your serial monitor and choose the initialise option (enter i into serial monitor)&lt;br /&gt;
# Reboot and normal data should be pumped out.&lt;br /&gt;
&lt;br /&gt;
Watch this process being carried out using a Nissan Leaf VCU control board (link coming soon)&lt;br /&gt;
&lt;br /&gt;
== Programming The IVT-S With an Arduino Uno and CAN Bus Shield ==&lt;br /&gt;
By default, the IVT-S will put a current reading on the CAN bus at 500kb/s every 20ms. You can read this data [[Getting started with an IVT-S and Arduino Uno CAN bus shield|with an Arduino Uno and CAN bus shield]].&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
IVT-S Current and voltage sensors for battery management systems ([https://www.isabellenhuette.de/en/precision-measurement/standard-products/ivt-series/ here])&lt;br /&gt;
&lt;br /&gt;
IVT-S Datasheet ([https://www.isabellenhuetteusa.com/wp-content/uploads/2021/08/Datasheet_IVT-S_V1.02.pdf here])&lt;br /&gt;
&lt;br /&gt;
IVT-S Arduino Library Files from EVTV ([http://store.evtv.me/proddetail.php?prod=1kshunt here]). Note: it&#039;s been reported that the header file ISA.h contains several errors.&lt;br /&gt;
&lt;br /&gt;
== Connections ==&lt;br /&gt;
The IVT-S uses Molex DuraClik connectors which can be purchased from RS, Digi-Key and Mouser (among others). Despite what it says in the Isabellenhütte data sheet, the correct part numbers are as shown below.&lt;br /&gt;
&lt;br /&gt;
Note that the DuraClik terminals are absolutely tiny and the [https://www.molex.com/molex/products/part-detail/application_toolin/0638190500 official Molex crimp tool] is very expensive. It is possible to get a decent crimp using a cheap and widely-available SN-28B 24-30AWG crimp tool, but you will need a bit of patience and very good eyesight. The connectors also have a retainer to permanently lock the terminals in place and you should seal the final assembly with UV glue. [https://youtu.be/oBM6ABD5Tsg Here] is an excellent video that shows you how to do this. &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Isabellenhütte IVT-S Molex connector part numbers&lt;br /&gt;
!Description&lt;br /&gt;
!Molex part number&lt;br /&gt;
!Mouser part number&lt;br /&gt;
|-&lt;br /&gt;
|2-pin DuraClik header&lt;br /&gt;
|502351-0200&lt;br /&gt;
|538-502351-0200&lt;br /&gt;
|-&lt;br /&gt;
|4-pin DuraClik header &lt;br /&gt;
|502351-0400&lt;br /&gt;
|538-502351-0400&lt;br /&gt;
|-&lt;br /&gt;
|DuraClik crimp terminal&lt;br /&gt;
|50212-8100&lt;br /&gt;
|538-50212-8100&lt;br /&gt;
|-&lt;br /&gt;
|2-pin DuraClik retainer&lt;br /&gt;
|505152-0200&lt;br /&gt;
|538-505152-0200&lt;br /&gt;
|-&lt;br /&gt;
|4-pin DuraClik retainer&lt;br /&gt;
|505152-0400&lt;br /&gt;
|538-505152-0400&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Et0</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1922</id>
		<title>ZombieVerter VCU</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1922"/>
		<updated>2021-10-28T15:07:02Z</updated>

		<summary type="html">&lt;p&gt;Et0: /* 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 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;
&#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;
&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;
Note that in addition to the VCU, the inverter and transmission, you will require a specific canbus connected shunt: [[Isabellenhütte Heusler]]&lt;br /&gt;
&lt;br /&gt;
&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;
&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;
==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>Et0</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1921</id>
		<title>ZombieVerter VCU</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1921"/>
		<updated>2021-10-28T14:55:49Z</updated>

		<summary type="html">&lt;p&gt;Et0: /* 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 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;
&#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;
&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;
Note that in addition to the VCU, the inverter and transmission, you will require a specific canbus connected shunt: [[Isabellenhütte Heusler]]&lt;br /&gt;
&lt;br /&gt;
&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|link=link=Special:FilePath/Zomb-con-et.png|none|thumb|332x332px|List of connections to system components (GS450 application)]]&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;
&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;
==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>Et0</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1920</id>
		<title>ZombieVerter VCU</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1920"/>
		<updated>2021-10-28T14:52:46Z</updated>

		<summary type="html">&lt;p&gt;Et0: /* Software */&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;
&#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;
&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;
Note that in addition to the VCU, the inverter and transmission, you will require a specific canbus connected shunt: [[Isabellenhütte Heusler]]&lt;br /&gt;
&lt;br /&gt;
&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|link=link=Special:FilePath/Zomb-con-et.png|none|thumb|332x332px|List of connections to system components (GS450 application)]]&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;
&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 udc 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;
==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>Et0</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:Zomb-con-et.png&amp;diff=1919</id>
		<title>File:Zomb-con-et.png</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:Zomb-con-et.png&amp;diff=1919"/>
		<updated>2021-10-28T14:45:41Z</updated>

		<summary type="html">&lt;p&gt;Et0: Et0 uploaded a new version of File:Zomb-con-et.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;List of connections and connector reference&lt;/div&gt;</summary>
		<author><name>Et0</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1917</id>
		<title>ZombieVerter VCU</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1917"/>
		<updated>2021-10-27T22:52:21Z</updated>

		<summary type="html">&lt;p&gt;Et0: /* Initial start-up and testing (Instructions for GS450H application) */&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;
&#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;
&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;
Note that in addition to the VCU, the inverter and transmission, you will require a specific canbus connected shunt: [[Isabellenhütte Heusler]]&lt;br /&gt;
&lt;br /&gt;
&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|link=link=Special:FilePath/Zomb-con-et.png|none|thumb|332x332px|List of connections to system components (GS450 application)]]&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;
&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 udc 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.&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;
==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>Et0</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1916</id>
		<title>ZombieVerter VCU</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1916"/>
		<updated>2021-10-27T22:48:59Z</updated>

		<summary type="html">&lt;p&gt;Et0: /* Software */&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;
&#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;
&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;
Note that in addition to the VCU, the inverter and transmission, you will require a specific canbus connected shunt: [[Isabellenhütte Heusler]]&lt;br /&gt;
&lt;br /&gt;
&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|link=link=Special:FilePath/Zomb-con-et.png|none|thumb|332x332px|List of connections to system components (GS450 application)]]&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;
&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 power 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 less 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 udc 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.&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;
==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>Et0</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1915</id>
		<title>ZombieVerter VCU</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1915"/>
		<updated>2021-10-27T22:48:14Z</updated>

		<summary type="html">&lt;p&gt;Et0: /* Initial start-up and testing (Instructions for GS450H application) */&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;
&#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;
&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;
Note that in addition to the VCU, the inverter and transmission, you will require a specific canbus connected shunt: [[Isabellenhütte Heusler]]&lt;br /&gt;
&lt;br /&gt;
&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|link=link=Special:FilePath/Zomb-con-et.png|none|thumb|332x332px|List of connections to system components (GS450 application)]]&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;
&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.1.4 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 power 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 less 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 udc 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.&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;
==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>Et0</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1914</id>
		<title>ZombieVerter VCU</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1914"/>
		<updated>2021-10-27T22:47:43Z</updated>

		<summary type="html">&lt;p&gt;Et0: /* Initial start-up and testing (Instructions for GS450H application) */&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;
&#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;
&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;
Note that in addition to the VCU, the inverter and transmission, you will require a specific canbus connected shunt: [[Isabellenhütte Heusler]]&lt;br /&gt;
&lt;br /&gt;
&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|link=link=Special:FilePath/Zomb-con-et.png|none|thumb|332x332px|List of connections to system components (GS450 application)]]&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;
&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.1.4 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 power 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 less 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 udc 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.&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;
==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>Et0</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1913</id>
		<title>ZombieVerter VCU</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1913"/>
		<updated>2021-10-27T22:46:17Z</updated>

		<summary type="html">&lt;p&gt;Et0: /* Initial start-up and testing (Instructions for GS450H application) */&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;
&#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;
&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;
Note that in addition to the VCU, the inverter and transmission, you will require a specific canbus connected shunt: [[Isabellenhütte Heusler]]&lt;br /&gt;
&lt;br /&gt;
&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|link=link=Special:FilePath/Zomb-con-et.png|none|thumb|332x332px|List of connections to system components (GS450 application)]]&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;
&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.1.4 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 power 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 less 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;
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;
* 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 udc 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.&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;
* 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;
==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>Et0</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1912</id>
		<title>ZombieVerter VCU</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1912"/>
		<updated>2021-10-27T22:44:56Z</updated>

		<summary type="html">&lt;p&gt;Et0: /* Software */&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;
&#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;
&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;
Note that in addition to the VCU, the inverter and transmission, you will require a specific canbus connected shunt: [[Isabellenhütte Heusler]]&lt;br /&gt;
&lt;br /&gt;
&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|link=link=Special:FilePath/Zomb-con-et.png|none|thumb|332x332px|List of connections to system components (GS450 application)]]&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;
&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.1.4 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 power 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 less 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;
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;
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 udc 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.&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;
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;
==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>Et0</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1911</id>
		<title>ZombieVerter VCU</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1911"/>
		<updated>2021-10-27T22:43:54Z</updated>

		<summary type="html">&lt;p&gt;Et0: /* 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 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;
&#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;
&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;
Note that in addition to the VCU, the inverter and transmission, you will require a specific canbus connected shunt: [[Isabellenhütte Heusler]]&lt;br /&gt;
&lt;br /&gt;
&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|link=link=Special:FilePath/Zomb-con-et.png|none|thumb|332x332px|List of connections to system components (GS450 application)]]&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;
&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.1.4 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 power 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 less 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;
Check the accelerator by applying it gradually and watching / refreshing the interface. You should see values at pot1 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;
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 udc 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.&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;
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;
==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>Et0</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1910</id>
		<title>ZombieVerter VCU</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1910"/>
		<updated>2021-10-27T21:42:29Z</updated>

		<summary type="html">&lt;p&gt;Et0: /* 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 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;
&#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;
&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;
Note that in addition to the VCU, the inverter and transmission, you will require a specific canbus connected shunt: [[Isabellenhütte Heusler]]&lt;br /&gt;
&lt;br /&gt;
&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|link=link=Special:FilePath/Zomb-con-et.png|none|thumb|332x332px|List of connections to system components (GS450 application)]]&lt;br /&gt;
&lt;br /&gt;
Wiring information for a GS450 system, connector pinouts etc 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;
&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.1.4 to see the huebner inverter dashboard.&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>Et0</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1909</id>
		<title>ZombieVerter VCU</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1909"/>
		<updated>2021-10-27T21:40:47Z</updated>

		<summary type="html">&lt;p&gt;Et0: &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;
&#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;
&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;
Note that in addition to the VCU, the inverter and transmission, you will require a specific canbus connected shunt: [[Isabellenhütte Heusler]]&lt;br /&gt;
&lt;br /&gt;
Wiring information for the system, connector pinouts etc can be found here: [[Lexus GS450h Inverter]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Pin Out Diagram&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:ZombieVerter VCU V1 cable side pinout.jpg|thumb|alt=|VCU pinout diagram |none]]&lt;br /&gt;
[[File:Zomb-con-et.png|link=link=Special:FilePath/Zomb-con-et.png|none|thumb|332x332px|List of connections to system components (GS450 application)]]&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;
&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.1.4 to see the huebner inverter dashboard.&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>Et0</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:Zomb-con-et.png&amp;diff=1908</id>
		<title>File:Zomb-con-et.png</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:Zomb-con-et.png&amp;diff=1908"/>
		<updated>2021-10-27T21:39:48Z</updated>

		<summary type="html">&lt;p&gt;Et0: Et0 uploaded a new version of File:Zomb-con-et.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;List of connections and connector reference&lt;/div&gt;</summary>
		<author><name>Et0</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1882</id>
		<title>ZombieVerter VCU</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1882"/>
		<updated>2021-10-20T11:10:24Z</updated>

		<summary type="html">&lt;p&gt;Et0: /* Software */&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;
&#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;
&amp;lt;youtube&amp;gt;https://www.youtube.com/watch?v=geZuIbGHh30&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that in addition to the VCU, the inverter and transmission, you will require a specific canbus connected shunt: [[Isabellenhütte Heusler]]&lt;br /&gt;
&lt;br /&gt;
Wiring information for the system, connector pinouts etc can be found here: [[Lexus GS450h Inverter]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Pin Out Diagram&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:ZombieVerter VCU V1 cable side pinout.jpg|thumb|alt=|VCU pinout diagram |none]]&lt;br /&gt;
[[File:Zomb-con-et.png|link=link=Special:FilePath/Zomb-con-et.png|none|thumb|332x332px|List of connections to system components]]&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;
&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.1.4 to see the huebner inverter dashboard.&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>Et0</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Lexus_GS450h_Drivetrain&amp;diff=1881</id>
		<title>Lexus GS450h Drivetrain</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Lexus_GS450h_Drivetrain&amp;diff=1881"/>
		<updated>2021-10-19T15:34:53Z</updated>

		<summary type="html">&lt;p&gt;Et0: /* GS450h Transmission */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Inverter connector.png|thumb|GS450h inverter external connector|187x187px]]&lt;br /&gt;
&#039;&#039;&#039;update:&#039;&#039;&#039; the dedicated gs450h VCU is now replaced with the [[ZombieVerter VCU|zombierverter]]. the general premise of control is the same.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Lexus GS450h VCU is an open source project to repurpose 2006-2012 Lexus GS450h inverters for DIY EV use. It consists of a circuit board and programming that communicates with the original logic board in the inverter and allows independent control of it without communicating with a GS450h ECU.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; Toyota Camry hybrid (NAFTA market) use a variety of similar inverter models with similar logic boards.  Independent tests are ongoing to verify which (if any) will offer functionally with the GS450h platform.  At present data has not been sufficiently collected to verify which specific Camry inverters do or do not work for this application. &lt;br /&gt;
&lt;br /&gt;
== GS450h Inverter ==&lt;br /&gt;
&lt;br /&gt;
The Lexus GS450h is a hybrid vehicle. Their inverters are suitable and attractive for DIY EVs because of:&lt;br /&gt;
* Good availability and price - an inverter and &amp;quot;transmission&amp;quot; can generally be purchased for less than £/€1000.&lt;br /&gt;
* Durability. Toyota engineers appear to have made the inverters foolproof, many inputs and outputs gracefully handle fault conditions.&lt;br /&gt;
&lt;br /&gt;
* Respectable performance. Rated for a combined 250kW output.&lt;br /&gt;
* Ease of repurposing. Emulating the original ECU seems reasonably feasible. The transmission is a similar size and layout to many RWD transmissions.&lt;br /&gt;
The Lexus GS450h (2006-2012 model years) has a variety of useful components inside the inverter package:&lt;br /&gt;
[[File:Toyota Camry Inverter external connector.png|thumb|204x204px|Toyota Camry Inverter external connector]]&lt;br /&gt;
* Two high power inverters, for the 2 motors MG1 capable of handling X(?) amps, and MG2 capable of handling Y(?) amps.&lt;br /&gt;
* A boost module to boost the 288v battery pack up to 650v as used in the Lexus (Note that voltages this high are not required for EV conversions).&lt;br /&gt;
&lt;br /&gt;
For technical analysis of this unit, see pages 14-47 of this document: &amp;lt;nowiki&amp;gt;https://www.osti.gov/servlets/purl/928684&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The inverter is capable of running at full speeds on pack voltages from approx 280V upwards. The maximum allowable input voltage is 650V, so far, many have found that &amp;quot;standard&amp;quot; EV voltages of 300V-360V to be well suited.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;u&amp;gt;Note that even thouigh the inverter maximum voltage rating is 650V, a 650V battery pack is not required to run this unit. It is capable of excellent performance at lower voltages, such as the typical 300V-360V found in most EVs. However, there is the opportunity to use larger packs with this unit if required in your application.&amp;lt;/u&amp;gt;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Should a higher voltage pack be chosen in your application for any reason, the buck/boost converter can be used to power auxiliary equipment at its native voltage.&lt;br /&gt;
&lt;br /&gt;
Weight: 40 LBs&lt;br /&gt;
&lt;br /&gt;
Dimensions: 14&amp;quot; x 9-1/2&amp;quot; x 8-1/2&amp;quot;&lt;br /&gt;
== GS450h Converter ==&lt;br /&gt;
A buck/boost converter lives within the inverter housing, originally this is used to step up the 288V battery pack in the GS450h to the 650V for use in the inverter in the GS. (Note that this does not mean the inverter requires 650V to run, it is simply a maximum rating) For those using a 600+V battery pack, this converter can be used to step the voltage down to a more reasonable level to interface with charfgers, DCDC converters, heaters, AC compressors, and other components which can be found in &amp;quot;regular&amp;quot; EV&#039;s (Tesla, Leaf, Volt, etc).&lt;br /&gt;
&lt;br /&gt;
This unit is rated at 30kW, making it unsuitable for traction power, but good for auxiliary devices.&lt;br /&gt;
&lt;br /&gt;
Details on how to control the converter are here: https://openinverter.org/forum/viewtopic.php?f=14&amp;amp;t=538&lt;br /&gt;
&lt;br /&gt;
For technical analysis of this unit, see pages 14-47 of this document: &amp;lt;nowiki&amp;gt;https://www.osti.gov/servlets/purl/928684&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== GS450h Transmission ==&lt;br /&gt;
[[File:Inverter.png|thumb|213x213px|GS450h inverter]]&lt;br /&gt;
For technical analysis of this transmission, see pages 46 onwards of this document: https://www.osti.gov/servlets/purl/947393&lt;br /&gt;
&lt;br /&gt;
The transmission contains two &amp;quot;Motor-Generator&amp;quot; units. MG1 sits at the front of the transmission, and interfaces with the internal combustion engine through a planetary gear set. For this reason, to obtain torque from MG1, the input shaft of the transmission must be locked in place. This is usually done using a splined coupler, which is then welded onto the transmission front mount.&lt;br /&gt;
&lt;br /&gt;
The input shaft on the transmission has 21 splines, with a 28mm major diameter. It is believed that there are several Toyota clutches which will have this in their centre. The original GS450h flywheel and coupler also contains the appropriate slined centre, of course.&lt;br /&gt;
&lt;br /&gt;
The fluid fill port is the banjo bolt for the upper transmission cooler hose. The specified fluid is &amp;quot;Toyota WS&amp;quot; ATF.&lt;br /&gt;
&lt;br /&gt;
It is a good idea to replace the two bearings in the electric oil pump before fitting a used transmission. There is a guide [http://carlthomas66.blogspot.com/2016/03/lexus-gs450h-transmission-oil-pump.html here]. Bearing part numbers are 61900-2Z and 608-2Z, you will need one of each.&lt;br /&gt;
&lt;br /&gt;
The shift position lever on the right-hand side of the transmission engages the parking pawl when in the &amp;quot;all-the-way-back&amp;quot; position. All other positions disengage this pawl. The R, N, D, M positions only affect the output of the shift position sensor.&lt;br /&gt;
&lt;br /&gt;
Note the following when purchasing the transmission:&lt;br /&gt;
[[File:Shift position.png|thumb|154x154px|GS450h shift position sensor]]&lt;br /&gt;
* It is recommended to purchase one which has the electric oil pump fitted - these are a costly item as the bearings in them often fail, in some cases they cost more than the transmission.&lt;br /&gt;
* It is recommended to purchase a transmission which includes the wiring harness, or at least off-cuts of the connectors. Some connectors may be unavailable for purchase. There is a thread [https://openinverter.org/forum/viewtopic.php?f=14&amp;amp;t=271 here] which covers the connectors on this transmission.&lt;br /&gt;
[[File:Image.png|none|thumb|Picture showing main connections]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Dimensions ===&lt;br /&gt;
Overall height (oil pan to top of bellhousing) is 39cm. Bell housing is full height, i.e. 39cm diameter, when the transmission is sitting on its oil pan (as it is on my bench), the bellhousing still just about touches the bench.&lt;br /&gt;
&lt;br /&gt;
Widest point is 40cm, includes a bump for a starter motor which I don&#039;t believe the GS450h even has. Likely leftover to mate with the 2GR engine.&lt;br /&gt;
&lt;br /&gt;
Overall length including tailshaft, output flange, and pilot shaft, is 82cm.&lt;br /&gt;
&lt;br /&gt;
Transmission is tapered quite heavily, the width and height is closer to 25cm after the bellhousing, but hard to gauge due to various outcropping parts (motor cables, oil pump, PRNDL selector, etc)&lt;br /&gt;
&lt;br /&gt;
Weight is 128kg. Unknown if this is dry or filled. Likely partially filled. Unknown if this includes oil pump and cables.&lt;br /&gt;
&lt;br /&gt;
The input shaft pokes out 29mm from the general highest point of the back of the bell housing? (e.g. set a 20cm ruler there and measure from it)&lt;br /&gt;
&lt;br /&gt;
The taper at the tip of the shaft before the splines appear fully is 6mm long. (i.e. the length of the tip portion without proper splines)&lt;br /&gt;
&lt;br /&gt;
=== The Oil Pump ===&lt;br /&gt;
[[File:Oilpump.png|300x300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Connector - A55 Oil Pump Motor Controller 90980–12483.png|269x269px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Oil Pump.png|386x386px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Oil Pump2.png|400x400px]]&lt;br /&gt;
&lt;br /&gt;
The metal case is the ground.&lt;br /&gt;
&lt;br /&gt;
Black (pin 6) is PWM in from your controller.&lt;br /&gt;
&lt;br /&gt;
Brown (pin 7) is feedback from the oil pump. It&#039;s PWM. Do what you want with this or leave it disconnected.&lt;br /&gt;
&lt;br /&gt;
The fat blue wire (pin 5) is 12V power. The oil pump uses around 50A Max. So plan for that. Add your own relay to stop it draining your battery while the car is off.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The PWM for this is weird, it&#039;s not just 0-100. IIRC it is 0% at both ends, and rises to 100% near the middle, then back down again. This is just based on the sound of the pump with no load, so needs more testing to find the real values.&lt;br /&gt;
&lt;br /&gt;
Here is a list of compatible Toyota part numbers for the oil pump controller: G1167-30020&lt;br /&gt;
&lt;br /&gt;
===Oil Pump Hardware===&lt;br /&gt;
As per ggeter:&lt;br /&gt;
&amp;quot;For those, like me, who didn&#039;t get the pump with the transmission unit, here are the part numbers for bolts and (what appears to be a metal) gasket.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Bolts (4) 90080-10197 $2.76 ea&lt;br /&gt;
&lt;br /&gt;
Gasket (1) 35142-30010 $14&lt;br /&gt;
&lt;br /&gt;
The oil pump also contains 3 black rubber o-rings:&lt;br /&gt;
&lt;br /&gt;
1 x 55mm internal diameter, 2.5mm cross section (for the black outer cover)&lt;br /&gt;
&lt;br /&gt;
2 x 50mm internal diameter, 2.5mm cross section (between each &#039;layer&#039; of the pump housing).&lt;br /&gt;
&lt;br /&gt;
The oil pump motor cover is held onto the pump housing by 4 M5 x 16mm flanged screws.&lt;br /&gt;
&lt;br /&gt;
== Wiring Harness Connectors ==&lt;br /&gt;
Here are a list of connectors required for the GS450h transmission &amp;amp; inverter if you need/wish to build the harness for your build. (It is a good idea to find components with at least the connectors to build on. As some of the connectors are impossible to obtain)&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Inverter Connectors&lt;br /&gt;
!Connector&lt;br /&gt;
!Part No.&lt;br /&gt;
!Location&lt;br /&gt;
!&lt;br /&gt;
|-&lt;br /&gt;
|Inverter interface connector (A62) &lt;br /&gt;
|90980–12630&lt;br /&gt;
|Black connector on the side of the inverter. This connector is not sold anywhere to our knowledge.&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
A good alternative to this, otherwise difficult to obtain, connector is to replace the receptacle/header with the following parts from Molex:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Image&lt;br /&gt;
!Part No.&lt;br /&gt;
!Item&lt;br /&gt;
!Quantity&lt;br /&gt;
|-&lt;br /&gt;
|[[File:036638-0002.jpg|center|frameless|80x80px]]&lt;br /&gt;
|036638-0002&lt;br /&gt;
|CMC header connector 48pin&lt;br /&gt;
|1&lt;br /&gt;
|-&lt;br /&gt;
|[[File:064320-1311.jpg|center|frameless|80x80px]]&lt;br /&gt;
|064320-1311&lt;br /&gt;
|CMC receptacle 48pin&lt;br /&gt;
|1&lt;br /&gt;
|-&lt;br /&gt;
|[[File:064320-1301.jpg|center|frameless|80x80px]]&lt;br /&gt;
|064320-1301&lt;br /&gt;
|CMC wire cap&lt;br /&gt;
|1&lt;br /&gt;
|-&lt;br /&gt;
|[[File:064323-1039.jpg|center|frameless|80x80px]]&lt;br /&gt;
|064323-1039&lt;br /&gt;
|CP terminal&lt;br /&gt;
|4&lt;br /&gt;
|-&lt;br /&gt;
|[[File:064323-1029.jpg|center|frameless|80x80px]]&lt;br /&gt;
|064322-1039&lt;br /&gt;
|CP terminal&lt;br /&gt;
|32&lt;br /&gt;
|-&lt;br /&gt;
|[[File:064325-1010.jpg|center|frameless|80x80px]]&lt;br /&gt;
|064325-1010&lt;br /&gt;
|CMC plug&lt;br /&gt;
|8&lt;br /&gt;
|-&lt;br /&gt;
|[[File:064325-1023.jpg|center|frameless|80x80px]]&lt;br /&gt;
|064325-1023&lt;br /&gt;
|CMC plug&lt;br /&gt;
|4&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Transmission Connectors&lt;br /&gt;
!Connector&lt;br /&gt;
!Part No.&lt;br /&gt;
!Location&lt;br /&gt;
!&lt;br /&gt;
|-&lt;br /&gt;
|ECT Solenoid (E83) &lt;br /&gt;
|Sumitomo 6189-1092 &lt;br /&gt;
|Located on the left hand side of the transmission above the oil pan.&lt;br /&gt;
|[[File:Sumitomo 6189-1092.jpg|center|frameless|100x100px]]&lt;br /&gt;
|-&lt;br /&gt;
|Shift Lever Position Sensor (E80)&lt;br /&gt;
|Sumitomo 90980-12362 &lt;br /&gt;
|Located on the right side of the transmission next to the shift lever inhibitor switch.&lt;br /&gt;
|[[File:Sumitomo 90980-12362.png|center|frameless|100x100px]]&lt;br /&gt;
|-&lt;br /&gt;
|MG1 &amp;amp; MG2 Resolver(s) (E81 &amp;amp; E82) &lt;br /&gt;
|Sumitomo 6189-1240 &lt;br /&gt;
|Two connectors located on the left side of the transmission by the bell housing.&lt;br /&gt;
|[[File:Sumitomo 6189-1240.jpg|center|frameless|100x100px]]&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Oil Pump &amp;amp; Oil Pump Motor Controller&lt;br /&gt;
!Connector&lt;br /&gt;
!Part No.&lt;br /&gt;
!Location&lt;br /&gt;
!&lt;br /&gt;
|-&lt;br /&gt;
|Oil Pump Temperature Sensor&lt;br /&gt;
|Sumitomo 6189-0175&lt;br /&gt;
|The connector is the small 2-pin connector in the middle of the harness between the oil pump and controller&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|HVECU -&amp;gt; Oil Pump Controller (A52)&lt;br /&gt;
|&lt;br /&gt;
|Single large (7-way) connector on the side of the oil pump controller&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Control Board==&lt;br /&gt;
&#039;&#039;NOTE: this info refers to a deprecated version of the VCU, not the Zombieverter&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
An open-source VCU, designed by Damien Maguire, can be purchased as both partially populated and fully populated and tested boards on his website:&lt;br /&gt;
&lt;br /&gt;
[https://www.evbmw.com/index.php/evbmw-webshop/toyota-partially-built-boards-copy/lexus-gs450h-vcm-partial Lexus GS450H VCM Partially Built]&lt;br /&gt;
[[File:Transmission.png|thumb|147x147px|GS450h transmission and oil pump temperature sensor]]&lt;br /&gt;
[https://www.evbmw.com/index.php/evbmw-webshop/toyota-built-and-tested-boards/gs450h-vcm-fully-built-and-tested Lexus GS450H VCM Fully Built and Tested]&lt;br /&gt;
&lt;br /&gt;
The VCU is an external unit that will not fit within the GS450h inverter housing. It does not replace the GS450h inverter control board, instead it interfaces with it over USART.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A full schematic for the system can be found at [https://openinverter.org/forum/viewtopic.php?p=12105#p12105 this link] &lt;br /&gt;
&lt;br /&gt;
Note that in addition to the VCU, inverter and transmission, a specific canbus connected shunt (ISA shunt) is required: [[Isabellenhütte Heusler]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For those who have purchased the fully built board, the mating connectors for the VCU are Molex parts:&lt;br /&gt;
* 33472-2002 (Left side, grey in colour)&lt;br /&gt;
&lt;br /&gt;
* 33472-2001 (Right side, black in colour)&lt;br /&gt;
* 33012-2002 (Crimp terminals)&lt;br /&gt;
* 5810130065 (Enclosure)&lt;br /&gt;
For partially populated board, these additional parts are required:&lt;br /&gt;
* 5810140011 (Header, 40 Pos)&lt;br /&gt;
* 75867-101LF (CONN1, Header for WiFi module)&lt;br /&gt;
* 5787834-1 (CONN2, USB 2.0 receptacle)&lt;br /&gt;
* TR10S05 (IC10, 5V DC/DC converter)&lt;br /&gt;
These parts are available from many electronics distributors.&lt;br /&gt;
&lt;br /&gt;
== VCU Firmware ==&lt;br /&gt;
Firmware to run on the VCU is available on Github : https://github.com/damienmaguire/Lexus-GS450H-Inverter-Controller&lt;br /&gt;
&lt;br /&gt;
This guide relates to V3.01 available here on Github : https://github.com/damienmaguire/Lexus-GS450H-Inverter-Controller/blob/master/Software/gs450h_v3_user.ino&lt;br /&gt;
&lt;br /&gt;
A video tutorial to accompany this guide and firmware is available here :https://vimeo.com/501777258 &lt;br /&gt;
&lt;br /&gt;
In order to aid those not familiar with programming, a new firmware with a basic serial interface is now available. This will be the default loaded onto all VCU boards sold on the EVBMW webshop as of 18/01/21.&lt;br /&gt;
&lt;br /&gt;
This firmware is intended as a stop gap measure before a new Openinverter based version with a web based interface becomes available. (expect mid 2021).&lt;br /&gt;
&lt;br /&gt;
Instruction for use :&lt;br /&gt;
&lt;br /&gt;
Connect a USB cable between the VCU and a PC.&lt;br /&gt;
&lt;br /&gt;
Using a serial terminal program of your choice, connect at 115200,8,N,1.&lt;br /&gt;
&lt;br /&gt;
Once connected, type ? and press enter. The following menu should then display :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;=========== EVBMW GS450H VCU Version 3.01 ==============&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;************&amp;lt;/nowiki&amp;gt; List of Available Commands ************&lt;br /&gt;
&lt;br /&gt;
  ?  - Print this menu&lt;br /&gt;
&lt;br /&gt;
  d - Print received data from inverter&lt;br /&gt;
&lt;br /&gt;
  D - Print configuration data&lt;br /&gt;
&lt;br /&gt;
  f  - Calibrate minimum throttle.&lt;br /&gt;
&lt;br /&gt;
  g  - Calibrate maximum throttle.&lt;br /&gt;
&lt;br /&gt;
  i  - Set max drive torque (0-3500) e.g. typing i200 followed by enter sets max drive torque to 200&lt;br /&gt;
&lt;br /&gt;
  q  - Set max reverse torque (0-3500) e.g. typing q200 followed by enter sets max reverse torque to 200&lt;br /&gt;
&lt;br /&gt;
  v  - Set gearbox oil pump speed (0-100%) e.g. typing v50 followed by enter sets oil pump to 50% speed&lt;br /&gt;
&lt;br /&gt;
  a  - Select LOW gear.&lt;br /&gt;
&lt;br /&gt;
  s  - Select HIGH gear.&lt;br /&gt;
&lt;br /&gt;
  z  - Save configuration data to EEPROM memory&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;**************************************************************&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The menu system allows for the display of data from both the VCU, GS450H Inverter and gearbox as well as setting of parameters such as throttle calibration and maximum torque.&lt;br /&gt;
&lt;br /&gt;
To select a menu option type its associated character followed by enter.&lt;br /&gt;
&lt;br /&gt;
? Will display the menu.&lt;br /&gt;
&lt;br /&gt;
d Displays data from the inverter in this format :&lt;br /&gt;
&lt;br /&gt;
   0    1    2    3    4    5    6    7    8    9 &lt;br /&gt;
&lt;br /&gt;
  ------------------------------------------------------------------------------ &lt;br /&gt;
&lt;br /&gt;
00 |                                            0    0    &lt;br /&gt;
&lt;br /&gt;
10 |    0    0              0    0    0    0    0    0    &lt;br /&gt;
&lt;br /&gt;
20 |    0    0    0    0    0    0    0    0    0    0    &lt;br /&gt;
&lt;br /&gt;
30 |    0              0    0    0    0              0    &lt;br /&gt;
&lt;br /&gt;
40 |    0    0              0    0    0    0    0    0    &lt;br /&gt;
&lt;br /&gt;
50 |    0    0    0    0    0                             &lt;br /&gt;
&lt;br /&gt;
60 |                                                      &lt;br /&gt;
&lt;br /&gt;
70 |                                                      &lt;br /&gt;
&lt;br /&gt;
80 |    0    0              0    0              0    0    &lt;br /&gt;
&lt;br /&gt;
90 |    0    0    0    0    0    0    0    0              &lt;br /&gt;
&lt;br /&gt;
MTH Valid: Yes    Checksum: 0&lt;br /&gt;
&lt;br /&gt;
DC Bus: ----v&lt;br /&gt;
&lt;br /&gt;
MG1 - Speed: 0rpm    Position: 0&lt;br /&gt;
&lt;br /&gt;
MG2 - Speed: 0rpm    Position: 0&lt;br /&gt;
&lt;br /&gt;
Water Temp:    0.00c&lt;br /&gt;
&lt;br /&gt;
Inductor Temp:    0.00c&lt;br /&gt;
&lt;br /&gt;
Another Temp:    0c&lt;br /&gt;
&lt;br /&gt;
Another Temp:    0c&lt;br /&gt;
&lt;br /&gt;
D (capital or large D) displays VCU configuration data as well as information on the Gearbox status in this format :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;***************************************************************************************************&amp;lt;/nowiki&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Throttle Channel 1: 109 &lt;br /&gt;
&lt;br /&gt;
Throttle Channel 2: 53 &lt;br /&gt;
&lt;br /&gt;
Commanded Torque: 0 &lt;br /&gt;
&lt;br /&gt;
Selected Direction: DRIVE &lt;br /&gt;
&lt;br /&gt;
Selected Gear: HIGH &lt;br /&gt;
&lt;br /&gt;
Configured Max Drive Torque: 600 &lt;br /&gt;
&lt;br /&gt;
Configured Max Reverse Torque: 300 &lt;br /&gt;
&lt;br /&gt;
Configured gearbox oil pump speed: 40 &lt;br /&gt;
&lt;br /&gt;
Current valve positions:  &lt;br /&gt;
&lt;br /&gt;
PB1:ON &lt;br /&gt;
&lt;br /&gt;
PB2:ON &lt;br /&gt;
&lt;br /&gt;
PB3:ON &lt;br /&gt;
&lt;br /&gt;
MG1 Stator temp: 109.69 &lt;br /&gt;
&lt;br /&gt;
MG2 Stator temp: 109.69 &lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;***************************************************************************************************&amp;lt;/nowiki&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Throttle calibration procedure :&lt;br /&gt;
&lt;br /&gt;
Set your throttle, be it a pedal or potentiometer or other, to the position of desired zero throttle.&lt;br /&gt;
&lt;br /&gt;
Type f and press enter. A response like this will display:&lt;br /&gt;
&lt;br /&gt;
Configured min throttle value: 109 &lt;br /&gt;
&lt;br /&gt;
Now press or advance the throttle to the desired position of maximum throttle.&lt;br /&gt;
&lt;br /&gt;
Type g and press enter. A response like this will display:&lt;br /&gt;
&lt;br /&gt;
Configured max throttle value: 633 &lt;br /&gt;
&lt;br /&gt;
The throttle calibration is now complete.&lt;br /&gt;
&lt;br /&gt;
Next we want to set the maximum allowed drive and reverse torque values. The GS450H inverter will accept a value of between 0 and 3500 for torque.&lt;br /&gt;
&lt;br /&gt;
for initial bench and vehicle testing it is advisable to limit these to low values. In this example we will set drive torque to 500 and reverse torque to 300.&lt;br /&gt;
&lt;br /&gt;
First, drive torque:&lt;br /&gt;
&lt;br /&gt;
Type i500 followed by enter. A response like this will display:&lt;br /&gt;
&lt;br /&gt;
Configured drive torque: 500 &lt;br /&gt;
&lt;br /&gt;
Now reverse torque:&lt;br /&gt;
&lt;br /&gt;
Type q250 followed by enter. A response like this will display:&lt;br /&gt;
&lt;br /&gt;
Configured reverse torque: 250 &lt;br /&gt;
&lt;br /&gt;
Torque calibration is now complete.&lt;br /&gt;
&lt;br /&gt;
At this point it is advised to store the now configured values to EEPROM (non volatile memory) by typing z followed by enter. A response like this will display:&lt;br /&gt;
&lt;br /&gt;
Parameters stored to EEPROM&lt;br /&gt;
&lt;br /&gt;
An option is provided to set the speed in % (0 to 100%) for the electric gearbox oilpump. In this example we set the speed to 50% :&lt;br /&gt;
&lt;br /&gt;
Type v50 followed by enter. A response like this will display:&lt;br /&gt;
&lt;br /&gt;
Configured gearbox oil pump speed: 50&lt;br /&gt;
&lt;br /&gt;
I have found in testing on the E65 that 50% is a good value for keeping oil pressure up , providing cooling etc without running the pump too hard. Your millage may vary.&lt;br /&gt;
&lt;br /&gt;
An option is provided to shift between LOW and HIGH gear in the GS450H gearbox. Shifts are inhibited at MG1 or MG2 speeds above 100rpm for safety at this time.&lt;br /&gt;
&lt;br /&gt;
To select LOW gear type a and press enter. A response like this will display:&lt;br /&gt;
&lt;br /&gt;
LOW Gear Selected &lt;br /&gt;
&lt;br /&gt;
To select HIGH gear type s and press enter. A response like this will display:&lt;br /&gt;
&lt;br /&gt;
HIGH Gear Selected&lt;br /&gt;
&lt;br /&gt;
It is advised to leave HIGH gear selected always at this time until further testing and development has been completed.&lt;br /&gt;
&lt;br /&gt;
Finally, store all parameters to EEPROM once more by typing z and press enter. A response like this will display:&lt;br /&gt;
&lt;br /&gt;
Parameters stored to EEPROM&lt;br /&gt;
&lt;br /&gt;
Selecting Direction.&lt;br /&gt;
&lt;br /&gt;
The firmware supports the use of the IN1 and IN2 pins of the V2 VCU as direction control inputs. Operation is as follows :&lt;br /&gt;
&lt;br /&gt;
If both inputs are unconnected, NEUTRAL is selected. In neutral , no torque commands are transmitted to the inverter regardless of throttle application. &lt;br /&gt;
&lt;br /&gt;
If IN1is connected to +12v , DRIVE is selected. In drive both MG1 and MG2 provide torque in a forward direction to the gearbox output shaft.&lt;br /&gt;
&lt;br /&gt;
If IN2 is connected to +12v , REVERSE is selected. In reverse only MG2 provides torque in a reverse direction to the gearbox output shaft.&lt;br /&gt;
&lt;br /&gt;
Currently this &amp;quot;simple&amp;quot; firmware does not support contactor control. This may be provided in a later version.&lt;br /&gt;
&lt;br /&gt;
WiFi Display.&lt;br /&gt;
&lt;br /&gt;
A wifi web browser based display is provided in order to easily visualise data from the inverter and gearbox.&lt;br /&gt;
&lt;br /&gt;
Once powered, the wifi module will create an open access point with an ssid like ESP-XXXX where XXXX will be a series of letters and numbers. &lt;br /&gt;
&lt;br /&gt;
Connect to this access point with any wifi enabled device (e.g. laptop, tablet, phone etc).&lt;br /&gt;
&lt;br /&gt;
Some modern devices will try to access the internet, not find it, and pop up a warning. Dismiss this and open a web browser.&lt;br /&gt;
&lt;br /&gt;
Type 192.168.4.1 into the address bar and press enter. Again, some modern devices and browsers will complain that it is not a secure connection etc. Just dismiss the warning and proceed.&lt;br /&gt;
&lt;br /&gt;
After a few seconds the web gauge display will appear.&lt;br /&gt;
&lt;br /&gt;
Note that the voltage display is derived from the voltage reported by the inverter and both current (amps) and power (kw) gauges are inoperative as of this release.&lt;br /&gt;
&lt;br /&gt;
You may wish to change the ssid and add a passphrase to the access point. To do this goto : 192.168.4.1/admin&lt;br /&gt;
&lt;br /&gt;
A simple set of dialog boxes will allow the ssid, passphrase and background colour of the gauge display to be set.&lt;br /&gt;
&lt;br /&gt;
==Development History==&lt;br /&gt;
V1 - This board was sold tested but also as a bare logic board requiring purchase of your own components and SMD placement and soldering skills. https://www.evbmw.com/index.php/evbmw-webshop/toyota-bare-boards/gs450h-bare-pcb&lt;br /&gt;
&lt;br /&gt;
V2 - A new board source was found to be both high quality and low cost. The boards were redesigned around the inventory of parts available from this supplier. In particular the high cost of populated and soldered boards (10x the price) from the source used to make the v1 boards is so significantly lower on the v2 that there are likely no savings by building and soldering the board yourself. Software is still in development.&lt;br /&gt;
==Vendors==&lt;br /&gt;
 There are currently no vendors who offer support on any aspects of the GS450h VCU.&lt;br /&gt;
==Support==&lt;br /&gt;
Community support is available on the [https://openinverter.org/forum/viewtopic.php?f=14&amp;amp;t=396 Lexus GS450H VCU Support Thread]&lt;/div&gt;</summary>
		<author><name>Et0</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:Image.png&amp;diff=1880</id>
		<title>File:Image.png</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:Image.png&amp;diff=1880"/>
		<updated>2021-10-19T15:34:02Z</updated>

		<summary type="html">&lt;p&gt;Et0: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Picture showing main connections&lt;/div&gt;</summary>
		<author><name>Et0</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1878</id>
		<title>ZombieVerter VCU</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1878"/>
		<updated>2021-10-14T20:20:01Z</updated>

		<summary type="html">&lt;p&gt;Et0: &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;
&#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;
&amp;lt;youtube&amp;gt;https://www.youtube.com/watch?v=geZuIbGHh30&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that in addition to the VCU, the inverter and transmission, you will require a specific canbus connected shunt: [[Isabellenhütte Heusler]]&lt;br /&gt;
&lt;br /&gt;
Wiring information for the system, connector pinouts etc can be found here: [[Lexus GS450h Inverter]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Pin Out Diagram&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:ZombieVerter VCU V1 cable side pinout.jpg|thumb|alt=|VCU pinout diagram |none]]&lt;br /&gt;
[[File:Zomb-con-et.png|link=link=Special:FilePath/Zomb-con-et.png|alt=|none|thumb|332x332px|List of connections to system components]]&lt;br /&gt;
&lt;br /&gt;
&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;
==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>Et0</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1877</id>
		<title>ZombieVerter VCU</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1877"/>
		<updated>2021-10-14T16:18:46Z</updated>

		<summary type="html">&lt;p&gt;Et0: /* 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 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;
&#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;
&amp;lt;youtube&amp;gt;https://www.youtube.com/watch?v=geZuIbGHh30&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that in addition to the VCU, the inverter and transmission, you will require a specific canbus connected shunt: [[Isabellenhütte Heusler]]&lt;br /&gt;
&lt;br /&gt;
Wiring information for the system, connector pinouts etc can be found here: [[Lexus GS450h Inverter]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Pin Out Diagram&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:ZombieVerter VCU V1 cable side pinout.jpg|thumb|alt=|VCU pinout diagram ]]&lt;br /&gt;
[[File:Zomb-con-et.png|thumb|List of connection|link=Special:FilePath/Zomb-con-et.png|alt=|none|33x33px]]&lt;br /&gt;
&lt;br /&gt;
&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;
==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>Et0</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1876</id>
		<title>ZombieVerter VCU</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1876"/>
		<updated>2021-10-14T16:15:37Z</updated>

		<summary type="html">&lt;p&gt;Et0: /* added connection schema */&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;
&#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;
&amp;lt;youtube&amp;gt;https://www.youtube.com/watch?v=geZuIbGHh30&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that in addition to the VCU, the inverter and transmission, you will require a specific canbus connected shunt: [[Isabellenhütte Heusler]]&lt;br /&gt;
&lt;br /&gt;
Wiring information for the system, connector pinouts etc can be found here: [[Lexus GS450h Inverter]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Pin Out Diagram&#039;&#039;&#039;&lt;br /&gt;
[[File:ZombieVerter VCU V1 cable side pinout.jpg|thumb|alt=|VCU pinout diagram ]]&lt;br /&gt;
[[File:Zomb-con-et.png|border|left|thumb|List of connections and connector reference]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&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;
==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>Et0</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:Zomb-con-et.png&amp;diff=1875</id>
		<title>File:Zomb-con-et.png</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:Zomb-con-et.png&amp;diff=1875"/>
		<updated>2021-10-14T16:13:34Z</updated>

		<summary type="html">&lt;p&gt;Et0: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;List of connections and connector reference&lt;/div&gt;</summary>
		<author><name>Et0</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1873</id>
		<title>ZombieVerter VCU</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1873"/>
		<updated>2021-10-12T15:13:30Z</updated>

		<summary type="html">&lt;p&gt;Et0: /* 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 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;
&#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;
&amp;lt;youtube&amp;gt;https://www.youtube.com/watch?v=geZuIbGHh30&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that in addition to the VCU, the inverter and transmission, you will require a specific canbus connected shunt: [[Isabellenhütte Heusler]]&lt;br /&gt;
&lt;br /&gt;
Wiring information for the system, connector pinouts etc can be found here: [[Lexus GS450h Inverter]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Pin Out Diagram&#039;&#039;&#039;&lt;br /&gt;
[[File:ZombieVerter VCU V1 cable side pinout.jpg|thumb|alt=|VCU pinout diagram ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&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;
==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>Et0</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1872</id>
		<title>ZombieVerter VCU</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=1872"/>
		<updated>2021-10-12T15:13:07Z</updated>

		<summary type="html">&lt;p&gt;Et0: /* Links to wiring diagrams and shunts */&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;
&#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;
&amp;lt;youtube&amp;gt;https://www.youtube.com/watch?v=geZuIbGHh30&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that in addition to the VCU, the inverter and transmission, you will require a specific canbus connected shunt: [[Isabellenhütte Heusler]]&lt;br /&gt;
&lt;br /&gt;
Wiring information for the system can be found here: [[Lexus GS450h Inverter]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Pin Out Diagram&#039;&#039;&#039;&lt;br /&gt;
[[File:ZombieVerter VCU V1 cable side pinout.jpg|thumb|alt=|VCU pinout diagram ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&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;
==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>Et0</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Lexus_GS450h_Drivetrain&amp;diff=1871</id>
		<title>Lexus GS450h Drivetrain</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Lexus_GS450h_Drivetrain&amp;diff=1871"/>
		<updated>2021-10-12T15:08:12Z</updated>

		<summary type="html">&lt;p&gt;Et0: /* Control Board */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Inverter connector.png|thumb|GS450h inverter external connector|187x187px]]&lt;br /&gt;
&#039;&#039;&#039;update:&#039;&#039;&#039; the dedicated gs450h VCU is now replaced with the [[ZombieVerter VCU|zombierverter]]. the general premise of control is the same.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Lexus GS450h VCU is an open source project to repurpose 2006-2012 Lexus GS450h inverters for DIY EV use. It consists of a circuit board and programming that communicates with the original logic board in the inverter and allows independent control of it without communicating with a GS450h ECU.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; Toyota Camry hybrid (NAFTA market) use a variety of similar inverter models with similar logic boards.  Independent tests are ongoing to verify which (if any) will offer functionally with the GS450h platform.  At present data has not been sufficiently collected to verify which specific Camry inverters do or do not work for this application. &lt;br /&gt;
&lt;br /&gt;
== GS450h Inverter ==&lt;br /&gt;
&lt;br /&gt;
The Lexus GS450h is a hybrid vehicle. Their inverters are suitable and attractive for DIY EVs because of:&lt;br /&gt;
* Good availability and price - an inverter and &amp;quot;transmission&amp;quot; can generally be purchased for less than £/€1000.&lt;br /&gt;
* Durability. Toyota engineers appear to have made the inverters foolproof, many inputs and outputs gracefully handle fault conditions.&lt;br /&gt;
&lt;br /&gt;
* Respectable performance. Rated for a combined 250kW output.&lt;br /&gt;
* Ease of repurposing. Emulating the original ECU seems reasonably feasible. The transmission is a similar size and layout to many RWD transmissions.&lt;br /&gt;
The Lexus GS450h (2006-2012 model years) has a variety of useful components inside the inverter package:&lt;br /&gt;
[[File:Toyota Camry Inverter external connector.png|thumb|204x204px|Toyota Camry Inverter external connector]]&lt;br /&gt;
* Two high power inverters, for the 2 motors MG1 capable of handling X(?) amps, and MG2 capable of handling Y(?) amps.&lt;br /&gt;
* A boost module to boost the 288v battery pack up to 650v as used in the Lexus (Note that voltages this high are not required for EV conversions).&lt;br /&gt;
&lt;br /&gt;
For technical analysis of this unit, see pages 14-47 of this document: &amp;lt;nowiki&amp;gt;https://www.osti.gov/servlets/purl/928684&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The inverter is capable of running at full speeds on pack voltages from approx 280V upwards. The maximum allowable input voltage is 650V, so far, many have found that &amp;quot;standard&amp;quot; EV voltages of 300V-360V to be well suited.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;u&amp;gt;Note that even thouigh the inverter maximum voltage rating is 650V, a 650V battery pack is not required to run this unit. It is capable of excellent performance at lower voltages, such as the typical 300V-360V found in most EVs. However, there is the opportunity to use larger packs with this unit if required in your application.&amp;lt;/u&amp;gt;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Should a higher voltage pack be chosen in your application for any reason, the buck/boost converter can be used to power auxiliary equipment at its native voltage.&lt;br /&gt;
&lt;br /&gt;
Weight: 40 LBs&lt;br /&gt;
&lt;br /&gt;
Dimensions: 14&amp;quot; x 9-1/2&amp;quot; x 8-1/2&amp;quot;&lt;br /&gt;
== GS450h Converter ==&lt;br /&gt;
A buck/boost converter lives within the inverter housing, originally this is used to step up the 288V battery pack in the GS450h to the 650V for use in the inverter in the GS. (Note that this does not mean the inverter requires 650V to run, it is simply a maximum rating) For those using a 600+V battery pack, this converter can be used to step the voltage down to a more reasonable level to interface with charfgers, DCDC converters, heaters, AC compressors, and other components which can be found in &amp;quot;regular&amp;quot; EV&#039;s (Tesla, Leaf, Volt, etc).&lt;br /&gt;
&lt;br /&gt;
This unit is rated at 30kW, making it unsuitable for traction power, but good for auxiliary devices.&lt;br /&gt;
&lt;br /&gt;
Details on how to control the converter are here: https://openinverter.org/forum/viewtopic.php?f=14&amp;amp;t=538&lt;br /&gt;
&lt;br /&gt;
For technical analysis of this unit, see pages 14-47 of this document: &amp;lt;nowiki&amp;gt;https://www.osti.gov/servlets/purl/928684&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== GS450h Transmission ==&lt;br /&gt;
[[File:Inverter.png|thumb|213x213px|GS450h inverter]]&lt;br /&gt;
For technical analysis of this transmission, see pages 46 onwards of this document: https://www.osti.gov/servlets/purl/947393&lt;br /&gt;
&lt;br /&gt;
The transmission contains two &amp;quot;Motor-Generator&amp;quot; units. MG1 sits at the front of the transmission, and interfaces with the internal combustion engine through a planetary gear set. For this reason, to obtain torque from MG1, the input shaft of the transmission must be locked in place. This is usually done using a splined coupler, which is then welded onto the transmission front mount.&lt;br /&gt;
&lt;br /&gt;
The input shaft on the transmission has 21 splines, with a 28mm major diameter. It is believed that there are several Toyota clutches which will have this in their centre. The original GS450h flywheel and coupler also contains the appropriate slined centre, of course.&lt;br /&gt;
&lt;br /&gt;
The fluid fill port is the banjo bolt for the upper transmission cooler hose. The specified fluid is &amp;quot;Toyota WS&amp;quot; ATF.&lt;br /&gt;
&lt;br /&gt;
It is a good idea to replace the two bearings in the electric oil pump before fitting a used transmission. There is a guide [http://carlthomas66.blogspot.com/2016/03/lexus-gs450h-transmission-oil-pump.html here]. Bearing part numbers are 61900-2Z and 608-2Z, you will need one of each.&lt;br /&gt;
&lt;br /&gt;
The shift position lever on the right-hand side of the transmission engages the parking pawl when in the &amp;quot;all-the-way-back&amp;quot; position. All other positions disengage this pawl. The R, N, D, M positions only affect the output of the shift position sensor.&lt;br /&gt;
&lt;br /&gt;
Note the following when purchasing the transmission:&lt;br /&gt;
[[File:Shift position.png|thumb|154x154px|GS450h shift position sensor]]&lt;br /&gt;
* It is recommended to purchase one which has the electric oil pump fitted - these are a costly item as the bearings in them often fail, in some cases they cost more than the transmission.&lt;br /&gt;
* It is recommended to purchase a transmission which includes the wiring harness, or at least off-cuts of the connectors. Some connectors may be unavailable for purchase. There is a thread [https://openinverter.org/forum/viewtopic.php?f=14&amp;amp;t=271 here] which covers the connectors on this transmission.&lt;br /&gt;
&lt;br /&gt;
=== Dimensions ===&lt;br /&gt;
Overall height (oil pan to top of bellhousing) is 39cm. Bell housing is full height, i.e. 39cm diameter, when the transmission is sitting on its oil pan (as it is on my bench), the bellhousing still just about touches the bench.&lt;br /&gt;
&lt;br /&gt;
Widest point is 40cm, includes a bump for a starter motor which I don&#039;t believe the GS450h even has. Likely leftover to mate with the 2GR engine.&lt;br /&gt;
&lt;br /&gt;
Overall length including tailshaft, output flange, and pilot shaft, is 82cm.&lt;br /&gt;
&lt;br /&gt;
Transmission is tapered quite heavily, the width and height is closer to 25cm after the bellhousing, but hard to gauge due to various outcropping parts (motor cables, oil pump, PRNDL selector, etc)&lt;br /&gt;
&lt;br /&gt;
Weight is 128kg. Unknown if this is dry or filled. Likely partially filled. Unknown if this includes oil pump and cables.&lt;br /&gt;
&lt;br /&gt;
The input shaft pokes out 29mm from the general highest point of the back of the bell housing? (e.g. set a 20cm ruler there and measure from it)&lt;br /&gt;
&lt;br /&gt;
The taper at the tip of the shaft before the splines appear fully is 6mm long. (i.e. the length of the tip portion without proper splines)&lt;br /&gt;
&lt;br /&gt;
=== The Oil Pump ===&lt;br /&gt;
[[File:Oilpump.png|300x300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Connector - A55 Oil Pump Motor Controller 90980–12483.png|269x269px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Oil Pump.png|386x386px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Oil Pump2.png|400x400px]]&lt;br /&gt;
&lt;br /&gt;
The metal case is the ground.&lt;br /&gt;
&lt;br /&gt;
Black (pin 6) is PWM in from your controller.&lt;br /&gt;
&lt;br /&gt;
Brown (pin 7) is feedback from the oil pump. It&#039;s PWM. Do what you want with this or leave it disconnected.&lt;br /&gt;
&lt;br /&gt;
The fat blue wire (pin 5) is 12V power. The oil pump uses around 50A Max. So plan for that. Add your own relay to stop it draining your battery while the car is off.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The PWM for this is weird, it&#039;s not just 0-100. IIRC it is 0% at both ends, and rises to 100% near the middle, then back down again. This is just based on the sound of the pump with no load, so needs more testing to find the real values.&lt;br /&gt;
&lt;br /&gt;
Here is a list of compatible Toyota part numbers for the oil pump controller: G1167-30020&lt;br /&gt;
&lt;br /&gt;
===Oil Pump Hardware===&lt;br /&gt;
As per ggeter:&lt;br /&gt;
&amp;quot;For those, like me, who didn&#039;t get the pump with the transmission unit, here are the part numbers for bolts and (what appears to be a metal) gasket.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Bolts (4) 90080-10197 $2.76 ea&lt;br /&gt;
&lt;br /&gt;
Gasket (1) 35142-30010 $14&lt;br /&gt;
&lt;br /&gt;
The oil pump also contains 3 black rubber o-rings:&lt;br /&gt;
&lt;br /&gt;
1 x 55mm internal diameter, 2.5mm cross section (for the black outer cover)&lt;br /&gt;
&lt;br /&gt;
2 x 50mm internal diameter, 2.5mm cross section (between each &#039;layer&#039; of the pump housing).&lt;br /&gt;
&lt;br /&gt;
The oil pump motor cover is held onto the pump housing by 4 M5 x 16mm flanged screws.&lt;br /&gt;
&lt;br /&gt;
== Wiring Harness Connectors ==&lt;br /&gt;
Here are a list of connectors required for the GS450h transmission &amp;amp; inverter if you need/wish to build the harness for your build. (It is a good idea to find components with at least the connectors to build on. As some of the connectors are impossible to obtain)&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Inverter Connectors&lt;br /&gt;
!Connector&lt;br /&gt;
!Part No.&lt;br /&gt;
!Location&lt;br /&gt;
!&lt;br /&gt;
|-&lt;br /&gt;
|Inverter interface connector (A62) &lt;br /&gt;
|90980–12630&lt;br /&gt;
|Black connector on the side of the inverter. This connector is not sold anywhere to our knowledge.&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
A good alternative to this, otherwise difficult to obtain, connector is to replace the receptacle/header with the following parts from Molex:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Image&lt;br /&gt;
!Part No.&lt;br /&gt;
!Item&lt;br /&gt;
!Quantity&lt;br /&gt;
|-&lt;br /&gt;
|[[File:036638-0002.jpg|center|frameless|80x80px]]&lt;br /&gt;
|036638-0002&lt;br /&gt;
|CMC header connector 48pin&lt;br /&gt;
|1&lt;br /&gt;
|-&lt;br /&gt;
|[[File:064320-1311.jpg|center|frameless|80x80px]]&lt;br /&gt;
|064320-1311&lt;br /&gt;
|CMC receptacle 48pin&lt;br /&gt;
|1&lt;br /&gt;
|-&lt;br /&gt;
|[[File:064320-1301.jpg|center|frameless|80x80px]]&lt;br /&gt;
|064320-1301&lt;br /&gt;
|CMC wire cap&lt;br /&gt;
|1&lt;br /&gt;
|-&lt;br /&gt;
|[[File:064323-1039.jpg|center|frameless|80x80px]]&lt;br /&gt;
|064323-1039&lt;br /&gt;
|CP terminal&lt;br /&gt;
|4&lt;br /&gt;
|-&lt;br /&gt;
|[[File:064323-1029.jpg|center|frameless|80x80px]]&lt;br /&gt;
|064322-1039&lt;br /&gt;
|CP terminal&lt;br /&gt;
|32&lt;br /&gt;
|-&lt;br /&gt;
|[[File:064325-1010.jpg|center|frameless|80x80px]]&lt;br /&gt;
|064325-1010&lt;br /&gt;
|CMC plug&lt;br /&gt;
|8&lt;br /&gt;
|-&lt;br /&gt;
|[[File:064325-1023.jpg|center|frameless|80x80px]]&lt;br /&gt;
|064325-1023&lt;br /&gt;
|CMC plug&lt;br /&gt;
|4&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Transmission Connectors&lt;br /&gt;
!Connector&lt;br /&gt;
!Part No.&lt;br /&gt;
!Location&lt;br /&gt;
!&lt;br /&gt;
|-&lt;br /&gt;
|ECT Solenoid (E83) &lt;br /&gt;
|Sumitomo 6189-1092 &lt;br /&gt;
|Located on the left hand side of the transmission above the oil pan.&lt;br /&gt;
|[[File:Sumitomo 6189-1092.jpg|center|frameless|100x100px]]&lt;br /&gt;
|-&lt;br /&gt;
|Shift Lever Position Sensor (E80)&lt;br /&gt;
|Sumitomo 90980-12362 &lt;br /&gt;
|Located on the right side of the transmission next to the shift lever inhibitor switch.&lt;br /&gt;
|[[File:Sumitomo 90980-12362.png|center|frameless|100x100px]]&lt;br /&gt;
|-&lt;br /&gt;
|MG1 &amp;amp; MG2 Resolver(s) (E81 &amp;amp; E82) &lt;br /&gt;
|Sumitomo 6189-1240 &lt;br /&gt;
|Two connectors located on the left side of the transmission by the bell housing.&lt;br /&gt;
|[[File:Sumitomo 6189-1240.jpg|center|frameless|100x100px]]&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Oil Pump &amp;amp; Oil Pump Motor Controller&lt;br /&gt;
!Connector&lt;br /&gt;
!Part No.&lt;br /&gt;
!Location&lt;br /&gt;
!&lt;br /&gt;
|-&lt;br /&gt;
|Oil Pump Temperature Sensor&lt;br /&gt;
|Sumitomo 6189-0175&lt;br /&gt;
|The connector is the small 2-pin connector in the middle of the harness between the oil pump and controller&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|HVECU -&amp;gt; Oil Pump Controller (A52)&lt;br /&gt;
|&lt;br /&gt;
|Single large (7-way) connector on the side of the oil pump controller&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Control Board==&lt;br /&gt;
&#039;&#039;NOTE: this info refers to a deprecated version of the VCU, not the Zombieverter&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
An open-source VCU, designed by Damien Maguire, can be purchased as both partially populated and fully populated and tested boards on his website:&lt;br /&gt;
&lt;br /&gt;
[https://www.evbmw.com/index.php/evbmw-webshop/toyota-partially-built-boards-copy/lexus-gs450h-vcm-partial Lexus GS450H VCM Partially Built]&lt;br /&gt;
[[File:Transmission.png|thumb|147x147px|GS450h transmission and oil pump temperature sensor]]&lt;br /&gt;
[https://www.evbmw.com/index.php/evbmw-webshop/toyota-built-and-tested-boards/gs450h-vcm-fully-built-and-tested Lexus GS450H VCM Fully Built and Tested]&lt;br /&gt;
&lt;br /&gt;
The VCU is an external unit that will not fit within the GS450h inverter housing. It does not replace the GS450h inverter control board, instead it interfaces with it over USART.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A full schematic for the system can be found at [https://openinverter.org/forum/viewtopic.php?p=12105#p12105 this link] &lt;br /&gt;
&lt;br /&gt;
Note that in addition to the VCU, inverter and transmission, a specific canbus connected shunt (ISA shunt) is required: [[Isabellenhütte Heusler]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For those who have purchased the fully built board, the mating connectors for the VCU are Molex parts:&lt;br /&gt;
* 33472-2002 (Left side, grey in colour)&lt;br /&gt;
&lt;br /&gt;
* 33472-2001 (Right side, black in colour)&lt;br /&gt;
* 33012-2002 (Crimp terminals)&lt;br /&gt;
* 5810130065 (Enclosure)&lt;br /&gt;
For partially populated board, these additional parts are required:&lt;br /&gt;
* 5810140011 (Header, 40 Pos)&lt;br /&gt;
* 75867-101LF (CONN1, Header for WiFi module)&lt;br /&gt;
* 5787834-1 (CONN2, USB 2.0 receptacle)&lt;br /&gt;
* TR10S05 (IC10, 5V DC/DC converter)&lt;br /&gt;
These parts are available from many electronics distributors.&lt;br /&gt;
&lt;br /&gt;
== VCU Firmware ==&lt;br /&gt;
Firmware to run on the VCU is available on Github : https://github.com/damienmaguire/Lexus-GS450H-Inverter-Controller&lt;br /&gt;
&lt;br /&gt;
This guide relates to V3.01 available here on Github : https://github.com/damienmaguire/Lexus-GS450H-Inverter-Controller/blob/master/Software/gs450h_v3_user.ino&lt;br /&gt;
&lt;br /&gt;
A video tutorial to accompany this guide and firmware is available here :https://vimeo.com/501777258 &lt;br /&gt;
&lt;br /&gt;
In order to aid those not familiar with programming, a new firmware with a basic serial interface is now available. This will be the default loaded onto all VCU boards sold on the EVBMW webshop as of 18/01/21.&lt;br /&gt;
&lt;br /&gt;
This firmware is intended as a stop gap measure before a new Openinverter based version with a web based interface becomes available. (expect mid 2021).&lt;br /&gt;
&lt;br /&gt;
Instruction for use :&lt;br /&gt;
&lt;br /&gt;
Connect a USB cable between the VCU and a PC.&lt;br /&gt;
&lt;br /&gt;
Using a serial terminal program of your choice, connect at 115200,8,N,1.&lt;br /&gt;
&lt;br /&gt;
Once connected, type ? and press enter. The following menu should then display :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;=========== EVBMW GS450H VCU Version 3.01 ==============&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;************&amp;lt;/nowiki&amp;gt; List of Available Commands ************&lt;br /&gt;
&lt;br /&gt;
  ?  - Print this menu&lt;br /&gt;
&lt;br /&gt;
  d - Print received data from inverter&lt;br /&gt;
&lt;br /&gt;
  D - Print configuration data&lt;br /&gt;
&lt;br /&gt;
  f  - Calibrate minimum throttle.&lt;br /&gt;
&lt;br /&gt;
  g  - Calibrate maximum throttle.&lt;br /&gt;
&lt;br /&gt;
  i  - Set max drive torque (0-3500) e.g. typing i200 followed by enter sets max drive torque to 200&lt;br /&gt;
&lt;br /&gt;
  q  - Set max reverse torque (0-3500) e.g. typing q200 followed by enter sets max reverse torque to 200&lt;br /&gt;
&lt;br /&gt;
  v  - Set gearbox oil pump speed (0-100%) e.g. typing v50 followed by enter sets oil pump to 50% speed&lt;br /&gt;
&lt;br /&gt;
  a  - Select LOW gear.&lt;br /&gt;
&lt;br /&gt;
  s  - Select HIGH gear.&lt;br /&gt;
&lt;br /&gt;
  z  - Save configuration data to EEPROM memory&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;**************************************************************&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The menu system allows for the display of data from both the VCU, GS450H Inverter and gearbox as well as setting of parameters such as throttle calibration and maximum torque.&lt;br /&gt;
&lt;br /&gt;
To select a menu option type its associated character followed by enter.&lt;br /&gt;
&lt;br /&gt;
? Will display the menu.&lt;br /&gt;
&lt;br /&gt;
d Displays data from the inverter in this format :&lt;br /&gt;
&lt;br /&gt;
   0    1    2    3    4    5    6    7    8    9 &lt;br /&gt;
&lt;br /&gt;
  ------------------------------------------------------------------------------ &lt;br /&gt;
&lt;br /&gt;
00 |                                            0    0    &lt;br /&gt;
&lt;br /&gt;
10 |    0    0              0    0    0    0    0    0    &lt;br /&gt;
&lt;br /&gt;
20 |    0    0    0    0    0    0    0    0    0    0    &lt;br /&gt;
&lt;br /&gt;
30 |    0              0    0    0    0              0    &lt;br /&gt;
&lt;br /&gt;
40 |    0    0              0    0    0    0    0    0    &lt;br /&gt;
&lt;br /&gt;
50 |    0    0    0    0    0                             &lt;br /&gt;
&lt;br /&gt;
60 |                                                      &lt;br /&gt;
&lt;br /&gt;
70 |                                                      &lt;br /&gt;
&lt;br /&gt;
80 |    0    0              0    0              0    0    &lt;br /&gt;
&lt;br /&gt;
90 |    0    0    0    0    0    0    0    0              &lt;br /&gt;
&lt;br /&gt;
MTH Valid: Yes    Checksum: 0&lt;br /&gt;
&lt;br /&gt;
DC Bus: ----v&lt;br /&gt;
&lt;br /&gt;
MG1 - Speed: 0rpm    Position: 0&lt;br /&gt;
&lt;br /&gt;
MG2 - Speed: 0rpm    Position: 0&lt;br /&gt;
&lt;br /&gt;
Water Temp:    0.00c&lt;br /&gt;
&lt;br /&gt;
Inductor Temp:    0.00c&lt;br /&gt;
&lt;br /&gt;
Another Temp:    0c&lt;br /&gt;
&lt;br /&gt;
Another Temp:    0c&lt;br /&gt;
&lt;br /&gt;
D (capital or large D) displays VCU configuration data as well as information on the Gearbox status in this format :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;***************************************************************************************************&amp;lt;/nowiki&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Throttle Channel 1: 109 &lt;br /&gt;
&lt;br /&gt;
Throttle Channel 2: 53 &lt;br /&gt;
&lt;br /&gt;
Commanded Torque: 0 &lt;br /&gt;
&lt;br /&gt;
Selected Direction: DRIVE &lt;br /&gt;
&lt;br /&gt;
Selected Gear: HIGH &lt;br /&gt;
&lt;br /&gt;
Configured Max Drive Torque: 600 &lt;br /&gt;
&lt;br /&gt;
Configured Max Reverse Torque: 300 &lt;br /&gt;
&lt;br /&gt;
Configured gearbox oil pump speed: 40 &lt;br /&gt;
&lt;br /&gt;
Current valve positions:  &lt;br /&gt;
&lt;br /&gt;
PB1:ON &lt;br /&gt;
&lt;br /&gt;
PB2:ON &lt;br /&gt;
&lt;br /&gt;
PB3:ON &lt;br /&gt;
&lt;br /&gt;
MG1 Stator temp: 109.69 &lt;br /&gt;
&lt;br /&gt;
MG2 Stator temp: 109.69 &lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;***************************************************************************************************&amp;lt;/nowiki&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Throttle calibration procedure :&lt;br /&gt;
&lt;br /&gt;
Set your throttle, be it a pedal or potentiometer or other, to the position of desired zero throttle.&lt;br /&gt;
&lt;br /&gt;
Type f and press enter. A response like this will display:&lt;br /&gt;
&lt;br /&gt;
Configured min throttle value: 109 &lt;br /&gt;
&lt;br /&gt;
Now press or advance the throttle to the desired position of maximum throttle.&lt;br /&gt;
&lt;br /&gt;
Type g and press enter. A response like this will display:&lt;br /&gt;
&lt;br /&gt;
Configured max throttle value: 633 &lt;br /&gt;
&lt;br /&gt;
The throttle calibration is now complete.&lt;br /&gt;
&lt;br /&gt;
Next we want to set the maximum allowed drive and reverse torque values. The GS450H inverter will accept a value of between 0 and 3500 for torque.&lt;br /&gt;
&lt;br /&gt;
for initial bench and vehicle testing it is advisable to limit these to low values. In this example we will set drive torque to 500 and reverse torque to 300.&lt;br /&gt;
&lt;br /&gt;
First, drive torque:&lt;br /&gt;
&lt;br /&gt;
Type i500 followed by enter. A response like this will display:&lt;br /&gt;
&lt;br /&gt;
Configured drive torque: 500 &lt;br /&gt;
&lt;br /&gt;
Now reverse torque:&lt;br /&gt;
&lt;br /&gt;
Type q250 followed by enter. A response like this will display:&lt;br /&gt;
&lt;br /&gt;
Configured reverse torque: 250 &lt;br /&gt;
&lt;br /&gt;
Torque calibration is now complete.&lt;br /&gt;
&lt;br /&gt;
At this point it is advised to store the now configured values to EEPROM (non volatile memory) by typing z followed by enter. A response like this will display:&lt;br /&gt;
&lt;br /&gt;
Parameters stored to EEPROM&lt;br /&gt;
&lt;br /&gt;
An option is provided to set the speed in % (0 to 100%) for the electric gearbox oilpump. In this example we set the speed to 50% :&lt;br /&gt;
&lt;br /&gt;
Type v50 followed by enter. A response like this will display:&lt;br /&gt;
&lt;br /&gt;
Configured gearbox oil pump speed: 50&lt;br /&gt;
&lt;br /&gt;
I have found in testing on the E65 that 50% is a good value for keeping oil pressure up , providing cooling etc without running the pump too hard. Your millage may vary.&lt;br /&gt;
&lt;br /&gt;
An option is provided to shift between LOW and HIGH gear in the GS450H gearbox. Shifts are inhibited at MG1 or MG2 speeds above 100rpm for safety at this time.&lt;br /&gt;
&lt;br /&gt;
To select LOW gear type a and press enter. A response like this will display:&lt;br /&gt;
&lt;br /&gt;
LOW Gear Selected &lt;br /&gt;
&lt;br /&gt;
To select HIGH gear type s and press enter. A response like this will display:&lt;br /&gt;
&lt;br /&gt;
HIGH Gear Selected&lt;br /&gt;
&lt;br /&gt;
It is advised to leave HIGH gear selected always at this time until further testing and development has been completed.&lt;br /&gt;
&lt;br /&gt;
Finally, store all parameters to EEPROM once more by typing z and press enter. A response like this will display:&lt;br /&gt;
&lt;br /&gt;
Parameters stored to EEPROM&lt;br /&gt;
&lt;br /&gt;
Selecting Direction.&lt;br /&gt;
&lt;br /&gt;
The firmware supports the use of the IN1 and IN2 pins of the V2 VCU as direction control inputs. Operation is as follows :&lt;br /&gt;
&lt;br /&gt;
If both inputs are unconnected, NEUTRAL is selected. In neutral , no torque commands are transmitted to the inverter regardless of throttle application. &lt;br /&gt;
&lt;br /&gt;
If IN1is connected to +12v , DRIVE is selected. In drive both MG1 and MG2 provide torque in a forward direction to the gearbox output shaft.&lt;br /&gt;
&lt;br /&gt;
If IN2 is connected to +12v , REVERSE is selected. In reverse only MG2 provides torque in a reverse direction to the gearbox output shaft.&lt;br /&gt;
&lt;br /&gt;
Currently this &amp;quot;simple&amp;quot; firmware does not support contactor control. This may be provided in a later version.&lt;br /&gt;
&lt;br /&gt;
WiFi Display.&lt;br /&gt;
&lt;br /&gt;
A wifi web browser based display is provided in order to easily visualise data from the inverter and gearbox.&lt;br /&gt;
&lt;br /&gt;
Once powered, the wifi module will create an open access point with an ssid like ESP-XXXX where XXXX will be a series of letters and numbers. &lt;br /&gt;
&lt;br /&gt;
Connect to this access point with any wifi enabled device (e.g. laptop, tablet, phone etc).&lt;br /&gt;
&lt;br /&gt;
Some modern devices will try to access the internet, not find it, and pop up a warning. Dismiss this and open a web browser.&lt;br /&gt;
&lt;br /&gt;
Type 192.168.4.1 into the address bar and press enter. Again, some modern devices and browsers will complain that it is not a secure connection etc. Just dismiss the warning and proceed.&lt;br /&gt;
&lt;br /&gt;
After a few seconds the web gauge display will appear.&lt;br /&gt;
&lt;br /&gt;
Note that the voltage display is derived from the voltage reported by the inverter and both current (amps) and power (kw) gauges are inoperative as of this release.&lt;br /&gt;
&lt;br /&gt;
You may wish to change the ssid and add a passphrase to the access point. To do this goto : 192.168.4.1/admin&lt;br /&gt;
&lt;br /&gt;
A simple set of dialog boxes will allow the ssid, passphrase and background colour of the gauge display to be set.&lt;br /&gt;
&lt;br /&gt;
==Development History==&lt;br /&gt;
V1 - This board was sold tested but also as a bare logic board requiring purchase of your own components and SMD placement and soldering skills. https://www.evbmw.com/index.php/evbmw-webshop/toyota-bare-boards/gs450h-bare-pcb&lt;br /&gt;
&lt;br /&gt;
V2 - A new board source was found to be both high quality and low cost. The boards were redesigned around the inventory of parts available from this supplier. In particular the high cost of populated and soldered boards (10x the price) from the source used to make the v1 boards is so significantly lower on the v2 that there are likely no savings by building and soldering the board yourself. Software is still in development.&lt;br /&gt;
==Vendors==&lt;br /&gt;
 There are currently no vendors who offer support on any aspects of the GS450h VCU.&lt;br /&gt;
==Support==&lt;br /&gt;
Community support is available on the [https://openinverter.org/forum/viewtopic.php?f=14&amp;amp;t=396 Lexus GS450H VCU Support Thread]&lt;/div&gt;</summary>
		<author><name>Et0</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Lexus_GS450h_Drivetrain&amp;diff=1870</id>
		<title>Lexus GS450h Drivetrain</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Lexus_GS450h_Drivetrain&amp;diff=1870"/>
		<updated>2021-10-12T15:00:35Z</updated>

		<summary type="html">&lt;p&gt;Et0: /* adding link to schematic and shunt */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Inverter connector.png|thumb|GS450h inverter external connector|187x187px]]&lt;br /&gt;
&#039;&#039;&#039;update:&#039;&#039;&#039; the dedicated gs450h VCU is now replaced with the [[ZombieVerter VCU|zombierverter]]. the general premise of control is the same.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Lexus GS450h VCU is an open source project to repurpose 2006-2012 Lexus GS450h inverters for DIY EV use. It consists of a circuit board and programming that communicates with the original logic board in the inverter and allows independent control of it without communicating with a GS450h ECU.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; Toyota Camry hybrid (NAFTA market) use a variety of similar inverter models with similar logic boards.  Independent tests are ongoing to verify which (if any) will offer functionally with the GS450h platform.  At present data has not been sufficiently collected to verify which specific Camry inverters do or do not work for this application. &lt;br /&gt;
&lt;br /&gt;
== GS450h Inverter ==&lt;br /&gt;
&lt;br /&gt;
The Lexus GS450h is a hybrid vehicle. Their inverters are suitable and attractive for DIY EVs because of:&lt;br /&gt;
* Good availability and price - an inverter and &amp;quot;transmission&amp;quot; can generally be purchased for less than £/€1000.&lt;br /&gt;
* Durability. Toyota engineers appear to have made the inverters foolproof, many inputs and outputs gracefully handle fault conditions.&lt;br /&gt;
&lt;br /&gt;
* Respectable performance. Rated for a combined 250kW output.&lt;br /&gt;
* Ease of repurposing. Emulating the original ECU seems reasonably feasible. The transmission is a similar size and layout to many RWD transmissions.&lt;br /&gt;
The Lexus GS450h (2006-2012 model years) has a variety of useful components inside the inverter package:&lt;br /&gt;
[[File:Toyota Camry Inverter external connector.png|thumb|204x204px|Toyota Camry Inverter external connector]]&lt;br /&gt;
* Two high power inverters, for the 2 motors MG1 capable of handling X(?) amps, and MG2 capable of handling Y(?) amps.&lt;br /&gt;
* A boost module to boost the 288v battery pack up to 650v as used in the Lexus (Note that voltages this high are not required for EV conversions).&lt;br /&gt;
&lt;br /&gt;
For technical analysis of this unit, see pages 14-47 of this document: &amp;lt;nowiki&amp;gt;https://www.osti.gov/servlets/purl/928684&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The inverter is capable of running at full speeds on pack voltages from approx 280V upwards. The maximum allowable input voltage is 650V, so far, many have found that &amp;quot;standard&amp;quot; EV voltages of 300V-360V to be well suited.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;u&amp;gt;Note that even thouigh the inverter maximum voltage rating is 650V, a 650V battery pack is not required to run this unit. It is capable of excellent performance at lower voltages, such as the typical 300V-360V found in most EVs. However, there is the opportunity to use larger packs with this unit if required in your application.&amp;lt;/u&amp;gt;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Should a higher voltage pack be chosen in your application for any reason, the buck/boost converter can be used to power auxiliary equipment at its native voltage.&lt;br /&gt;
&lt;br /&gt;
Weight: 40 LBs&lt;br /&gt;
&lt;br /&gt;
Dimensions: 14&amp;quot; x 9-1/2&amp;quot; x 8-1/2&amp;quot;&lt;br /&gt;
== GS450h Converter ==&lt;br /&gt;
A buck/boost converter lives within the inverter housing, originally this is used to step up the 288V battery pack in the GS450h to the 650V for use in the inverter in the GS. (Note that this does not mean the inverter requires 650V to run, it is simply a maximum rating) For those using a 600+V battery pack, this converter can be used to step the voltage down to a more reasonable level to interface with charfgers, DCDC converters, heaters, AC compressors, and other components which can be found in &amp;quot;regular&amp;quot; EV&#039;s (Tesla, Leaf, Volt, etc).&lt;br /&gt;
&lt;br /&gt;
This unit is rated at 30kW, making it unsuitable for traction power, but good for auxiliary devices.&lt;br /&gt;
&lt;br /&gt;
Details on how to control the converter are here: https://openinverter.org/forum/viewtopic.php?f=14&amp;amp;t=538&lt;br /&gt;
&lt;br /&gt;
For technical analysis of this unit, see pages 14-47 of this document: &amp;lt;nowiki&amp;gt;https://www.osti.gov/servlets/purl/928684&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== GS450h Transmission ==&lt;br /&gt;
[[File:Inverter.png|thumb|213x213px|GS450h inverter]]&lt;br /&gt;
For technical analysis of this transmission, see pages 46 onwards of this document: https://www.osti.gov/servlets/purl/947393&lt;br /&gt;
&lt;br /&gt;
The transmission contains two &amp;quot;Motor-Generator&amp;quot; units. MG1 sits at the front of the transmission, and interfaces with the internal combustion engine through a planetary gear set. For this reason, to obtain torque from MG1, the input shaft of the transmission must be locked in place. This is usually done using a splined coupler, which is then welded onto the transmission front mount.&lt;br /&gt;
&lt;br /&gt;
The input shaft on the transmission has 21 splines, with a 28mm major diameter. It is believed that there are several Toyota clutches which will have this in their centre. The original GS450h flywheel and coupler also contains the appropriate slined centre, of course.&lt;br /&gt;
&lt;br /&gt;
The fluid fill port is the banjo bolt for the upper transmission cooler hose. The specified fluid is &amp;quot;Toyota WS&amp;quot; ATF.&lt;br /&gt;
&lt;br /&gt;
It is a good idea to replace the two bearings in the electric oil pump before fitting a used transmission. There is a guide [http://carlthomas66.blogspot.com/2016/03/lexus-gs450h-transmission-oil-pump.html here]. Bearing part numbers are 61900-2Z and 608-2Z, you will need one of each.&lt;br /&gt;
&lt;br /&gt;
The shift position lever on the right-hand side of the transmission engages the parking pawl when in the &amp;quot;all-the-way-back&amp;quot; position. All other positions disengage this pawl. The R, N, D, M positions only affect the output of the shift position sensor.&lt;br /&gt;
&lt;br /&gt;
Note the following when purchasing the transmission:&lt;br /&gt;
[[File:Shift position.png|thumb|154x154px|GS450h shift position sensor]]&lt;br /&gt;
* It is recommended to purchase one which has the electric oil pump fitted - these are a costly item as the bearings in them often fail, in some cases they cost more than the transmission.&lt;br /&gt;
* It is recommended to purchase a transmission which includes the wiring harness, or at least off-cuts of the connectors. Some connectors may be unavailable for purchase. There is a thread [https://openinverter.org/forum/viewtopic.php?f=14&amp;amp;t=271 here] which covers the connectors on this transmission.&lt;br /&gt;
&lt;br /&gt;
=== Dimensions ===&lt;br /&gt;
Overall height (oil pan to top of bellhousing) is 39cm. Bell housing is full height, i.e. 39cm diameter, when the transmission is sitting on its oil pan (as it is on my bench), the bellhousing still just about touches the bench.&lt;br /&gt;
&lt;br /&gt;
Widest point is 40cm, includes a bump for a starter motor which I don&#039;t believe the GS450h even has. Likely leftover to mate with the 2GR engine.&lt;br /&gt;
&lt;br /&gt;
Overall length including tailshaft, output flange, and pilot shaft, is 82cm.&lt;br /&gt;
&lt;br /&gt;
Transmission is tapered quite heavily, the width and height is closer to 25cm after the bellhousing, but hard to gauge due to various outcropping parts (motor cables, oil pump, PRNDL selector, etc)&lt;br /&gt;
&lt;br /&gt;
Weight is 128kg. Unknown if this is dry or filled. Likely partially filled. Unknown if this includes oil pump and cables.&lt;br /&gt;
&lt;br /&gt;
The input shaft pokes out 29mm from the general highest point of the back of the bell housing? (e.g. set a 20cm ruler there and measure from it)&lt;br /&gt;
&lt;br /&gt;
The taper at the tip of the shaft before the splines appear fully is 6mm long. (i.e. the length of the tip portion without proper splines)&lt;br /&gt;
&lt;br /&gt;
=== The Oil Pump ===&lt;br /&gt;
[[File:Oilpump.png|300x300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Connector - A55 Oil Pump Motor Controller 90980–12483.png|269x269px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Oil Pump.png|386x386px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Oil Pump2.png|400x400px]]&lt;br /&gt;
&lt;br /&gt;
The metal case is the ground.&lt;br /&gt;
&lt;br /&gt;
Black (pin 6) is PWM in from your controller.&lt;br /&gt;
&lt;br /&gt;
Brown (pin 7) is feedback from the oil pump. It&#039;s PWM. Do what you want with this or leave it disconnected.&lt;br /&gt;
&lt;br /&gt;
The fat blue wire (pin 5) is 12V power. The oil pump uses around 50A Max. So plan for that. Add your own relay to stop it draining your battery while the car is off.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The PWM for this is weird, it&#039;s not just 0-100. IIRC it is 0% at both ends, and rises to 100% near the middle, then back down again. This is just based on the sound of the pump with no load, so needs more testing to find the real values.&lt;br /&gt;
&lt;br /&gt;
Here is a list of compatible Toyota part numbers for the oil pump controller: G1167-30020&lt;br /&gt;
&lt;br /&gt;
===Oil Pump Hardware===&lt;br /&gt;
As per ggeter:&lt;br /&gt;
&amp;quot;For those, like me, who didn&#039;t get the pump with the transmission unit, here are the part numbers for bolts and (what appears to be a metal) gasket.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Bolts (4) 90080-10197 $2.76 ea&lt;br /&gt;
&lt;br /&gt;
Gasket (1) 35142-30010 $14&lt;br /&gt;
&lt;br /&gt;
The oil pump also contains 3 black rubber o-rings:&lt;br /&gt;
&lt;br /&gt;
1 x 55mm internal diameter, 2.5mm cross section (for the black outer cover)&lt;br /&gt;
&lt;br /&gt;
2 x 50mm internal diameter, 2.5mm cross section (between each &#039;layer&#039; of the pump housing).&lt;br /&gt;
&lt;br /&gt;
The oil pump motor cover is held onto the pump housing by 4 M5 x 16mm flanged screws.&lt;br /&gt;
&lt;br /&gt;
== Wiring Harness Connectors ==&lt;br /&gt;
Here are a list of connectors required for the GS450h transmission &amp;amp; inverter if you need/wish to build the harness for your build. (It is a good idea to find components with at least the connectors to build on. As some of the connectors are impossible to obtain)&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Inverter Connectors&lt;br /&gt;
!Connector&lt;br /&gt;
!Part No.&lt;br /&gt;
!Location&lt;br /&gt;
!&lt;br /&gt;
|-&lt;br /&gt;
|Inverter interface connector (A62) &lt;br /&gt;
|90980–12630&lt;br /&gt;
|Black connector on the side of the inverter. This connector is not sold anywhere to our knowledge.&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
A good alternative to this, otherwise difficult to obtain, connector is to replace the receptacle/header with the following parts from Molex:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Image&lt;br /&gt;
!Part No.&lt;br /&gt;
!Item&lt;br /&gt;
!Quantity&lt;br /&gt;
|-&lt;br /&gt;
|[[File:036638-0002.jpg|center|frameless|80x80px]]&lt;br /&gt;
|036638-0002&lt;br /&gt;
|CMC header connector 48pin&lt;br /&gt;
|1&lt;br /&gt;
|-&lt;br /&gt;
|[[File:064320-1311.jpg|center|frameless|80x80px]]&lt;br /&gt;
|064320-1311&lt;br /&gt;
|CMC receptacle 48pin&lt;br /&gt;
|1&lt;br /&gt;
|-&lt;br /&gt;
|[[File:064320-1301.jpg|center|frameless|80x80px]]&lt;br /&gt;
|064320-1301&lt;br /&gt;
|CMC wire cap&lt;br /&gt;
|1&lt;br /&gt;
|-&lt;br /&gt;
|[[File:064323-1039.jpg|center|frameless|80x80px]]&lt;br /&gt;
|064323-1039&lt;br /&gt;
|CP terminal&lt;br /&gt;
|4&lt;br /&gt;
|-&lt;br /&gt;
|[[File:064323-1029.jpg|center|frameless|80x80px]]&lt;br /&gt;
|064322-1039&lt;br /&gt;
|CP terminal&lt;br /&gt;
|32&lt;br /&gt;
|-&lt;br /&gt;
|[[File:064325-1010.jpg|center|frameless|80x80px]]&lt;br /&gt;
|064325-1010&lt;br /&gt;
|CMC plug&lt;br /&gt;
|8&lt;br /&gt;
|-&lt;br /&gt;
|[[File:064325-1023.jpg|center|frameless|80x80px]]&lt;br /&gt;
|064325-1023&lt;br /&gt;
|CMC plug&lt;br /&gt;
|4&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Transmission Connectors&lt;br /&gt;
!Connector&lt;br /&gt;
!Part No.&lt;br /&gt;
!Location&lt;br /&gt;
!&lt;br /&gt;
|-&lt;br /&gt;
|ECT Solenoid (E83) &lt;br /&gt;
|Sumitomo 6189-1092 &lt;br /&gt;
|Located on the left hand side of the transmission above the oil pan.&lt;br /&gt;
|[[File:Sumitomo 6189-1092.jpg|center|frameless|100x100px]]&lt;br /&gt;
|-&lt;br /&gt;
|Shift Lever Position Sensor (E80)&lt;br /&gt;
|Sumitomo 90980-12362 &lt;br /&gt;
|Located on the right side of the transmission next to the shift lever inhibitor switch.&lt;br /&gt;
|[[File:Sumitomo 90980-12362.png|center|frameless|100x100px]]&lt;br /&gt;
|-&lt;br /&gt;
|MG1 &amp;amp; MG2 Resolver(s) (E81 &amp;amp; E82) &lt;br /&gt;
|Sumitomo 6189-1240 &lt;br /&gt;
|Two connectors located on the left side of the transmission by the bell housing.&lt;br /&gt;
|[[File:Sumitomo 6189-1240.jpg|center|frameless|100x100px]]&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Oil Pump &amp;amp; Oil Pump Motor Controller&lt;br /&gt;
!Connector&lt;br /&gt;
!Part No.&lt;br /&gt;
!Location&lt;br /&gt;
!&lt;br /&gt;
|-&lt;br /&gt;
|Oil Pump Temperature Sensor&lt;br /&gt;
|Sumitomo 6189-0175&lt;br /&gt;
|The connector is the small 2-pin connector in the middle of the harness between the oil pump and controller&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|HVECU -&amp;gt; Oil Pump Controller (A52)&lt;br /&gt;
|&lt;br /&gt;
|Single large (7-way) connector on the side of the oil pump controller&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Control Board==&lt;br /&gt;
An open-source VCU, designed by Damien Maguire, can be purchased as both partially populated and fully populated and tested boards on his website:&lt;br /&gt;
&lt;br /&gt;
[https://www.evbmw.com/index.php/evbmw-webshop/toyota-partially-built-boards-copy/lexus-gs450h-vcm-partial Lexus GS450H VCM Partially Built]&lt;br /&gt;
[[File:Transmission.png|thumb|147x147px|GS450h transmission and oil pump temperature sensor]]&lt;br /&gt;
[https://www.evbmw.com/index.php/evbmw-webshop/toyota-built-and-tested-boards/gs450h-vcm-fully-built-and-tested Lexus GS450H VCM Fully Built and Tested]&lt;br /&gt;
&lt;br /&gt;
The VCU is an external unit that will not fit within the GS450h inverter housing. It does not replace the GS450h inverter control board, instead it interfaces with it over USART.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A full schematic for the system can be found at [https://openinverter.org/forum/viewtopic.php?p=12105#p12105 this link] &lt;br /&gt;
&lt;br /&gt;
Note that in addition to the VCU, inverter and transmission, a specific canbus connected shunt (ISA shunt) is required: [[Isabellenhütte Heusler]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For those who have purchased the fully built board, the mating connectors for the VCU are Molex parts:&lt;br /&gt;
* 33472-2002 (Left side, grey in colour)&lt;br /&gt;
&lt;br /&gt;
* 33472-2001 (Right side, black in colour)&lt;br /&gt;
* 33012-2002 (Crimp terminals)&lt;br /&gt;
* 5810130065 (Enclosure)&lt;br /&gt;
For partially populated board, these additional parts are required:&lt;br /&gt;
* 5810140011 (Header, 40 Pos)&lt;br /&gt;
* 75867-101LF (CONN1, Header for WiFi module)&lt;br /&gt;
* 5787834-1 (CONN2, USB 2.0 receptacle)&lt;br /&gt;
* TR10S05 (IC10, 5V DC/DC converter)&lt;br /&gt;
These parts are available from many electronics distributors.&lt;br /&gt;
&lt;br /&gt;
== VCU Firmware ==&lt;br /&gt;
Firmware to run on the VCU is available on Github : https://github.com/damienmaguire/Lexus-GS450H-Inverter-Controller&lt;br /&gt;
&lt;br /&gt;
This guide relates to V3.01 available here on Github : https://github.com/damienmaguire/Lexus-GS450H-Inverter-Controller/blob/master/Software/gs450h_v3_user.ino&lt;br /&gt;
&lt;br /&gt;
A video tutorial to accompany this guide and firmware is available here :https://vimeo.com/501777258 &lt;br /&gt;
&lt;br /&gt;
In order to aid those not familiar with programming, a new firmware with a basic serial interface is now available. This will be the default loaded onto all VCU boards sold on the EVBMW webshop as of 18/01/21.&lt;br /&gt;
&lt;br /&gt;
This firmware is intended as a stop gap measure before a new Openinverter based version with a web based interface becomes available. (expect mid 2021).&lt;br /&gt;
&lt;br /&gt;
Instruction for use :&lt;br /&gt;
&lt;br /&gt;
Connect a USB cable between the VCU and a PC.&lt;br /&gt;
&lt;br /&gt;
Using a serial terminal program of your choice, connect at 115200,8,N,1.&lt;br /&gt;
&lt;br /&gt;
Once connected, type ? and press enter. The following menu should then display :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;=========== EVBMW GS450H VCU Version 3.01 ==============&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;************&amp;lt;/nowiki&amp;gt; List of Available Commands ************&lt;br /&gt;
&lt;br /&gt;
  ?  - Print this menu&lt;br /&gt;
&lt;br /&gt;
  d - Print received data from inverter&lt;br /&gt;
&lt;br /&gt;
  D - Print configuration data&lt;br /&gt;
&lt;br /&gt;
  f  - Calibrate minimum throttle.&lt;br /&gt;
&lt;br /&gt;
  g  - Calibrate maximum throttle.&lt;br /&gt;
&lt;br /&gt;
  i  - Set max drive torque (0-3500) e.g. typing i200 followed by enter sets max drive torque to 200&lt;br /&gt;
&lt;br /&gt;
  q  - Set max reverse torque (0-3500) e.g. typing q200 followed by enter sets max reverse torque to 200&lt;br /&gt;
&lt;br /&gt;
  v  - Set gearbox oil pump speed (0-100%) e.g. typing v50 followed by enter sets oil pump to 50% speed&lt;br /&gt;
&lt;br /&gt;
  a  - Select LOW gear.&lt;br /&gt;
&lt;br /&gt;
  s  - Select HIGH gear.&lt;br /&gt;
&lt;br /&gt;
  z  - Save configuration data to EEPROM memory&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;**************************************************************&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The menu system allows for the display of data from both the VCU, GS450H Inverter and gearbox as well as setting of parameters such as throttle calibration and maximum torque.&lt;br /&gt;
&lt;br /&gt;
To select a menu option type its associated character followed by enter.&lt;br /&gt;
&lt;br /&gt;
? Will display the menu.&lt;br /&gt;
&lt;br /&gt;
d Displays data from the inverter in this format :&lt;br /&gt;
&lt;br /&gt;
   0    1    2    3    4    5    6    7    8    9 &lt;br /&gt;
&lt;br /&gt;
  ------------------------------------------------------------------------------ &lt;br /&gt;
&lt;br /&gt;
00 |                                            0    0    &lt;br /&gt;
&lt;br /&gt;
10 |    0    0              0    0    0    0    0    0    &lt;br /&gt;
&lt;br /&gt;
20 |    0    0    0    0    0    0    0    0    0    0    &lt;br /&gt;
&lt;br /&gt;
30 |    0              0    0    0    0              0    &lt;br /&gt;
&lt;br /&gt;
40 |    0    0              0    0    0    0    0    0    &lt;br /&gt;
&lt;br /&gt;
50 |    0    0    0    0    0                             &lt;br /&gt;
&lt;br /&gt;
60 |                                                      &lt;br /&gt;
&lt;br /&gt;
70 |                                                      &lt;br /&gt;
&lt;br /&gt;
80 |    0    0              0    0              0    0    &lt;br /&gt;
&lt;br /&gt;
90 |    0    0    0    0    0    0    0    0              &lt;br /&gt;
&lt;br /&gt;
MTH Valid: Yes    Checksum: 0&lt;br /&gt;
&lt;br /&gt;
DC Bus: ----v&lt;br /&gt;
&lt;br /&gt;
MG1 - Speed: 0rpm    Position: 0&lt;br /&gt;
&lt;br /&gt;
MG2 - Speed: 0rpm    Position: 0&lt;br /&gt;
&lt;br /&gt;
Water Temp:    0.00c&lt;br /&gt;
&lt;br /&gt;
Inductor Temp:    0.00c&lt;br /&gt;
&lt;br /&gt;
Another Temp:    0c&lt;br /&gt;
&lt;br /&gt;
Another Temp:    0c&lt;br /&gt;
&lt;br /&gt;
D (capital or large D) displays VCU configuration data as well as information on the Gearbox status in this format :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;***************************************************************************************************&amp;lt;/nowiki&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Throttle Channel 1: 109 &lt;br /&gt;
&lt;br /&gt;
Throttle Channel 2: 53 &lt;br /&gt;
&lt;br /&gt;
Commanded Torque: 0 &lt;br /&gt;
&lt;br /&gt;
Selected Direction: DRIVE &lt;br /&gt;
&lt;br /&gt;
Selected Gear: HIGH &lt;br /&gt;
&lt;br /&gt;
Configured Max Drive Torque: 600 &lt;br /&gt;
&lt;br /&gt;
Configured Max Reverse Torque: 300 &lt;br /&gt;
&lt;br /&gt;
Configured gearbox oil pump speed: 40 &lt;br /&gt;
&lt;br /&gt;
Current valve positions:  &lt;br /&gt;
&lt;br /&gt;
PB1:ON &lt;br /&gt;
&lt;br /&gt;
PB2:ON &lt;br /&gt;
&lt;br /&gt;
PB3:ON &lt;br /&gt;
&lt;br /&gt;
MG1 Stator temp: 109.69 &lt;br /&gt;
&lt;br /&gt;
MG2 Stator temp: 109.69 &lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;***************************************************************************************************&amp;lt;/nowiki&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Throttle calibration procedure :&lt;br /&gt;
&lt;br /&gt;
Set your throttle, be it a pedal or potentiometer or other, to the position of desired zero throttle.&lt;br /&gt;
&lt;br /&gt;
Type f and press enter. A response like this will display:&lt;br /&gt;
&lt;br /&gt;
Configured min throttle value: 109 &lt;br /&gt;
&lt;br /&gt;
Now press or advance the throttle to the desired position of maximum throttle.&lt;br /&gt;
&lt;br /&gt;
Type g and press enter. A response like this will display:&lt;br /&gt;
&lt;br /&gt;
Configured max throttle value: 633 &lt;br /&gt;
&lt;br /&gt;
The throttle calibration is now complete.&lt;br /&gt;
&lt;br /&gt;
Next we want to set the maximum allowed drive and reverse torque values. The GS450H inverter will accept a value of between 0 and 3500 for torque.&lt;br /&gt;
&lt;br /&gt;
for initial bench and vehicle testing it is advisable to limit these to low values. In this example we will set drive torque to 500 and reverse torque to 300.&lt;br /&gt;
&lt;br /&gt;
First, drive torque:&lt;br /&gt;
&lt;br /&gt;
Type i500 followed by enter. A response like this will display:&lt;br /&gt;
&lt;br /&gt;
Configured drive torque: 500 &lt;br /&gt;
&lt;br /&gt;
Now reverse torque:&lt;br /&gt;
&lt;br /&gt;
Type q250 followed by enter. A response like this will display:&lt;br /&gt;
&lt;br /&gt;
Configured reverse torque: 250 &lt;br /&gt;
&lt;br /&gt;
Torque calibration is now complete.&lt;br /&gt;
&lt;br /&gt;
At this point it is advised to store the now configured values to EEPROM (non volatile memory) by typing z followed by enter. A response like this will display:&lt;br /&gt;
&lt;br /&gt;
Parameters stored to EEPROM&lt;br /&gt;
&lt;br /&gt;
An option is provided to set the speed in % (0 to 100%) for the electric gearbox oilpump. In this example we set the speed to 50% :&lt;br /&gt;
&lt;br /&gt;
Type v50 followed by enter. A response like this will display:&lt;br /&gt;
&lt;br /&gt;
Configured gearbox oil pump speed: 50&lt;br /&gt;
&lt;br /&gt;
I have found in testing on the E65 that 50% is a good value for keeping oil pressure up , providing cooling etc without running the pump too hard. Your millage may vary.&lt;br /&gt;
&lt;br /&gt;
An option is provided to shift between LOW and HIGH gear in the GS450H gearbox. Shifts are inhibited at MG1 or MG2 speeds above 100rpm for safety at this time.&lt;br /&gt;
&lt;br /&gt;
To select LOW gear type a and press enter. A response like this will display:&lt;br /&gt;
&lt;br /&gt;
LOW Gear Selected &lt;br /&gt;
&lt;br /&gt;
To select HIGH gear type s and press enter. A response like this will display:&lt;br /&gt;
&lt;br /&gt;
HIGH Gear Selected&lt;br /&gt;
&lt;br /&gt;
It is advised to leave HIGH gear selected always at this time until further testing and development has been completed.&lt;br /&gt;
&lt;br /&gt;
Finally, store all parameters to EEPROM once more by typing z and press enter. A response like this will display:&lt;br /&gt;
&lt;br /&gt;
Parameters stored to EEPROM&lt;br /&gt;
&lt;br /&gt;
Selecting Direction.&lt;br /&gt;
&lt;br /&gt;
The firmware supports the use of the IN1 and IN2 pins of the V2 VCU as direction control inputs. Operation is as follows :&lt;br /&gt;
&lt;br /&gt;
If both inputs are unconnected, NEUTRAL is selected. In neutral , no torque commands are transmitted to the inverter regardless of throttle application. &lt;br /&gt;
&lt;br /&gt;
If IN1is connected to +12v , DRIVE is selected. In drive both MG1 and MG2 provide torque in a forward direction to the gearbox output shaft.&lt;br /&gt;
&lt;br /&gt;
If IN2 is connected to +12v , REVERSE is selected. In reverse only MG2 provides torque in a reverse direction to the gearbox output shaft.&lt;br /&gt;
&lt;br /&gt;
Currently this &amp;quot;simple&amp;quot; firmware does not support contactor control. This may be provided in a later version.&lt;br /&gt;
&lt;br /&gt;
WiFi Display.&lt;br /&gt;
&lt;br /&gt;
A wifi web browser based display is provided in order to easily visualise data from the inverter and gearbox.&lt;br /&gt;
&lt;br /&gt;
Once powered, the wifi module will create an open access point with an ssid like ESP-XXXX where XXXX will be a series of letters and numbers. &lt;br /&gt;
&lt;br /&gt;
Connect to this access point with any wifi enabled device (e.g. laptop, tablet, phone etc).&lt;br /&gt;
&lt;br /&gt;
Some modern devices will try to access the internet, not find it, and pop up a warning. Dismiss this and open a web browser.&lt;br /&gt;
&lt;br /&gt;
Type 192.168.4.1 into the address bar and press enter. Again, some modern devices and browsers will complain that it is not a secure connection etc. Just dismiss the warning and proceed.&lt;br /&gt;
&lt;br /&gt;
After a few seconds the web gauge display will appear.&lt;br /&gt;
&lt;br /&gt;
Note that the voltage display is derived from the voltage reported by the inverter and both current (amps) and power (kw) gauges are inoperative as of this release.&lt;br /&gt;
&lt;br /&gt;
You may wish to change the ssid and add a passphrase to the access point. To do this goto : 192.168.4.1/admin&lt;br /&gt;
&lt;br /&gt;
A simple set of dialog boxes will allow the ssid, passphrase and background colour of the gauge display to be set.&lt;br /&gt;
&lt;br /&gt;
==Development History==&lt;br /&gt;
V1 - This board was sold tested but also as a bare logic board requiring purchase of your own components and SMD placement and soldering skills. https://www.evbmw.com/index.php/evbmw-webshop/toyota-bare-boards/gs450h-bare-pcb&lt;br /&gt;
&lt;br /&gt;
V2 - A new board source was found to be both high quality and low cost. The boards were redesigned around the inventory of parts available from this supplier. In particular the high cost of populated and soldered boards (10x the price) from the source used to make the v1 boards is so significantly lower on the v2 that there are likely no savings by building and soldering the board yourself. Software is still in development.&lt;br /&gt;
==Vendors==&lt;br /&gt;
 There are currently no vendors who offer support on any aspects of the GS450h VCU.&lt;br /&gt;
==Support==&lt;br /&gt;
Community support is available on the [https://openinverter.org/forum/viewtopic.php?f=14&amp;amp;t=396 Lexus GS450H VCU Support Thread]&lt;/div&gt;</summary>
		<author><name>Et0</name></author>
	</entry>
</feed>