<?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=Chrskly</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=Chrskly"/>
	<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/Special:Contributions/Chrskly"/>
	<updated>2026-04-28T18:26:18Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=MG_ZS_Charger&amp;diff=6069</id>
		<title>MG ZS Charger</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=MG_ZS_Charger&amp;diff=6069"/>
		<updated>2026-02-26T22:09:24Z</updated>

		<summary type="html">&lt;p&gt;Chrskly: Added a weight column&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;MG ZS Charger Part number(s)&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Part Number&lt;br /&gt;
!Description&lt;br /&gt;
!&#039;&#039;&#039;Phases&#039;&#039;&#039;&lt;br /&gt;
!&#039;&#039;&#039;AC/DC Input 1&#039;&#039;&#039;&lt;br /&gt;
!&#039;&#039;&#039;AC/DC Input 2&#039;&#039;&#039;&lt;br /&gt;
!&#039;&#039;&#039;AC/DC Output 1&#039;&#039;&#039;&lt;br /&gt;
!&#039;&#039;&#039;AC/DC Output 2&#039;&#039;&#039;&lt;br /&gt;
!&#039;&#039;&#039;DC/DC Input&#039;&#039;&#039;&lt;br /&gt;
!&#039;&#039;&#039;DC/DC Output&#039;&#039;&#039;&lt;br /&gt;
!Weight&lt;br /&gt;
|-&lt;br /&gt;
|ZS10BC6600A (10822241)&lt;br /&gt;
|MG ZS AC Charger&lt;br /&gt;
|single phase&lt;br /&gt;
|85-265V 32A Max&lt;br /&gt;
|N/A&lt;br /&gt;
|230-480V 20A Max 6.6KW Max&lt;br /&gt;
|N/A&lt;br /&gt;
|N/A&lt;br /&gt;
|N/A&lt;br /&gt;
|8.5kg&lt;br /&gt;
|-&lt;br /&gt;
|EP2CCU1130A (11276088, 11428079)&lt;br /&gt;
|MG ZS AC Charger&lt;br /&gt;
|three phase&lt;br /&gt;
|85-265V 32A Max&lt;br /&gt;
|85-265V 16A Max&lt;br /&gt;
|250-500V 24A Max&lt;br /&gt;
|250-500V 32A Max&lt;br /&gt;
|250-500V&lt;br /&gt;
|9-16V 220A Max@13.V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|EP3CCU1130B (11489298,11572316)&lt;br /&gt;
|MG 4 Charger&lt;br /&gt;
|three phase&lt;br /&gt;
|85-265V 32A Max&lt;br /&gt;
|300-456V 16A Max&lt;br /&gt;
|220-490V 24A Max&lt;br /&gt;
|220-490V 31.5A Max&lt;br /&gt;
|220-490V&lt;br /&gt;
|9-16V- 220A Max@13.5V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|EH3CCU6630B (11572315,11477526)&lt;br /&gt;
|MG4 Trophy&lt;br /&gt;
|single phase&lt;br /&gt;
|85-265V 32A Max&lt;br /&gt;
|N/A&lt;br /&gt;
|220-490V 22A Max&lt;br /&gt;
|N/A&lt;br /&gt;
|220-490Vdc&lt;br /&gt;
|9-16V 220A Max@13.5V&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|EP2CCU6625A (11237810)&lt;br /&gt;
|MG5&lt;br /&gt;
|single phase&lt;br /&gt;
|85-265V 32A Max&lt;br /&gt;
|N/A&lt;br /&gt;
|230-450V 22A Max&lt;br /&gt;
|N/A&lt;br /&gt;
|230-450Vdc 13A Max&lt;br /&gt;
|9-16V 178A Max@14V&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===== Example offer =====&lt;br /&gt;
[https://web.archive.org/web/20240815184401/https://www.evbreakers.com/product?pid=MG+ZS+ONBOARD+BATTERY+CHARGER+2019-2024&amp;amp;sku=15074 EV Breakers - MG ZS ONBOARD BATTERY CHARGER 2019-2024 (archive.org)] - 08-2024, GPB 300&lt;br /&gt;
&lt;br /&gt;
https://www.bildelsbasen.se/sv-se/pb/S%C3%B6k/Bildelar/s1/MG/MG-ZS-EV/2020_2025/EL-&amp;amp;-Givare-&amp;amp;-Databox-&amp;amp;-Sensor/Batteriladdare-H%C3%B6gsp%C3%A4nning/_/ID-60187841/11428079 - 08-2024; 5000 SEK&lt;br /&gt;
&lt;br /&gt;
==== Video of Damien hacking it ====&lt;br /&gt;
[https://vimeo.com/914791414 MG ZS EV Charger Hacked] N.B It&#039;s not confirmed yet whether all chargers accept the same CAN messages for control, more investigation is needed. &lt;br /&gt;
&lt;br /&gt;
[https://www.youtube.com/watch?v=6wzUicBnbMc MG ZS EV Charger Hacked Part 2] (Damian demonstrating ZS10BC6600A from the above list, further investigation required to see if all chargers respond to the same CAN messages)&lt;br /&gt;
&lt;br /&gt;
==== Damien&#039;s GitHub page ====&lt;br /&gt;
https://github.com/damienmaguire/MG-EV-Charger&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Connectors&#039;&#039;&#039;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Charger part number&lt;br /&gt;
!Low voltage&lt;br /&gt;
!High voltage (DC)&lt;br /&gt;
!High voltage (AC)&lt;br /&gt;
|-&lt;br /&gt;
|ZS10BC6600A (10822241)&lt;br /&gt;
|33472-1201 (housing)&amp;lt;br&amp;gt;&lt;br /&gt;
33012-2021 (pin)&lt;br /&gt;
|2103177 (housing)&amp;lt;br&amp;gt;&lt;br /&gt;
1355036 (pin)&lt;br /&gt;
| 13879047 (housing)&amp;lt;br&amp;gt;&lt;br /&gt;
13955308 (power pin)&amp;lt;br&amp;gt;&lt;br /&gt;
13711549 (signal pin)&lt;br /&gt;
|-&lt;br /&gt;
|EP2CCU1130A (11276088, 11428079)&lt;br /&gt;
|64319-1211 (housing)&amp;lt;br&amp;gt;&lt;br /&gt;
64322 (0.635mm pin)&amp;lt;br&amp;gt;&lt;br /&gt;
64323 (1.50mm pin)&lt;br /&gt;
|HVC2P28FSX02 (2.5mm² Shield)&amp;lt;br&amp;gt;&lt;br /&gt;
HVC2P28FSX04 (4.0mm² Shield)&amp;lt;br&amp;gt;&lt;br /&gt;
HVC2P28FSX05 (5.0mm2 Shield)&amp;lt;br&amp;gt;&lt;br /&gt;
“X” indicates code 1/2/3/4/5/6&lt;br /&gt;
| HVC5P63FSx06&amp;lt;br&amp;gt;&lt;br /&gt;
“X” code： CODE A：1/CODE B：2/CODE Z：0&lt;br /&gt;
|-&lt;br /&gt;
|EP3CCU1130B (11489298,11572316)&lt;br /&gt;
|64319-1211 (housing)&amp;lt;br&amp;gt;64322 (0.635mm pin)&amp;lt;br&amp;gt;&lt;br /&gt;
64323 (1.50mm pin)&lt;br /&gt;
|JONHON EVH2-N2TK-A&lt;br /&gt;
21E8-556-1865-A1&lt;br /&gt;
|JONHON EVH2-N4TK-A&lt;br /&gt;
21E8-556-1865-A1&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== ZS10BC6600A ==&lt;br /&gt;
[[File:ZS10BC6600A overview.jpg|thumb|448x448px|ZS10BC6600A Overview]]&lt;br /&gt;
[[File:ZS10BC6600A front labeled.jpg|thumb|448x448px|ZS10BC6600A Pinout]]&lt;br /&gt;
[[File:ZS10BC6600A LV Pinout.png|thumb|LV Pinout]]&lt;br /&gt;
&lt;br /&gt;
==== Specs: ====&lt;br /&gt;
AC input: 85-265V 32A Max&lt;br /&gt;
&lt;br /&gt;
DC output 230-480V 20A Max (6.6KW Max)&lt;br /&gt;
&lt;br /&gt;
==== To use the charger: ====&lt;br /&gt;
connect pins on the LV connector:&lt;br /&gt;
&lt;br /&gt;
1 to switched 12V&lt;br /&gt;
&lt;br /&gt;
2 to ground&lt;br /&gt;
&lt;br /&gt;
3 to CAN H&lt;br /&gt;
&lt;br /&gt;
4 to CAN L&lt;br /&gt;
&lt;br /&gt;
8 Via a 100k resistor to pin 12&lt;br /&gt;
&lt;br /&gt;
10 Via a 100k resistor to pin 12&lt;br /&gt;
&lt;br /&gt;
12 see pin 8 and 10&lt;br /&gt;
&lt;br /&gt;
connect pins on the AC HV connector to the charging port&lt;br /&gt;
&lt;br /&gt;
When using Foccci the CP can also be connected to Zombie CPspoof &lt;br /&gt;
&lt;br /&gt;
output through a 1k resistor.&lt;br /&gt;
&lt;br /&gt;
connect pins on the DC HV connector to the DC bus.&lt;br /&gt;
&lt;br /&gt;
the HV interlock needs shorting, integrated in the DC connector.&lt;br /&gt;
&lt;br /&gt;
==== Controlling the charger: ====&lt;br /&gt;
This is simple it uses 1 CANbus message 0x29C at 100ms interval on a 500kbit bus&lt;br /&gt;
&lt;br /&gt;
In this message there are 3 values:&lt;br /&gt;
&lt;br /&gt;
Max AC current  &lt;br /&gt;
&lt;br /&gt;
Max DC current &lt;br /&gt;
&lt;br /&gt;
Max DC voltage &lt;br /&gt;
&lt;br /&gt;
==== Reading data from the charger: ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The charger sends 5 messages on the CANbus&lt;br /&gt;
&lt;br /&gt;
0x3B8 Status&lt;br /&gt;
&lt;br /&gt;
CP_pwm in %&lt;br /&gt;
&lt;br /&gt;
AC Amps&lt;br /&gt;
&lt;br /&gt;
AC Volts&lt;br /&gt;
&lt;br /&gt;
DC Amps&lt;br /&gt;
&lt;br /&gt;
DC Volts&lt;br /&gt;
&lt;br /&gt;
0x3BA temperatures&lt;br /&gt;
&lt;br /&gt;
contains 6 temp sensors 2 external and 4 internal&lt;br /&gt;
&lt;br /&gt;
0x3BC unknown&lt;br /&gt;
&lt;br /&gt;
0x3BD unknown&lt;br /&gt;
&lt;br /&gt;
0x3BE maybe error codes&lt;br /&gt;
&lt;br /&gt;
== EP3CCU1130B ==&lt;br /&gt;
&lt;br /&gt;
[[File:EP3CCU1130B overview.jpg|thumb|406x406px|MG4 charger]]&lt;br /&gt;
[[File:V2lChargerPinout.png|thumb|LV pinout]]&lt;br /&gt;
==== Specs: ====&lt;br /&gt;
AC input 1: 85-265V 32A Max&lt;br /&gt;
&lt;br /&gt;
AC input 2: 300-456V 16A Max per phase&lt;br /&gt;
&lt;br /&gt;
DC output 1: 220-490V 24A Max &lt;br /&gt;
&lt;br /&gt;
DC output 2: 220-490V 31.5A Max &lt;br /&gt;
&lt;br /&gt;
[[Category:MG]] &lt;br /&gt;
[[Category:Charger]]&lt;/div&gt;</summary>
		<author><name>Chrskly</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Ireland&amp;diff=5798</id>
		<title>Ireland</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Ireland&amp;diff=5798"/>
		<updated>2025-06-15T21:38:12Z</updated>

		<summary type="html">&lt;p&gt;Chrskly: Minor formatting change&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In Ireland Damien Maguire and Fiachra Cooke have developed a highly efficient procedure for putting electric car conversions on the road quickly and cheaply.&lt;br /&gt;
&lt;br /&gt;
Note that during the conversion process two golden rules are followed, no cutting the chassis or any other structural components, and strictly adhering to axle weight limits as published on the cars rating plate or manufacturers documentation.&lt;br /&gt;
&lt;br /&gt;
Here&#039;s the procedure;&lt;br /&gt;
* Get in touch with a local accredited Automotive Engineer and have them look at your build when you are at a point before you are ready to go cut and weld parts to the chassis. This will enable him/her to discuss and review the placement of key components, integrity of structural components (motor mounts, battery boxes, etc), and weight distribution. Ideally, try and get the use of corner scales before and after the build.&lt;br /&gt;
&lt;br /&gt;
* The engineer will primarily be interested in answering the question of whether the vehicle is safe to put on the road. If the Engineer is unhappy with any aspects of the build, they will request modifications and another inspection will be required to verify action has been taken.&lt;br /&gt;
&lt;br /&gt;
* If the advice is followed however and the Engineer is happy on the second visit at completion, they will complete a final engineers report signing off the build. Request they complete Section 5 of the RF111 Change of Particulars form https://www.motortax.ie/OMT/pdf/RF111_en.pdf complete with date of motor change, motor serial number and finally, signed and stamped by the accredited engineer. &lt;br /&gt;
&lt;br /&gt;
* Worth asking for an RSA Modifications Report also for when the time comes for the NCT https://rsa.ie/Documents/VS_Information_Notes/Special_Permits/Modifications%20Report%20-%20June%202015.pdf&lt;br /&gt;
&lt;br /&gt;
* Written report by Automotive Engineer is received in ~7 days.&lt;br /&gt;
&lt;br /&gt;
* Documents to send to your local motor tax office&lt;br /&gt;
** Automotive Engineers report - signed and stamped&lt;br /&gt;
** Completed RF111 Change of Particulars form - Section 5 - signed and stamped&lt;br /&gt;
** Vehicle Registration Certificate (VRC)&lt;br /&gt;
** Cover letter outlining you and your project, the how, why, where, etc.&lt;br /&gt;
&lt;br /&gt;
* Change of taxation class to electric is delivered, usually in around 7 days.&lt;br /&gt;
&lt;br /&gt;
* Tax vehicle (currently €120)&lt;br /&gt;
&lt;br /&gt;
* Insure Vehicle - This was actually possible once you had the completed engineer&#039;s report&lt;br /&gt;
&lt;br /&gt;
* Test vehicle (NCT) - Bring all documentation submitted to local motor tax office as well as the RSA Modifications Report&lt;br /&gt;
&lt;br /&gt;
* Drive off into the electrified sunset...&lt;br /&gt;
&lt;br /&gt;
A few more things to note. In the example of Fiachra submitting to Wicklow, it took a month and you may find a similar timescale in some counties where an ev comversion has never come across their desks or they are leaning on stricter new rules in the last 5 years. There is a chance they will look for a main dealer stamp. This is obviously an impossibility as no main dealer is going to sign off on a non own OEM part being installed. &lt;br /&gt;
&lt;br /&gt;
Reach out to a main dealer of the main vehicle and simply ask them to, in writing, confirm that they will not certify non OEM parts fitted to their vehicles and that is what an independent accredited automotive engineer is for. It has been found that found the main dealers to be very helpful and have supplied a letter outlining the facts. &lt;br /&gt;
&lt;br /&gt;
It&#039;s all just to make it as easy as possible for the officials who see will likely never see something like this appear in the inbox and to remove any suspicion it&#039;s something else untoward similar to the engine size reclassification scam that occured circa 2010. This is the reason you may find more questions than normal from the local motor tax office but do reference the conversions carried out in Wicklow and Wexford so far. in the very recent past.&lt;br /&gt;
&lt;br /&gt;
[[Category:Legalities]]&lt;/div&gt;</summary>
		<author><name>Chrskly</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=5603</id>
		<title>ZombieVerter VCU</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=5603"/>
		<updated>2025-02-03T17:09:49Z</updated>

		<summary type="html">&lt;p&gt;Chrskly: Just formatting changes.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Zombie model.png|thumb|614x614px|ZombieVerter VCU board]]&lt;br /&gt;
==== An open-source EV conversion VCU (vehicle control unit) for controlling salvaged EV components! ====&lt;br /&gt;
* &#039;&#039;&#039;[https://openinverter.org/forum/viewtopic.php?f=3&amp;amp;t=1277 Development thread]&#039;&#039;&#039; &lt;br /&gt;
* [https://github.com/damienmaguire/Stm32-vcu/releases &#039;&#039;&#039;latest stable software release&#039;&#039;&#039;]&lt;br /&gt;
* &#039;&#039;&#039;[https://github.com/damienmaguire/Stm32-vcu github repo]&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;[https://www.evbmw.com/index.php/evbmw-webshop/vcu-boards/zombieverter-vcu-built fully built VCU boards]&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;[https://www.evbmw.com/index.php/evbmw-webshop/vcu-boards/zombie-vcu partially-built VCU boards]&#039;&#039;&#039;&lt;br /&gt;
==Introduction ==&lt;br /&gt;
Modern EV conversion projects often look to reuse salvaged parts from OEM vehicles, such as the motors, batteries and chargers. &lt;br /&gt;
&lt;br /&gt;
The issue is that each part, and manufacturer, use different methods of control and communication. Even when the methods of control are decoded, you are left with having to develop some sort of VCU to run the devices. These devices often talk different &amp;quot;languages&amp;quot;, such as CANBUS, LINBUS, sync serial, PWM, etc. &lt;br /&gt;
&lt;br /&gt;
Instead of making custom boards for every device that&#039;s been decoded, why not just make a general purpose VCU (vehicle control unit) with lots of different types of inputs and outputs?  &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Introducing: the &amp;quot;ZombieVerter&amp;quot; VCU &#039;&#039;- a general purpose EV conversion VCU.&#039;&#039;&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
With a large array of inputs/outputs, control logic, and a web interface for configuration and data logging. The ZombieVerter is a powerful, flexible and customizable VCU well suited for EV conversions. It&#039;s also an open source project!    &lt;br /&gt;
&lt;br /&gt;
==== The ZombieVerter supports popular salvaged EV parts such as: ====&lt;br /&gt;
&lt;br /&gt;
* Nissan leaf motor, PDM/OBC, and batteries&lt;br /&gt;
* Mitsubishi outlander hybrid front &amp;amp; rear drive unit, and OBC (on board charger)&lt;br /&gt;
* Lexus gs450H and gs300H hybrid gearbox&#039;s&lt;br /&gt;
* CHAdeMO and CCS fast charging&lt;br /&gt;
* and more!&lt;br /&gt;
&lt;br /&gt;
==== The ZombieVerter features the following: ====&lt;br /&gt;
&lt;br /&gt;
==== Hardware: ====&lt;br /&gt;
&lt;br /&gt;
* On-board WIFI&lt;br /&gt;
* 3x High side PWM drivers&lt;br /&gt;
* 5x low side outputs&lt;br /&gt;
* 3x input pins (pull to ground only)&lt;br /&gt;
* 3x CANbus interfaces&lt;br /&gt;
* Linbus&lt;br /&gt;
* sync serial interface&lt;br /&gt;
* OBD-II interface&lt;br /&gt;
* etc.&lt;br /&gt;
&lt;br /&gt;
==== Software: ====&lt;br /&gt;
&lt;br /&gt;
* Web based user interface&lt;br /&gt;
* Contactor control&lt;br /&gt;
* Charger control&lt;br /&gt;
* Charge timer&lt;br /&gt;
* Motor (inverter) control&lt;br /&gt;
* Heater control&lt;br /&gt;
* Water pump control&lt;br /&gt;
* Coolant fan control&lt;br /&gt;
* Throttle mapping&lt;br /&gt;
* Motor regen&lt;br /&gt;
* Cruise control (?)&lt;br /&gt;
* BMS limits&lt;br /&gt;
* IVT shunt initialization  &lt;br /&gt;
* Data logging and graphing&lt;br /&gt;
* etc.&lt;br /&gt;
=== Currently supported OEM hardware: ===&lt;br /&gt;
This list is always growing and changing. Not everything is fully tested and verified.&lt;br /&gt;
* [[Nissan leaf motors|Nissan Leaf Gen1/2/3 inverter/motor via CAN]]&lt;br /&gt;
* Nissan Leaf Gen2(and 3?) PDM (Charger and DCDC)&lt;br /&gt;
*[[BMW I3 Fast Charging LIM Module|CCS DC fast charge via BMW i3 LIM]] - type 2 + type 1&lt;br /&gt;
* [[Chademo with Zombieverter|Chademo dc fast charging]]&lt;br /&gt;
* [[Lexus GS450h Drivetrain|Lexus GS450h inverter / gearbox via sync serial]]&lt;br /&gt;
* Lexus GS300h 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;
* BMW E9x CAN support&lt;br /&gt;
* Mid-2000s VAG CAN support&lt;br /&gt;
* Subaru CAN support&lt;br /&gt;
*[[Chevrolet Volt Water Heater|Opel Ampera / Chevy Volt 6.5kw cabin heater]]&lt;br /&gt;
*[[:Category:Mitsubishi|Mitsubishi outlander motors/inverter]]&lt;br /&gt;
*[https://citini.com/product/evs-charge-port-controller/ EVS-Charge Port Controller]&lt;br /&gt;
*Foccci ccs faster charger controller&lt;br /&gt;
*VAG/VW PTC water heater via lin&lt;br /&gt;
*VAG/VW cabin heater via lin&lt;br /&gt;
*Mitsubishi outlander OBC (charger/dcdc)&lt;br /&gt;
*and more&lt;br /&gt;
== Assembling the VCU ==&lt;br /&gt;
Looking to build a ZombieVerter VCU yourself or the kit is missing hardware? &lt;br /&gt;
&lt;br /&gt;
* [[Zombiverter hardware]] page for additional build instructions&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/damienmaguire/Stm32-vcu Github with PCB, schematic, pinouts, etc]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;The enclosure and header are required if you did not order a [https://www.evbmw.com/index.php/evbmw-webshop/vcu-boards/zombieverter-vcu-built &#039;&#039;&#039;fully built board&#039;&#039;&#039;]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
VCU boards from the webshop, &#039;&#039;&#039;&#039;&#039;come pre-programed&#039;&#039;&#039;&#039;&#039; and &#039;&#039;&#039;do not require any additional steps taken to work&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
For programming a blank board see: [[zombieverter programing|ZombieVerter programing]]&lt;br /&gt;
===The enclosure kit options:===&lt;br /&gt;
&lt;br /&gt;
# [https://www.aliexpress.com/item/32857771975.html?spm=a2g0s.9042311.0.0.39f24c4dWOmGPE 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;
#[https://www.aliexpress.com/item/32822692950.html 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;
#[https://www.aliexpress.com/item/1005003512474442.html Prewired connector]  &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;
The original connectors are from aptiv (delphi):&lt;br /&gt;
&lt;br /&gt;
* [https://www.aptiv.com/en/solutions/connection-systems/catalog/item?id=13669859_en Aptive 56pin connector]&lt;br /&gt;
* [https://www.aptiv.com/en/solutions/connection-systems/catalog/item?id=33511394_en Aptive 56pin header]&lt;br /&gt;
* [https://www.tti.com/content/ttiinc/en/apps/part-detail.html?partsNumber=210S048&amp;amp;mfgShortname=FCA&amp;amp;productId=161404611 Removal tool for connector terminals: Manufacturer: Aptiv (formerly Delphi)]  Part Number: 210S048&lt;br /&gt;
=== Videos on assembly, powering up, updating, etc: ===&lt;br /&gt;
https://www.youtube.com/watch?v=geZuIbGHh30&amp;amp;list=PLh-aHjjWGgLVCsAqaCL6_jmn_QqhVlRiG&lt;br /&gt;
&lt;br /&gt;
https://www.youtube.com/watch?v=_JRa_uFyVkY&amp;amp;list=PLh-aHjjWGgLUWaetAmShkv6gmvk7vLaHd&lt;br /&gt;
== Wiring ==&lt;br /&gt;
[[File:Zombie 56 connector.jpg|thumb|512x512px|ZombieVerter pinout from https://github.com/damienmaguire/Stm32-vcu/blob/master/Hardware/Zombie/ZombieVerter_V1%20-%20Schematic.pdf]][[File:ZombieVerter VCU V1 cable side pinout2.jpg|thumb|alt=|VCU pinout diagram |513x513px]]Each device requires different wiring setups, settings and power requirements. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;cross referencing OEM wiring diagrams is highly recommended &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Wiring the ZombieVerter with:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
* [[GS450H with zombieverter|GS450H with ZombieVerter]]&lt;br /&gt;
* [[Leaf stack with zombiverter|Leaf stack with ZombiVerter]]&lt;br /&gt;
* [[Tesla SDU with Zombieverter|Tesla SDU with ZombieVerter]]&lt;br /&gt;
&lt;br /&gt;
=== Power wiring ===&lt;br /&gt;
The ZombieVerter requires a permanent 12v supply. This is so it can manage charging, timers, and monitor systems when the car is at rest.  &lt;br /&gt;
&lt;br /&gt;
The average power draw, at idle, is 150 mA. &lt;br /&gt;
&lt;br /&gt;
* Pin 55 to 12v- ground&lt;br /&gt;
* Pin 56 to 12v+ positive&lt;br /&gt;
&lt;br /&gt;
The ZombieVerter controls power/&amp;quot;ignition&amp;quot; signals to other devices (inverters, chargers, and DCDC converters), powering those devices when required. This is done by triggering an external 12v relay. &#039;&#039;&#039;&#039;&#039;ZombieVerter controls the external relay using low-side switching&#039;&#039;, meaning that it pulls the ground pin of the relay to ground.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Pin 32 to ground pin on a 12v relay&lt;br /&gt;
* Relay positive pin to 12v+&lt;br /&gt;
* One of the relays switch pin to 12v+&lt;br /&gt;
&lt;br /&gt;
This effectively provides a switched 12v supply, controlled by the ZombieVerter.  &lt;br /&gt;
&lt;br /&gt;
Used to switch &amp;quot;enable&amp;quot; mode to devices via: &lt;br /&gt;
&lt;br /&gt;
* Leaf inverter enable pin&lt;br /&gt;
* Leaf PDM enable pin&lt;br /&gt;
* Mitsubisihi OBC enable pin&lt;br /&gt;
&lt;br /&gt;
=== Contactor wiring ===&lt;br /&gt;
The Zombieveter manages the Negative, Positive and PreCharge contactors in an EV conversion.&lt;br /&gt;
&lt;br /&gt;
This is done based off a series of voltage measurements (UDC), this voltage value (UDC) can be supplied from a variety of sources:&lt;br /&gt;
&lt;br /&gt;
* ISA IVT shunt&lt;br /&gt;
* Nissan leaf inverter&lt;br /&gt;
* BMW SBOX&lt;br /&gt;
* etc.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Without a proper UDC measurement, the ZombieVerter &#039;&#039;&#039;will fail precharge and never go into run mode.&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The contactor control pins on the ZombieVerter are &#039;&#039;low-side switching&#039;&#039;, meaning that they pull to ground.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The positive leads from the contactors need to be connected to 12v+ and the ground leads to:&lt;br /&gt;
&lt;br /&gt;
* Pin 31 for the negative contactor&lt;br /&gt;
* Pin 33 for the positive contactor&lt;br /&gt;
* Pin 34 for the pre-charge contactor&lt;br /&gt;
=== Throttle pedal wiring ===&lt;br /&gt;
The ZombieVerter supports dual-channel throttle. This redundancy is for safety in case one channel fails or drops out. It&#039;s highly recommended to use dual-channel throttle. Single-channel is an option.&lt;br /&gt;
&lt;br /&gt;
Connect the following to the ZombieVerter pins:&lt;br /&gt;
&lt;br /&gt;
* Pin 45 to throttle grounds&lt;br /&gt;
* Pin 46 to throttle channel 2&lt;br /&gt;
* Pin 47 to throttle channel 1&lt;br /&gt;
* Pin 48 to throttle positives&lt;br /&gt;
&lt;br /&gt;
=== Start, Run, and Direction wiring ===&lt;br /&gt;
The ZombieVerter requires 2 inputs to get into &amp;quot;drive&amp;quot; mode. &#039;&#039;&#039;These pins need to be &#039;&#039;pulled high&#039;&#039; (connected to 12v +)&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
* Pin 15 to &amp;quot;on&amp;quot; switched input (key switched to &amp;quot;on&amp;quot;)&lt;br /&gt;
* Pin 52 to &amp;quot;start&amp;quot; momentary input  (momentary key switched &amp;quot;ignition&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
==== Forward and Reverse ====&lt;br /&gt;
These pins need to be &#039;&#039;pulled high&#039;&#039; (connected to 12v +) &lt;br /&gt;
&lt;br /&gt;
* Pin 53 reverse&lt;br /&gt;
* Pin 54 forward&lt;br /&gt;
=== Input/output pins ===&lt;br /&gt;
The ZombieVerter has a number of selectable input/output pins that can be used for a number of functions. These pins are:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;Low side Outputs.&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*GP Out 3&lt;br /&gt;
*GP Out 2&lt;br /&gt;
* Neg Contactor switch/GP Out 1&lt;br /&gt;
*Trans SL1- (If not using the GS450H)&lt;br /&gt;
*Trans SL2- (If not using the GS450H)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;*Low side output connect to ground when activated.&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
The low side outputs in Zombie are ideal for switching relays, such as for coolant pumps.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;High side PWM.&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*PWM 3&lt;br /&gt;
*PWM 2&lt;br /&gt;
*PWM 1&lt;br /&gt;
*Pump PWM - Limited to GS450 Oil pump pwm or tacho pwm output&lt;br /&gt;
&lt;br /&gt;
These are high side 12v outputs, usually for controlling gauges or auxiliary items than need a pwm signals. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;*not suitable for controlling relays.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;Ground Input pins&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These pins pull down to ground only. &#039;&#039;&#039;Do not connect any voltage to these pins.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
PB1&lt;br /&gt;
&lt;br /&gt;
PB2&lt;br /&gt;
&lt;br /&gt;
PB3&lt;br /&gt;
&lt;br /&gt;
=== Pin functions: ===&lt;br /&gt;
&#039;&#039;Note: While the web interface will allow you to select input pins or output pins, some will not actually work.&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;example: a input switch wired but set to negContactor&#039;&#039;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Pin&lt;br /&gt;
!IN/OUT/PWM&lt;br /&gt;
!Function&lt;br /&gt;
|-&lt;br /&gt;
|ChaDemoAIw&lt;br /&gt;
|&#039;&#039;&#039;OUTPUT&#039;&#039;&#039;&lt;br /&gt;
|activates when Chademo charger handshake initiates&lt;br /&gt;
|-&lt;br /&gt;
|OBCEnable&lt;br /&gt;
|&#039;&#039;&#039;OUTPUT&#039;&#039;&#039;&lt;br /&gt;
|activates as part of the ExtCharger module&lt;br /&gt;
|-&lt;br /&gt;
|HeaterEnable&lt;br /&gt;
|&#039;&#039;&#039;OUTPUT&#039;&#039;&#039;&lt;br /&gt;
|activates only in run mode and when coolant pump is on*&lt;br /&gt;
|-&lt;br /&gt;
|RunIndication&lt;br /&gt;
|&#039;&#039;&#039;OUTPUT&#039;&#039;&#039;&lt;br /&gt;
|activates when zombie is in run mode&lt;br /&gt;
|-&lt;br /&gt;
|WarnIndication&lt;br /&gt;
|&#039;&#039;&#039;OUTPUT&#039;&#039;&#039;&lt;br /&gt;
|activates when a error occurs with the ZombieVerter&lt;br /&gt;
|-&lt;br /&gt;
|CoolantPump&lt;br /&gt;
|&#039;&#039;&#039;OUTPUT&#039;&#039;&#039;&lt;br /&gt;
|activates during precharge, usually used for coolant pumps&lt;br /&gt;
|-&lt;br /&gt;
|NegContactor&lt;br /&gt;
|&#039;&#039;&#039;OUTPUT&#039;&#039;&#039;&lt;br /&gt;
|activates when the negative contactor needs to be closed. ie precharge, run, charge mode, etc&lt;br /&gt;
|-&lt;br /&gt;
|BrakeLight&lt;br /&gt;
|&#039;&#039;&#039;OUTPUT&#039;&#039;&#039;&lt;br /&gt;
|activates when a set brake light on threshold value is met&lt;br /&gt;
|-&lt;br /&gt;
|ReverseLight&lt;br /&gt;
|&#039;&#039;&#039;OUTPUT&#039;&#039;&#039;&lt;br /&gt;
|activates when reverse direction is selected&lt;br /&gt;
|-&lt;br /&gt;
|CoolingFan&lt;br /&gt;
|&#039;&#039;&#039;OUTPUT&#039;&#039;&#039;&lt;br /&gt;
|activates when FanTemp setpoint is reached&lt;br /&gt;
|-&lt;br /&gt;
|HVActive&lt;br /&gt;
|&#039;&#039;&#039;OUTPUT&#039;&#039;&#039;&lt;br /&gt;
|activates when contactors are closed and VCU is in run or charge mode&lt;br /&gt;
|-&lt;br /&gt;
|BrakeVacPump&lt;br /&gt;
|&#039;&#039;&#039;DIGITAL OUTPUT&#039;&#039;&#039;&lt;br /&gt;
|activates when BrakeVacSensor threshold value is met&lt;br /&gt;
|-&lt;br /&gt;
|CpSpoof&lt;br /&gt;
|&#039;&#039;&#039;PWM OUTPUT&#039;&#039;&#039;&lt;br /&gt;
|used to spoof CP signal to OBC when using a charging interface such as FOCCCI or I3LIM&lt;br /&gt;
|-&lt;br /&gt;
|GS450Hpump&lt;br /&gt;
|&#039;&#039;&#039;PWM OUTPUT&#039;&#039;&#039;&lt;br /&gt;
|used to run GS450H oil pump&lt;br /&gt;
|-&lt;br /&gt;
|HeatReq&lt;br /&gt;
|&#039;&#039;&#039;DIGITAL INPUT&#039;&#039;&#039;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|HVRequest&lt;br /&gt;
|&#039;&#039;&#039;DIGITAL INPUT&#039;&#039;&#039;&lt;br /&gt;
|starts precharge cycle and puts VCU into charge mode&lt;br /&gt;
|-&lt;br /&gt;
|ProxPilot&lt;br /&gt;
|&#039;&#039;&#039;ANALOGUE INPUT&#039;&#039;&#039;&lt;br /&gt;
|detects when charge cable is plugged in&lt;br /&gt;
|-&lt;br /&gt;
|BrakeVacSensor&lt;br /&gt;
|&#039;&#039;&#039;ANALOGUE INPUT&#039;&#039;&#039;&lt;br /&gt;
|vacuum sensor input, use for triggering BrakeVacPump &#039;&#039;&#039;DIGITAL OUTPUT&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|PWMTim3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Proximity Pilot====&lt;br /&gt;
This analogue input used to detect a charging cable is plugged in.&lt;br /&gt;
[[File:ZombiePP.png|none|thumb]]&lt;br /&gt;
A resistor to the 5v needs to be connected to the analogue in pin, 330 ohms in the spec, and R5 needs to be another resistor between analogue in pin and ground. Type 1 connectors should be a 2.7k ohm resistor and type 2 should be 4.7k ohm. Note the charging port may already have this resistor installed.&lt;br /&gt;
&lt;br /&gt;
Open up the Zombie UI and choose ProxPilot for the function of the analogue in pin. Then start plotting PPVal and then plug in, you can then use this to select your PPThreshold. Bare in mind the resistance will vary on the cable plugged in depending on the Amps it can supply.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
https://www.youtube.com/watch?v=U3c4V8vMb6k Video here for the setup and demonstration.&lt;br /&gt;
== Initial start-up and testing ==&lt;br /&gt;
&lt;br /&gt;
=== Powering up and connecting to the web interface ===&lt;br /&gt;
&lt;br /&gt;
==== &#039;&#039;&#039;The following is required&#039;&#039;&#039; ====&lt;br /&gt;
# A fully built ZombieVerter VCU&lt;br /&gt;
# Two wires for power&lt;br /&gt;
# 12v power supply&lt;br /&gt;
# Computer/tablet for accessing the web interface&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How to access the web interface&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# Provide stable 12v power to pins 55, 56 on the ZombieVerter&lt;br /&gt;
# The on-board LED light &amp;quot;acty&amp;quot; should be now flashing&lt;br /&gt;
# Using your computer, connect to the ZombieVerters WIFI access point.  &#039;&#039;&#039;SSID: &amp;quot;inverter&amp;quot; or &amp;quot;zom_vcu&amp;quot;&#039;&#039;&#039; &lt;br /&gt;
# &#039;&#039;&#039;Password is: inverter123&#039;&#039;&#039;&lt;br /&gt;
# In a web browser navigate to: &#039;&#039;&#039;192.168.4.1&#039;&#039;&#039;&lt;br /&gt;
# The openinverter web interface should now load!&lt;br /&gt;
&lt;br /&gt;
&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.4.1 on the 192.168.4.0/24 subnet) to your device.&lt;br /&gt;
&lt;br /&gt;
===Configuration===&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;work in progress*&lt;br /&gt;
&lt;br /&gt;
[[Zombieverter Parameters and Spot Values|full list and overview of ZombieVerter Parameters and Spot Values]]&lt;br /&gt;
&lt;br /&gt;
==== Basic parameters and spot values ====&lt;br /&gt;
&lt;br /&gt;
==== Throttle ====&lt;br /&gt;
You should see values &#039;&#039;&#039;pot&#039;&#039;&#039; change as the pedal is pressed.  &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;potmin&#039;&#039;&#039; should be set just above where your off-throttle position is&lt;br /&gt;
* &#039;&#039;&#039;potmax&#039;&#039;&#039; just below the value seen at maximum travel &lt;br /&gt;
* Same for &#039;&#039;&#039;pot2min&#039;&#039;&#039; and &#039;&#039;&#039;pot2max&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The resulting in a  0-100 &#039;&#039;&#039;potnom&#039;&#039;&#039; value.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;throtmin&#039;&#039;&#039; is the minimum (most negative) allowed &#039;&#039;&#039;&#039;&#039;potnom&#039;&#039;&#039;&#039;&#039; at all times&lt;br /&gt;
* &#039;&#039;&#039;throtmax&#039;&#039;&#039; is the maximum (most positive) allowed &#039;&#039;&#039;&#039;&#039;potnom&#039;&#039;&#039;&#039;&#039; request in forward&lt;br /&gt;
* &#039;&#039;&#039;throtramp&#039;&#039;&#039; is how much &#039;&#039;&#039;potnom&#039;&#039;&#039; ramps up with the pedal pushed (&#039;&#039;&#039;potnom&#039;&#039;&#039; change per %/10ms)&lt;br /&gt;
* &#039;&#039;&#039;throtramprpm&#039;&#039;&#039; stops applying &#039;&#039;&#039;throtramp&#039;&#039;&#039; above a set motor rpm&lt;br /&gt;
* &#039;&#039;&#039;revlim&#039;&#039;&#039; is a rev limiter &lt;br /&gt;
&lt;br /&gt;
==== Contactors ====&lt;br /&gt;
A set HV battery voltage value is required to run the precharge and main contactors. &lt;br /&gt;
&lt;br /&gt;
The voltage is measured using the UDC value. which is supplied from the &#039;&#039;&#039;shuntType:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;ISA&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;SBOX&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;VAG&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;LEAF&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
these voltage(UDC) levels are set with the following parameters:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;udcmin&#039;&#039;&#039; is the minimum battery voltage derate&lt;br /&gt;
* &#039;&#039;&#039;udclim&#039;&#039;&#039; is maximum battery voltage derate&lt;br /&gt;
* &#039;&#039;&#039;udcsw&#039;&#039;&#039; is Voltage point at which precharge is considered finished, and the main contactor will close.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Forward/Reverse&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
input options:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;switch&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;button&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;switchReversed&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;buttomReversed&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==== Inverter ====&lt;br /&gt;
&lt;br /&gt;
==== Charger ====&lt;br /&gt;
&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;
==Software==&lt;br /&gt;
&lt;br /&gt;
VCU boards from the webshop, &#039;&#039;&#039;&#039;&#039;come pre-programed&#039;&#039;&#039;&#039;&#039; and &#039;&#039;&#039;do not require any additional septs taken to work&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
For programming a blank board see: [[zombiverter programing|ZombiVerter programing]]&lt;br /&gt;
==== Initializing an ISA Shunt: ====&lt;br /&gt;
&lt;br /&gt;
# wire the ISA shunt to 12v+ and canbus input.&lt;br /&gt;
# under shunt can in the web interface, select the canbus the shunt is connected to&lt;br /&gt;
# hit save parameters to flash.&lt;br /&gt;
# Under Comms in the web interface, select ISAMode option. By default its set to &amp;quot;Normal&amp;quot; (Off)&lt;br /&gt;
# select &amp;quot;Init&amp;quot;&lt;br /&gt;
# hit save parameters to flash&lt;br /&gt;
# Power cycle the vcu and shunt at same time (they should be on same 12v feed anyway).&lt;br /&gt;
# The shunt will initialize.&lt;br /&gt;
# Select ISAMode &amp;quot;normal&amp;quot;&lt;br /&gt;
# save to flash again&lt;br /&gt;
# reboot the VCU&lt;br /&gt;
&lt;br /&gt;
The shunt should now be up and running.&lt;br /&gt;
&lt;br /&gt;
If the shunt doesn&#039;t initialize correctly, separate the shunt and VCU power supply, and power cycle the VCU two or three seconds after the shunt power is cycled. This has fixed an initialize issue for a number of ISA shunts.&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
[[Zombieverter Parameters and Spot Values|page with ZombieVerter parameters and their value ranges, ZV pinmap etc.]]&lt;br /&gt;
&lt;br /&gt;
Source: https://www.youtube.com/watch?v=wjlucUWX_lc&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;
=== Recovering the ZombieVerter from a failed update ===&lt;br /&gt;
if the ZombieVerter fails in the middle of a software update and the Web User Interface is reporting &amp;quot;firmware: null&amp;quot; it&#039;s possible you&#039;ll need to re-flash the firmware, and bootloader via an STLink.&lt;br /&gt;
&lt;br /&gt;
# Firstly, download the bootloader and latest ZombieVerter firmware from here &amp;lt;ref&amp;gt;https://github.com/damienmaguire/Stm32-vcu/releases/&amp;lt;/ref&amp;gt; and here &amp;lt;ref&amp;gt;https://github.com/jsphuebner/tumanako-inverter-fw-bootloader/releases&amp;lt;/ref&amp;gt; as .hex files, this ensures you don&#039;t need to know the address of the file and avoids user error when flashing via STLink (I used a cheap STLink v2 clone without issue but it seems there is a mix of experiences with them).&lt;br /&gt;
# Download STMCubeProgrammer (other STM flashing softwares are available but the following instructions are based on what has worked for me).&lt;br /&gt;
# Upgrade the firmware on your STLink dongle using STMCubeProgrammer (I&#039;m not sure if this is 100% necessary but seems prudent).&lt;br /&gt;
# Connect the Clock (SWclk), Gnd and Data (SWDio) of your STLink to the ZombieVerter test points (near to the STM32 chip, they are labelled C, G, D) as well as 12V and Gnd to the ZombieVerter main power pins and ensure your STMCubeprogrammer is able to connect to it, I also disconnected the wifi board just incase.&lt;br /&gt;
# Perform a &amp;quot;full chip erase&amp;quot;, then reflash the latest bootloader and firmware hex files.&lt;br /&gt;
# Remove your STLink from the ZombieVerter, connect the wifi board and check connectivity.&lt;br /&gt;
# Begin ZombieVerter-ing.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
[[Category:Inverter]] &lt;br /&gt;
[[Category:VCU]] &lt;br /&gt;
[[Category:ZombieVerter]]&lt;/div&gt;</summary>
		<author><name>Chrskly</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Zombiverter_programing&amp;diff=5602</id>
		<title>Zombiverter programing</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Zombiverter_programing&amp;diff=5602"/>
		<updated>2025-02-03T12:10:12Z</updated>

		<summary type="html">&lt;p&gt;Chrskly: Chrskly moved page Zombiverter programing to Zombieverter programing: Typo in the name&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Zombieverter programing]]&lt;/div&gt;</summary>
		<author><name>Chrskly</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Zombieverter_programing&amp;diff=5601</id>
		<title>Zombieverter programing</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Zombieverter_programing&amp;diff=5601"/>
		<updated>2025-02-03T12:10:12Z</updated>

		<summary type="html">&lt;p&gt;Chrskly: Chrskly moved page Zombiverter programing to Zombieverter programing: Typo in the name&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;gt;Use this bootloader: https://github.com/jsphuebner/stm32-CANBootloader&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;
==Software update==&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 (the red wire provides power to the chip. If the vcu is powered by it’s 12v pins instead, the red wire can be omitted):[[File:0B35D4F9-BA64-46E7-A570-A0CE1D619D63.jpg|none|thumb]]&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; (Off on Rev 2). If you want to initialize a new shunt, connect it up, power on the shunt and vcu, select &amp;quot;Init&amp;quot; (On on Rev 2), 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; (Off on Rev 2), save to flash again and reboot again. The shunt should now be up and running. If the shunt doesn&#039;t initialise correctly, separate the shunt and VCU supplies and power cycle the VCU two or three seconds after the shunt power is cycled. This has fixed an initialise issue for a number of ISA shunts and possibly requires a VCU code fix that delays the initialising for a few seconds to allow the shunt to power up.&lt;/div&gt;</summary>
		<author><name>Chrskly</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=5600</id>
		<title>ZombieVerter VCU</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=5600"/>
		<updated>2025-02-03T12:09:44Z</updated>

		<summary type="html">&lt;p&gt;Chrskly: typo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Zombie model.png|thumb|614x614px|Zombiverter VCU board]]&lt;br /&gt;
==== An open-source EV conversion VCU (vehicle control unit) for controlling salvaged EV components! ====&lt;br /&gt;
* &#039;&#039;&#039;[https://openinverter.org/forum/viewtopic.php?f=3&amp;amp;t=1277 Development thread]&#039;&#039;&#039; &lt;br /&gt;
* [https://github.com/damienmaguire/Stm32-vcu/releases &#039;&#039;&#039;latest stable software release&#039;&#039;&#039;]&lt;br /&gt;
* &#039;&#039;&#039;[https://github.com/damienmaguire/Stm32-vcu github repo]&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;[https://www.evbmw.com/index.php/evbmw-webshop/vcu-boards/zombieverter-vcu-built fully built VCU boards]&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;[https://www.evbmw.com/index.php/evbmw-webshop/vcu-boards/zombie-vcu partially-built VCU boards]&#039;&#039;&#039;&lt;br /&gt;
==Introduction ==&lt;br /&gt;
Modern EV conversion projects often look to reuse salvaged parts from OEM vehicles, such as the motors, batteries and chargers. &lt;br /&gt;
&lt;br /&gt;
The issue is that each part, and manufacture, use different methods of control and communication.  Even when the methods of control are decoded, you are left with having to develop some sort of VCU to run the devices. These devices often talk different &amp;quot;languages&amp;quot;, such as CANBUS, LINBUS, sync serial, PWM, etc &lt;br /&gt;
&lt;br /&gt;
Instead of making custom boards for every device that&#039;s been decoded, why not just make a general purpose VCU (vehicle control unit) with lots of different types of inputs and outputs?  &lt;br /&gt;
&lt;br /&gt;
introducing: the &amp;quot;Zombieverter&amp;quot; VCU &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;a general purpose EV conversion VCU.&#039;&#039;&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
With a large array of inputs/outputs, control logic, and a web interface for configuration and data logging. The Zombieverter is a powerful, flexible and customizable VCU well suited for EV conversions. its also an open source project!    &lt;br /&gt;
&lt;br /&gt;
==== The Zombieverter supports popular salvaged EV parts such as: ====&lt;br /&gt;
&lt;br /&gt;
* Nissan leaf motor, PDM/OBC, and batteries&lt;br /&gt;
* Mitsubishi outlander hybrid front &amp;amp; rear drive unit, and OBC (on board charger)&lt;br /&gt;
* Lexus gs450H and gs300H hybrid gearbox&#039;s&lt;br /&gt;
* chademo and ccs fast charging &lt;br /&gt;
* and more!&lt;br /&gt;
&lt;br /&gt;
==== The Zombieverter features the following: ====&lt;br /&gt;
&lt;br /&gt;
==== hardware: ====&lt;br /&gt;
&lt;br /&gt;
* on board WIFI&lt;br /&gt;
* 3x High side PWM drivers&lt;br /&gt;
* 5x low side outputs&lt;br /&gt;
* 3x input pins (pull to ground only)&lt;br /&gt;
* 3x CANbus interfaces&lt;br /&gt;
* Linbus&lt;br /&gt;
* sync serial interface&lt;br /&gt;
* OBD-II interface&lt;br /&gt;
* etc&lt;br /&gt;
&lt;br /&gt;
==== Software: ====&lt;br /&gt;
&lt;br /&gt;
* web based user interface&lt;br /&gt;
* contactor control&lt;br /&gt;
* charger control&lt;br /&gt;
* charge timer&lt;br /&gt;
* motor(inverter) control&lt;br /&gt;
* heater control&lt;br /&gt;
* water pump control&lt;br /&gt;
* coolant fan control&lt;br /&gt;
* throttle mapping&lt;br /&gt;
* motor regen&lt;br /&gt;
* cruise control(?) &lt;br /&gt;
* BMS limits&lt;br /&gt;
* IVT shunt initialization  &lt;br /&gt;
* data logging and graphing&lt;br /&gt;
* etc&lt;br /&gt;
=== Currently supported OEM hardware: ===&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;this list is always growing and changing, not everything is fully tested and verified&lt;br /&gt;
* [[Nissan leaf motors|Nissan Leaf Gen1/2/3 inverter/motor via CAN]]&lt;br /&gt;
* Nissan Leaf Gen2(and 3?) PDM (Charger and DCDC)&lt;br /&gt;
*[[BMW I3 Fast Charging LIM Module|CCS DC fast charge via BMW i3 LIM]] - type 2 + type 1&lt;br /&gt;
* [[Chademo with Zombieverter|Chademo dc fast charging]]&lt;br /&gt;
* [[Lexus GS450h Drivetrain|Lexus GS450h inverter / gearbox via sync serial]]&lt;br /&gt;
* Lexus GS300h 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;
* BMW E9x CAN support&lt;br /&gt;
* Mid-2000s VAG CAN support&lt;br /&gt;
* subaru CAN support&lt;br /&gt;
*[[Chevrolet Volt Water Heater|Opel Ampera / Chevy Volt 6.5kw cabin heater]]&lt;br /&gt;
*[[:Category:Mitsubishi|Mitsubishi outlander motors/inverter]]&lt;br /&gt;
*[https://citini.com/product/evs-charge-port-controller/ EVS-Charge Port Controller]&lt;br /&gt;
*Foccci ccs faster charger controller&lt;br /&gt;
*VAG/VW PTC water heater via lin&lt;br /&gt;
*VAG/VW cabin heater via lin&lt;br /&gt;
*Mitsubishi outlander OBC (charger/dcdc)&lt;br /&gt;
*and more&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Assembling the VCU ==&lt;br /&gt;
Looking to build a Zombieverter VCU your self or the kit is missing hardware? &lt;br /&gt;
&lt;br /&gt;
* [[Zombiverter hardware]] page for additional build instructions&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/damienmaguire/Stm32-vcu github with PCB, schematic, pinouts, etc]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;the enclosure and header are required if you did not order a [https://www.evbmw.com/index.php/evbmw-webshop/vcu-boards/zombieverter-vcu-built &#039;&#039;&#039;fully built board&#039;&#039;&#039;]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
VCU boards from the webshop, &#039;&#039;&#039;&#039;&#039;come pre-programed&#039;&#039;&#039;&#039;&#039; and &#039;&#039;&#039;do not require any additional steps taken to work&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
for programming a blank board see: [[zombieverter programing]]&lt;br /&gt;
===The enclosure kit options:===&lt;br /&gt;
&lt;br /&gt;
# [https://www.aliexpress.com/item/32857771975.html?spm=a2g0s.9042311.0.0.39f24c4dWOmGPE 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;
#[https://www.aliexpress.com/item/32822692950.html 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;
#[https://www.aliexpress.com/item/1005003512474442.html Prewired connector]  &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;
The original connectors are from aptiv (delphi):&lt;br /&gt;
&lt;br /&gt;
* [https://www.aptiv.com/en/solutions/connection-systems/catalog/item?id=13669859_en aptive 56pin connector] &lt;br /&gt;
* [https://www.aptiv.com/en/solutions/connection-systems/catalog/item?id=33511394_en aptive 56pin header]&lt;br /&gt;
* [https://www.tti.com/content/ttiinc/en/apps/part-detail.html?partsNumber=210S048&amp;amp;mfgShortname=FCA&amp;amp;productId=161404611 Removal tool for connector terminals: Manufacturer: Aptiv (formerly Delphi)]  Part Number: 210S048&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== videos on assembly, powering up, updating, etc: ===&lt;br /&gt;
https://www.youtube.com/watch?v=geZuIbGHh30&amp;amp;list=PLh-aHjjWGgLVCsAqaCL6_jmn_QqhVlRiG&lt;br /&gt;
&lt;br /&gt;
https://www.youtube.com/watch?v=_JRa_uFyVkY&amp;amp;list=PLh-aHjjWGgLUWaetAmShkv6gmvk7vLaHd&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Wiring ==&lt;br /&gt;
[[File:Zombie 56 connector.jpg|thumb|512x512px|zombieverter pinout from https://github.com/damienmaguire/Stm32-vcu/blob/master/Hardware/Zombie/ZombieVerter_V1%20-%20Schematic.pdf]][[File:ZombieVerter VCU V1 cable side pinout2.jpg|thumb|alt=|VCU pinout diagram |513x513px]]each device requires different wiring setups, settings and power requirements. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;cross referencing OEM wiring diagrams is highly recommended &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;wiring the zombieverter with:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
* [[GS450H with zombieverter]]&lt;br /&gt;
* [[Leaf stack with zombiverter]]&lt;br /&gt;
* [[Tesla SDU with Zombieverter]]&lt;br /&gt;
&lt;br /&gt;
=== Power wiring: ===&lt;br /&gt;
The Zombieverter requires permanent 12v.  &lt;br /&gt;
&lt;br /&gt;
This is so that it can mange charging, timers, and monitor systems when the car is at rest.  &lt;br /&gt;
&lt;br /&gt;
The average draw, at idle, is 150 mA. &lt;br /&gt;
&lt;br /&gt;
* pin 55 to 12v- ground&lt;br /&gt;
* pin 56 to 12v+ positive&lt;br /&gt;
&lt;br /&gt;
The Zombieverter controls power/ &amp;quot;ignition&amp;quot; signals to other devices (inverters, chargers, and dcdc converters) when required. This is done by triggering a external 12v relay. &#039;&#039;&#039;&#039;&#039;Low-side switching&#039;&#039;, meaning that it pulls to ground.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* pin 32 to ground pin on a 12v relay&lt;br /&gt;
* relay positive pin to 12v+&lt;br /&gt;
* 1 of the relays switch pin to 12v+&lt;br /&gt;
&lt;br /&gt;
This effectively provides a switched 12v supply, controlled by the Zombieverter.  &lt;br /&gt;
&lt;br /&gt;
Used to switch &amp;quot;enable&amp;quot; mode to devices via : &lt;br /&gt;
&lt;br /&gt;
* Leaf inverter enable pin&lt;br /&gt;
* Leaf PDM enable pin&lt;br /&gt;
* Mitsubisihi OBC enable pin&lt;br /&gt;
&lt;br /&gt;
=== Contactor wiring: ===&lt;br /&gt;
The Zombieveter manages the Negative, Positive and PreCharge contactors in a ev conversion.&lt;br /&gt;
&lt;br /&gt;
This is done based off a series of voltage measurements (UDC), this voltage value (UDC) can be supplied from a variety of sources:&lt;br /&gt;
&lt;br /&gt;
* ISA IVT shunt&lt;br /&gt;
* nissan leaf inverter&lt;br /&gt;
* bmw SBOX&lt;br /&gt;
* etc&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;with out a proper UDC measurement, the zombieverter &#039;&#039;&#039;will fail precharge and never go into run mode.&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The contactor control pins on the Zombieverter are &#039;&#039;low-side switching&#039;&#039;, meaning that they pull to ground.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The positive leads from the contactors need to be connected to 12v+ and the ground leads to:&lt;br /&gt;
&lt;br /&gt;
* pin 31 for the negative contactor&lt;br /&gt;
* pin 33 for the positive contactor&lt;br /&gt;
* pin 34 for the pre-charge contactor&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Throttle pedal wiring: ===&lt;br /&gt;
The Zombieverter supports dual-channel throttle, this redundancy is for safety incase one channel fails or drops out. Its highly recommended to use dual channel throttle.&lt;br /&gt;
&lt;br /&gt;
single channel is an option.&lt;br /&gt;
&lt;br /&gt;
Connect the following to the Zombieverter pins:&lt;br /&gt;
&lt;br /&gt;
* pin 45 to throttle grounds&lt;br /&gt;
* pin 46 to throttle channel 2&lt;br /&gt;
* pin 47 to throttle channel 1&lt;br /&gt;
* pin 48 to throttle positives&lt;br /&gt;
&lt;br /&gt;
=== Start, Run, and Direction wiring: ===&lt;br /&gt;
The zombieverter requires 2 inputs to get into &amp;quot;drive&amp;quot; mode. &#039;&#039;&#039;These pins need to be &#039;&#039;pulled high&#039;&#039; (connected to 12v +)&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
* pin 15 to  &amp;quot;on&amp;quot; switched input (key switched to &amp;quot;on&amp;quot;)&lt;br /&gt;
* pin 52 to &amp;quot;start&amp;quot; momentary input  (momentary key switched &amp;quot;ignition&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
==== Forward and Reverse: ====&lt;br /&gt;
These pins need to be &#039;&#039;pulled high&#039;&#039; (connected to 12v +) &lt;br /&gt;
&lt;br /&gt;
* pin 53 reverse&lt;br /&gt;
* pin 54 forward&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Input/output pins: ===&lt;br /&gt;
The Zombieverter has a number of selectable input/output pins that can be used for a number of functions. These pins are:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;Low side Outputs.&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*GP Out 3&lt;br /&gt;
*GP Out 2&lt;br /&gt;
* Neg Contactor switch/GP Out 1&lt;br /&gt;
*Trans SL1- (If not using the GS450H)&lt;br /&gt;
*TransSL2- (If not using the GS450H)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;*Low side output connect to ground when activated.&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
The low side outputs in Zombie are ideal for switching relays, such as for coolant pumps.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;High side PWM.&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*PWM 3&lt;br /&gt;
*PWM 2&lt;br /&gt;
*PWM 1&lt;br /&gt;
*Pump PWM - Limited to GS450 Oil pump pwm or tacho pwm output&lt;br /&gt;
&lt;br /&gt;
These are high side 12v outputs, usually for controlling gauges or auxiliary items than need a pwm signals. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;*not suitable for controlling relays.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;Ground Input pins&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These pins pull down to ground only. &#039;&#039;&#039;Do not connect any voltage to these pins.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
PB1&lt;br /&gt;
&lt;br /&gt;
PB2&lt;br /&gt;
&lt;br /&gt;
PB3&lt;br /&gt;
&lt;br /&gt;
=== Pin functions: ===&lt;br /&gt;
&#039;&#039;Note: While the web interface will allow you to select input pins or output pins, some will not actually work.&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;example: a input switch wired but set to negContactor&#039;&#039; &lt;br /&gt;
*ChaDemoAIw - &#039;&#039;&#039;OUTPUT&#039;&#039;&#039; - activates when Chademo charger handshake initiates &lt;br /&gt;
*OBCEnable - &#039;&#039;&#039;OUTPUT&#039;&#039;&#039;: activates as part of the ExtCharger module&lt;br /&gt;
*HeaterEnable - &#039;&#039;&#039;OUTPUT&#039;&#039;&#039;: activates only in run mode and when coolant pump is on*&lt;br /&gt;
*RunIndication - &#039;&#039;&#039;OUTPUT&#039;&#039;&#039;: activates when zombie is in run mode&lt;br /&gt;
* WarnIndication - &#039;&#039;&#039;OUTPUT:&#039;&#039;&#039; activates when a error occurs with the zombieverter&lt;br /&gt;
*CoolantPump - &#039;&#039;&#039;OUTPUT&#039;&#039;&#039;: activates during precharge, usually used for coolant pumps&lt;br /&gt;
*NegContactor - &#039;&#039;&#039;OUTPUT&#039;&#039;&#039;: activates when the negative contactor needs to be closed. ie precharge, run, charge mode, etc&lt;br /&gt;
*BrakeLight - &#039;&#039;&#039;OUTPUT&#039;&#039;&#039;: activates when a set brake light on threshold value is met&lt;br /&gt;
*ReverseLight - &#039;&#039;&#039;OUTPUT&#039;&#039;&#039;: activates when reverse direction is selected&lt;br /&gt;
*CoolingFan - &#039;&#039;&#039;OUTPUT&#039;&#039;&#039;: activates when FanTemp setpoint is reached&lt;br /&gt;
*HVActive -  &#039;&#039;&#039;OUTPUT&#039;&#039;&#039;: activates when contactors are closed and VCU is in run or charge mode&lt;br /&gt;
*BrakeVacPump &#039;&#039;&#039;DIGITAL OUTPUT&#039;&#039;&#039;: activates when BrakeVacSensor threshold value is met&lt;br /&gt;
*CpSpoof - &#039;&#039;&#039;PWM OUTPUT&#039;&#039;&#039;: used to spoof CP signal to OBC when using a charging interface such as FOCCCI or I3LIM&lt;br /&gt;
*GS450Hpump - &#039;&#039;&#039;PWM OUTPUT&#039;&#039;&#039;: used to run GS450H oil pump&lt;br /&gt;
*HeatReq - &#039;&#039;&#039;DIGITAL INPUT&#039;&#039;&#039;&lt;br /&gt;
*HVRequest - &#039;&#039;&#039;DIGITAL INPUT&#039;&#039;&#039; -  starts precharge cycle and puts VCU into charge mode&lt;br /&gt;
*ProxPilot - &#039;&#039;&#039;ANALOGUE INPUT&#039;&#039;&#039; - detects when charge cable is plugged in&lt;br /&gt;
*BrakeVacSensor - &#039;&#039;&#039;ANALOGUE INPUT&#039;&#039;&#039; - vacuum sensor input, use for triggering BrakeVacPump &#039;&#039;&#039;DIGITAL OUTPUT&#039;&#039;&#039;&lt;br /&gt;
*PWMTim3 -&lt;br /&gt;
&lt;br /&gt;
==== Proximity Pilot====&lt;br /&gt;
This analogue input used to detect a charging cable is plugged in.&lt;br /&gt;
[[File:ZombiePP.png|none|thumb]]&lt;br /&gt;
A resistor to the 5v needs to be connected to the analogue in pin, 330 ohms in the spec, and R5 needs to be another resistor between analogue in pin and ground. Type 1 connectors should be a 2.7k ohm resistor and type 2 should be 4.7k ohm. Note the charging port may already have this resistor installed.&lt;br /&gt;
&lt;br /&gt;
Open up the Zombie UI and choose ProxPilot for the function of the analogue in pin. Then start plotting PPVal and then plug in, you can then use this to select your PPThreshold. Bare in mind the resistance will vary on the cable plugged in depending on the Amps it can supply.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
https://www.youtube.com/watch?v=U3c4V8vMb6k Video here for the setup and demonstration.&lt;br /&gt;
&lt;br /&gt;
== Initial start-up and testing ==&lt;br /&gt;
&lt;br /&gt;
=== powering up and connecting to the web interface: ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The following is required:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# fully built Zombieverter VCU&lt;br /&gt;
# 2 wires for power&lt;br /&gt;
# 12v power supply&lt;br /&gt;
# computer/ tablet for accessing the web interface&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How to access the web interface:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# provide stable 12v power to pins 55, 56 on the zombieverter&lt;br /&gt;
# the on-board LED light &amp;quot;acty&amp;quot; should be now flashing&lt;br /&gt;
# using your computer, connect to the zombieverters WIFI access point.  &#039;&#039;&#039;SSID: &amp;quot;inverter&amp;quot; or &amp;quot;zom_vcu&amp;quot;&#039;&#039;&#039; &lt;br /&gt;
# &#039;&#039;&#039;password is: inverter123&#039;&#039;&#039;&lt;br /&gt;
# in a web browser navigate to: &#039;&#039;&#039;192.168.4.1&#039;&#039;&#039;&lt;br /&gt;
# the openinverter web interface should now load!&lt;br /&gt;
&lt;br /&gt;
&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.4.1 on the 192.168.4.0/24 subnet) to your device.&lt;br /&gt;
&lt;br /&gt;
===Configuration:===&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;work in progress*&lt;br /&gt;
&lt;br /&gt;
[[Zombieverter Parameters and Spot Values|full list and overview of Zombieverter Parameters and Spot Values]]&lt;br /&gt;
&lt;br /&gt;
==== basic parameters and spot values: ====&lt;br /&gt;
&lt;br /&gt;
==== throttle: ====&lt;br /&gt;
You should see values &#039;&#039;&#039;pot&#039;&#039;&#039; change as the pedal is pressed.  &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;potmin&#039;&#039;&#039; should be set just above where your off-throttle position is&lt;br /&gt;
* &#039;&#039;&#039;potmax&#039;&#039;&#039; just below the value seen at maximum travel &lt;br /&gt;
* Same for &#039;&#039;&#039;pot2min&#039;&#039;&#039; and &#039;&#039;&#039;pot2max&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The resulting in a  0-100 &#039;&#039;&#039;potnom&#039;&#039;&#039; value.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;throtmin&#039;&#039;&#039; is the minimum (most negative) allowed &#039;&#039;&#039;&#039;&#039;potnom&#039;&#039;&#039;&#039;&#039; at all times&lt;br /&gt;
* &#039;&#039;&#039;throtmax&#039;&#039;&#039; is the maximum (most positive) allowed &#039;&#039;&#039;&#039;&#039;potnom&#039;&#039;&#039;&#039;&#039; request in forward&lt;br /&gt;
* &#039;&#039;&#039;throtramp&#039;&#039;&#039; is how much &#039;&#039;&#039;potnom&#039;&#039;&#039; ramps up with the pedal pushed (&#039;&#039;&#039;potnom&#039;&#039;&#039; change per %/10ms)&lt;br /&gt;
* &#039;&#039;&#039;throtramprpm&#039;&#039;&#039; stops applying &#039;&#039;&#039;throtramp&#039;&#039;&#039; above a set motor rpm&lt;br /&gt;
* &#039;&#039;&#039;revlim&#039;&#039;&#039; is a rev limiter &lt;br /&gt;
&lt;br /&gt;
==== Contactors: ====&lt;br /&gt;
A set HV battery voltage value is required to run the precharge and main contactors. &lt;br /&gt;
&lt;br /&gt;
The voltage is measured using the UDC value. which is supplied from the &#039;&#039;&#039;shuntType:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;ISA&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;SBOX&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;VAG&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;LEAF&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
these voltage(UDC) levels are set with the following parameters:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;udcmin&#039;&#039;&#039; is the minimum battery voltage derate&lt;br /&gt;
* &#039;&#039;&#039;udclim&#039;&#039;&#039; is maximum battery voltage derate&lt;br /&gt;
* &#039;&#039;&#039;udcsw&#039;&#039;&#039; is Voltage point at which precharge is considered finished, and the main contactor will close.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;forward/reverse:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
input options:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;switch&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;button&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;switchReversed&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;buttomReversed&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==== inverter: ====&lt;br /&gt;
&lt;br /&gt;
==== charger: ====&lt;br /&gt;
&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;
==Software==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;VCU boards from the webshop, &#039;&#039;&#039;&#039;&#039;come pre-programed&#039;&#039;&#039;&#039;&#039; and &#039;&#039;&#039;do not require any additional septs taken to work&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
for programming a blank board see: [[zombiverter programing]]&lt;br /&gt;
==== Initializing an ISA Shunt: ====&lt;br /&gt;
&lt;br /&gt;
# wire the ISA shunt to 12v+ and canbus input.&lt;br /&gt;
# under shunt can in the web interface, select the canbus the shunt is connected to&lt;br /&gt;
# hit save parameters to flash.&lt;br /&gt;
# Under Comms in the web interface, select ISAMode option. By default its set to &amp;quot;Normal&amp;quot; (Off)&lt;br /&gt;
# select &amp;quot;Init&amp;quot;&lt;br /&gt;
# hit save parameters to flash&lt;br /&gt;
# Power cycle the vcu and shunt at same time (they should be on same 12v feed anyway).&lt;br /&gt;
# The shunt will initialize.&lt;br /&gt;
# Select ISAMode &amp;quot;normal&amp;quot;&lt;br /&gt;
# save to flash again&lt;br /&gt;
# reboot the VCU&lt;br /&gt;
&lt;br /&gt;
The shunt should now be up and running.&lt;br /&gt;
&lt;br /&gt;
If the shunt doesn&#039;t initialize correctly, separate the shunt and VCU power supply, and power cycle the VCU two or three seconds after the shunt power is cycled. This has fixed an initialize issue for a number of ISA shunts.&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
[[Zombieverter Parameters and Spot Values|page with zombieverter parameters and their value ranges, ZV pinmap etc.]]&lt;br /&gt;
&lt;br /&gt;
Source: https://www.youtube.com/watch?v=wjlucUWX_lc&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;
=== Recovering the Zombieverter from a failed update ===&lt;br /&gt;
if the zombieverter fails in the middle of a software update and the Web User Interface is reporting &amp;quot;firmware: null&amp;quot; it&#039;s possible you&#039;ll need to re-flash the firmware, and bootloader via an STLink.&lt;br /&gt;
&lt;br /&gt;
# Firstly, download the bootloader and latest zombieverter firmware from here &amp;lt;ref&amp;gt;https://github.com/damienmaguire/Stm32-vcu/releases/&amp;lt;/ref&amp;gt; and here &amp;lt;ref&amp;gt;https://github.com/jsphuebner/tumanako-inverter-fw-bootloader/releases&amp;lt;/ref&amp;gt; as .hex files, this ensures you don&#039;t need to know the address of the file and avoids user error when flashing via STLink (I used a cheap STLink v2 clone without issue but it seems there is a mix of experiences with them).&lt;br /&gt;
# Download STMCubeProgrammer (other STM flashing softwares are available but the following instructions are based on what has worked for me).&lt;br /&gt;
# Upgrade the firmware on your STLink dongle using STMCubeProgrammer (I&#039;m not sure if this is 100% necessary but seems prudent).&lt;br /&gt;
# Connect the Clock (SWclk), Gnd and Data (SWDio) of your STLink to the Zombieverter test points (near to the STM32 chip, they are labelled C, G, D) as well as 12V and Gnd to the Zombieverter main power pins and ensure your STMCubeprogrammer is able to connect to it, I also disconnected the wifi board just incase.&lt;br /&gt;
# Perform a &amp;quot;full chip erase&amp;quot;, then reflash the latest bootloader and firmware hex files.&lt;br /&gt;
# Remove your STLink from the zombieverter, connect the wifi board and check connectivity.&lt;br /&gt;
# Begin Zombieverter-ing.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
[[Category:Inverter]] &lt;br /&gt;
[[Category:VCU]] &lt;br /&gt;
[[Category:ZombieVerter]]&lt;/div&gt;</summary>
		<author><name>Chrskly</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Zombiverter_hardware&amp;diff=5599</id>
		<title>Zombiverter hardware</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Zombiverter_hardware&amp;diff=5599"/>
		<updated>2025-02-03T12:08:45Z</updated>

		<summary type="html">&lt;p&gt;Chrskly: Chrskly moved page Zombiverter hardware to Zombieverter hardware: Typo in the name&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Zombieverter hardware]]&lt;/div&gt;</summary>
		<author><name>Chrskly</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Zombieverter_hardware&amp;diff=5598</id>
		<title>Zombieverter hardware</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Zombieverter_hardware&amp;diff=5598"/>
		<updated>2025-02-03T12:08:45Z</updated>

		<summary type="html">&lt;p&gt;Chrskly: Chrskly moved page Zombiverter hardware to Zombieverter hardware: Typo in the name&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&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;
|MIC4422YM (according to https://openinverter.org/forum/viewtopic.php?p=72827#p72827)&lt;br /&gt;
|}NOTE : R50 will need to be changed to 1k and C45 to 1n in order for LIN to work properly. This will be amended on further builds. So if you have a board ordered before 14/03/24 this change is required.&lt;br /&gt;
===The enclosure kit links===&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;
The original connectors are from aptiv(delphi), where you can find drawings and 3d models:&lt;br /&gt;
*[https://www.aptiv.com/en/solutions/connection-systems/catalog/item?id=13669859_en aptive 56pin connector]&lt;br /&gt;
*[https://www.aptiv.com/en/solutions/connection-systems/catalog/item?id=33511394_en aptive 56pin header]&lt;br /&gt;
*[https://www.tti.com/content/ttiinc/en/apps/part-detail.html?partsNumber=210S048&amp;amp;mfgShortname=FCA&amp;amp;productId=161404611 Removal tool for connector terminals: Manufacturer: Aptiv (formerly Delphi)] TTI Part Number: 210S048 Mfr Part Number: 210S048&lt;br /&gt;
aliexpress/alibaba knock-offs:&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 coloring 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;
===Assemble VCU V1a===&lt;br /&gt;
Basic description of the minimal assembly needed for the V1a Zombieverter board.&lt;br /&gt;
====What comes in the package====&lt;br /&gt;
[[File:ZombieVerterParts.jpg|none|thumb|Zombieverter Parts]]&lt;br /&gt;
====Assembly Steps====&lt;br /&gt;
You need to solder the pin header to the Wifi board, and the smaller pin socket to the Zombieverter board.  Since they both fit loosely, it&#039;s is best to plug the pin header into the pin socket, then set the stacks into the holes on the board, and set the wifi unit on top - getting all the pins into the holes.  This will be wobbly and won&#039;t sit up straight on it&#039;s own.  I set a block to the side that both the boards would touch, holding them upright.  I then carefully soldered the pins on the wifi unit.  The reason you have everything plugged together is to make sure that the pins will perfectly line up with the sockets.[[File:WifiConnectorView.jpg|thumb|Shows which connector is soldered to which board.]][[File:WifiStackOnZV.jpg|none|thumb|Propping up the wifi on the loose connectors.]]Then turn the Board over, and solder the socket pins to the Zombieverter.  Keep the Wifi board plugged in to be sure the sockets stay aligned properly! You&#039;ll need to find something to prop up the other side of the Zombieverter board so that it&#039;s level.&lt;br /&gt;
&lt;br /&gt;
The next step is to solder the big multi-pin connector that hooks to everything else.  I bought the Enclosure Kit, which comes with the connectors.  Since the connector fits tightly to the board, you just need to carefully sqeeze the board down over the pins, and make sure it&#039;s pressed down for the full length of the connector.  Then you can just solder all the pins.[[File:ZombieVerterConnector.jpg|none|thumb|Large connector soldered to board]]&lt;br /&gt;
===Build and Configuration Videos, VCU V1===&lt;br /&gt;
====ZombieVerter VCU V1 Build Part 1====&lt;br /&gt;
{| class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot; role=&amp;quot;presentation&amp;quot;&lt;br /&gt;
|&amp;lt;b&amp;gt;Highlights&amp;lt;/b&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=33s 00:33]&#039;&#039;&#039; Warning and suggestion to go watch cat videos instead&lt;br /&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&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=184s 03:04]&#039;&#039;&#039; How to get one&lt;br /&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&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=268s 04:28]&#039;&#039;&#039; Components still requiring soldering&lt;br /&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)&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)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=390s 06:30]&#039;&#039;&#039; &amp;lt;s&amp;gt;IC1,3,5,6,7,24,25,26  load driver mosfets (NCV8402)&amp;lt;/s&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=440s 07:20]&#039;&#039;&#039; Do you need these components?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=520s 08:40]&#039;&#039;&#039; Soldering begins - IC19&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=550s 09:10]&#039;&#039;&#039; Soldering iron for SOIC parts&lt;br /&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&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=634s 10:34]&#039;&#039;&#039; Magnifier headset&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=807s 13:27]&#039;&#039;&#039; Soldering MCP25625&lt;br /&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&lt;br /&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&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1174s 19:34]&#039;&#039;&#039; &amp;lt;s&amp;gt;Soldering NCV8402s&amp;lt;/s&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1408s 23:28]&#039;&#039;&#039; Clean soldering with IPA Solvent&lt;br /&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&lt;br /&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&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1655s 27:35]&#039;&#039;&#039; Wifi module&lt;br /&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&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=1825s 30:25]&#039;&#039;&#039; Enclosure kit(s)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=2162s 36:02]&#039;&#039;&#039; Soldering the PCB header (56 pin)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=2668s 44:28]&#039;&#039;&#039; Installing in the enclosure&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/geZuIbGHh30?t=3030s 50:30]&#039;&#039;&#039; Cameo appearance by Gome cat&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot; role=&amp;quot;presentation&amp;quot;&lt;br /&gt;
|&amp;lt;b&amp;gt;Transcript&amp;lt;/b&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|hello folks welcome to today&#039;s i was going to say semi-exciting episode but let&#039;s be fair this is not going to be exciting at all is it so what we&#039;re going to be dealing with today is going through the assembly of the zombiverter vcu uh pcb this is the v1 this is the release version now for those of you&lt;br /&gt;
&lt;br /&gt;
00:00:31&lt;br /&gt;
&lt;br /&gt;
That may have accidentally stumbled upon this video while searching for funny cat content i can assure you move on that hanging around here would not be a good plan furthermore if you are watching this on good old youtube i would like to inform you that it is also available free of advertisements on vimeo so now do we have those important public health announcements out of our&lt;br /&gt;
&lt;br /&gt;
00:01:02&lt;br /&gt;
&lt;br /&gt;
Way we can proceed onwards so quick little recap because i know somebody&#039;s going to ask what is the zombie verter vcu well quite simply it is a quite simply it is a control module that is designed to sit between a vehicle that is being converted to electric drive&lt;br /&gt;
&lt;br /&gt;
00:01:36&lt;br /&gt;
&lt;br /&gt;
And quite a few if not all of the electric drive components so this guy kind of acts as an interpreter it will take in things like our ignition switch throttle pedal various communication from the car spit out what the drivetrain may need and do the reverse as well to keep both the car and the uh drivetrain components&lt;br /&gt;
&lt;br /&gt;
00:02:06&lt;br /&gt;
&lt;br /&gt;
Happy now the aim of this particular design is to take away the programming element that is quite daunting to some people including me and make it a simple menu driven system that can be accessed over what wi-fi just using a web browser based upon the open inverter system so if you want some more information on this i do have another video&lt;br /&gt;
&lt;br /&gt;
00:02:43&lt;br /&gt;
&lt;br /&gt;
Uh that gives a lot more detail on the kind of overview so i will link that in the description also but today what we&#039;re going to do is we&#039;re going to focus on the physical assembly uh that is required on the board so first thing how do we get one well currently there are two ways uh the first is that you can purchase this board&lt;br /&gt;
&lt;br /&gt;
00:03:15&lt;br /&gt;
&lt;br /&gt;
Along with some of these components from myself on the evbmw web shop and there will be a link in the description to that also if that doesn&#039;t quite appeal to you this is a open source uh design the design files themselves however are not as yet this is coming up to the end of july 2021 available uh freely you will have to sign up to my patreon under 10&lt;br /&gt;
&lt;br /&gt;
00:03:52&lt;br /&gt;
&lt;br /&gt;
Euros a month tier to access those design files as of now once you would then have those files you can of course cancel that patreon membership and go ahead and get boards made by any of the uh pcb makers like pcbway or jlc pcb and there&#039;ll be links in the description to both of those companies also so um once you then have the board as we see here&lt;br /&gt;
&lt;br /&gt;
00:04:27&lt;br /&gt;
&lt;br /&gt;
First thing that you can spot is that there are some components missing that is because due to the i guess the chip shortage stuff there&#039;s a few of the components on here that are not available from the board builders so what are those components would be the first thing that we need to work out so um&lt;br /&gt;
&lt;br /&gt;
00:04:59&lt;br /&gt;
&lt;br /&gt;
Starting from the top here you&#039;ll see ic 19 it&#039;s a little eight pin soic uh packet this is this guy here ic 19 is an ncv 7356 single wire can transceiver one of the protocols that we support here at least in hardware so far is single wire can this can be useful&lt;br /&gt;
&lt;br /&gt;
00:05:38&lt;br /&gt;
&lt;br /&gt;
For such things as the chevy volt heater cabin heater that is which i actually have installed in my e46 touring and we will be using this very board in that vehicle the next device then that you will see is ic10 which is this qfp part which is an mcp25625 so this guy is a is a spi can controller and transceiver because we have three can with three can channels on this board&lt;br /&gt;
&lt;br /&gt;
00:06:25&lt;br /&gt;
&lt;br /&gt;
Finally then we have these um guys here ic5 say 7 ic577c 24 25 26 1 and 3 and those are these ncv 8402 kind of load driver mosfets so before we can do anything with the board we need to fit these components now as i say if you do purchase the board from me you will receive these parts in&lt;br /&gt;
&lt;br /&gt;
00:07:02&lt;br /&gt;
&lt;br /&gt;
Your kit along with a wi-fi module and adapter header which we will show you later on but for now we need to go ahead and fit these components so you might say to me at this point well do i really need to fit these and the the answer is it depends what you plan to do i&#039;ll be 99 certain you would need to fit the the&lt;br /&gt;
&lt;br /&gt;
00:07:37&lt;br /&gt;
&lt;br /&gt;
Ncv8402s because they&#039;re used for things like controlling contactors and so forth so you will definitely more than likely anyway need to fit these parts the ic10 and ic19 will depend if you intend to use the third can channel or and or if you intend to use single wire can but just for the sake of completeness here with this&lt;br /&gt;
&lt;br /&gt;
00:08:05&lt;br /&gt;
&lt;br /&gt;
Uh video we&#039;ll go ahead and fit those components anyway so nothing to do what to do it as they say and we&#039;ll be showing you the enclosure system uh later on in the video also i&#039;m going to make some space now here and we&#039;ll get straight into it apologies for the background noise it is feeding time for the boards after minutes so they&#039;re&lt;br /&gt;
&lt;br /&gt;
00:08:32&lt;br /&gt;
&lt;br /&gt;
Busily chowing down and get another 25 kilograms of uh bird seed so let me see we want our soldering iron on so we&#039;ll start off here make sure i&#039;m getting new folks in here now as a well as i can with ic19 or ncv735 so how i generally do these things um so far the soic part and the the drivers we&#039;re going to just use a&lt;br /&gt;
&lt;br /&gt;
00:09:10&lt;br /&gt;
&lt;br /&gt;
Small tip uh it&#039;s going to use a small little tip on my soldering iron here and we&#039;ll just individually solder them so before we do that um this is the flux that i tend to use for this kind of thing it&#039;s very cheap comes from aliexpress and it&#039;s uh kind of like a paste so it&#039;s very much like a paste because&lt;br /&gt;
&lt;br /&gt;
00:09:41&lt;br /&gt;
&lt;br /&gt;
You can&#039;t open it ah there we go okay so what i tend to do let me get that out of there is not get it on my fingers which i&#039;ve just done is just use a little off cut of a cable tie that&#039;s what i find the best and just work up a little bit of the paste on the end of it and just smear it on to the pads um of the component that you want to solder just a little tin film this is going to do two things for&lt;br /&gt;
&lt;br /&gt;
00:10:12&lt;br /&gt;
&lt;br /&gt;
Us the first is is it is going to adhere the component to the board when we&#039;re getting in there to actually solder it which is kind of important so i&#039;m going to go ahead and just get out one of these little components here just using the tweezers just let it out like so now with a lot of this stuff um how you can see it and how you can you know get a good view of the thing is&lt;br /&gt;
&lt;br /&gt;
00:10:43&lt;br /&gt;
&lt;br /&gt;
Really critical so i don&#039;t have a fancy louis rossman type microscope so what i use is just this little headset just a little cheap magnifier headset just goes on like so you can adjust this little uh plate here so you can see much better um what&#039;s going on uh with your board so i&#039;ll be doing that here we&#039;re just seeing that on my face adjusting it and we get right in&lt;br /&gt;
&lt;br /&gt;
00:11:14&lt;br /&gt;
&lt;br /&gt;
Here and we&#039;ll just take our device which of course won&#039;t want to go this way so we can identify the pin one by the markings on the top and just basically sit him in there close enough to where we want him to be and he&#039;s in there now you can see i don&#039;t know how well this is going to come out on the video apologies i had bought some&lt;br /&gt;
&lt;br /&gt;
00:11:42&lt;br /&gt;
&lt;br /&gt;
Kind of lenses to go on the phone that i had hoped would allow me to kind of you know get in here a kind of a macro view but you know typically they of course didn&#039;t work or too small to fit the phone so i&#039;m going to go ahead solder this component in as i said this is going to be a super boring video but it is one of the things that we need to do for all of our new projects is just to be able to help&lt;br /&gt;
&lt;br /&gt;
00:12:15&lt;br /&gt;
&lt;br /&gt;
Folks to help folks to be able to do the work themselves um and that&#039;s really the critical thing that i&#039;m trying to promote here is it&#039;s not so much about you know me having uh evs it&#039;s about you being able to do it for yourself because we need to spread that information and knowledge around there so that you can&#039;t just&lt;br /&gt;
&lt;br /&gt;
00:12:44&lt;br /&gt;
&lt;br /&gt;
You know have a car that you don&#039;t know how to maintain so i&#039;m just individually soldering each of those pads at the minute it&#039;s quite easy on soic parts fairly friendly and the flux uh when it gets to heat kind of goes uh fluid which is excellent that&#039;s what we need now oh nearly dipped it into flux&lt;br /&gt;
&lt;br /&gt;
00:13:23&lt;br /&gt;
&lt;br /&gt;
All right so that one&#039;s easy now the one that&#039;ll probably challenge folks the most and i include myself in this will be the um mcp25625 this is our uh our little qfp part now the trick here is a little bit of preparation as not that hard if we do that so first things first get our flux on our cable tie and just smear a nice&lt;br /&gt;
&lt;br /&gt;
00:13:58&lt;br /&gt;
&lt;br /&gt;
Blob around that just all over the pads like so now we&#039;re not going to put the device on there just yet what we&#039;re going to do i&#039;m going to get our soldering iron it&#039;s a nice tin solder and we&#039;re going to just put a little bit of leaded solder on all of these pads now again the flux will&lt;br /&gt;
&lt;br /&gt;
00:14:30&lt;br /&gt;
&lt;br /&gt;
Go liquid once the heat of the soldering iron hits it and we&#039;re literally just looking to run our iron over all of those pads now the good news is that these days there&#039;s a lot of folks doing this kind of work on youtube so uh there&#039;s plenty of good tutorials out there because this is the same principle as we&#039;d be&lt;br /&gt;
&lt;br /&gt;
00:15:07&lt;br /&gt;
&lt;br /&gt;
Using for repairing laptops or phones or you know that kind of thing so now that we have our uh little bit of leaded solder on there now would be the time to excuse me introduce our device oh i need a solder fume extractor now i know that at this point i&#039;m probably losing five out of the six people that are&lt;br /&gt;
&lt;br /&gt;
00:15:38&lt;br /&gt;
&lt;br /&gt;
Still watching this video wow that flux is good for clearing out the throat um might be saying i can&#039;t do this i don&#039;t have this kind of gear and that&#039;s fine one of the advantages is that you know in most jurisdictions these days quite a lot of um places are now popping up uh that do uh this kind of board level repair work there does seem to be a bit&lt;br /&gt;
&lt;br /&gt;
00:16:13&lt;br /&gt;
&lt;br /&gt;
Of a renaissance on the old kind of tv repair shops from uh back in the day uh but there&#039;s but they&#039;re you know obviously doing things like repairing phones and computers which is really good um and they&#039;ll do this kind of work for you you know for very little money um i could even use this video as kind of a you know to show them what&lt;br /&gt;
&lt;br /&gt;
00:16:42&lt;br /&gt;
&lt;br /&gt;
We&#039;re trying to do so i&#039;m going to take my device i&#039;m going to line up the dots there&#039;s a dot on the on one corner of the package and we&#039;re going to line that up with the dot here so i&#039;m just getting it approximately in place doesn&#039;t need to be very accurate what i&#039;m now going to do is break out the hot air and we&#039;re going to basically float that&lt;br /&gt;
&lt;br /&gt;
00:17:08&lt;br /&gt;
&lt;br /&gt;
Component in there well at least i&#039;ll try to do that if i&#039;m not uh knocking the camera out of play so just waiting for the hot air station to come up to temperature there we go i don&#039;t even need the fancy glasses at this stage now the trick we want to do is we want to warm the board up first of all so&lt;br /&gt;
&lt;br /&gt;
00:18:00&lt;br /&gt;
&lt;br /&gt;
There we go you might have just seen it on camera hopefully you did but the package just jerked into the right position there should be it so i&#039;m going to get in with my glasses there at this point yeah that looks brilliant so i&#039;ll just go around now with the going to go around those edges just flow those joints make sure everything&#039;s&lt;br /&gt;
&lt;br /&gt;
00:18:47&lt;br /&gt;
&lt;br /&gt;
Nice and happy [Music] and do that while our board is still [Music] warm there we go so that is our um ncb7356 ic19 and mcp25625 ic10 fitted now the remainder our ncv8402 so rather than bore you completely to&lt;br /&gt;
&lt;br /&gt;
00:19:41&lt;br /&gt;
&lt;br /&gt;
Tears what i will do at this point is i will fit one here on camera then i&#039;ll go ahead and fit the rest off camera and then we will go ahead power up the board to do a a test program it and then go ahead it will fit the wi-fi module and show you the enclosure system that we have and that&#039;ll be it for this particular&lt;br /&gt;
&lt;br /&gt;
00:20:12&lt;br /&gt;
&lt;br /&gt;
Episode so yes you want to fit one mcp or that ncv8402 so same principle work up some flux here and i&#039;m just gonna just get a light coating of it i&#039;m going to put it on all of them because obviously i&#039;ll be doing all of them here off camera that&#039;s it oh one more and it&#039;s quite a few of these guys&lt;br /&gt;
&lt;br /&gt;
00:21:03&lt;br /&gt;
&lt;br /&gt;
All right so i get a good smear of flux on here i&#039;m gonna put a little bit more on these ones just to be sure there we go all right that&#039;s it it&#039;s actually finished with our flux now i can get rid of that and just cap it off so we will just take one out of this packet and i&#039;ll just make absolutely certain that it&#039;s the right part yes i will make certain it is the right part&lt;br /&gt;
&lt;br /&gt;
00:21:35&lt;br /&gt;
&lt;br /&gt;
If i can see it oh my silly thing oh wow i always embarrass myself on video but i don&#039;t really need video to embarrass myself i can do it and many other ways wow they really do this badly yes eight four zero two okay so good afternoon oh yeah that turned out nice so i&#039;m going to just set him here we&#039;ll just do it on the ic5 pad here just for&lt;br /&gt;
&lt;br /&gt;
00:22:11&lt;br /&gt;
&lt;br /&gt;
Purposes of this demonstration but they&#039;ll all be the very same uh i&#039;m in here with our soldering iron a little bit of leaded solder do there we go and finally the tab so i usually rotate the board i kind of make the board work for me um for these things and that&#039;s it there&#039;s our ncv 8402 fitted so as i say rather than boring&lt;br /&gt;
&lt;br /&gt;
00:23:19&lt;br /&gt;
&lt;br /&gt;
Everyone to tears terribly i&#039;ll go ahead fit the remainder parts and then we&#039;ll come back for the power up test all righty we&#039;ve got our all of the ncv8402s fitted i&#039;ve just given the board a little bit of a clean off with some ipa just to get rid of flux residue you may need to get a little brush just to uh get rid of some of that but at this point we now have our board&lt;br /&gt;
&lt;br /&gt;
00:23:50&lt;br /&gt;
&lt;br /&gt;
Um assembled that&#039;s that&#039;s the full um amount of component assembly that needs to be done on the board when you actually get it now there are a series of uh configuration pads here depending on what arrangement that we wish to use on country and we may need to solder some of these but that&#039;ll be&lt;br /&gt;
&lt;br /&gt;
00:24:23&lt;br /&gt;
&lt;br /&gt;
That&#039;ll be covered in another episode i don&#039;t want these things to be too long and boring just enough boring that people unsubscribe now so what we want to do now is a very basic power up test we can turn our soldering iron off so let&#039;s go ahead and set up to do our basic power up test okay so for a basic power up test i&#039;m using uh a bench power supply here&lt;br /&gt;
&lt;br /&gt;
00:24:53&lt;br /&gt;
&lt;br /&gt;
Got two leads i&#039;ve got a ground on this green lead i&#039;ve got a positive on this brown one now i know folks are going to say oh you know what if i don&#039;t have a bench top power supply can i use a 12 volt battery answer to that question is yes and no yes you can and if you&#039;ve done everything fine and there&#039;s no mistakes on the board then everything should work perfectly no because if there is a mistake on the&lt;br /&gt;
&lt;br /&gt;
00:25:25&lt;br /&gt;
&lt;br /&gt;
Board and you connect a 12 volt battery to this you can get a very large current flow that can cause damage to the board or components so i would recommend some kind of a power supply uh with a current limit of a few hundred milli amps but damien i hear you say i still don&#039;t have a power supply like that okay well simple thing to do&lt;br /&gt;
&lt;br /&gt;
00:25:55&lt;br /&gt;
&lt;br /&gt;
If you just have a 12 volt battery get yourself um a 12 volt tail lamp bulb so just like a brake light bulb or a just a 12 volt 21 watt bulb and put it in series with your leads so that if there is a short or something silly here it will limit the current flow so i&#039;m going to take our positive brown wire connect this to the top right&lt;br /&gt;
&lt;br /&gt;
00:26:29&lt;br /&gt;
&lt;br /&gt;
Um hope you can see that so see what i&#039;m connecting that is just to the absolute top pin there gonna take my ground green one and connect it to the pin under that and straight away let me turn off the light here you can see we&#039;ve got our little led comes on here and it says tree v tree on now we&#039;re drawing about 60 milliamps from our power supply at this point so&lt;br /&gt;
&lt;br /&gt;
00:26:58&lt;br /&gt;
&lt;br /&gt;
That is a pretty good sign that everything is working as we intend it to sorry the lighting is so bad here but i hope you can see that little led there anyway so that is our basic uh power up test completed so at least we know now that the you know there&#039;s no shorts or nothing silly going on on our board and we&#039;ve fitted our components properly&lt;br /&gt;
&lt;br /&gt;
00:27:31&lt;br /&gt;
&lt;br /&gt;
And so forth so the next thing let me tell you down here a little bit that we&#039;re gonna want to do um is just have a quick look at the wi-fi now the wi-fi module again if you buy the board from me this comes supplied i should also point out that if you buy the board for me it comes pre-programmed as does the wi-fi module so the module um will be let&#039;s take it out of the packet&lt;br /&gt;
&lt;br /&gt;
00:28:03&lt;br /&gt;
&lt;br /&gt;
Here so you can see it this little guy here and he comes with a little um holder so what i typically do when i&#039;m fitting these is just put the i just put the little pin header in there so it&#039;ll right angle pin header my board around and sit it in like that from the top and go ahead and just kick the soldering iron back on actually i&#039;m going to change the bait in my soldering iron to a larger one&lt;br /&gt;
&lt;br /&gt;
00:28:36&lt;br /&gt;
&lt;br /&gt;
Ah just let me make this job a little bit easier all right so what i typically do here is from the top side of the board get some standard solder just pick one of the corner pins and just put a little bit of solder on them here just from this side and then like so that keeps it in place then i can flip over and just solder in the rest of the pins&lt;br /&gt;
&lt;br /&gt;
00:29:12&lt;br /&gt;
&lt;br /&gt;
From the back there we go it&#039;s our wi-fi module fitted at this point uh we can do our little power up test again so just positive on the top right and ground underneath them and you&#039;ll see there that we should get a little red light on the uh wi-fi module as well or up to about 90 milliamps of current uh so that proves our wi-fi&lt;br /&gt;
&lt;br /&gt;
00:30:11&lt;br /&gt;
&lt;br /&gt;
Everything else is working fine here just from a basic power point of view now so let me go ahead and make a little bit of room here for the next phase of the operation and that is the enclosure system that&#039;s been a bit of a challenge again due to the shortages and so forth to find something that was repeatable for our folks now the good news is is that we have&lt;br /&gt;
&lt;br /&gt;
00:30:42&lt;br /&gt;
&lt;br /&gt;
Done so let me just actually put the board up here for a second i&#039;ll bring this into the center of the shot so the little kit that you&#039;re seeing here um comprises of a um i hope it comprises yeah there it is so this kit first of all where do i get it and how much does it cost well the end enclosure header&lt;br /&gt;
&lt;br /&gt;
00:31:14&lt;br /&gt;
&lt;br /&gt;
Pins connector the whole lot comes from aliexpress express put a link in the description to that for you this whole kit i think is well under 30 euros and they have thousands of these i do not supply these you will have to purchase this for yourself now the reason for that is is that it&#039;s a big logistical thing for me&lt;br /&gt;
&lt;br /&gt;
00:31:42&lt;br /&gt;
&lt;br /&gt;
To kind of bring in a lot of these stored them and shipped them and i&#039;m just adding cost to you there&#039;s no benefit i wouldn&#039;t be doing anything with this so um what i recommend is that you just purchase this kit uh from aliexpress for yours yourself um it&#039;s gonna save you money it&#039;s gonna save me legit logistics and&lt;br /&gt;
&lt;br /&gt;
00:32:12&lt;br /&gt;
&lt;br /&gt;
It just makes a lot of sense now as well as the enclosure the header and the pins on all this there&#039;s another option that you can get and i will link that in the description as well and that is if i can get it out of here oops all right is a complete wiring harness so pre-crimped ready to fit on with i think it&#039;s about three meters&lt;br /&gt;
&lt;br /&gt;
00:32:42&lt;br /&gt;
&lt;br /&gt;
Of cable here all different colors all nicely terminated into the header um so this is i don&#039;t know how much this is maybe 50 or 60 euros i think um to buy this and you can buy all of these together i think from the same seller as well so makes a lot of sense and again it makes no sense for me to carry this thing um you know it can just be up to folks&lt;br /&gt;
&lt;br /&gt;
00:33:13&lt;br /&gt;
&lt;br /&gt;
To decide uh what they want so and get it for themselves so all right let&#039;s break back into our kit here and have a look at it so the first thing we get uh is we get this enclosure which is quite a nice aluminium uh enclosure uh it&#039;s i don&#039;t know whether it&#039;s anodized or painted or what whatever now you will see i&#039;ve bought a few of&lt;br /&gt;
&lt;br /&gt;
00:33:45&lt;br /&gt;
&lt;br /&gt;
These now just for my own projects and you will see things like you know there&#039;ll be a bit of missing coating in there and you know a little bit of scratch marks and it&#039;s a bit dusty bit scratchy but you know this is going to be buried in some part of your car um so you know it doesn&#039;t you know who cares right it&#039;s it&#039;s just a readily available good quality enclosure&lt;br /&gt;
&lt;br /&gt;
00:34:16&lt;br /&gt;
&lt;br /&gt;
Um so that&#039;s the actual enclosure part of it let me get rid of that bag all right so then what we get in this part is all this stuff yeah let me get rid of that bag all right so we get pins we get the connector uh the plug we got the pins for the plug we get the seal you&#039;re going to need this seal to go on the box here&lt;br /&gt;
&lt;br /&gt;
00:34:52&lt;br /&gt;
&lt;br /&gt;
But for the minute this is the guy that we really want which is the header oops which mounts on our pcb so let me go ahead try not to stab myself with this very sharp scalpel and get it out of here all right [Applause] and i certainly packed this well uh a couple of different sellers i think on uh aliexpress have these i think they&#039;re very popular with&lt;br /&gt;
&lt;br /&gt;
00:35:46&lt;br /&gt;
&lt;br /&gt;
Lpg and cng gas conversion ecu&#039;s i think someone on the forum said they&#039;re like some old bosch ecu connector but anywho this is our connector header and this is the component that we&#039;re going to fit next we&#039;re going to fit this to our pcb here so that basically we&#039;ll be able to get the signals out of and into the board now&lt;br /&gt;
&lt;br /&gt;
00:36:21&lt;br /&gt;
&lt;br /&gt;
The pinhole sizes here are quite tight they&#039;re tight for a reason and that is because in my design of the board i need to run tracks between the pins and that means that i need to keep those pad sizes as tight as i physically can so you&#039;ll see on the back of the board there&#039;s some of that stuff too so the trick is don&#039;t go mad and try and force this&lt;br /&gt;
&lt;br /&gt;
00:36:48&lt;br /&gt;
&lt;br /&gt;
We need to kind of take our time and just try and walk in all of the pins and i know that because i&#039;m saying this now i&#039;ll make an absolute mess out of this thing so how i tend to do it is if i have the tools i need and turn off our soldering iron for a minute um where am i going here okay i just use this just a little a little small flat blade screwdriver because i&#039;ll see here straight away&lt;br /&gt;
&lt;br /&gt;
00:37:18&lt;br /&gt;
&lt;br /&gt;
There was a pin that didn&#039;t want to line up so kind of just rocking the the these in here and i&#039;ll feel them starting to bite in if i look at the back of the board we&#039;ll see they&#039;re starting to line up but obviously i&#039;ve got success well i&#039;ve got success here or my thumb is they&#039;re starting to come true but not here at this side so if i was to just force this it would&lt;br /&gt;
&lt;br /&gt;
00:37:47&lt;br /&gt;
&lt;br /&gt;
Just push the pins back it wouldn&#039;t get get it correct it just wouldn&#039;t get a correct uh fit so what i&#039;m going to try and do is just to rock the board around a little bit like this and i might do just take it off and just use the edge of the board just to make sure the pins are all lined up properly which they are which is good to see and i&#039;ll start back over&lt;br /&gt;
&lt;br /&gt;
00:38:19&lt;br /&gt;
&lt;br /&gt;
On this side actually try and make things a little bit so i&#039;m going to try and keep this in shot for you folks as well i&#039;m just almost there now there it is there we go and i&#039;m just watching for anything that doesn&#039;t have a pin coming up through it which i think i&#039;m good actually there we are&lt;br /&gt;
&lt;br /&gt;
00:38:52&lt;br /&gt;
&lt;br /&gt;
I&#039;m just pressing down now from the pins making sure that i&#039;ve got no gaps here and all my pins are poking through which they are and that&#039;s my header physically slotted in there try and let you see that just so there&#039;s some kind of record of me for once doing something correctly there we go all right so i&#039;m to just squeeze now&lt;br /&gt;
&lt;br /&gt;
00:39:28&lt;br /&gt;
&lt;br /&gt;
These two guys here just to make absolutely sure and kick my soldering iron back on and what we&#039;ll do here uh is just again just make certain just even run your finger along here looking for a missing man kind of thing um like that just to be absolutely certain and then it&#039;s no prayer well get that in the in the leg um it&#039;s just pretty much come along and just solder in the uh&lt;br /&gt;
&lt;br /&gt;
00:40:08&lt;br /&gt;
&lt;br /&gt;
Just solder in the solder independence speaking of missing man all right i am looking forward to the old top gun maverick and who thinks that iceman is dead i mean i can&#039;t bring myself to that thought but lots of people seem to think that and it&#039;s a concern for me so we&#039;re just gonna go ahead and do all of these here super boring on camera for you&lt;br /&gt;
&lt;br /&gt;
00:40:53&lt;br /&gt;
&lt;br /&gt;
As i was saying earlier if this is something that you&#039;re not comfortable with uh and if you don&#039;t have a friend or a friend or a friend i could do this just say there are there is a bit of a renaissance on repair shops uh springing up which is really good to see uh but it does mean that there&#039;s people that have these skills now in a lot of jurisdictions where they may not have&lt;br /&gt;
&lt;br /&gt;
00:41:22&lt;br /&gt;
&lt;br /&gt;
Been previously and uh definitely worth having a look around you know in your local town village area for somebody to be willing to do a little bit of this work and even if the you know the company or the shop themselves don&#039;t feel comfortable with it well maybe the technicians might be able to do it&lt;br /&gt;
&lt;br /&gt;
00:41:49&lt;br /&gt;
&lt;br /&gt;
On their their own for you so there&#039;s uh quite a few options around getting past this part you just got to be guess just a little bit of leg work to uh find them now just to be absolutely clear i do not provide these assembled or provide any kind of assembly service it&#039;s just not something i have bandwidth to do&lt;br /&gt;
&lt;br /&gt;
00:42:19&lt;br /&gt;
&lt;br /&gt;
Unfortunately now in regards to software i&#039;ve done quite a bit of it um been a lot of really good help on the open inverter forum uh but the important thing that i&#039;m you know trying to trying to uh generate is to get is to get as many folks involved with the project that they can you know that we can try to make this thing a a methodology to&lt;br /&gt;
&lt;br /&gt;
00:42:58&lt;br /&gt;
&lt;br /&gt;
Get more people into the uh into the mindset to doing one of these conversions isn&#039;t you know particularly expensive or isn&#039;t particularly difficult and just to get away from the whole programming aspect for the end user just have it a menu driven kind of a thing so we&#039;ve already got some good uh menu options we have ccs fast charging in there now i&#039;ll be&lt;br /&gt;
&lt;br /&gt;
00:43:34&lt;br /&gt;
&lt;br /&gt;
Adding to demo and hopefully some traction control stuff in here as well so it&#039;s all getting quite quite interesting now that is it from our soldering point of view we can turn our soldering iron back off our pin soldered in so just a last look here just to be absolutely certain not of any pins sitting up so it helps&lt;br /&gt;
&lt;br /&gt;
00:44:08&lt;br /&gt;
&lt;br /&gt;
To look down just look down here no all the pins are in perfectly there so that&#039;s good yeah that looks pretty good and that is our that&#039;s our completed board really uh so then the last pieces of the puzzle are take our enclosure a little gray gasket in here just grab that gasket&lt;br /&gt;
&lt;br /&gt;
00:44:49&lt;br /&gt;
&lt;br /&gt;
And the gasket goes around the um just goes around this guy here round the header into this into this kind of a kind of a area here well i&#039;ve managed to make a mess out of it on camera yay well done damien all right here we go that&#039;s our gasket fitted then our oh i&#039;m an idiot yeah you are an idiot hold on idiot so just to&lt;br /&gt;
&lt;br /&gt;
00:45:31&lt;br /&gt;
&lt;br /&gt;
Show you that i2 can screw up i managed to put the gasket on the wrong way you need these little tabs to be up the top so let&#039;s go ahead and just refit the gasket the right way obviously i did that on purpose just to demonstrate that to you folks couldn&#039;t possibly make a mistake great damien doesn&#039;t make mistakes now so one more time gasket on the right way&lt;br /&gt;
&lt;br /&gt;
00:46:03&lt;br /&gt;
&lt;br /&gt;
Our pcb just sits in like this and we need four little m3 screws just to uh secure it there&#039;ll be a slightly longer screw needed here because that takes in the um the uh header whereas these just screw straight onto the pcb and that&#039;s it i&#039;m not going to screw this board in now because i will be in the next video&lt;br /&gt;
&lt;br /&gt;
00:46:29&lt;br /&gt;
&lt;br /&gt;
Um you know programming it and things like that but when it&#039;s uh in like so we take our lid and then our lid will screw in like that and then pretty much this is our completed vcu it&#039;s a nice you know solid metal case you&#039;ve got tabs here where you can mount it um the one thing they don&#039;t give you in any of these kits is the gasket that would go around here&lt;br /&gt;
&lt;br /&gt;
00:47:02&lt;br /&gt;
&lt;br /&gt;
So i don&#039;t know why that is um maybe other folks would be ill be able to find that particular gasket but then obviously if you know if you get this part of the kit um you know you can go ahead and crimp on pins onto your wiring uh pop them in to this guy and put the i&#039;ll put these connector things on here i&#039;m pretty sure if i remember correctly this is a 56 pin&lt;br /&gt;
&lt;br /&gt;
00:47:36&lt;br /&gt;
&lt;br /&gt;
Uh system i think there&#039;s 26 on each of these guys uh so for resources for this project if you look in the description be a link to github uh where the software is completely open source there&#039;s none of that behind any kind of paywalls or anything just the design files as i said earlier are just behind a little bit of a paywall for now um just uh&lt;br /&gt;
&lt;br /&gt;
00:48:11&lt;br /&gt;
&lt;br /&gt;
Just until i make enough money to retire to lanzarote so this is it in the next episode we will uh program the device and um fix it into the and fl and closure here and i might if folks want to do a more in-depth uh video of what the various features are in here and what the various components do the there are pdf schematics and board&lt;br /&gt;
&lt;br /&gt;
00:48:44&lt;br /&gt;
&lt;br /&gt;
Layouts and the actual garbers i think i have up on the github as well so there&#039;s plenty of resource there for folks to get involved with it uh there&#039;s a there&#039;s two threads over on the open inverter forum one is a dedicated support tread and the the the other one is where i do some of the development work for it so&lt;br /&gt;
&lt;br /&gt;
00:49:11&lt;br /&gt;
&lt;br /&gt;
Folks that is uh i guess video one in the zombie verter vcu um assembly let&#039;s call it uh to get us you know more familiar with the board the enclosure system the header the connectors all that so i hope you have not enjoyed this um and as i say don&#039;t forget to check the links in the description both for specific links for this project and more general stuff like patreon paypal the&lt;br /&gt;
&lt;br /&gt;
00:49:49&lt;br /&gt;
&lt;br /&gt;
Forum um pcb way jlcpcb and whatever else you know that might be useful i tend to leave in there so i&#039;ll leave it at that don&#039;t forget to dislike thumbs down do not share this crap with anyone unsubscribe if you have found yourself subscribed for some weird reason and um until next time then&lt;br /&gt;
&lt;br /&gt;
00:50:24&lt;br /&gt;
&lt;br /&gt;
Happy vcu assembly seriously gom you decide to show up now just when the works finished like i literally just made nearly a full hour video here and you decide that now is the right time to show up all right you know right when i&#039;m gonna get the cup of tea and chill out and that you want to show oh well ah&lt;br /&gt;
|}&lt;br /&gt;
====ZombieVerter VCU V1 Build Part 2====&lt;br /&gt;
{| class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot; role=&amp;quot;presentation&amp;quot;&lt;br /&gt;
|&amp;lt;b&amp;gt;Highlights&amp;lt;/b&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=34s 00:34]&#039;&#039;&#039; Health warning and suggestion to go watch cat videos instead&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=102s 01:42]&#039;&#039;&#039; Intro&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=200s 03:20]&#039;&#039;&#039; Pinouts of the 56 pin connector&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=256s 04:16]&#039;&#039;&#039; Pins 55,56 - Ground and +12V&lt;br /&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.&lt;br /&gt;
&lt;br /&gt;
Configurable in the web interface to flip these since direction is relative&lt;br /&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&lt;br /&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&lt;br /&gt;
&lt;br /&gt;
(and not the drive components)&lt;br /&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&lt;br /&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&lt;br /&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&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,&lt;br /&gt;
&lt;br /&gt;
CAN EXT 2 for the ISA shunt comms,&lt;br /&gt;
&lt;br /&gt;
CAN EXT 3 (with solderable jumpers to change modes) is for general purpose like charger, heater control&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=885s 14:45]&#039;&#039;&#039; Pin 24 - Local Interface Network (LIN)&lt;br /&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.&lt;br /&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&lt;br /&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&lt;br /&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)&lt;br /&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&lt;br /&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&lt;br /&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&lt;br /&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.&lt;br /&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)&lt;br /&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)&lt;br /&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)&lt;br /&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&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=1811s 30:11]&#039;&#039;&#039; CAN bus connected Isabellenhutte Huesler Shunt&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=2325s 38:45]&#039;&#039;&#039; Web Interface&lt;br /&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&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=2852s 47:32]&#039;&#039;&#039; UI Features - Commands&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=3170s 52:50]&#039;&#039;&#039; UI Features - Update&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=3210s 53:30]&#039;&#039;&#039; UI Features - Parameters&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=4290s 1:11:32]&#039;&#039;&#039; UI Features - Spot Values&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/MUhs9j9R9Mg?t=4914s 1:21:54]&#039;&#039;&#039; Epilogue &lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot; role=&amp;quot;presentation&amp;quot;&lt;br /&gt;
|&amp;lt;b&amp;gt;Transcript&amp;lt;/b&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|hello folks well this is potentially the big one um i have to talk a little bit quietly because the golden cat is currently asleep after working quite diligently on the setup here so uh i&#039;ll cut right to the core issue for those that don&#039;t really want to listen to a 40-minute&lt;br /&gt;
&lt;br /&gt;
00:00:29&lt;br /&gt;
&lt;br /&gt;
Video of me ranting the this thing the leafgen2 pdm is now functioning under zombiverter vcu control so we can run the motor we can run uh the dc dc converter and we can run the six kilowatt charger so i&#039;m going to get into some detail on this for you uh but first obviously the obligatory uh demonstration will be required so i&#039;m&lt;br /&gt;
&lt;br /&gt;
00:01:04&lt;br /&gt;
&lt;br /&gt;
Gonna go crank up the land yacht um and uh plug the chademo in to give us a jump start and then we should be able to uh should be able to get some action here it&#039;s the standby all right so uh let&#039;s see we got to turn our multimeters on so this multimeter is measuring the voltage on the 12 volt battery and this one is measuring the current&lt;br /&gt;
&lt;br /&gt;
00:01:33&lt;br /&gt;
&lt;br /&gt;
On the high voltage with some connections here going into the leaf harness so this is the part that would be originally connected to the vehicle obviously we&#039;ve got a 12 volt battery here connected to the pdm for both uh i guess supplying the inverter pdm and the vcu which is up there on the uh up there on the bench so&lt;br /&gt;
&lt;br /&gt;
00:02:01&lt;br /&gt;
&lt;br /&gt;
Uh 12.56 volts no current flow so i&#039;m going to go ahead and uh kick on our chademo contactors in the yacht so that we can pre-charge so that is uh hv is now on so i&#039;m going to go up to the switch podium put the ignition on and give her a flick of the start so at this point now uh we&#039;re sending can if i get my throttle pedal&lt;br /&gt;
&lt;br /&gt;
00:02:36&lt;br /&gt;
&lt;br /&gt;
Give it a little squeeze yeah there&#039;s our leaf motor motoring so we are in drive mode at the minute which we normally wouldn&#039;t be when we do we&#039;d be doing charging uh so what i&#039;m going to do now i&#039;m going to flick on the little switch here it&#039;s just got the 12 volt power to the pdm i&#039;m going to flick that on i&#039;m going to plug in a charging cable okay so we&#039;ve got a click here i&#039;m gonna&lt;br /&gt;
&lt;br /&gt;
00:03:05&lt;br /&gt;
&lt;br /&gt;
Click in the evse uh the voltage on the battery is at um 14.17 and i&#039;ve got five and a half amps of charging current coming from the pdm into the land yacht and the reason it&#039;s it&#039;s only five and a half amps is that the little uh evse that i&#039;ve plugged in there is just a a two kilowatt granny cable um so&lt;br /&gt;
&lt;br /&gt;
00:03:38&lt;br /&gt;
&lt;br /&gt;
Basically yeah if i was to push the throttle now it would spin the motor as well so we&#039;d be charging and driving at the same time not a good situation to be in um but just for the purposes of a test here because today has been a bit of a crazy day for me it hasn&#039;t just been hacking leaf bits there&#039;s been a lot of other craziness going on that i&#039;ll hopefully&lt;br /&gt;
&lt;br /&gt;
00:04:03&lt;br /&gt;
&lt;br /&gt;
Be able to talk about um at a later stage but anyway it&#039;ll certainly be marked as the day that weird stuff happened and we hacked the pdm so obviously at the minute uh we need to refine the software into vcu so that we can send power commands to the charger and send voltage commands uh to the dc to dc&lt;br /&gt;
&lt;br /&gt;
00:04:30&lt;br /&gt;
&lt;br /&gt;
Now my phone is nearly dead uh because i&#039;ve been on the phone all day and my voice is probably croaky as well but i&#039;ve got a charger in it here so what i&#039;m gonna do i&#039;m going to unplug the charger and we&#039;ll try and bring you folks in here we give you a little bit of a a more detailed look around uh so that you can see what&#039;s actually going on uh turns out&lt;br /&gt;
&lt;br /&gt;
00:04:53&lt;br /&gt;
&lt;br /&gt;
Driving this pdm is is not a big deal at all uh so okay stick with us alrighty so pdm this is a 6.6 kilowatt version from the nv 200 van or env or whatever they want to call it it&#039;s the complete stack so just get you down to the meters here so you can see that&#039;s our 12 volt&lt;br /&gt;
&lt;br /&gt;
00:05:22&lt;br /&gt;
&lt;br /&gt;
Voltage at the minute just been measured on the battery posts this is our hv current um we&#039;re charging at five and a half amps that orange cable obviously just goes straight up into the pdm here we&#039;ve got a little pre-charged circuit just with a uh electric oven element just a main contactor and a fuse&lt;br /&gt;
&lt;br /&gt;
00:05:46&lt;br /&gt;
&lt;br /&gt;
Goes up to our um little distribution block and then out to the land yacht who is graciously jump starting us uh today in our endeavors so computer just working with a an arduino dewey here uh just to record can seal cedar&#039;s can flying around there on savvy can but it&#039;s all being uh generated by the uh&lt;br /&gt;
&lt;br /&gt;
00:06:18&lt;br /&gt;
&lt;br /&gt;
Zombivert virtual vcu um so i&#039;m just using i think this is a kia uh ccs socket here uh just as a type two because i don&#039;t have a type 1 i&#039;ve no type 1 evses at all so i just connected up this socket here ac power comes up that white wire that&#039;s all correlated air and just goes in onto the charger inlet&lt;br /&gt;
&lt;br /&gt;
00:06:49&lt;br /&gt;
&lt;br /&gt;
The control pilot and the plug present line that&#039;s your control pilot it&#039;s your plug present they&#039;re going into the harness here i had to work out from almost from first principles because those nissan warring diagrams are just terrible um so what else we got going on um the pdm doesn&#039;t need any weird signals i saw some folks over on&lt;br /&gt;
&lt;br /&gt;
00:07:20&lt;br /&gt;
&lt;br /&gt;
Uh the my nissan leaf forum were really struggling with this all the pdm needs it needs 12 volts and it&#039;s got a switch on it uh it gets ground from the casing um and it needs can i and cantaloupes this is our can here uh just coming down to this twisted pair from the vcu and we&#039;re just monitoring here with the with the with the uh dewey and savvy can&lt;br /&gt;
&lt;br /&gt;
00:07:49&lt;br /&gt;
&lt;br /&gt;
Set up um so really the only connections that i&#039;ve made here are just 12 volts um ground can hike and low um control pilot uh proximity and there&#039;s just a relay here that just that just controls 12 volt power to the inverter um that&#039;s just an inverter&lt;br /&gt;
&lt;br /&gt;
00:08:15&lt;br /&gt;
&lt;br /&gt;
Power relay from the vcu because i was at a minute i&#039;ve just been lazy today and i&#039;ve just programmed the vcu so the vcu thinks it&#039;s in run mode which it is because it can run the inverter and i&#039;ve just tagged on the extra can messages that we need to run the pdm um so i&#039;ll just go ahead and i&#039;ll give you&lt;br /&gt;
&lt;br /&gt;
00:08:42&lt;br /&gt;
&lt;br /&gt;
Another demo here and there are certain things certain things it won&#039;t do for us so far example uh let me put you guys on there let me put you guys on the multimeters here for a second so i&#039;m gonna go ahead and unplug the evse just to prove to you that this is real so obviously you&#039;ll see there that um the dc dc&lt;br /&gt;
&lt;br /&gt;
00:09:11&lt;br /&gt;
&lt;br /&gt;
Voltage stays because that&#039;s been controlled by the can and obviously it&#039;s got the hv on there um give it a little squeeze in a throttle we should still be running the motor yeah we are so uh now so if if i just plug the evse back in&lt;br /&gt;
&lt;br /&gt;
00:09:36&lt;br /&gt;
&lt;br /&gt;
It will turn on the evse uh but the charger will not restart at this stage probably needs a can command to do that so i&#039;m going to plug out the evse i&#039;m going to just turn off see my little switch here it&#039;s going to turn off the power to the pdm so obviously with the power off the dc dc uh converter drops out&lt;br /&gt;
&lt;br /&gt;
00:10:03&lt;br /&gt;
&lt;br /&gt;
I&#039;m going to turn that back on and i&#039;m going to throw in the evse again and you&#039;ll hear the click in the uh in the pdm and both the dc dc and the charger come right up um there&#039;s no issues there like it&#039;s not a timing sensitive kind of a thing from what i can tell it will be interesting tester ons so if i plug out evse again&lt;br /&gt;
&lt;br /&gt;
00:10:33&lt;br /&gt;
&lt;br /&gt;
Turn off the pdm so let&#039;s see what happens if i with a few seconds uh turn the pdm back on and just wait okay so there&#039;s the dc dc came back up now if i plug in evse yeah pdm&#039;s gonna start up there it is so there&#039;s no there&#039;s no timing issues um&lt;br /&gt;
&lt;br /&gt;
00:11:01&lt;br /&gt;
&lt;br /&gt;
Nothing of that nature that we need to worry about so that&#039;s it folks just a quick update with our 6.6 kilowatt pdm here complete leaf stack uh working um doing what it needs to do i&#039;m going to go ahead and clean up the software in the uh in the vcu so that we&#039;ve uh we can set things with it and select um&lt;br /&gt;
&lt;br /&gt;
00:11:34&lt;br /&gt;
&lt;br /&gt;
Select the leaf um pdm as our charger be able to set powers and limits and stuff and uh then we can um explore further like hooking up to demo and stuff like that to it but uh yeah that&#039;s it nothing spectacular it doesn&#039;t need any high voltage interlocks relays any of that stuff at all it absolutely does not care about any of&lt;br /&gt;
&lt;br /&gt;
00:12:04&lt;br /&gt;
&lt;br /&gt;
Those so um yes so uh usual folks don&#039;t forget to dislike do not share do not subscribe do not support me on patreon or paypal or any of that crap and whatever you do do not visit the links in the description where you could buy the zombivert or vcu or indeed download the code for it and&lt;br /&gt;
&lt;br /&gt;
00:12:38&lt;br /&gt;
&lt;br /&gt;
Then make your own one and then i get nothing and oh no yeah no don&#039;t do that that&#039;s that&#039;s stupid um so uh right uh i&#039;m really confused today so from everyone here at evbmw including the pdm the land yacht&lt;br /&gt;
&lt;br /&gt;
00:13:04&lt;br /&gt;
&lt;br /&gt;
Gomcat myself and the kia ccs soccer um i will wish you happy leafing&lt;br /&gt;
|}&lt;br /&gt;
====ZombieVerter VCU V1 Part 3====&lt;br /&gt;
{| class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot; role=&amp;quot;presentation&amp;quot;&lt;br /&gt;
|&amp;lt;b&amp;gt;Highlights&amp;lt;/b&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=38s 00:38]&#039;&#039;&#039; Intro/Recap of part 2&lt;br /&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&lt;br /&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&lt;br /&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&lt;br /&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&lt;br /&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&lt;br /&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&lt;br /&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&lt;br /&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&lt;br /&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&lt;br /&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&lt;br /&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&lt;br /&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&lt;br /&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&lt;br /&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&lt;br /&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)&lt;br /&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&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&lt;br /&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)&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&lt;br /&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&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=1438s 23:49]&#039;&#039;&#039; CCS type 2 socket connections&lt;br /&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&lt;br /&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. &lt;br /&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&lt;br /&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)&lt;br /&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&lt;br /&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&lt;br /&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)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=2257s 37:37]&#039;&#039;&#039; Running the motor&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=2407s 40:07]&#039;&#039;&#039; Checking status, observing parameters&lt;br /&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)&lt;br /&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&lt;br /&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&lt;br /&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&lt;br /&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&lt;br /&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&lt;br /&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&lt;br /&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&lt;br /&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&lt;br /&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)&lt;br /&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&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=4399s 1:13:19]&#039;&#039;&#039; Causes of wifi issues&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=4609s 1:16:49]&#039;&#039;&#039; Initializing the ISA shunt&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=4855s 1:20:55]&#039;&#039;&#039; Demonstrating regen&lt;br /&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&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[https://youtu.be/oPb4vMO17B4?t=5043s 1:24:03]&#039;&#039;&#039; Epilogue&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot; role=&amp;quot;presentation&amp;quot;&lt;br /&gt;
|&amp;lt;b&amp;gt;Transcript&amp;lt;/b&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|hello folks and welcome to another uber boring episode in our vcu series this will be part three and i would strongly encourage anyone uh that is just joining us in this part to go back and view the preceding two parts and i will put a link in the description to them so&lt;br /&gt;
&lt;br /&gt;
00:00:37&lt;br /&gt;
&lt;br /&gt;
In part two we went painstakingly through a lot of the theory of our vcu and showed you all the wiring connections and explain the configuration menus on our web interface today we&#039;re going to get away from the theory we&#039;re going to jump into some practice for you so what we have here in front of us is essentially a complete what&#039;s called stack from a&lt;br /&gt;
&lt;br /&gt;
00:01:11&lt;br /&gt;
&lt;br /&gt;
2018 nissan leaf so there&#039;s three parts to this it was called the pdm up the top here so this has a charger the six kilowatt charger and the dc to dc converter underneath it is our inverter this is the 110 kilowatt version and finally down here is our em57 electric motor now this setup i have been using here for some&lt;br /&gt;
&lt;br /&gt;
00:01:43&lt;br /&gt;
&lt;br /&gt;
Experiments and additionally uh this is the system and i&#039;m going to be using in our future conversion of our mitsubishi l 200 truck but before i break this down uh and pack it away for the for that future project it does make an excellent platform for us to basically show you in again rather excruciating detail how our&lt;br /&gt;
&lt;br /&gt;
00:02:17&lt;br /&gt;
&lt;br /&gt;
Vcu wires up to a system like this now as we explained the vcu can control a variety of these kind of systems but this is just one example that we happen to have on the floor here in a reasonably ready to go fashion and so yeah what we want to do is we want to show you the basics of how this wires up and how we can run it we&#039;ll show you&lt;br /&gt;
&lt;br /&gt;
00:02:49&lt;br /&gt;
&lt;br /&gt;
Things like software updating and throttle calibration procedures as well during this session so point of using systems like this really is so that we don&#039;t have to reinvent the wheel we can get these nowadays for quite reasonable monies and they are&lt;br /&gt;
&lt;br /&gt;
00:03:19&lt;br /&gt;
&lt;br /&gt;
Engineered for automotive applications because that&#039;s what it is nissan did a lot of the hard work for us so we can kind of um jump in on that and use our vcu to enable components like this to be used in ev conversion projects so let&#039;s jump straight in and have a look at our vcu alrighty so here is our vcu it&#039;s in its aluminium&lt;br /&gt;
&lt;br /&gt;
00:03:52&lt;br /&gt;
&lt;br /&gt;
Enclosure and we have our connector attached as per our wiring pin descriptions from the last video we come down here to this bundle then it explodes out into this bit of a mess job here but in reality if we take this slow and steady uh we take each wire individually it&#039;s it&#039;s actually not that difficult at all here we&#039;ve just got a 12 volt battery which is a normal car battery that&lt;br /&gt;
&lt;br /&gt;
00:04:27&lt;br /&gt;
&lt;br /&gt;
Supplies low voltage power to our systems here and of course to our vcu got some more wires and stuff going on here at the back this is where we connect into our nissan leaf wiring and i&#039;ll go through all that with you uh shortly and here we have our isa shunt now this one looks a little different to the one we showed you in the last video it&#039;s a slightly older model but&lt;br /&gt;
&lt;br /&gt;
00:04:59&lt;br /&gt;
&lt;br /&gt;
Works the exact same way and down here then we have some contactors uh for controlling the high voltage you can see here that i&#039;ve got got a white which would be our high voltage battery positive and a black which would be our high voltage battery negative so a bit of high voltage wiring going on and a bit of low voltage wiring going on&lt;br /&gt;
&lt;br /&gt;
00:05:26&lt;br /&gt;
&lt;br /&gt;
And we connect in there to our vcu so let&#039;s start uh with our 12 volt battery here as we would in a traditional i suppose wiring diagram for a car and we&#039;ll break it down as easily as i can for you one of the things folks always ask me about is to have a wiring diagram for this or a wiring diagram for that and that&lt;br /&gt;
&lt;br /&gt;
00:05:55&lt;br /&gt;
&lt;br /&gt;
The answer to that is no i do not because there&#039;s two reasons for that one is i can&#039;t do everything because if i do one wiring diagram and i want three more and it just tends to snowball a little bit and the second thing is i&#039;m absolutely crap at drawing and i did actually try this with some of the tesla stuff to draw diagrams and then i tried to get a few uh professional people to&lt;br /&gt;
&lt;br /&gt;
00:06:27&lt;br /&gt;
&lt;br /&gt;
Convert those squiggles into actual you know electrical drawings for me but that didn&#039;t work out either it ended up costing me quite a bit of money so unfortunately folks that is not my forte so we&#039;re going to have to go with what i can do here and that is to describe to you this setup um and it&#039;s actually once we get into it you&#039;ll see that it&#039;s uh it&#039;s actually a lot simpler than something that you would do even with&lt;br /&gt;
&lt;br /&gt;
00:06:59&lt;br /&gt;
&lt;br /&gt;
The likes of a standalone ecu for an internal combustion engine alrighty so here we are most basic place to start is our 12 volt battery negative terminal as in any system this battery negative terminal i just have it connected via a fuse to this cable and it&#039;s going to chassis or ground or just bolted on to any convenient part of our&lt;br /&gt;
&lt;br /&gt;
00:07:35&lt;br /&gt;
&lt;br /&gt;
System here i then have this black wire here which is again just attached to a chassis ground here and this is our ground connection to our vcu coming across here we have our 12 volt battery positive and this wire is a ticker wire again the same as this one be a main feed we come up onto our pdm this is our pdm&lt;br /&gt;
&lt;br /&gt;
00:08:07&lt;br /&gt;
&lt;br /&gt;
Battery positive and so this is our 12-volt battery positive and anything on the casing is our 12-volt battery ground here you&#039;ll see i&#039;ve got two fuse holders which just uh pop the cover off that just little standard i think five amp just blade fuses in them a lot of this is just for convenience here on the testing rig&lt;br /&gt;
&lt;br /&gt;
00:08:35&lt;br /&gt;
&lt;br /&gt;
So one of these has a little multi-block on it and it goes off to various places and i&#039;ll explain that in a minute we&#039;ll take the simpler one first this one i just has a single wire and i&#039;ll bring you around the side in a sec but where this single wire goes is this just supplies permanent 12 volt power both to our pdm and to our inverter so this fuse here just curls around with a bit&lt;br /&gt;
&lt;br /&gt;
00:09:06&lt;br /&gt;
&lt;br /&gt;
Of wire and gives a 12 volt positive feed inverter and pdm simple as that this wire here breaks off into a little junction block so let&#039;s take each one of these individually this one here is our 12 volt positive feed to our vcu so we just come from the battery through a little fuse this gives our vcu permanent uh 12 volt power this wire here&lt;br /&gt;
&lt;br /&gt;
00:09:44&lt;br /&gt;
&lt;br /&gt;
Goes down to just a standard four pin automotive relay and this relay is controlled by the vcu and it lets it switch on and off the switched 12 volt feed to again our inverter and pdm so when we&#039;re waking up our system be it for charging or for driving the vcu through a low side switch on the coil here can energize this relay and apply the switched power to our inverter and pdm&lt;br /&gt;
&lt;br /&gt;
00:10:25&lt;br /&gt;
&lt;br /&gt;
Those are the only power feeds that we need for our system here so we take one more wire sorry two more wires off this this wire here is going around the back and is supplying our contactor positive feed so the 12 volt permanent dc supply to our contactor coil&lt;br /&gt;
&lt;br /&gt;
00:10:54&lt;br /&gt;
&lt;br /&gt;
Positives and finally this guy here goes up to a switch that you will just see crudely screwed onto the corner of the bench here and we use that first for supplying our digital 12 volt signals to the vcu so things like terminal 15 on so our ignition switch on and our start signal so our momentary switch to the start signal and i&#039;ll run through&lt;br /&gt;
&lt;br /&gt;
00:11:27&lt;br /&gt;
&lt;br /&gt;
That again in a bit more detail but these are our basic 12-volt feeds here from our battery to our pdm and via just one standard four pin relay for the switched feeds and just via a fuse for the permanent feeds and folks that is that is as complex&lt;br /&gt;
&lt;br /&gt;
00:11:53&lt;br /&gt;
&lt;br /&gt;
As we get here with a system like this in terms of just supplying power to it the vcu via the white wire here controls the low side of the relay coil so what i&#039;m going to do next i&#039;m going to switch the camera around and we&#039;ll bring you around this side here and show you uh where for example our 12-volt permanent feed and our 12-volt switched feed from the relay enter we show you where we connect the can bus to&lt;br /&gt;
&lt;br /&gt;
00:12:27&lt;br /&gt;
&lt;br /&gt;
Our system here so standby stand by for action all righty so we&#039;re back around to this side we&#039;ve got a bunch of wiring and some connector blocks here so let&#039;s start with the most basic one this is just our permanent 12-volt feed naturally it&#039;s mixed up with all of these guys and it literally just goes to this three-way terminal block&lt;br /&gt;
&lt;br /&gt;
00:13:03&lt;br /&gt;
&lt;br /&gt;
And goes off to our two permanent 12 volt feeds again one to our inverter and one to our pdm so that&#039;s it secondly then we have our switched uh feed let me find it here there&#039;s our switched feet here we are this is our switch feed from our little four pin relay and you&#039;ll see that that goes off to the two switched&lt;br /&gt;
&lt;br /&gt;
00:13:32&lt;br /&gt;
&lt;br /&gt;
Uh 12 volt feeds we have this black wire which is a ground and it just goes to this brown wire here and this goes all the way back around and just connects to somewhere convenient on the casing and that folks is our lot for supplying 12 volts and ground to our inverter and pdm now the big question is how do we control all this must be super&lt;br /&gt;
&lt;br /&gt;
00:14:02&lt;br /&gt;
&lt;br /&gt;
Complicated and it is there&#039;s a whole two wires there&#039;s two more wires that we have to connect now let me just disconnect these because this is a little monitoring system for can that i use here but you guys don&#039;t need to worry about any of that because it&#039;s uh it&#039;s not um&lt;br /&gt;
&lt;br /&gt;
00:14:26&lt;br /&gt;
&lt;br /&gt;
It&#039;s not got anything to do with what we&#039;re trying to do here so let me get rid of that so what we&#039;ve got is from our vcu we have a twisted pair here which we call ev can there&#039;s two wires in this so this is our can external too high and can external too low and they&#039;re in our literally in our&lt;br /&gt;
&lt;br /&gt;
00:14:52&lt;br /&gt;
&lt;br /&gt;
Just two wires just a third wire in that but we don&#039;t you use it as just a handy bit of twisted pair that i happen to have and we literally just connect can low here from our vcu to canlow on our our original wiring harness and kanhi from our vcu the can high on our wiring harness and folks that&#039;s it congratulations we&#039;re now driving a nissan leaf&lt;br /&gt;
&lt;br /&gt;
00:15:23&lt;br /&gt;
&lt;br /&gt;
Uh drive train courtesy of our vcu so we need to give it permanent 12 volts we need to give it switch 12 volts we need to give it a ground we we need to give it can high and con low from our vcu and that is it if you want to get super complex and we&#039;d like to use the pdm for charging then unfortunately there are two more&lt;br /&gt;
&lt;br /&gt;
00:15:52&lt;br /&gt;
&lt;br /&gt;
Wires that you need to connect we connect those to our charging socket so in this case with our control pilot or cp this goes from here back to our charging socket which we will show you later on and our pp or plug present wire from here back to our charging socket and that&#039;s it congratulations you&#039;re now using motor&lt;br /&gt;
&lt;br /&gt;
00:16:19&lt;br /&gt;
&lt;br /&gt;
Inverter and pdm with our vcu alrighty so next thing we need to look at is our whole high voltage setup and how we control that with our vcu now this is not intended to be any kind of an educational segment for people on how to handle hive voltage because i ain&#039;t going to touch that but what we will do&lt;br /&gt;
&lt;br /&gt;
00:16:53&lt;br /&gt;
&lt;br /&gt;
Is show you for our very basic test rig here how the um how the uh how we do it here now as you&#039;ll see here we&#039;ve got these two black devices here these are our contactors normally in a high voltage system like this we would have three of them we&#039;d have one on our net negative side one on our positive side and one for&lt;br /&gt;
&lt;br /&gt;
00:17:23&lt;br /&gt;
&lt;br /&gt;
Pre-charge now in the case of my simplistic little test rig here i&#039;m just using two a main positive contactor and a pre-charged contactor and that&#039;s because this is only a temporary set up here so if we look up here on the bench we have our high voltage battery positive and our high voltage battery negative&lt;br /&gt;
&lt;br /&gt;
00:17:49&lt;br /&gt;
&lt;br /&gt;
We have our isa shunt connected here to the high voltage battery negative then we come out of this with a cable that we bring to our pdm and that basically distributes high voltage negative to our charger inverter dc dc and whatever it is that we would be using this little wire here which comes out of the the v1 monitoring connection on our um&lt;br /&gt;
&lt;br /&gt;
00:18:22&lt;br /&gt;
&lt;br /&gt;
Isa shunt and that connects into pdm to the battery positive after the pre-charging system so we connect our monitoring tab after our contactors and pre-charge so that this guy is monitoring the high voltage that we&#039;re applying to our i guess drive train uh would be the would be the uh the shortened term so contactor control&lt;br /&gt;
&lt;br /&gt;
00:18:53&lt;br /&gt;
&lt;br /&gt;
Is entirely via our vcu and what we do is again let me just leave it here a little bit and you&#039;ll see i have a red wire that i spoke about earlier this is just bringing permanent 12 volts from our fuse from our 12 volt battery positive into the coil positive terminals of our two contactors and the two black wires then which you&#039;ll see here are being switched via&lt;br /&gt;
&lt;br /&gt;
00:19:24&lt;br /&gt;
&lt;br /&gt;
Direct relevant pins on the vcu so it being uh pre-charge low side switch and main contactor low side switch that&#039;s why we have a permanent 12 volts on our coil positives and we switch on the blacks or negative side of our coils we just have a crude little set up here then with our pre-charge and our main contactors just using a heater element here for that purpose and finally we come out of this wire&lt;br /&gt;
&lt;br /&gt;
00:19:59&lt;br /&gt;
&lt;br /&gt;
Here which is our high voltage positive after our pre-charging and contactors and go into our pdm so what i&#039;ll do is i&#039;ll pop the cover off the pdm here and you can have a look in here and it&#039;ll hopefully make a little bit more sense of where we&#039;re connecting things i&#039;m not going to go into a huge amount of detail on this because like i said that is a topic entirely by itself uh one thing i will just note with a&lt;br /&gt;
&lt;br /&gt;
00:20:29&lt;br /&gt;
&lt;br /&gt;
Little four core wire here going into our isa shunt so just to remind folks the isa shunt is our battery monitoring system and it basically informs the vcu about voltage current temperature amp hours kilowatt hours and all that good stuff and it does that via can so all we need to do we&#039;ve got a red and a black wire here which is a permanent 12-volt supply and we have a green and a yellow wire&lt;br /&gt;
&lt;br /&gt;
00:21:02&lt;br /&gt;
&lt;br /&gt;
Which is our can high and can low and we connect those to the relevant uh can external too low and can external two high pins of our vcu and indeed they simply then come back down so we&#039;re linking our can here uh from our drivetrain with our can from our shunt so literally that is it uh from a&lt;br /&gt;
&lt;br /&gt;
00:21:33&lt;br /&gt;
&lt;br /&gt;
Wiring up of a drivetrain and our shunt here so i&#039;ll go ahead and pop the lid off the pdm and we&#039;ll show you where the wires connect here just to kind of familiarize volks a little bit more with that and finally then we&#039;ll show you where our charging socket connects up all right just pop the lid off the uh pdm here there we go okay&lt;br /&gt;
&lt;br /&gt;
00:22:09&lt;br /&gt;
&lt;br /&gt;
So let&#039;s get you in a little bit neater here you&#039;ll hopefully be able to see some of the wiring so you&#039;ll see here that i&#039;ve marked these two copper terminals that are red and a blue i put a plus and a minus there beside them those are our main high voltage battery connection terminals&lt;br /&gt;
&lt;br /&gt;
00:22:31&lt;br /&gt;
&lt;br /&gt;
So this is where we come in after our contactors with our pre-charge in our main contactor this is our battery negative which would normally be going to a battery negative contactor and then heading off towards our battery you&#039;ll notice that there&#039;s two wires on the positive the reason for that is one of them brings in our&lt;br /&gt;
&lt;br /&gt;
00:22:58&lt;br /&gt;
&lt;br /&gt;
High voltage positive and the other one is our little monitoring wire here from our isa shunt so super simple i&#039;m going to talk to a little bit about how we connect up ac charging to the pdm as well just because we&#039;re here it&#039;d be a shame not to so i just got a piece of tree core cable here this is a single phase six kilowatt charger so green and yellow earth are ground brown is our live or hot and blue is our&lt;br /&gt;
&lt;br /&gt;
00:23:31&lt;br /&gt;
&lt;br /&gt;
Neutral so we connect those to connect our live and our neutral to our relevant terminals here in the pdm and we just connect earth or ground to our chassis a convenient location on our chassis and in this little mess job here you see this is where our single phase ac wiring connects to our charging socket this is a ccs type 2 from some kia or hyundai car&lt;br /&gt;
&lt;br /&gt;
00:24:06&lt;br /&gt;
&lt;br /&gt;
So we&#039;ve got our single phase ac which is our tree terminals here we&#039;ve got our pp and cp which we showed you earlier on the red and the black wires just going straight to the pdm and that is our setup folks between charging supplying 12 volts got our vcu up there coming down into our wiring bundle&lt;br /&gt;
&lt;br /&gt;
00:24:35&lt;br /&gt;
&lt;br /&gt;
Finally uh over to our pdm all right so we&#039;ve got two more things to show you before we can get into the real phone first is this little three-way switch here what is this doing for us well oh look gomcat it&#039;s you gomcat has came in to say hello to us folks i know there had been some concern about&lt;br /&gt;
&lt;br /&gt;
00:25:03&lt;br /&gt;
&lt;br /&gt;
The golem cat&#039;s well-being in recent videos and i appreciate that as does he but as you can see he is in fighting form and ready to get back to work hacking oem components for us isn&#039;t that correct gomcat now gom i&#039;m trying to explain the vcu to the folks here so why don&#039;t you head back inside get some sleep and i&#039;ll catch up with you later on&lt;br /&gt;
&lt;br /&gt;
00:25:36&lt;br /&gt;
&lt;br /&gt;
Now here we go sorry about that folks gome just reappeared now what is this well these are just light switches like you&#039;d have in a domestic house so turn the light on turn the light off i&#039;m just using them in this case to control some of our digital signals to our vcu got a red wire here just a 12 volt&lt;br /&gt;
&lt;br /&gt;
00:26:03&lt;br /&gt;
&lt;br /&gt;
Battery positive i&#039;ve got some wires here from our vcu of our forward input i have our terminal 15 input i have our start input and have our high voltage request input so in this case when we turn on the fourth switch we just apply 12 volts to our forward input and to our terminal 15 input thus telling our vcu that we would like&lt;br /&gt;
&lt;br /&gt;
00:26:36&lt;br /&gt;
&lt;br /&gt;
The motor to turn forward we are on an ignition on position now so we&#039;re getting ready to crank up and finally in our second little switch here thank you gom normally what i do with this is just give it a flick which should be akin to giving it a flick of a start um momentary terminal at that point assuming conditions are met the vcu will initiate pre-charge&lt;br /&gt;
&lt;br /&gt;
00:27:07&lt;br /&gt;
&lt;br /&gt;
If pre-charge is successful we&#039;ll close the main contactor turn on our inverter relay and we&#039;re ready to go for a drive again when we come back home switch off turn our key off and the system shuts down and in order to tell the vcu how much torque that we would like from our motor we of course need a throttle pedal this is a&lt;br /&gt;
&lt;br /&gt;
00:27:36&lt;br /&gt;
&lt;br /&gt;
Throttle pedal from kind of mid-2000s bmw it&#039;s on various models this is the one that i generally use because you know kind of cheap easy to get at my local scrap yard and they fit most of the cars that i&#039;m working with so this is the two channel hall effect pedal it has a five volts ground and two signal channels&lt;br /&gt;
&lt;br /&gt;
00:28:03&lt;br /&gt;
&lt;br /&gt;
That we connect to our vcu so when we push our pedal up and down we get two uh variable voltages generated by the pedal which our vcu can then interpret as a driver torque request we&#039;ll turn that into the relevant can messages and transmit them to our inverter and uh with whatever kind of throttle ramps and limits that we will have set&lt;br /&gt;
&lt;br /&gt;
00:28:38&lt;br /&gt;
&lt;br /&gt;
In the vcu also the vcu will detect things like if we&#039;re parked and we want to do something like charge the car then when we insert our charging plug like so it would assuming conditions are met so we&#039;re not in drive mode etc&lt;br /&gt;
&lt;br /&gt;
00:29:06&lt;br /&gt;
&lt;br /&gt;
Initiate pre-charge pre-charge is successful bring up the power to the pdm lock out the inverter from drive mode and commence charging based upon a combination of the parameters that it gets from our charging cable and those set within the vcu okay so we&#039;ve got ourselves a throttle pedal we have that connected to our vcu&lt;br /&gt;
&lt;br /&gt;
00:29:42&lt;br /&gt;
&lt;br /&gt;
So one of the first things that we&#039;re going to want to do once we get our vcu hooked up and has power to it is calibrate our throttle so in this uh segment we&#039;re going to describe how to do that so if you want to know the details of the connections for connecting your throttle pedal then please see part two of this video series but just to briefly recap there are four connections throttle plus five volts throttle ground&lt;br /&gt;
&lt;br /&gt;
00:30:13&lt;br /&gt;
&lt;br /&gt;
Throttle channel one and throttle channel two this vcu allows for the use of either single throttle channel or dual throttle channel and has got error checking both between the dual channels and for throttle out of range errors so let&#039;s start&lt;br /&gt;
&lt;br /&gt;
00:30:38&lt;br /&gt;
&lt;br /&gt;
By going down to spot values we&#039;ll scroll down here until we can see our parameters for pot and part two and we just hit our refresh button here just to make sure that those values are current so pot is reading 219 digits and part 2 at 438 digits and those are just the raw values being received from the analog to digital converter in the&lt;br /&gt;
&lt;br /&gt;
00:31:11&lt;br /&gt;
&lt;br /&gt;
Stm32 and are typical of what you will see on one of these hall effect throttle pedals in that one channel is usually about half of what the other one uh reads for safety purposes so the first thing to do is we&#039;re going to select auto and click refresh once and what that will do is it will continuously refresh all of the parameters and indeed you&#039;ll&lt;br /&gt;
&lt;br /&gt;
00:31:41&lt;br /&gt;
&lt;br /&gt;
See the little change in the pot values there just due to noise now i&#039;m going to move the throttle pedal here just over its full range and you guys keep an eye on those values you&#039;ll see that they&#039;re slowly increasing until we reach full throttle and then they&#039;ll decrease as we come back off our throttle and that shows us uh that we have a for&lt;br /&gt;
&lt;br /&gt;
00:32:08&lt;br /&gt;
&lt;br /&gt;
A functioning uh throttle pedal so let&#039;s go ahead and untick auto and just click refresh once more just to go back to normal so what we&#039;re going to do now is we&#039;re going to note the values of pot and pot 2 and we&#039;re going to add 10 roughly 10 points to them so let&#039;s say pot let&#039;s call it 220 for a round figure so let&#039;s say pot uh value the pot min value that we&#039;re going to enter will be 230&lt;br /&gt;
&lt;br /&gt;
00:32:43&lt;br /&gt;
&lt;br /&gt;
And let&#039;s say that part two just again for the sake of a round figure is 440 so let&#039;s call that 450. so 230 and 450 we&#039;re going to go to parameters we&#039;ll scroll down here we have pot min which is currently at 200 220. so we&#039;re going to set that and i always forget this i just always do let me go back again if i actually made&lt;br /&gt;
&lt;br /&gt;
00:33:20&lt;br /&gt;
&lt;br /&gt;
A note it would be a good thing wouldn&#039;t it apologies folks just a bit of life getting in the way there so we said pot 220 and we&#039;re going to add 10 to make it 230. so back to parameters we&#039;ll go to put min and set that value to 230 2 3 0 and press enter always press enter we change our value&lt;br /&gt;
&lt;br /&gt;
00:33:52&lt;br /&gt;
&lt;br /&gt;
Back to our spot values again part two let&#039;s say 440 so we said 450. so back to parameters and we say pot 2 min 450 4 5 0 press enter go back to our spot values and back to our pot there are two pots in the middle we&#039;re going to go back to oh no sorry we&#039;re not we&#039;re not going to go back to auto&lt;br /&gt;
&lt;br /&gt;
00:34:26&lt;br /&gt;
&lt;br /&gt;
What i&#039;m going to do off camera now is just press the throttle pedal all the way down holding it at full throttle and press refresh once now we now have our max value so let&#039;s call it 1250 for part two for pot max and let&#039;s take 10 points off that or we&#039;ll call that 12&lt;br /&gt;
&lt;br /&gt;
00:34:50&lt;br /&gt;
&lt;br /&gt;
42. let&#039;s call that 1242 for pot max 12 42. one two four two and press enter for pot max we&#039;ll come down here now we go to part two where is it gone here it is so two five zero seven so let&#039;s call it two five zero zero back again for part two max two five zero zero&lt;br /&gt;
&lt;br /&gt;
00:35:30&lt;br /&gt;
&lt;br /&gt;
Enter and don&#039;t forget now we want to come up here and our next thing we want to do is ensure that we&#039;re in because we have our two channels selected we want to ensure that we have a dual channel throttle selected here of our yeah okay let me rephrase that because we have our two channels wired up and calibrated and ensure that we&#039;ve our dual&lt;br /&gt;
&lt;br /&gt;
00:35:56&lt;br /&gt;
&lt;br /&gt;
Channel selected i&#039;ll come back in one second to you for single mode i want to check that our messages have got set okay we&#039;re going to come up to our parameters we&#039;re going to click save parameters to flash as we know what to do then from our last video come back down to our messages and we say parameters stored and we have our 32-bit crc value&lt;br /&gt;
&lt;br /&gt;
00:36:21&lt;br /&gt;
&lt;br /&gt;
Now there&#039;s a little gotcha here in this about using single throttle mode so our little menu here under pot mode has got dual channel and and single obviously you know i would recommend that you use dual channel because again i think most throttle pedals have that facility but if there&#039;s a reason just for simplicity or a bench test or&lt;br /&gt;
&lt;br /&gt;
00:36:49&lt;br /&gt;
&lt;br /&gt;
Some particular legacy system that you&#039;re trying to work with you can indeed select single channel now the catch is that if you just select single channel but you have wired up a dual channel and may be calibrated or even not calibrated it it will not work so if you are using single channel mode only wire up one throttle channel that&#039;s super&lt;br /&gt;
&lt;br /&gt;
00:37:18&lt;br /&gt;
&lt;br /&gt;
Important folks okay so we&#039;ll go back to our dual channel here for the purposes of running our system on the bench okay so now that we&#039;re set up here let&#039;s go ahead and uh run our motor so we&#039;ve got our high voltage turned on it&#039;s being supplied from the land yachts to demo port at the&lt;br /&gt;
&lt;br /&gt;
00:37:50&lt;br /&gt;
&lt;br /&gt;
Minute because i no longer have a kind of a bench battery so that&#039;s giving us about 390 volts into our system here so i&#039;m going to go ahead now and we&#039;re going to start up and we&#039;re going to just run the motor just to get our feet wet here pun intended because it is rather a wet day today so quite simply i&#039;m going to turn our ignition switch on&lt;br /&gt;
&lt;br /&gt;
00:38:17&lt;br /&gt;
&lt;br /&gt;
So that&#039;s turning the key to the on position i&#039;m just going to flick this middle one here which is the equivalent of just turning the key against the spring to the start position you&#039;ll hear a few clicks that&#039;s our uh pre-charging system working and our main contactor closing and our little relay kicking in here that&#039;s applying the switch to 12 volt power to our pdm and um&lt;br /&gt;
&lt;br /&gt;
00:38:48&lt;br /&gt;
&lt;br /&gt;
Inverter if i take our freshly calibrated throttle pedal and press it our motor spins up [Music] and you&#039;re going to see that we have regen and that is very much thanks to the efforts of johannes a little bit more tuning to do on it but just thought i would introduce that fact to you&lt;br /&gt;
&lt;br /&gt;
00:39:24&lt;br /&gt;
&lt;br /&gt;
So that is a very simple test but we will go through now we&#039;re going to go through two things one would be just some of the tuning parameters that we can do on the web interface and secondly we will do some of the gotchas or the catches that can affect people and stop them getting to this um for spin of the motor situations that are turned off then we just turn our key&lt;br /&gt;
&lt;br /&gt;
00:39:56&lt;br /&gt;
&lt;br /&gt;
Back to the off position and everything shuts down just like that all right so we&#039;re here now with our web interface and we would be going for what could be i guess a force test run of our drive train here on the bench we&#039;ve got our high voltage available we&#039;ve got our 12 volts available and we&#039;re communicating away happily so what i would first of all do is select&lt;br /&gt;
&lt;br /&gt;
00:40:31&lt;br /&gt;
&lt;br /&gt;
Auto and click refresh here so that we&#039;re constantly updating the parameters here so what&#039;s the first one that we should look at well the first one is always op mode up mode is currently off which is perfectly fine next one is last error we&#039;re saying none so there&#039;s no errors we will generate some for you fairly soon but at the minute we&#039;re in a&lt;br /&gt;
&lt;br /&gt;
00:41:01&lt;br /&gt;
&lt;br /&gt;
Non-error situation status udc below udcsw and what the vcu is basically telling us here is that the voltage that it&#039;s measuring with the isa shunt currently about 7 volts is below the set point that we specified in udc sw which is the voltage at which we would like the&lt;br /&gt;
&lt;br /&gt;
00:41:32&lt;br /&gt;
&lt;br /&gt;
Pre-charge to finish and the main contactor to close so that&#039;s perfectly fine to have that error here or status i should say so let&#039;s scroll down here now the web page will jump a little bit here when we&#039;re moving it like this with auto on and so we have inverter is leaf gen 1 which is perfectly fine and vehicle is set to classic now&lt;br /&gt;
&lt;br /&gt;
00:42:13&lt;br /&gt;
&lt;br /&gt;
The next one we want to look at is t15 status which is our ignition on status it&#039;s currently off so we&#039;re going to flick that to on so now we have t15 status on so we&#039;ve now confirmed that the vcu has received the message that we would like to start up so we&#039;re going to go back up just to the top of spot values here&lt;br /&gt;
&lt;br /&gt;
00:42:46&lt;br /&gt;
&lt;br /&gt;
And i&#039;m going to hit my start button now you see here that op mode has changed to run last error is still known and status is now known which means that we have no errors and no status problems we&#039;re seeing the full 390 volts available here in udc now at the minute we&#039;re not drawing any power we&#039;re not drawing any current as far as our shunt&lt;br /&gt;
&lt;br /&gt;
00:43:23&lt;br /&gt;
&lt;br /&gt;
Is concerned but that should change uh fairly soon when our dc-dc converter in the pdm starts up and if we come down here we will see our inverter udc is reading slightly differently but that&#039;s perfectly fine and it is reading the voltage that the inverter is measuring and transmitting that via can to us so that means we&#039;ve got good communication with our&lt;br /&gt;
&lt;br /&gt;
00:43:59&lt;br /&gt;
&lt;br /&gt;
Inverter now if i take my throttle pedal here now and just spin up the motor we&#039;re going to see some other things changing here ah apologies about my um power and current readings here that&#039;s something i need to fix but you&#039;ll see here that we&#039;re getting speed which is the motor rpm which we can hear&lt;br /&gt;
&lt;br /&gt;
00:44:30&lt;br /&gt;
&lt;br /&gt;
And most importantly if we come down here we look at our pot nom let&#039;s see that value change as i press the throttle [Music] and indeed as the vcu calculates the regen that we want to see and you&#039;ll see the torque value changing from positive torque&lt;br /&gt;
&lt;br /&gt;
00:44:59&lt;br /&gt;
&lt;br /&gt;
And negative torque values for regen and of course the pot for our analog throttle changes as well there all right folks so apologies for that um i had a this particular branch of the software that i&#039;m working on at the minute had a little bug in it that wasn&#039;t giving us our uh current sun powers and all that so we&#039;ve now got that fixed&lt;br /&gt;
&lt;br /&gt;
00:45:33&lt;br /&gt;
&lt;br /&gt;
So we&#039;re on auto refresh here so we can turn our ignition on hit our start and see that our voltage comes up let me just scroll up here a little bit so hopefully you should be able to see power and current there as soon as the dc dc starts up in the pdm there it goes so we got about 150 watts of power consumption there from our pdm&lt;br /&gt;
&lt;br /&gt;
00:46:02&lt;br /&gt;
&lt;br /&gt;
And if i press my throttle now see a little bit of regen went in there [Music] there we go so that&#039;s our power red from the isa shunt and current red from the isa shunt also we get kilowatt hours and amp hours from our isa shunt and should be obvious there we have speed&lt;br /&gt;
&lt;br /&gt;
00:46:42&lt;br /&gt;
&lt;br /&gt;
Which is our motor rpm uh from our isa shunt or not from our essay sean from our uh can from the inverter so this is what a typical running system at least for our leaf um stack here would typically look like um as i said we&#039;ve gone through our pot and our platinum and all of these kind of things here other things you&#039;ll see would be things like heatsink&lt;br /&gt;
&lt;br /&gt;
00:47:14&lt;br /&gt;
&lt;br /&gt;
Temperature motor temperature auxiliary temperature comes from the isa shunt um the u-ox is the 12-volt voltage measured at the vcu a few other things like that but that&#039;s if we come down here a little bit now we&#039;ll see that our forward direction is selected on it&#039;s very important to have a direction selected because if we do not have a direction selected then we do not drive anywhere so what i&#039;m going to do now&lt;br /&gt;
&lt;br /&gt;
00:47:46&lt;br /&gt;
&lt;br /&gt;
Is i&#039;m going to just take automatic refresh off i&#039;m going to do a few things here that can cause us to get no rotation of our motor so i&#039;m going to switch off our ignition so where our contactors drop off and just off camera i&#039;m going to just do something here&lt;br /&gt;
&lt;br /&gt;
00:48:13&lt;br /&gt;
&lt;br /&gt;
And we&#039;re going to go back up our main spot values function here go back on to automatic refresh and we should yeah there we go we&#039;re in off mode let me bring you up here and we&#039;re again very same situation now i&#039;m going to press our ignition switch on i&#039;m going to flick my start we hear our pre-charge come in we go to pre-charge up mode but now the&lt;br /&gt;
&lt;br /&gt;
00:48:45&lt;br /&gt;
&lt;br /&gt;
Pre-charge contactor has dropped out and my last error has changed to pre-charge so what that means is that i have no high voltage available and what i did there was i just disconnected the high voltage supply to our test setup here so we just want to turn our ignition switch back off we&#039;ll fix the problem so basically&lt;br /&gt;
&lt;br /&gt;
00:49:15&lt;br /&gt;
&lt;br /&gt;
Re-enable our high vol volt voltage supply put our ignition switch on and flick start and we go back we&#039;re into run mode and uh if i press the throttle there we go we&#039;re back running again and uh probably starting to draw power yeah from our pdm so this is what will happen uh if we get a pre-charge error the&lt;br /&gt;
&lt;br /&gt;
00:49:49&lt;br /&gt;
&lt;br /&gt;
Pre-charge timeout takes five seconds so what that basically means is that if the voltage we read here on udc does not exceed the value in udcsw within 30 seconds we basically time out on a pre-charge error so it&#039;s a common little gotcha so let&#039;s see what else could cause us to have a problem but will be a little bit&lt;br /&gt;
&lt;br /&gt;
00:50:21&lt;br /&gt;
&lt;br /&gt;
More harder to find so let&#039;s come up into our um [Music] i guess everything is unfortunately dumped under throttle here i really do need to break these guys up a little bit better um so there&#039;s some parameters here&lt;br /&gt;
&lt;br /&gt;
00:50:44&lt;br /&gt;
&lt;br /&gt;
Uh one of them is udc min udc max in udc lim so what do they mean and what do they do well udc min is the minimum voltage at which we will allow the inverter to generate torque now we&#039;ve got it set to uh 280 volts here but let&#039;s say that that for some weird reason that this was to be set to a rather high&lt;br /&gt;
&lt;br /&gt;
00:51:14&lt;br /&gt;
&lt;br /&gt;
Value let&#039;s say 480 volts what would the result of that be let&#039;s go and have a look so back down to our spot values and go back on to automatic refresh and we&#039;ll go back and we&#039;ll put our our ignition was ah we were on all the time so anyway okay so let&#039;s go back for ignition on and go for start now we go into run mode perfectly fine&lt;br /&gt;
&lt;br /&gt;
00:51:51&lt;br /&gt;
&lt;br /&gt;
390 volts come along oh dear what&#039;s going on we&#039;re in run mode and we&#039;re pushing the throttle but there&#039;s nothing going on now how do we diagnose this well we come down here we look at our pot nom value when i press the throttle so i&#039;m going to come in here&lt;br /&gt;
&lt;br /&gt;
00:52:21&lt;br /&gt;
&lt;br /&gt;
There&#039;s my throttle i&#039;m going to press it all the way down and my pot knob just does not go positive you see it will go negative because i would still be allowed to regen because that&#039;s under a different parameter so it might throttle all the way to the floor now potnom is zero if i release it and go back to five percent&lt;br /&gt;
&lt;br /&gt;
00:52:50&lt;br /&gt;
&lt;br /&gt;
Because that&#039;s my commanded regen if i look at my torque command here it&#039;s currently zero push my throttle all the way to the floor still zero now we know because we&#039;ve obviously changed that udc min value to a voltage that is above the value that we have available so udc min&lt;br /&gt;
&lt;br /&gt;
00:53:22&lt;br /&gt;
&lt;br /&gt;
Is basically saying to us we&#039;re saying that unless we have a minimum 480 volts available to us we will not allow positive torque so let&#039;s go back and change that so here&#039;s our udc min we&#039;ll put this back to where it was at 280 volts so 280 volts now if i say udc max which is at 420 volts udc max is the&lt;br /&gt;
&lt;br /&gt;
00:54:00&lt;br /&gt;
&lt;br /&gt;
Maximum voltage on the battery measured by the isa shunt that i will permit regen torque to be commanded we&#039;ve got 420 volts but let&#039;s say some naughty person came along and set that to 320 volts what effect will that have on us well let&#039;s find out let&#039;s go back to automatic back on to refresh&lt;br /&gt;
&lt;br /&gt;
00:54:30&lt;br /&gt;
&lt;br /&gt;
We put our ignition on we&#039;ll kick our start and as you can see we&#039;re in run mode udc is at 390. so let&#039;s give our throttle a little press and we can generate torque we can spin oh but look there&#039;s no regen our motor is just spinning down by itself it&#039;s as we can see there&#039;s our rpm there&#039;s our torque is currently zero but let&#039;s have a look at what our potnom&lt;br /&gt;
&lt;br /&gt;
00:55:07&lt;br /&gt;
&lt;br /&gt;
Says apotnom says zero we&#039;re not going to the negative five percent that we had previously because what we have said to our vcu now is if the measured battery voltage is above 320 volts do not create any regen torque so let me just do that one more time i&#039;ll push to throttle see a little bit of platinum goes positive but when i release the throttle&lt;br /&gt;
&lt;br /&gt;
00:55:38&lt;br /&gt;
&lt;br /&gt;
Then the motor is basically coasting to a stop here uh because we are not allowing any uh negative torque now so there&#039;s the workings of uh udc min and udc max let&#039;s go and reset these two uh sensible values so 400 sorry 400 420 volts enter&lt;br /&gt;
&lt;br /&gt;
00:56:13&lt;br /&gt;
&lt;br /&gt;
Udc lim is probably a little bit of a redundant parameter here is a kind of a backup to udc max and what we say is that if the voltage ever goes above udc lim we don&#039;t just zero out all the torque commands but we shut off all of our contactors so don&#039;t think there&#039;s any real need to demonstrate that idc max and idc min are our&lt;br /&gt;
&lt;br /&gt;
00:56:44&lt;br /&gt;
&lt;br /&gt;
Maximum torque idc max is the maximum positive current that will allow to be drawn from our battery and idc min is the maximum regen current that we will allow so tmphs max is our heatsink maximum temperature now currently i don&#039;t have any cooling on the inverter and the motor here but that&#039;s no big deal because we&#039;re just doing&lt;br /&gt;
&lt;br /&gt;
00:57:15&lt;br /&gt;
&lt;br /&gt;
Little tests but let&#039;s say that we were to have a cooling system failure and or this value was set to a rather stupid value let&#039;s say 10 degrees centigrade so if we set tmphs max to that let&#039;s see what that does for us let&#039;s go back to our spot values back to automatic and hit refresh we put our ignition switch on pre-charge and start&lt;br /&gt;
&lt;br /&gt;
00:57:47&lt;br /&gt;
&lt;br /&gt;
We&#039;re in run mode let&#039;s go ahead and press the throttle [Music] indeed we do generate torque so let&#039;s scroll down so tmphs is at 16 degrees centigrade here and we have specified a maximum i think of 10 unless i didn&#039;t actually set so i do seem to have myself a little bit of a problem there with that did i said oh i&lt;br /&gt;
&lt;br /&gt;
00:58:32&lt;br /&gt;
&lt;br /&gt;
Didn&#039;t set it i&#039;m in a complete clown all right because minimum is 50 so i can&#039;t actually set this to any lower uh than 50 degrees so i kind of shot myself in the foot a little bit there so that&#039;s kind of self-correcting you shouldn&#039;t be able to do anything too silly with that um as i just discovered for myself by default it&#039;s set to 85 which is kind&lt;br /&gt;
&lt;br /&gt;
00:59:06&lt;br /&gt;
&lt;br /&gt;
Of the same value so the next two here that can cause us a problem are trotman and trotmax so let&#039;s switch off our system again here let&#039;s change trot max to oh i don&#039;t know let&#039;s set it to zero what&#039;s going to happen if we set trot max to zero and we go&lt;br /&gt;
&lt;br /&gt;
00:59:30&lt;br /&gt;
&lt;br /&gt;
Back to our spot values automatic rash key on start up and let&#039;s press our throttle and see what happens we&#039;re in run mode we&#039;ve got uh when the last hour was pre-charged that&#039;s fine i&#039;m pressing the throttle oh no oh no there&#039;s nothing happening so again how to diagnose any of these&lt;br /&gt;
&lt;br /&gt;
01:00:03&lt;br /&gt;
&lt;br /&gt;
Problems we come down and we look at our pot nom now our pot nom is at minus five percent because we are allowing negative torque here if i floor the truck the throttle we go to zero but if i go up to my torque my torque command is still zero i&#039;m not commanding any torque here even though i&#039;m as you can see our pot values are hitting max&lt;br /&gt;
&lt;br /&gt;
01:00:32&lt;br /&gt;
&lt;br /&gt;
Our pot num is only at zero so we&#039;re not allowing any positive torque generation so those are some of the little gotchas uh that can stop something from running even though we are in strictly speaking run mode and do not seem to have any errors going on here this is probably something that we could improve upon at some point in the future so&lt;br /&gt;
&lt;br /&gt;
01:01:05&lt;br /&gt;
&lt;br /&gt;
Again obviously these can be set to you know saying values here uh for limiting during testing and things like that they&#039;re quite useful for so again now we&#039;re back to 100 percent and we&#039;re indeed uh running our motor again so a couple of little uh pointers there for you folks that can easily uh cause a problem to people that&lt;br /&gt;
&lt;br /&gt;
01:01:36&lt;br /&gt;
&lt;br /&gt;
Wouldn&#039;t be familiar with how the uh system works here all right so next thing that we were just going to demonstrate with our little test rig here is going to be charging so in the case here we have several different charger interfaces that we can use uh we have none itrelim demo and leaf pdm so what does that mean i&#039;m not going to&lt;br /&gt;
&lt;br /&gt;
01:02:07&lt;br /&gt;
&lt;br /&gt;
Go into as much detail as i did in the last video here but it basically means that the vcu will use the i tree limb its internal chademo interface or the nissan leaf pdm for handling battery charging and communicating with things like the charging point evse so in our case here we&#039;re going to&lt;br /&gt;
&lt;br /&gt;
01:02:34&lt;br /&gt;
&lt;br /&gt;
Select leaf pdm on our menu we leave power set point where it is at the minute leave idc term and the rest of that stuff where it is charge modes i think we just put into off for the minute we can put ah actually sorry i tell a lie because we&#039;re using the need to be an external cat um&lt;br /&gt;
&lt;br /&gt;
01:02:57&lt;br /&gt;
&lt;br /&gt;
So okay folks so one of the things i want to deal with in this uh segment is problems that people have with connecting the wi-fi maintaining connection to it and upgrading firmware so as you&#039;ll see here&lt;br /&gt;
&lt;br /&gt;
01:03:27&lt;br /&gt;
&lt;br /&gt;
We&#039;ve got our vcu powered up and our computer is connected to it in fact the computer is not actually connected to the wireless access point that the vcu is creating you have a choice in that you can configure the wi-fi module to create its own ssid and pass phrase and then connect to it&lt;br /&gt;
&lt;br /&gt;
01:03:57&lt;br /&gt;
&lt;br /&gt;
Which is what we do when we&#039;re in the cars and out and about and stuff like that but when i&#039;m here at home what i find works a whole lot better particularly during the summer season here because it&#039;s mostly holiday homes here and during the summer season everyone&#039;s got wi-fi everyone&#039;s got phones everyone&#039;s watching netflix and all that kind of thing&lt;br /&gt;
&lt;br /&gt;
01:04:25&lt;br /&gt;
&lt;br /&gt;
And it was one day here in particular that i was literally here and for three solid hours i could not get this computer to connect to this vcu it did not matter what i did sometimes it would connect sometimes it would drop the connection sometimes the wi-fi would drop out uh sometimes you could try to do a software update and get halfway through it and you get home all kinds of&lt;br /&gt;
&lt;br /&gt;
01:04:55&lt;br /&gt;
&lt;br /&gt;
Problems but here now today you know i&#039;ve been trying for the last few days here to actually generate this on camera for you folks so that i could show you what actually happens on how to circumvent it but here it&#039;s just gonna blast away it&#039;s just not gonna have a problem at all uh so that&#039;s us updating connected just through the home&lt;br /&gt;
&lt;br /&gt;
01:05:25&lt;br /&gt;
&lt;br /&gt;
Wi-fi network here but we can do the same thing so let me just connect the computer here directly to the um access point that the vcu is creating that&#039;s it there connect it&#039;s connected it just it even connects so quickly you&lt;br /&gt;
&lt;br /&gt;
01:05:49&lt;br /&gt;
&lt;br /&gt;
Just know you&#039;re going to be fine there it is update um here&#039;s our bin file and update and it&#039;ll just do it i&#039;ve tried all kinds of tricks here to try to get it to fail like cutting off the power in the middle of the update and stuff like that but it&#039;s just um don&#039;t tell me i managed to catch it but i seriously managed to get it to hang&lt;br /&gt;
&lt;br /&gt;
01:06:21&lt;br /&gt;
&lt;br /&gt;
Please tell me i did okay we&#039;re in a hang [Music] yes baby so how do i know that well the first thing is that my activity led here has stopped flashing and if i were to refresh my web page here now i will get the web page back but there&lt;br /&gt;
&lt;br /&gt;
01:06:46&lt;br /&gt;
&lt;br /&gt;
Will be no data so there&#039;s no parameters here so i&#039;m delighted with this i was unbelievable all right so first thing to do here if this occurs is cut the power count to five and put the power back on so let&#039;s try that and see if that has any effect and it does damn it so we&#039;ve just rebooted here and we&lt;br /&gt;
&lt;br /&gt;
01:07:20&lt;br /&gt;
&lt;br /&gt;
Probably even maintained the connection let me just recycle that yeah there it is we&#039;re basically back on and we&#039;ve got our parameters back so that&#039;s again connecting directly so we&#039;re now connected direct directly to the uh vcu now one of the things that happens um is that and i&#039;ve seen some folks commenting about about this on the forum that&lt;br /&gt;
&lt;br /&gt;
01:07:53&lt;br /&gt;
&lt;br /&gt;
It you know it sometimes works better if i have the computer near to the um vcu or if i have to cover off the vcu and that now i can go ahead uh and i&#039;m going to just whip this little screw out i&#039;ve just got a screw in here to stop this falling after uh workbench so i&#039;m going ahead i&#039;m going to pull that screw out and i&#039;ll pop the cover back on here and we&#039;ll um we&#039;ll basically do the same&lt;br /&gt;
&lt;br /&gt;
01:08:19&lt;br /&gt;
&lt;br /&gt;
Thing again here because i want to just kind of demonstrate what if i can&#039;t show you what does cause it at least i can show you what does not um and as it stands now here i can walk out all the way down to my front gate which is about 20 or 25 meters and i can do software updates over the direct&lt;br /&gt;
&lt;br /&gt;
01:08:50&lt;br /&gt;
&lt;br /&gt;
Wi-fi connection here so all right that&#039;s our lid on the box i&#039;ll just put something on top of it just to uh you know really make sure that it&#039;s sitting down um and let&#039;s do a software update here and see if we can get it to screw up and see if it&#039;s screwed up&lt;br /&gt;
&lt;br /&gt;
01:09:26&lt;br /&gt;
&lt;br /&gt;
So we&#039;re going to hit our refresh and that&#039;s interesting how we actually got it to screw up let&#039;s pop the cover up yes we did we actually got it to hang so let&#039;s power off count five power back on again and we&#039;re back there we are we have connectivity&lt;br /&gt;
&lt;br /&gt;
01:10:15&lt;br /&gt;
&lt;br /&gt;
So let&#039;s see what else we can do here here we see the gomcat in its natural habitat we must be cautious or it could attack if provoked the diet of the wild gone cat is premium cat food of very expensive sort as we can see a token effort was made to cover it before claiming the main seat in the&lt;br /&gt;
&lt;br /&gt;
01:11:08&lt;br /&gt;
&lt;br /&gt;
Workshop the gomcat must now not be disturbed at any point or again it may attack we will retreat to a safe distance all right so i brought the computer out to the workbench here uh we&#039;re just gonna we&#039;re just a bit away from it and we got a concrete wall between us and the vcu here and rather annoyingly it&#039;s just going to update of course it is&lt;br /&gt;
&lt;br /&gt;
01:11:44&lt;br /&gt;
&lt;br /&gt;
Now it still seems to prefer to uh need a reset here when we do this um when we do this method which is kind of strange um yeah it&#039;s going to need a reset again i think so let me just do that all right so just reset the battery there let me just do another see what we get this time or have we dropped the connection no we haven&#039;t rather annoyingly&lt;br /&gt;
&lt;br /&gt;
01:12:16&lt;br /&gt;
&lt;br /&gt;
So there it is um so let&#039;s stream a little bit of live data even here from this team try to put it under a bit of stress um just go for automatic go for refresh and it&#039;s uh yeah it&#039;s basically streaming and we&#039;re just connected here i&#039;m out in the you know just out in the workshop area here the golem is keeping an eye on things and where our&lt;br /&gt;
&lt;br /&gt;
01:12:45&lt;br /&gt;
&lt;br /&gt;
Vcu is inside here with the lid on and a bottle of cutting compound sitting on top of it um so this is the super weird thing about this um is that we&#039;re still streaming yes we are&lt;br /&gt;
&lt;br /&gt;
01:13:22&lt;br /&gt;
&lt;br /&gt;
So you might reasonably ask what is the cause of this particular problem and it&#039;s rather simple as i say if we&#039;re in a area that has particularly strong wi-fi signals or a lot of them uh the wi-fi bandwidth the 2.4 gigahertz bandwidth can become very constrained and as i say i&#039;ve seen that happen here i cannot generate it on the demand&lt;br /&gt;
&lt;br /&gt;
01:13:56&lt;br /&gt;
&lt;br /&gt;
Um but it first it first showed up here for me in around 2019 um and i can pretty much track it by when a lot of the holiday homes here are occupied so what i suspect that folks are seeing is that they&#039;re just in areas that have a lot of active wi-fi connections and it may not even be&lt;br /&gt;
&lt;br /&gt;
01:14:25&lt;br /&gt;
&lt;br /&gt;
Uh wi-fi because these days now there&#039;s a lot of these um area broadband services that are operating via wi-fi as well i know we have uh there&#039;s two particularly strong wi-fi networks here that just broadcast into every nook and cranny um of the building and they&#039;re one of these&lt;br /&gt;
&lt;br /&gt;
01:14:56&lt;br /&gt;
&lt;br /&gt;
Kind of wide area wi-fi networking type things and they definitely cause me problems uh but not as many problems as when neighbors houses are occupied and so forth my recommendation is if you&#039;re having this problem persistently then use the option of connecting your vcu to your own home uh wi-fi network&lt;br /&gt;
&lt;br /&gt;
01:15:32&lt;br /&gt;
&lt;br /&gt;
Uh because then at least you&#039;ve got the benefit of the fact that you&#039;ve got your own router helping to boost the signal to your laptop or desktop or whatever it is that you&#039;re trying to communicate to the vcu with so that&#039;s just a little bit of advice on that one folks um my apologies that i cannot generate this here i have tried uh like i said it&#039;s&lt;br /&gt;
&lt;br /&gt;
01:16:01&lt;br /&gt;
&lt;br /&gt;
Believe it or not it is just not something that you can generate by deliberately you know like cutting the power during a software update or resetting the stm32 during a software update or even uploading the wrong software onto it or something it&#039;s um i spent like i said i spent a good bit of time here and i even had some footage of this and all as i ended up doing was proving how freaking robust&lt;br /&gt;
&lt;br /&gt;
01:16:31&lt;br /&gt;
&lt;br /&gt;
That the uh system is and i know that as i say there are some folks struggling uh with just basic connectivity so that is about what i can do for you on that subject at this time okay folks so in this segment we&#039;re going to show you how to initialize your isa shunt uh using the web interface of the vcu so i&#039;m at my little test set up here in&lt;br /&gt;
&lt;br /&gt;
01:17:05&lt;br /&gt;
&lt;br /&gt;
The office got my vcu got my shunt a little uh there&#039;s a little pp3 9 volt battery there just for demonstration and testing so we&#039;re going to assume that you&#039;ve got a new shunt um so we&#039;ve not initialized this so what does that mean well by default these shunts come from&lt;br /&gt;
&lt;br /&gt;
01:17:32&lt;br /&gt;
&lt;br /&gt;
The factory without um all of their features enabled and with the data format of the can message in a different way to what we want to see in our vcu so uh we now have on our firmware the ability to just do an initialization so i&#039;m going to walk&lt;br /&gt;
&lt;br /&gt;
01:17:58&lt;br /&gt;
&lt;br /&gt;
You through that now so first thing that we want to do is come down to our communications um subsection you&#039;ll see isa mode now by default this should always be in normal but we&#039;re going to assume that we have a new um shunt here so we&#039;re going to change that to init we&#039;re then going to hit our commands&lt;br /&gt;
&lt;br /&gt;
01:18:25&lt;br /&gt;
&lt;br /&gt;
Button and go save parameters to flash and confirm that we have stored and we got a crc so now what we&#039;re going to do is we&#039;re going to power cycle both the vcu and the shunt now basically how you should have this wired up is that your sean 12 volt supply and your vcu 12 volt supply should be on&lt;br /&gt;
&lt;br /&gt;
01:18:51&lt;br /&gt;
&lt;br /&gt;
The same line so i&#039;m just going to turn off my bench power supply just just give it a few seconds i&#039;m going to power it back up now at this time we will be initializing our isa shunt let me just check that that&#039;s actually yeah there&#039;s our can messages i was just monitoring on another screen so we&#039;ll just go ahead now and uh refresh our&lt;br /&gt;
&lt;br /&gt;
01:19:25&lt;br /&gt;
&lt;br /&gt;
Web page sorry about the volkswag wagon engineers they&#039;re a bit angry we&#039;ll now change init back to normal go back to commands and save parameters to flash if we come down to spot values now and we do a quick refresh there we&#039;ll see we have uh 9.4 volts on our voltage one if we move this little tab over to&lt;br /&gt;
&lt;br /&gt;
01:19:58&lt;br /&gt;
&lt;br /&gt;
Voltage two click refresh yeah there it is on voltage two and just over onto voltage three yeah there it is on voltage tree as well we should have our temp aux reading to room temperature which is rather high this morning 23 so that is uh now how we set up our ice a shunt uh using the web interface and our vcu so there&#039;s no need for any&lt;br /&gt;
&lt;br /&gt;
01:20:34&lt;br /&gt;
&lt;br /&gt;
Other uh messing about uh this is something that i did rather silly of me to overlook uh but we now have that in the latest firmware uh that release would be available on github uh hopefully by the time that this video is out okay so in this segment here we&#039;re gonna just very quickly demonstrate uh regen it actually took&lt;br /&gt;
&lt;br /&gt;
01:21:03&lt;br /&gt;
&lt;br /&gt;
Quite a bit of work to get this uh working well so big thanks to johannes because he really helped me out with this so we&#039;re currently the parameters are uh that i&#039;ve got six thousand rpm rev limiter um we&#039;re at thirty percent uh regen max and 30 regen travel got my got my throttle here so so we can now regen&lt;br /&gt;
&lt;br /&gt;
01:21:40&lt;br /&gt;
&lt;br /&gt;
Right down to a complete stop without any oscillations of torque or motor not doing what it should do so that is our regen and that&#039;s in the current code so the next thing that i&#039;m going to do is i&#039;m going to demonstrate&lt;br /&gt;
&lt;br /&gt;
01:22:14&lt;br /&gt;
&lt;br /&gt;
Uh with our leaf pdm here automatic charge starting and stopping all right so leave you folks watching the screen here as you can see we&#039;re currently in off mode and i&#039;m just going to take my type 2 plug here stick it into our charging socket you&#039;ll hear our pre-charge kick over you&#039;ll see our system start up our dc dc comes up and then followed immediately by our charger&lt;br /&gt;
&lt;br /&gt;
01:22:47&lt;br /&gt;
&lt;br /&gt;
At the minute we&#039;re just using um a little uh granny cable here so it&#039;s quite low power and then when i go ahead and remove the plug we basically shut off um so that&#039;s automatic charge start and stop uh via our um leaf pdm and i can just if you want to see me do it i guess here with the with the uh&lt;br /&gt;
&lt;br /&gt;
01:23:17&lt;br /&gt;
&lt;br /&gt;
Plug we can just do it here again this is my whatever it is kia or hyundai socket it&#039;s just going over to our pdm let&#039;s plug in here the clicks and there&#039;s our dc dc we are charging and then we want to switch off just plug out and that&#039;s it so that is our leaf&lt;br /&gt;
&lt;br /&gt;
01:23:47&lt;br /&gt;
&lt;br /&gt;
Stack here pretty much working very well we&#039;ve got drive we&#039;ve got regen we&#039;ve got dc dc we&#039;ve got charging uh we got pretty much everything that we would want uh from this guy so folks that&#039;s it for part three of our uh vcu user manual series here i hope that it&#039;s been of some use to you and helps to clear up some of the at least the more common questions&lt;br /&gt;
&lt;br /&gt;
01:24:21&lt;br /&gt;
&lt;br /&gt;
Uh i know that at the minute we&#039;re really struggling with the chip shortage that the kits that i&#039;m sending out do have components that need to be fitted so that is an unfortunate aspect um it wouldn&#039;t really matter where i was getting the boards made uh we would still be stuck with pretty much the same thing so with a bit of look uh come i guess maybe 2022&lt;br /&gt;
&lt;br /&gt;
01:24:50&lt;br /&gt;
&lt;br /&gt;
Uh we will start to be back in a position where the boards that we supply have have all the components on and you&#039;re literally just soldering the uh header on there which is a simple true hole job so anyway folks i won&#039;t say this is the last part in our vcu series will probably be another few parts because as things progress and as i try to um&lt;br /&gt;
&lt;br /&gt;
01:25:18&lt;br /&gt;
&lt;br /&gt;
I guess encompass as many uh things that people need to to know so as usual uh i&#039;d recommend anyone uh coming into this to check the links in the description particularly as they pertain to the vcu so like the wiki page the github page um the support forum and the development or sorry the support trade and the development trade on the open&lt;br /&gt;
&lt;br /&gt;
01:25:47&lt;br /&gt;
&lt;br /&gt;
Inverter forum so i will wrap things up there for you uh don&#039;t forget to dislike unshare do not subscribe to this stupid channel and for pete&#039;s sake don&#039;t follow the links in the description and support me on patreon or paypal because then i just do more of this junk so with that being said uh from the gom cat and myself&lt;br /&gt;
&lt;br /&gt;
01:26:18&lt;br /&gt;
&lt;br /&gt;
Happy halloween and also happy isa shunt initialization [Music] you&lt;br /&gt;
|}&lt;br /&gt;
====ZombieVerter VCU V1 Build Part 4====&lt;br /&gt;
{| class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot; role=&amp;quot;presentation&amp;quot;&lt;br /&gt;
|&amp;lt;b&amp;gt;Highlights&amp;lt;/b&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot; role=&amp;quot;presentation&amp;quot;&lt;br /&gt;
|&amp;lt;b&amp;gt;Transcript&amp;lt;/b&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|hello folks welcome to what promises to be a super boring and not very fun packed video uh so if you found yourself here by some freak accident immediately pause go up to the search box up there type funny cat video and press enter you will be taken away from this horribleness however for the two or three people that&lt;br /&gt;
&lt;br /&gt;
00:00:39&lt;br /&gt;
&lt;br /&gt;
Wish to uh continue watching then welcome welcome to i guess what passes today as my electronics lab here in the corner of the big barn uh so what we&#039;re looking at is our zombie verter vcu board and i&#039;ve been meaning to make this video for some time but just circumstances didn&#039;t uh didn&#039;t allow for it&lt;br /&gt;
&lt;br /&gt;
00:01:08&lt;br /&gt;
&lt;br /&gt;
Uh so one of the reasons i wanted to make this is just that the videos that i had made on it but a year or two ago now are a little bit out of date and not that you know there&#039;s absolutely nothing changed on the design uh since then but as some of you will not will know we have had this uh chip shortage or whatever&lt;br /&gt;
&lt;br /&gt;
00:01:34&lt;br /&gt;
&lt;br /&gt;
They want to call it that basically means that it is difficult and sometimes impossible to obtain at least for mere mortals such as ourselves certain semiconductor devices um so again as some of you may know some of you may not i get my boards made in china uh by a company called jlcpcb&lt;br /&gt;
&lt;br /&gt;
00:02:05&lt;br /&gt;
&lt;br /&gt;
And this board here is just a sample of a latest batch that i got in from them a day or two ago and even if you don&#039;t know much about electronics you can see here that there&#039;s some rather glaring of all missions on this uh board notice the main microcontroller is missing and there&#039;s devices here here here here and two devices there&lt;br /&gt;
&lt;br /&gt;
00:02:35&lt;br /&gt;
&lt;br /&gt;
Are missing and the reason the there&#039;s two reasons these parts are missing one is that certain parts such as this guy here i see 12 which i think is the ncv 8461 glc pcb simply do not have the other reason is that say some of these devices here are the ncv 8402&lt;br /&gt;
&lt;br /&gt;
00:03:07&lt;br /&gt;
&lt;br /&gt;
Parts that glc pcb unfortunately are charging way too much money for the main microcontroller the stm32f107 vct6 is a similar thing they do have some of them in stock at least at the time of making this video but i think the price was something over 120 us dollars each uh to&lt;br /&gt;
&lt;br /&gt;
00:03:43&lt;br /&gt;
&lt;br /&gt;
Get those parts so i decline with thanks on those even though it does make the uh it does make the the kit build i guess more labor intensive for me so one question i want to address straight away because it has popped up again and again and i&#039;m sure it will in this video&lt;br /&gt;
&lt;br /&gt;
00:04:08&lt;br /&gt;
&lt;br /&gt;
Is why don&#039;t i just say okay well you know you can charge whatever you want to charge and i&#039;ll just pass on the cost to my customers so could i get these boards almost fully populated every time probably in order for me to then sell these kits to people i would at the very least have to double the current sale price probably treble it and that&#039;s not something that i&#039;m&lt;br /&gt;
&lt;br /&gt;
00:04:45&lt;br /&gt;
&lt;br /&gt;
Prepared to do and the reason that i&#039;m not prepared to do that is that i realize that the the biggest barrier to entry that folks have with ev conversions is not knowledge it&#039;s not ability it&#039;s not a willingness to learn it&#039;s not you know some of the things you might think of like&lt;br /&gt;
&lt;br /&gt;
00:05:13&lt;br /&gt;
&lt;br /&gt;
Access to to a car or access to tools or any of these kind of things the single biggest communist barrier to entry is money and this is kind of what i&#039;m here for i&#039;m here to try and alleviate some of that even though sometimes it uh it feels like i&#039;m you know two steps forward three steps&lt;br /&gt;
&lt;br /&gt;
00:05:42&lt;br /&gt;
&lt;br /&gt;
Back uh particularly in the last year with all of this as i say chip shortage nonsense now for me to say bump the sale price of this unit from i think it&#039;s 350 euros at the minute to the guts of a grand um that&#039;s simply going to put this number one at a price that&lt;br /&gt;
&lt;br /&gt;
00:06:11&lt;br /&gt;
&lt;br /&gt;
You know folks probably can&#039;t access and number two it&#039;s going to put it up there with the price of some competitor products that quite frankly are better developed then this is because this is pretty much just me and a few folks who contribute uh software uh there&#039;s there&#039;s not a lot of um&lt;br /&gt;
&lt;br /&gt;
00:06:42&lt;br /&gt;
&lt;br /&gt;
There&#039;s not a lot of unfortunately there&#039;s not uh as much contribution on this as i would as my kind of rose tinted glasses view of the world would have liked to see so i hope that it does move along and gets to a more polished point particularly from the software perspective i mean i have a running in three of my cars at the minute it&#039;ll be in a fourth&lt;br /&gt;
&lt;br /&gt;
00:07:13&lt;br /&gt;
&lt;br /&gt;
One hopefully later this year so the design is pretty good if i say so myself the software that i&#039;m running now in my own cars is good i haven&#039;t had any problems with it but there&#039;s an awful lot of kind of nice add-on things that i would like to get better integrated but anyway enough about that&lt;br /&gt;
&lt;br /&gt;
00:07:44&lt;br /&gt;
&lt;br /&gt;
Um i just wanted to clarify why i don&#039;t simply you know or could i get a different pcb maker to make this and they&#039;d populate it a hundred percent probably again yeah but again the price point just jumps up and it&#039;s out of reach um [Music] and it&#039;s just not where i where i want to be with this or indeed any of the other&lt;br /&gt;
&lt;br /&gt;
00:08:10&lt;br /&gt;
&lt;br /&gt;
Uh board kits that i&#039;m trying to and i&#039;m trying to sell there i&#039;m trying to get things in there so that people can use oem parts in their conversions would i have them to spend a fortune on getting the controls so where that leaves us then is i get these boards say in the condition&lt;br /&gt;
&lt;br /&gt;
00:08:40&lt;br /&gt;
&lt;br /&gt;
That you see here now again there seems to have been a bit of confusion out there uh again despite sometimes me trying to explain things and um sometimes i guess the message doesn&#039;t get across but okay so let&#039;s get this one out of the way first of all obviously i don&#039;t have a test rig for this board or any other board so i do not and&lt;br /&gt;
&lt;br /&gt;
00:09:12&lt;br /&gt;
&lt;br /&gt;
Cannot 100 hardware test these before shipping them that&#039;s just not something that i have the ability to do however nor do i just take a board that comes in from jlcpcb stick it in a package with a few random components and then ship that that&#039;s not what i do either and again this is one of the reasons for making this video is that&lt;br /&gt;
&lt;br /&gt;
00:09:41&lt;br /&gt;
&lt;br /&gt;
I&#039;m going to show you on this board here exactly what i do uh before you know you get the board and the kit of um whatever parts that i can supply uh to fit to it uh i also want to explain what you do not have to do there is there&#039;s quite a bit that i&#039;m going to do here um and then there will be you know you know i think we had some&lt;br /&gt;
&lt;br /&gt;
00:10:13&lt;br /&gt;
&lt;br /&gt;
Had some folks um you know trying to program this and having problems doing that when as you&#039;ll see shortly i do all that here uh for you now obviously again uh when it comes to sourcing some of these missing parts here i will source as many as i can um&lt;br /&gt;
&lt;br /&gt;
00:10:43&lt;br /&gt;
&lt;br /&gt;
And i will include those in the kit for you however again as of the time of making this video which is kind of early june 2022 uh there are some parts that i simply cannot obtain uh genuinely now what do i mean by that meaning that i can get a package that has the right legs and the right&lt;br /&gt;
&lt;br /&gt;
00:11:11&lt;br /&gt;
&lt;br /&gt;
Footprint and has all the markings on it but there&#039;s probably no actual silicon in there that is the course of fake parts and again as a result of the chip shortage these have you know unfortunately became uh much more common and much more of a course for us that are involved in electronics they&#039;ve you know fake parts have been around for as long as electronics um but&lt;br /&gt;
&lt;br /&gt;
00:11:38&lt;br /&gt;
&lt;br /&gt;
Unfortunately now they&#039;re floating around quite a bit i was unlucky um about two months ago i think maybe two months oh no probably a little bit more now about three months ago uh was before i moved house i had been looking for the can transceivers this um vcu board needs six um&lt;br /&gt;
&lt;br /&gt;
00:12:10&lt;br /&gt;
&lt;br /&gt;
Oh what are they heads melted uh six can transceivers um oh i can&#039;t remember the part number but anyway i ordered some i ordered like 10 from a supplier tested two or three out of the batch they were fine ordered a hundred from the same guy&lt;br /&gt;
&lt;br /&gt;
00:12:37&lt;br /&gt;
&lt;br /&gt;
Every single one turned out to be a fake so that unfortunately did get out to a few customers because immediately before and immediately after moving house i was initially trying to ship kits out as quick as i could and these things were here i put them in thinking they were genuine but of course they were not so got a nice real of those to put in&lt;br /&gt;
&lt;br /&gt;
00:13:08&lt;br /&gt;
&lt;br /&gt;
The bin uh the good news is i have gotten myself some new ones which i have for unfortunately are genuine oh here&#039;s the part number um sn65hvd230 so this is uh one area so i include anything that i can get genuinely two parts at the minute that i just cannot source&lt;br /&gt;
&lt;br /&gt;
00:13:37&lt;br /&gt;
&lt;br /&gt;
Are ic12 and ic10 ic12 is the ncva 461 high side switch and ic10 is the mcp25625 uh can controller and transceiver i have actually bought quite a few of these but yeah guess what fakes so i haven&#039;t yet found a genuine supplier for this part um but i&#039;m still hopeful that i will be able to&lt;br /&gt;
&lt;br /&gt;
00:14:11&lt;br /&gt;
&lt;br /&gt;
So that brings us on to where do i get then parts at a at a much better price point right because say if for example glc pcb are wanting to charge 120 something us dollars for the&lt;br /&gt;
&lt;br /&gt;
00:14:35&lt;br /&gt;
&lt;br /&gt;
Stm32 well then how am i getting that at a much lower price and being sure that it&#039;s not you know at best um some kind of a reject from the manufacturer that isn&#039;t going to perform properly you know it might flash a few leds for me but not much else i&#039;m sorry but our folks just had a delivery of some timber there the&lt;br /&gt;
&lt;br /&gt;
00:15:03&lt;br /&gt;
&lt;br /&gt;
House renovations are never ending so as i was saying uh how do i then get parts for less than what they seem to be um going for at the market value and ensure that they&#039;re not uh fakes or kind of semi-fakes well i&#039;m not going to tell you exactly where i source my stm32s from but i will tell&lt;br /&gt;
&lt;br /&gt;
00:15:31&lt;br /&gt;
&lt;br /&gt;
You what they are um they are what isn&#039;t what are known as smd rejects now what that means is that most electronic components surface mount electronic components are supplied on are reel and they&#039;re fed into a pick and place machine that basically picks them off the tape&lt;br /&gt;
&lt;br /&gt;
00:16:04&lt;br /&gt;
&lt;br /&gt;
And plops them down onto the pads that&#039;s how electronics are mass manufactured so obviously doing that machine vision is an important part of the pro the process to ensure that the placement head places the part in the correct location now the tape where the components are stored is inspected as well i just take out a piece of this tape here uh might be able to illustrate the&lt;br /&gt;
&lt;br /&gt;
00:16:40&lt;br /&gt;
&lt;br /&gt;
Point a little bit better because here&#039;s some uh here&#039;s some stm32s here so the tape feeds in the leader is peeled back and the camera inspects the part and then the placement head comes in picks it up and plops it down now sometimes the camera will spot a problem a physical problem with the device that&#039;s on the tape&lt;br /&gt;
&lt;br /&gt;
00:17:11&lt;br /&gt;
&lt;br /&gt;
And when it does that the part is basically picked up and put into a reject bin and then the tape feeds on and the next part&#039;s fed into the process you know traditionally parts to get rejected like this um from an smd process pretty much go in the bin but i guess again now due to the chip shortage um&lt;br /&gt;
&lt;br /&gt;
00:17:41&lt;br /&gt;
&lt;br /&gt;
These parts are now becoming uh available on the market that we can purchase and they&#039;re perfectly fine to use for hand placement so the most common defect that you&#039;ll get is that at some point during the either the the reeling or the unreeling or the manufacturing process you know something&lt;br /&gt;
&lt;br /&gt;
00:18:13&lt;br /&gt;
&lt;br /&gt;
Is pressed against one-sided apart and has skewed some one even of the legs gets skewed and that&#039;s a reject because obviously it&#039;s not going to flow properly for the you know for high-speed manufacturing but if we just want to manually pick apart off a tape and we can hand solder it and correct the problem well then that&#039;s perfectly fine&lt;br /&gt;
&lt;br /&gt;
00:18:46&lt;br /&gt;
&lt;br /&gt;
So pretty much folks that&#039;s where i get my stm32s that&#039;s what these are it&#039;s where i&#039;ve been getting them now for quite some time um i&#039;m not gonna as i said i&#039;m gonna tell you exactly where i get them from i can even see one of the defects here in this even without magnification i can see there&#039;s a leg kind of kicked here on that part there&lt;br /&gt;
&lt;br /&gt;
00:19:12&lt;br /&gt;
&lt;br /&gt;
Um so it&#039;ll be interesting now i&#039;ll be able to show you this when i put it on the pcb here so again this is where i get all my stm32s the one old trees and the 107s and they most certainly do not cost 122 us dollars each and it&#039;s little tricks like this that so far fingers crossed holes and pencils and crossed and touch wood and whatever this&lt;br /&gt;
&lt;br /&gt;
00:19:42&lt;br /&gt;
&lt;br /&gt;
Is fake wood that i haven&#039;t had to change any of my pricing it does mean that i&#039;ve to do more work on these i mean when they were coming in fully populated i pretty much programmed them power tested them put in a wi-fi module packed them up shipped them out but what we&#039;ll show you now&lt;br /&gt;
&lt;br /&gt;
00:20:09&lt;br /&gt;
&lt;br /&gt;
Is what i do for a typical vcu kit and this will hopefully just make sure that folks don&#039;t get confused about what they should or shouldn&#039;t do when they get their kit all right okay so this is not going to be any kind of a soldering tutorial or smd placement tutorial or anything like this purpose this is just to pretty much show&lt;br /&gt;
&lt;br /&gt;
00:20:40&lt;br /&gt;
&lt;br /&gt;
You uh what i do so first thing we got to do before we can do anything is put a microcontroller on here so i&#039;ve got my flux what i do is i put a little just put a little dab in the middle of each of the each of the um i guess sides like my smd rejects and uh just gonna peel back the tape got my dot here i got my dot here so&lt;br /&gt;
&lt;br /&gt;
00:21:16&lt;br /&gt;
&lt;br /&gt;
Pretty much making sure i get them then i just plop them on roughly in the right spot like that then using my finger i&#039;m going to press down just so we squeeze out a bit of that flux into the middle at this point i&#039;m going to deploy my first bit of magnification which is just a cheap um&lt;br /&gt;
&lt;br /&gt;
00:21:38&lt;br /&gt;
&lt;br /&gt;
Kind of a head head magnifier with a light on it and you&#039;re going to get to look at my bald head now unfortunately it&#039;s probably not as nice to look at on camera as i think it is so at this point what i&#039;m doing is i&#039;m just moving the device around with combination of my finger and the tweezers i&#039;m trying to center all of the all of the legs on the pads i can see&lt;br /&gt;
&lt;br /&gt;
00:22:09&lt;br /&gt;
&lt;br /&gt;
There yeah you can see why that&#039;s on smd rejectors there&#039;s actually two reasons there&#039;s one leg this last leg here on this side has been kicked out and there&#039;s a tiny little bit of corrosion i think no sorry yeah a little bit of corrosion on a leg here as well so that&#039;s uh that&#039;s why the that&#039;s why the pick and place machine decided that one was for damien and not for&lt;br /&gt;
&lt;br /&gt;
00:22:37&lt;br /&gt;
&lt;br /&gt;
Some consumer product along the way so now that we have our part in the middle i get a nice big chisel tip soldering iron again just holding my device in the middle just put a little solder there like that may seem a little bit counter-intuitive to people that i&#039;m&lt;br /&gt;
&lt;br /&gt;
00:23:10&lt;br /&gt;
&lt;br /&gt;
Using a really big soldering iron tip or you know should i not be using some tiny little thing and the reason is we&#039;re not trying to individually solder each of the legs that&#039;s i guess one of the common mistakes that people make best way to solder this style of an smd part&lt;br /&gt;
&lt;br /&gt;
00:23:40&lt;br /&gt;
&lt;br /&gt;
In my opinion not that that matters but is to uh what do they call it uh what&#039;s the name of the drag solder that&#039;s what i&#039;m doing here now i&#039;m just making sure i get my legs as central on the pad so i take a put a blob of solder at 90 degrees and then i just basically walk it onto the center making sure that i haven&#039;t&lt;br /&gt;
&lt;br /&gt;
00:24:25&lt;br /&gt;
&lt;br /&gt;
Screwed it off as badly as i sometimes do but i think i got that one okay so now i&#039;m gonna now start my drag soldering in order for this to work we need to use the lewis rosman amount of flux so always use the right amount of flux folks that is key to these endeavors remember we&#039;re not trying to&lt;br /&gt;
&lt;br /&gt;
00:25:10&lt;br /&gt;
&lt;br /&gt;
Individually solder 256 pins not only would that take a very long time but it would probably not work out the way you think it would instead of that we&#039;re going to solder them all at the same time using a big blob of solder on the end of the soldering iron and as i said the lewis rossman quantity of flux and getting that getting those getting&lt;br /&gt;
&lt;br /&gt;
00:25:46&lt;br /&gt;
&lt;br /&gt;
That device getting the legs of that device i should say as central on the pads as i can it&#039;s kind of key to the process i mean it doesn&#039;t don&#039;t get me wrong i&#039;m no expert at this it doesn&#039;t always doesn&#039;t always play out like that for me i screw up as much as the next person actually&lt;br /&gt;
&lt;br /&gt;
00:26:13&lt;br /&gt;
&lt;br /&gt;
Sometimes more than the next person and have i put these on in the wrong orientation absolutely absolutely dudely now once we do that inevitably what happens is as we draw the iron off we get a little bit of solder bridging as the excess solder needs to be just wicked away from the very end then we just run our tip again&lt;br /&gt;
&lt;br /&gt;
00:26:52&lt;br /&gt;
&lt;br /&gt;
Like that i did have a little usb microscope thing that i could have filmed this for you with if you wish to regale yourselves with my skills or lack thereof but either a it hasn&#039;t survived the house move or b i can&#039;t find it hoping it&#039;s more b than a so now my next bit of magnification is this little handheld thing so you&#039;re going to get to see more of my head now&lt;br /&gt;
&lt;br /&gt;
00:27:25&lt;br /&gt;
&lt;br /&gt;
Going in this gives me about a 12x mag and oh that&#039;s pretty decent if i say so myself good so far two down two for two three four three okay and there i&#039;ve got another defect leg there so there was one that had got past me good job i&#039;m not a machine vision camera&lt;br /&gt;
&lt;br /&gt;
00:28:06&lt;br /&gt;
&lt;br /&gt;
My time as a pick and place machine would be severely limited because there was one more leg that didn&#039;t must have been kicked up a little bit yeah there he is he didn&#039;t get soldered because there was one leg that was kind of pushed up like this more than his&lt;br /&gt;
&lt;br /&gt;
00:28:28&lt;br /&gt;
&lt;br /&gt;
Friends and thus uh he would have been a let&#039;s be another we got him that would have been uh another reason that that part was rejected sad for the part obviously but happy for us yeah oh yeah that&#039;s got them so assuming i haven&#039;t put this on the wrong way around which i don&#039;t think i have&lt;br /&gt;
&lt;br /&gt;
00:28:55&lt;br /&gt;
&lt;br /&gt;
And assuming there&#039;s no bridges in here or opens that i can&#039;t see with this little thing then uh we should be all set for the next phase now normally the next phase would be applying 12 volt power but on this particular batch sadly for me um jlc did not fit l3 which is the big 68 micro henry uh 2 amp inductor for the main 5 volt power supply so we get to do that&lt;br /&gt;
&lt;br /&gt;
00:29:24&lt;br /&gt;
&lt;br /&gt;
Yay als so uh this is one i removed from the board i&#039;m still waiting on some of these to come in because i wasn&#039;t obviously expecting these not to be placed so i&#039;m gonna go ahead and fit these and before you ask that question yes i will be fitting these i will be fitting these prior to shipping the boards and the reason for that is that i need them on here so i can&lt;br /&gt;
&lt;br /&gt;
00:29:50&lt;br /&gt;
&lt;br /&gt;
Do a power up test which we power up tests and we program all of our boards prior to shipping them out so you don&#039;t have to and so at the very very least you end up with a programmed board that is power tested and not&lt;br /&gt;
&lt;br /&gt;
00:30:17&lt;br /&gt;
&lt;br /&gt;
Repeat not dead on our arrival and not needing to be um programmed now the better way of doing this inductor on here would be to heat the board from underneath with the um with the hot air so i might actually do that if this doesn&#039;t uh&lt;br /&gt;
&lt;br /&gt;
00:30:54&lt;br /&gt;
&lt;br /&gt;
Just doesn&#039;t work out now this iron is very very powerful and so it can get a lot of heat in here it can put a lot of heat in so i&#039;m kind of hoping that works okay for me so it&#039;s in it&#039;s not very straight but it is in now next phase um we&#039;re going to do two steps here we are going to power test the board&lt;br /&gt;
&lt;br /&gt;
00:31:23&lt;br /&gt;
&lt;br /&gt;
And we are going to program it so uh now i need something to set the board up on this blue so first of all for a power test we gotta turn on my power supply there we go power supplies on and you gotta activate the power supply so what i have got to do is i have a ground wire which goes in here like that and i have a 12 volt wire&lt;br /&gt;
&lt;br /&gt;
00:31:54&lt;br /&gt;
&lt;br /&gt;
Which would go in here like this and have i screwed up i hope not so first thing we&#039;re going to see here and i&#039;m going to make sure you can see this on camera here can you see it yes can there&#039;s a red light on it says tree v tree on which means that our board has power because our board derives 3.3 volts from uh 12 volts sorry 3.3 volts from 5 volts and 5 volts from 12 volts so if we have&lt;br /&gt;
&lt;br /&gt;
00:32:27&lt;br /&gt;
&lt;br /&gt;
3.3 volts on we have all of our supply rails up so that&#039;s the first thing that you should see if you do not see that then you&#039;re either not applying power correctly or there&#039;s a problem now problem can be in the power supply or it can be for example if we had short-circuited excuse me some of our pins here&lt;br /&gt;
&lt;br /&gt;
00:32:52&lt;br /&gt;
&lt;br /&gt;
We would be causing the power supply circuit to shut down so what i&#039;m going to do now is i&#039;m going to program the well i&#039;m going to attempt to communicate first of all with our stm32 now is this going to work don&#039;t know there&#039;s many reasons that it may not work it may not work because i&#039;ve gotten stung again by fake parts&lt;br /&gt;
&lt;br /&gt;
00:33:21&lt;br /&gt;
&lt;br /&gt;
It may not work because i have somehow screwed up here as a pin i haven&#039;t soldered um [Music] it could be because i&#039;m not oh data wait hang on pluck that yes it could not connect because i have to pins in the wrong way around ah as you can see this is all very professionally done here for your um oh yay communication all right now&lt;br /&gt;
&lt;br /&gt;
00:33:52&lt;br /&gt;
&lt;br /&gt;
I&#039;m going to get my fingers out of the way and i&#039;m going to the first thing i&#039;m going to load into the to the um [Music] microcontroller is the bootloader so stm32 stm32loader.hex and i&#039;m going to program and verify that and done then i&#039;m going to&lt;br /&gt;
&lt;br /&gt;
00:34:16&lt;br /&gt;
&lt;br /&gt;
Get stm32vcu.hex there we go and i&#039;m going to program and verify that now it&#039;s now programmed can now get rid of our programmer you do not need the programmer now or barring something super weird going on ever again so again let&#039;s see can we see this on camera yes we can we now have a second&lt;br /&gt;
&lt;br /&gt;
00:34:45&lt;br /&gt;
&lt;br /&gt;
Led it&#039;s flashing 10 times a second written beside it is accty short for activity so that means the software that we&#039;ve just loaded into our microcontroller is executing and when it is executing that means that it&#039;s alive it&#039;s good so at this point um what i&#039;m going to do next is i&#039;m going to get myself a little paintbrush i&#039;m going&lt;br /&gt;
&lt;br /&gt;
00:35:18&lt;br /&gt;
&lt;br /&gt;
To use some flux remover and some ipa and i&#039;m going to get rid of all the flux that i use to um put the stm32 on there stand by all right so that&#039;s all the flux cleaned off so what i&#039;m going to do next is i&#039;m going to power up the board again and the reason that i do that is just to&lt;br /&gt;
&lt;br /&gt;
00:35:44&lt;br /&gt;
&lt;br /&gt;
Make sure that when i was brushing off the flux and all that i didn&#039;t dislodge a pin that caused a short or something silly so again i&#039;m just going to power up the board and we see that we have our 3.3 volts on led and our activity led flashing away merrily here so what i would do here now at this point&lt;br /&gt;
&lt;br /&gt;
00:36:13&lt;br /&gt;
&lt;br /&gt;
In the process of uh making the kit is i would program a wi-fi module and then include as many parts as i have available to me as i explained that i can source genuinely and make up the kit and ship it to the customer now i&#039;m not going to show you me you know putting parts in a bag and programming a wi-fi module that kind of thing but&lt;br /&gt;
&lt;br /&gt;
00:36:42&lt;br /&gt;
&lt;br /&gt;
Uh you&#039;re probably already bored to tears so you know no point pushing it so this is it folks i just wanted to update you on the state of play with our vcu hopefully quash some misconceptions that may have been out there about what does or doesn&#039;t need to be done um when you receive a kit and explain why there are you know still some missing&lt;br /&gt;
&lt;br /&gt;
00:37:11&lt;br /&gt;
&lt;br /&gt;
Bits indeed if there is anyone out there that knows a source particularly for the ncv8461 and the mcp256 do please drop a comment below and let me know um at some point in the future you know i would love to be able to get these fully assembled up tested you know ready to go so that folks don&#039;t&lt;br /&gt;
&lt;br /&gt;
00:37:40&lt;br /&gt;
&lt;br /&gt;
Have to get involved with any of this i&#039;ll be getting back on to some of the software design fairly soon because of some other features i want to implement and so on but i&#039;ve got a lot of present stuff going on at the minute as i&#039;m sure folks can understand um so lastly on this just again i just find myself again having the super clarified is&lt;br /&gt;
&lt;br /&gt;
00:38:10&lt;br /&gt;
&lt;br /&gt;
I do not provide one-to-one support uh for this or any kits or any products um the support for this and again all of the other things is provided via dedicated support treads on the open inverter forum where you know a lot of the time it is actually me answering the questions anyway but the reason that i insist upon doing it well one of the reasons i insist upon doing it through the for the forum is that i&#039;m not just answering&lt;br /&gt;
&lt;br /&gt;
00:38:41&lt;br /&gt;
&lt;br /&gt;
The same question again and again and again it&#039;s there for all people to see so i&#039;ll put a link in the description to the support tread for the vcu and also the wiki page on the open inverter website which is really good now folks have really done a lot of um good contributions on that so many thanks right i think that&#039;s about it i&#039;ll leave it there&lt;br /&gt;
&lt;br /&gt;
00:39:13&lt;br /&gt;
&lt;br /&gt;
Um as always do not forget to dislike do not share do not subscribe and for pete&#039;s sake folks don&#039;t support me on patreon and paypal and things like that because then i&#039;ll just do more of this kind of thing and let&#039;s face it who wants that so ah that&#039;s it i mean&lt;br /&gt;
&lt;br /&gt;
00:39:43&lt;br /&gt;
&lt;br /&gt;
Until next time happy non-fake chip sourcing [Music]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Chrskly</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=5597</id>
		<title>ZombieVerter VCU</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=5597"/>
		<updated>2025-02-03T12:07:05Z</updated>

		<summary type="html">&lt;p&gt;Chrskly: typo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Zombie model.png|thumb|614x614px|Zombiverter VCU board]]&lt;br /&gt;
==== An open-source EV conversion VCU (vehicle control unit) for controlling salvaged EV components! ====&lt;br /&gt;
* &#039;&#039;&#039;[https://openinverter.org/forum/viewtopic.php?f=3&amp;amp;t=1277 Development thread]&#039;&#039;&#039; &lt;br /&gt;
* [https://github.com/damienmaguire/Stm32-vcu/releases &#039;&#039;&#039;latest stable software release&#039;&#039;&#039;]&lt;br /&gt;
* &#039;&#039;&#039;[https://github.com/damienmaguire/Stm32-vcu github repo]&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;[https://www.evbmw.com/index.php/evbmw-webshop/vcu-boards/zombieverter-vcu-built fully built VCU boards]&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;[https://www.evbmw.com/index.php/evbmw-webshop/vcu-boards/zombie-vcu partially-built VCU boards]&#039;&#039;&#039;&lt;br /&gt;
==Introduction ==&lt;br /&gt;
Modern EV conversion projects often look to reuse salvaged parts from OEM vehicles, such as the motors, batteries and chargers. &lt;br /&gt;
&lt;br /&gt;
The issue is that each part, and manufacture, use different methods of control and communication.  Even when the methods of control are decoded, you are left with having to develop some sort of VCU to run the devices. These devices often talk different &amp;quot;languages&amp;quot;, such as CANBUS, LINBUS, sync serial, PWM, etc &lt;br /&gt;
&lt;br /&gt;
Instead of making custom boards for every device that&#039;s been decoded, why not just make a general purpose VCU (vehicle control unit) with lots of different types of inputs and outputs?  &lt;br /&gt;
&lt;br /&gt;
introducing: the &amp;quot;Zombieverter&amp;quot; VCU &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;a general purpose EV conversion VCU.&#039;&#039;&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
With a large array of inputs/outputs, control logic, and a web interface for configuration and data logging. The Zombieverter is a powerful, flexible and customizable VCU well suited for EV conversions. its also an open source project!    &lt;br /&gt;
&lt;br /&gt;
==== The Zombieverter supports popular salvaged EV parts such as: ====&lt;br /&gt;
&lt;br /&gt;
* Nissan leaf motor, PDM/OBC, and batteries&lt;br /&gt;
* Mitsubishi outlander hybrid front &amp;amp; rear drive unit, and OBC (on board charger)&lt;br /&gt;
* Lexus gs450H and gs300H hybrid gearbox&#039;s&lt;br /&gt;
* chademo and ccs fast charging &lt;br /&gt;
* and more!&lt;br /&gt;
&lt;br /&gt;
==== The Zombieverter features the following: ====&lt;br /&gt;
&lt;br /&gt;
==== hardware: ====&lt;br /&gt;
&lt;br /&gt;
* on board WIFI&lt;br /&gt;
* 3x High side PWM drivers&lt;br /&gt;
* 5x low side outputs&lt;br /&gt;
* 3x input pins (pull to ground only)&lt;br /&gt;
* 3x CANbus interfaces&lt;br /&gt;
* Linbus&lt;br /&gt;
* sync serial interface&lt;br /&gt;
* OBD-II interface&lt;br /&gt;
* etc&lt;br /&gt;
&lt;br /&gt;
==== Software: ====&lt;br /&gt;
&lt;br /&gt;
* web based user interface&lt;br /&gt;
* contactor control&lt;br /&gt;
* charger control&lt;br /&gt;
* charge timer&lt;br /&gt;
* motor(inverter) control&lt;br /&gt;
* heater control&lt;br /&gt;
* water pump control&lt;br /&gt;
* coolant fan control&lt;br /&gt;
* throttle mapping&lt;br /&gt;
* motor regen&lt;br /&gt;
* cruise control(?) &lt;br /&gt;
* BMS limits&lt;br /&gt;
* IVT shunt initialization  &lt;br /&gt;
* data logging and graphing&lt;br /&gt;
* etc&lt;br /&gt;
=== Currently supported OEM hardware: ===&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;this list is always growing and changing, not everything is fully tested and verified&lt;br /&gt;
* [[Nissan leaf motors|Nissan Leaf Gen1/2/3 inverter/motor via CAN]]&lt;br /&gt;
* Nissan Leaf Gen2(and 3?) PDM (Charger and DCDC)&lt;br /&gt;
*[[BMW I3 Fast Charging LIM Module|CCS DC fast charge via BMW i3 LIM]] - type 2 + type 1&lt;br /&gt;
* [[Chademo with Zombieverter|Chademo dc fast charging]]&lt;br /&gt;
* [[Lexus GS450h Drivetrain|Lexus GS450h inverter / gearbox via sync serial]]&lt;br /&gt;
* Lexus GS300h 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;
* BMW E9x CAN support&lt;br /&gt;
* Mid-2000s VAG CAN support&lt;br /&gt;
* subaru CAN support&lt;br /&gt;
*[[Chevrolet Volt Water Heater|Opel Ampera / Chevy Volt 6.5kw cabin heater]]&lt;br /&gt;
*[[:Category:Mitsubishi|Mitsubishi outlander motors/inverter]]&lt;br /&gt;
*[https://citini.com/product/evs-charge-port-controller/ EVS-Charge Port Controller]&lt;br /&gt;
*Foccci ccs faster charger controller&lt;br /&gt;
*VAG/VW PTC water heater via lin&lt;br /&gt;
*VAG/VW cabin heater via lin&lt;br /&gt;
*Mitsubishi outlander OBC (charger/dcdc)&lt;br /&gt;
*and more&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Assembling the VCU ==&lt;br /&gt;
Looking to build a Zombieverter VCU your self or the kit is missing hardware? &lt;br /&gt;
&lt;br /&gt;
* [[Zombiverter hardware]] page for additional build instructions&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/damienmaguire/Stm32-vcu github with PCB, schematic, pinouts, etc]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;the enclosure and header are required if you did not order a [https://www.evbmw.com/index.php/evbmw-webshop/vcu-boards/zombieverter-vcu-built &#039;&#039;&#039;fully built board&#039;&#039;&#039;]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
VCU boards from the webshop, &#039;&#039;&#039;&#039;&#039;come pre-programed&#039;&#039;&#039;&#039;&#039; and &#039;&#039;&#039;do not require any additional steps taken to work&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
for programming a blank board see: [[Zombieverter programing|zombiverter programing]]&lt;br /&gt;
===The enclosure kit options:===&lt;br /&gt;
&lt;br /&gt;
# [https://www.aliexpress.com/item/32857771975.html?spm=a2g0s.9042311.0.0.39f24c4dWOmGPE 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;
#[https://www.aliexpress.com/item/32822692950.html 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;
#[https://www.aliexpress.com/item/1005003512474442.html Prewired connector]  &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;
The original connectors are from aptiv (delphi):&lt;br /&gt;
&lt;br /&gt;
* [https://www.aptiv.com/en/solutions/connection-systems/catalog/item?id=13669859_en aptive 56pin connector] &lt;br /&gt;
* [https://www.aptiv.com/en/solutions/connection-systems/catalog/item?id=33511394_en aptive 56pin header]&lt;br /&gt;
* [https://www.tti.com/content/ttiinc/en/apps/part-detail.html?partsNumber=210S048&amp;amp;mfgShortname=FCA&amp;amp;productId=161404611 Removal tool for connector terminals: Manufacturer: Aptiv (formerly Delphi)]  Part Number: 210S048&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== videos on assembly, powering up, updating, etc: ===&lt;br /&gt;
https://www.youtube.com/watch?v=geZuIbGHh30&amp;amp;list=PLh-aHjjWGgLVCsAqaCL6_jmn_QqhVlRiG&lt;br /&gt;
&lt;br /&gt;
https://www.youtube.com/watch?v=_JRa_uFyVkY&amp;amp;list=PLh-aHjjWGgLUWaetAmShkv6gmvk7vLaHd&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Wiring ==&lt;br /&gt;
[[File:Zombie 56 connector.jpg|thumb|512x512px|zombieverter pinout from https://github.com/damienmaguire/Stm32-vcu/blob/master/Hardware/Zombie/ZombieVerter_V1%20-%20Schematic.pdf]][[File:ZombieVerter VCU V1 cable side pinout2.jpg|thumb|alt=|VCU pinout diagram |513x513px]]each device requires different wiring setups, settings and power requirements. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;cross referencing OEM wiring diagrams is highly recommended &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;wiring the zombieverter with:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
* [[GS450H with zombieverter]]&lt;br /&gt;
* [[Leaf stack with zombiverter]]&lt;br /&gt;
* [[Tesla SDU with Zombieverter]]&lt;br /&gt;
&lt;br /&gt;
=== Power wiring: ===&lt;br /&gt;
The Zombieverter requires permanent 12v.  &lt;br /&gt;
&lt;br /&gt;
This is so that it can mange charging, timers, and monitor systems when the car is at rest.  &lt;br /&gt;
&lt;br /&gt;
The average draw, at idle, is 150 mA. &lt;br /&gt;
&lt;br /&gt;
* pin 55 to 12v- ground&lt;br /&gt;
* pin 56 to 12v+ positive&lt;br /&gt;
&lt;br /&gt;
The Zombieverter controls power/ &amp;quot;ignition&amp;quot; signals to other devices (inverters, chargers, and dcdc converters) when required. This is done by triggering a external 12v relay. &#039;&#039;&#039;&#039;&#039;Low-side switching&#039;&#039;, meaning that it pulls to ground.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* pin 32 to ground pin on a 12v relay&lt;br /&gt;
* relay positive pin to 12v+&lt;br /&gt;
* 1 of the relays switch pin to 12v+&lt;br /&gt;
&lt;br /&gt;
This effectively provides a switched 12v supply, controlled by the Zombieverter.  &lt;br /&gt;
&lt;br /&gt;
Used to switch &amp;quot;enable&amp;quot; mode to devices via : &lt;br /&gt;
&lt;br /&gt;
* Leaf inverter enable pin&lt;br /&gt;
* Leaf PDM enable pin&lt;br /&gt;
* Mitsubisihi OBC enable pin&lt;br /&gt;
&lt;br /&gt;
=== Contactor wiring: ===&lt;br /&gt;
The Zombieveter manages the Negative, Positive and PreCharge contactors in a ev conversion.&lt;br /&gt;
&lt;br /&gt;
This is done based off a series of voltage measurements (UDC), this voltage value (UDC) can be supplied from a variety of sources:&lt;br /&gt;
&lt;br /&gt;
* ISA IVT shunt&lt;br /&gt;
* nissan leaf inverter&lt;br /&gt;
* bmw SBOX&lt;br /&gt;
* etc&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;with out a proper UDC measurement, the zombieverter &#039;&#039;&#039;will fail precharge and never go into run mode.&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The contactor control pins on the Zombieverter are &#039;&#039;low-side switching&#039;&#039;, meaning that they pull to ground.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The positive leads from the contactors need to be connected to 12v+ and the ground leads to:&lt;br /&gt;
&lt;br /&gt;
* pin 31 for the negative contactor&lt;br /&gt;
* pin 33 for the positive contactor&lt;br /&gt;
* pin 34 for the pre-charge contactor&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Throttle pedal wiring: ===&lt;br /&gt;
The Zombieverter supports dual-channel throttle, this redundancy is for safety incase one channel fails or drops out. Its highly recommended to use dual channel throttle.&lt;br /&gt;
&lt;br /&gt;
single channel is an option.&lt;br /&gt;
&lt;br /&gt;
Connect the following to the Zombieverter pins:&lt;br /&gt;
&lt;br /&gt;
* pin 45 to throttle grounds&lt;br /&gt;
* pin 46 to throttle channel 2&lt;br /&gt;
* pin 47 to throttle channel 1&lt;br /&gt;
* pin 48 to throttle positives&lt;br /&gt;
&lt;br /&gt;
=== Start, Run, and Direction wiring: ===&lt;br /&gt;
The zombieverter requires 2 inputs to get into &amp;quot;drive&amp;quot; mode. &#039;&#039;&#039;These pins need to be &#039;&#039;pulled high&#039;&#039; (connected to 12v +)&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
* pin 15 to  &amp;quot;on&amp;quot; switched input (key switched to &amp;quot;on&amp;quot;)&lt;br /&gt;
* pin 52 to &amp;quot;start&amp;quot; momentary input  (momentary key switched &amp;quot;ignition&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
==== Forward and Reverse: ====&lt;br /&gt;
These pins need to be &#039;&#039;pulled high&#039;&#039; (connected to 12v +) &lt;br /&gt;
&lt;br /&gt;
* pin 53 reverse&lt;br /&gt;
* pin 54 forward&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Input/output pins: ===&lt;br /&gt;
The Zombieverter has a number of selectable input/output pins that can be used for a number of functions. These pins are:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;Low side Outputs.&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*GP Out 3&lt;br /&gt;
*GP Out 2&lt;br /&gt;
* Neg Contactor switch/GP Out 1&lt;br /&gt;
*Trans SL1- (If not using the GS450H)&lt;br /&gt;
*TransSL2- (If not using the GS450H)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;*Low side output connect to ground when activated.&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
The low side outputs in Zombie are ideal for switching relays, such as for coolant pumps.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;High side PWM.&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*PWM 3&lt;br /&gt;
*PWM 2&lt;br /&gt;
*PWM 1&lt;br /&gt;
*Pump PWM - Limited to GS450 Oil pump pwm or tacho pwm output&lt;br /&gt;
&lt;br /&gt;
These are high side 12v outputs, usually for controlling gauges or auxiliary items than need a pwm signals. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;*not suitable for controlling relays.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;Ground Input pins&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These pins pull down to ground only. &#039;&#039;&#039;Do not connect any voltage to these pins.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
PB1&lt;br /&gt;
&lt;br /&gt;
PB2&lt;br /&gt;
&lt;br /&gt;
PB3&lt;br /&gt;
&lt;br /&gt;
=== Pin functions: ===&lt;br /&gt;
&#039;&#039;Note: While the web interface will allow you to select input pins or output pins, some will not actually work.&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;example: a input switch wired but set to negContactor&#039;&#039; &lt;br /&gt;
*ChaDemoAIw - &#039;&#039;&#039;OUTPUT&#039;&#039;&#039; - activates when Chademo charger handshake initiates &lt;br /&gt;
*OBCEnable - &#039;&#039;&#039;OUTPUT&#039;&#039;&#039;: activates as part of the ExtCharger module&lt;br /&gt;
*HeaterEnable - &#039;&#039;&#039;OUTPUT&#039;&#039;&#039;: activates only in run mode and when coolant pump is on*&lt;br /&gt;
*RunIndication - &#039;&#039;&#039;OUTPUT&#039;&#039;&#039;: activates when zombie is in run mode&lt;br /&gt;
* WarnIndication - &#039;&#039;&#039;OUTPUT:&#039;&#039;&#039; activates when a error occurs with the zombieverter&lt;br /&gt;
*CoolantPump - &#039;&#039;&#039;OUTPUT&#039;&#039;&#039;: activates during precharge, usually used for coolant pumps&lt;br /&gt;
*NegContactor - &#039;&#039;&#039;OUTPUT&#039;&#039;&#039;: activates when the negative contactor needs to be closed. ie precharge, run, charge mode, etc&lt;br /&gt;
*BrakeLight - &#039;&#039;&#039;OUTPUT&#039;&#039;&#039;: activates when a set brake light on threshold value is met&lt;br /&gt;
*ReverseLight - &#039;&#039;&#039;OUTPUT&#039;&#039;&#039;: activates when reverse direction is selected&lt;br /&gt;
*CoolingFan - &#039;&#039;&#039;OUTPUT&#039;&#039;&#039;: activates when FanTemp setpoint is reached&lt;br /&gt;
*HVActive -  &#039;&#039;&#039;OUTPUT&#039;&#039;&#039;: activates when contactors are closed and VCU is in run or charge mode&lt;br /&gt;
*BrakeVacPump &#039;&#039;&#039;DIGITAL OUTPUT&#039;&#039;&#039;: activates when BrakeVacSensor threshold value is met&lt;br /&gt;
*CpSpoof - &#039;&#039;&#039;PWM OUTPUT&#039;&#039;&#039;: used to spoof CP signal to OBC when using a charging interface such as FOCCCI or I3LIM&lt;br /&gt;
*GS450Hpump - &#039;&#039;&#039;PWM OUTPUT&#039;&#039;&#039;: used to run GS450H oil pump&lt;br /&gt;
*HeatReq - &#039;&#039;&#039;DIGITAL INPUT&#039;&#039;&#039;&lt;br /&gt;
*HVRequest - &#039;&#039;&#039;DIGITAL INPUT&#039;&#039;&#039; -  starts precharge cycle and puts VCU into charge mode&lt;br /&gt;
*ProxPilot - &#039;&#039;&#039;ANALOGUE INPUT&#039;&#039;&#039; - detects when charge cable is plugged in&lt;br /&gt;
*BrakeVacSensor - &#039;&#039;&#039;ANALOGUE INPUT&#039;&#039;&#039; - vacuum sensor input, use for triggering BrakeVacPump &#039;&#039;&#039;DIGITAL OUTPUT&#039;&#039;&#039;&lt;br /&gt;
*PWMTim3 -&lt;br /&gt;
&lt;br /&gt;
==== Proximity Pilot====&lt;br /&gt;
This analogue input used to detect a charging cable is plugged in.&lt;br /&gt;
[[File:ZombiePP.png|none|thumb]]&lt;br /&gt;
A resistor to the 5v needs to be connected to the analogue in pin, 330 ohms in the spec, and R5 needs to be another resistor between analogue in pin and ground. Type 1 connectors should be a 2.7k ohm resistor and type 2 should be 4.7k ohm. Note the charging port may already have this resistor installed.&lt;br /&gt;
&lt;br /&gt;
Open up the Zombie UI and choose ProxPilot for the function of the analogue in pin. Then start plotting PPVal and then plug in, you can then use this to select your PPThreshold. Bare in mind the resistance will vary on the cable plugged in depending on the Amps it can supply.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
https://www.youtube.com/watch?v=U3c4V8vMb6k Video here for the setup and demonstration.&lt;br /&gt;
&lt;br /&gt;
== Initial start-up and testing ==&lt;br /&gt;
&lt;br /&gt;
=== powering up and connecting to the web interface: ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The following is required:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# fully built Zombieverter VCU&lt;br /&gt;
# 2 wires for power&lt;br /&gt;
# 12v power supply&lt;br /&gt;
# computer/ tablet for accessing the web interface&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How to access the web interface:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# provide stable 12v power to pins 55, 56 on the zombieverter&lt;br /&gt;
# the on-board LED light &amp;quot;acty&amp;quot; should be now flashing&lt;br /&gt;
# using your computer, connect to the zombieverters WIFI access point.  &#039;&#039;&#039;SSID: &amp;quot;inverter&amp;quot; or &amp;quot;zom_vcu&amp;quot;&#039;&#039;&#039; &lt;br /&gt;
# &#039;&#039;&#039;password is: inverter123&#039;&#039;&#039;&lt;br /&gt;
# in a web browser navigate to: &#039;&#039;&#039;192.168.4.1&#039;&#039;&#039;&lt;br /&gt;
# the openinverter web interface should now load!&lt;br /&gt;
&lt;br /&gt;
&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.4.1 on the 192.168.4.0/24 subnet) to your device.&lt;br /&gt;
&lt;br /&gt;
===Configuration:===&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;work in progress*&lt;br /&gt;
&lt;br /&gt;
[[Zombieverter Parameters and Spot Values|full list and overview of Zombieverter Parameters and Spot Values]]&lt;br /&gt;
&lt;br /&gt;
==== basic parameters and spot values: ====&lt;br /&gt;
&lt;br /&gt;
==== throttle: ====&lt;br /&gt;
You should see values &#039;&#039;&#039;pot&#039;&#039;&#039; change as the pedal is pressed.  &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;potmin&#039;&#039;&#039; should be set just above where your off-throttle position is&lt;br /&gt;
* &#039;&#039;&#039;potmax&#039;&#039;&#039; just below the value seen at maximum travel &lt;br /&gt;
* Same for &#039;&#039;&#039;pot2min&#039;&#039;&#039; and &#039;&#039;&#039;pot2max&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The resulting in a  0-100 &#039;&#039;&#039;potnom&#039;&#039;&#039; value.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;throtmin&#039;&#039;&#039; is the minimum (most negative) allowed &#039;&#039;&#039;&#039;&#039;potnom&#039;&#039;&#039;&#039;&#039; at all times&lt;br /&gt;
* &#039;&#039;&#039;throtmax&#039;&#039;&#039; is the maximum (most positive) allowed &#039;&#039;&#039;&#039;&#039;potnom&#039;&#039;&#039;&#039;&#039; request in forward&lt;br /&gt;
* &#039;&#039;&#039;throtramp&#039;&#039;&#039; is how much &#039;&#039;&#039;potnom&#039;&#039;&#039; ramps up with the pedal pushed (&#039;&#039;&#039;potnom&#039;&#039;&#039; change per %/10ms)&lt;br /&gt;
* &#039;&#039;&#039;throtramprpm&#039;&#039;&#039; stops applying &#039;&#039;&#039;throtramp&#039;&#039;&#039; above a set motor rpm&lt;br /&gt;
* &#039;&#039;&#039;revlim&#039;&#039;&#039; is a rev limiter &lt;br /&gt;
&lt;br /&gt;
==== Contactors: ====&lt;br /&gt;
A set HV battery voltage value is required to run the precharge and main contactors. &lt;br /&gt;
&lt;br /&gt;
The voltage is measured using the UDC value. which is supplied from the &#039;&#039;&#039;shuntType:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;ISA&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;SBOX&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;VAG&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;LEAF&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
these voltage(UDC) levels are set with the following parameters:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;udcmin&#039;&#039;&#039; is the minimum battery voltage derate&lt;br /&gt;
* &#039;&#039;&#039;udclim&#039;&#039;&#039; is maximum battery voltage derate&lt;br /&gt;
* &#039;&#039;&#039;udcsw&#039;&#039;&#039; is Voltage point at which precharge is considered finished, and the main contactor will close.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;forward/reverse:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
input options:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;switch&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;button&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;switchReversed&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;buttomReversed&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==== inverter: ====&lt;br /&gt;
&lt;br /&gt;
==== charger: ====&lt;br /&gt;
&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;
==Software==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;VCU boards from the webshop, &#039;&#039;&#039;&#039;&#039;come pre-programed&#039;&#039;&#039;&#039;&#039; and &#039;&#039;&#039;do not require any additional septs taken to work&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
for programming a blank board see: [[zombiverter programing]]&lt;br /&gt;
==== Initializing an ISA Shunt: ====&lt;br /&gt;
&lt;br /&gt;
# wire the ISA shunt to 12v+ and canbus input.&lt;br /&gt;
# under shunt can in the web interface, select the canbus the shunt is connected to&lt;br /&gt;
# hit save parameters to flash.&lt;br /&gt;
# Under Comms in the web interface, select ISAMode option. By default its set to &amp;quot;Normal&amp;quot; (Off)&lt;br /&gt;
# select &amp;quot;Init&amp;quot;&lt;br /&gt;
# hit save parameters to flash&lt;br /&gt;
# Power cycle the vcu and shunt at same time (they should be on same 12v feed anyway).&lt;br /&gt;
# The shunt will initialize.&lt;br /&gt;
# Select ISAMode &amp;quot;normal&amp;quot;&lt;br /&gt;
# save to flash again&lt;br /&gt;
# reboot the VCU&lt;br /&gt;
&lt;br /&gt;
The shunt should now be up and running.&lt;br /&gt;
&lt;br /&gt;
If the shunt doesn&#039;t initialize correctly, separate the shunt and VCU power supply, and power cycle the VCU two or three seconds after the shunt power is cycled. This has fixed an initialize issue for a number of ISA shunts.&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
[[Zombieverter Parameters and Spot Values|page with zombieverter parameters and their value ranges, ZV pinmap etc.]]&lt;br /&gt;
&lt;br /&gt;
Source: https://www.youtube.com/watch?v=wjlucUWX_lc&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;
=== Recovering the Zombieverter from a failed update ===&lt;br /&gt;
if the zombieverter fails in the middle of a software update and the Web User Interface is reporting &amp;quot;firmware: null&amp;quot; it&#039;s possible you&#039;ll need to re-flash the firmware, and bootloader via an STLink.&lt;br /&gt;
&lt;br /&gt;
# Firstly, download the bootloader and latest zombieverter firmware from here &amp;lt;ref&amp;gt;https://github.com/damienmaguire/Stm32-vcu/releases/&amp;lt;/ref&amp;gt; and here &amp;lt;ref&amp;gt;https://github.com/jsphuebner/tumanako-inverter-fw-bootloader/releases&amp;lt;/ref&amp;gt; as .hex files, this ensures you don&#039;t need to know the address of the file and avoids user error when flashing via STLink (I used a cheap STLink v2 clone without issue but it seems there is a mix of experiences with them).&lt;br /&gt;
# Download STMCubeProgrammer (other STM flashing softwares are available but the following instructions are based on what has worked for me).&lt;br /&gt;
# Upgrade the firmware on your STLink dongle using STMCubeProgrammer (I&#039;m not sure if this is 100% necessary but seems prudent).&lt;br /&gt;
# Connect the Clock (SWclk), Gnd and Data (SWDio) of your STLink to the Zombieverter test points (near to the STM32 chip, they are labelled C, G, D) as well as 12V and Gnd to the Zombieverter main power pins and ensure your STMCubeprogrammer is able to connect to it, I also disconnected the wifi board just incase.&lt;br /&gt;
# Perform a &amp;quot;full chip erase&amp;quot;, then reflash the latest bootloader and firmware hex files.&lt;br /&gt;
# Remove your STLink from the zombieverter, connect the wifi board and check connectivity.&lt;br /&gt;
# Begin Zombieverter-ing.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
[[Category:Inverter]] &lt;br /&gt;
[[Category:VCU]] &lt;br /&gt;
[[Category:ZombieVerter]]&lt;/div&gt;</summary>
		<author><name>Chrskly</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=5596</id>
		<title>ZombieVerter VCU</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=ZombieVerter_VCU&amp;diff=5596"/>
		<updated>2025-02-03T12:05:58Z</updated>

		<summary type="html">&lt;p&gt;Chrskly: typo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Zombie model.png|thumb|614x614px|Zombiverter VCU board]]&lt;br /&gt;
==== An open-source EV conversion VCU (vehicle control unit) for controlling salvaged EV components! ====&lt;br /&gt;
* &#039;&#039;&#039;[https://openinverter.org/forum/viewtopic.php?f=3&amp;amp;t=1277 Development thread]&#039;&#039;&#039; &lt;br /&gt;
* [https://github.com/damienmaguire/Stm32-vcu/releases &#039;&#039;&#039;latest stable software release&#039;&#039;&#039;]&lt;br /&gt;
* &#039;&#039;&#039;[https://github.com/damienmaguire/Stm32-vcu github repo]&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;[https://www.evbmw.com/index.php/evbmw-webshop/vcu-boards/zombieverter-vcu-built fully built VCU boards]&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;[https://www.evbmw.com/index.php/evbmw-webshop/vcu-boards/zombie-vcu partially-built VCU boards]&#039;&#039;&#039;&lt;br /&gt;
==Introduction ==&lt;br /&gt;
Modern EV conversion projects often look to reuse salvaged parts from OEM vehicles, such as the motors, batteries and chargers. &lt;br /&gt;
&lt;br /&gt;
The issue is that each part, and manufacture, use different methods of control and communication.  Even when the methods of control are decoded, you are left with having to develop some sort of VCU to run the devices. These devices often talk different &amp;quot;languages&amp;quot;, such as CANBUS, LINBUS, sync serial, PWM, etc &lt;br /&gt;
&lt;br /&gt;
Instead of making custom boards for every device that&#039;s been decoded, why not just make a general purpose VCU (vehicle control unit) with lots of different types of inputs and outputs?  &lt;br /&gt;
&lt;br /&gt;
introducing: the &amp;quot;Zombieverter&amp;quot; VCU &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;a general purpose EV conversion VCU.&#039;&#039;&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
With a large array of inputs/outputs, control logic, and a web interface for configuration and data logging. The Zombieverter is a powerful, flexible and customizable VCU well suited for EV conversions. its also an open source project!    &lt;br /&gt;
&lt;br /&gt;
==== The Zombieverter supports popular salvaged EV parts such as: ====&lt;br /&gt;
&lt;br /&gt;
* Nissan leaf motor, PDM/OBC, and batteries&lt;br /&gt;
* Mitsubishi outlander hybrid front &amp;amp; rear drive unit, and OBC (on board charger)&lt;br /&gt;
* Lexus gs450H and gs300H hybrid gearbox&#039;s&lt;br /&gt;
* chademo and ccs fast charging &lt;br /&gt;
* and more!&lt;br /&gt;
&lt;br /&gt;
==== The Zombieverter features the following: ====&lt;br /&gt;
&lt;br /&gt;
==== hardware: ====&lt;br /&gt;
&lt;br /&gt;
* on board WIFI&lt;br /&gt;
* 3x High side PWM drivers&lt;br /&gt;
* 5x low side outputs&lt;br /&gt;
* 3x input pins (pull to ground only)&lt;br /&gt;
* 3x CANbus interfaces&lt;br /&gt;
* Linbus&lt;br /&gt;
* sync serial interface&lt;br /&gt;
* OBD-II interface&lt;br /&gt;
* etc&lt;br /&gt;
&lt;br /&gt;
==== Software: ====&lt;br /&gt;
&lt;br /&gt;
* web based user interface&lt;br /&gt;
* contactor control&lt;br /&gt;
* charger control&lt;br /&gt;
* charge timer&lt;br /&gt;
* motor(inverter) control&lt;br /&gt;
* heater control&lt;br /&gt;
* water pump control&lt;br /&gt;
* coolant fan control&lt;br /&gt;
* throttle mapping&lt;br /&gt;
* motor regen&lt;br /&gt;
* cruise control(?) &lt;br /&gt;
* BMS limits&lt;br /&gt;
* IVT shunt initialization  &lt;br /&gt;
* data logging and graphing&lt;br /&gt;
* etc&lt;br /&gt;
=== Currently supported OEM hardware: ===&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;this list is always growing and changing, not everything is fully tested and verified&lt;br /&gt;
* [[Nissan leaf motors|Nissan Leaf Gen1/2/3 inverter/motor via CAN]]&lt;br /&gt;
* Nissan Leaf Gen2(and 3?) PDM (Charger and DCDC)&lt;br /&gt;
*[[BMW I3 Fast Charging LIM Module|CCS DC fast charge via BMW i3 LIM]] - type 2 + type 1&lt;br /&gt;
* [[Chademo with Zombieverter|Chademo dc fast charging]]&lt;br /&gt;
* [[Lexus GS450h Drivetrain|Lexus GS450h inverter / gearbox via sync serial]]&lt;br /&gt;
* Lexus GS300h 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;
* BMW E9x CAN support&lt;br /&gt;
* Mid-2000s VAG CAN support&lt;br /&gt;
* subaru CAN support&lt;br /&gt;
*[[Chevrolet Volt Water Heater|Opel Ampera / Chevy Volt 6.5kw cabin heater]]&lt;br /&gt;
*[[:Category:Mitsubishi|Mitsubishi outlander motors/inverter]]&lt;br /&gt;
*[https://citini.com/product/evs-charge-port-controller/ EVS-Charge Port Controller]&lt;br /&gt;
*Foccci ccs faster charger controller&lt;br /&gt;
*VAG/VW PTC water heater via lin&lt;br /&gt;
*VAG/VW cabin heater via lin&lt;br /&gt;
*Mitsubishi outlander OBC (charger/dcdc)&lt;br /&gt;
*and more&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Assembling the VCU ==&lt;br /&gt;
Looking to build a Zombieverter VCU your self or the kit is missing hardware? &lt;br /&gt;
&lt;br /&gt;
* [[Zombiverter hardware]] page for additional build instructions&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/damienmaguire/Stm32-vcu github with PCB, schematic, pinouts, etc]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;the enclosure and header are required if you did not order a [https://www.evbmw.com/index.php/evbmw-webshop/vcu-boards/zombieverter-vcu-built &#039;&#039;&#039;fully built board&#039;&#039;&#039;]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
VCU boards from the webshop, &#039;&#039;&#039;&#039;&#039;come pre-programed&#039;&#039;&#039;&#039;&#039; and &#039;&#039;&#039;do not require any additional steps taken to work&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
for programming a blank board see: [[zombiverter programing]]&lt;br /&gt;
===The enclosure kit options:===&lt;br /&gt;
&lt;br /&gt;
# [https://www.aliexpress.com/item/32857771975.html?spm=a2g0s.9042311.0.0.39f24c4dWOmGPE 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;
#[https://www.aliexpress.com/item/32822692950.html 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;
#[https://www.aliexpress.com/item/1005003512474442.html Prewired connector]  &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;
The original connectors are from aptiv (delphi):&lt;br /&gt;
&lt;br /&gt;
* [https://www.aptiv.com/en/solutions/connection-systems/catalog/item?id=13669859_en aptive 56pin connector] &lt;br /&gt;
* [https://www.aptiv.com/en/solutions/connection-systems/catalog/item?id=33511394_en aptive 56pin header]&lt;br /&gt;
* [https://www.tti.com/content/ttiinc/en/apps/part-detail.html?partsNumber=210S048&amp;amp;mfgShortname=FCA&amp;amp;productId=161404611 Removal tool for connector terminals: Manufacturer: Aptiv (formerly Delphi)]  Part Number: 210S048&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== videos on assembly, powering up, updating, etc: ===&lt;br /&gt;
https://www.youtube.com/watch?v=geZuIbGHh30&amp;amp;list=PLh-aHjjWGgLVCsAqaCL6_jmn_QqhVlRiG&lt;br /&gt;
&lt;br /&gt;
https://www.youtube.com/watch?v=_JRa_uFyVkY&amp;amp;list=PLh-aHjjWGgLUWaetAmShkv6gmvk7vLaHd&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Wiring ==&lt;br /&gt;
[[File:Zombie 56 connector.jpg|thumb|512x512px|zombieverter pinout from https://github.com/damienmaguire/Stm32-vcu/blob/master/Hardware/Zombie/ZombieVerter_V1%20-%20Schematic.pdf]][[File:ZombieVerter VCU V1 cable side pinout2.jpg|thumb|alt=|VCU pinout diagram |513x513px]]each device requires different wiring setups, settings and power requirements. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;cross referencing OEM wiring diagrams is highly recommended &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;wiring the zombieverter with:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
* [[GS450H with zombieverter]]&lt;br /&gt;
* [[Leaf stack with zombiverter]]&lt;br /&gt;
* [[Tesla SDU with Zombieverter]]&lt;br /&gt;
&lt;br /&gt;
=== Power wiring: ===&lt;br /&gt;
The Zombieverter requires permanent 12v.  &lt;br /&gt;
&lt;br /&gt;
This is so that it can mange charging, timers, and monitor systems when the car is at rest.  &lt;br /&gt;
&lt;br /&gt;
The average draw, at idle, is 150 mA. &lt;br /&gt;
&lt;br /&gt;
* pin 55 to 12v- ground&lt;br /&gt;
* pin 56 to 12v+ positive&lt;br /&gt;
&lt;br /&gt;
The Zombieverter controls power/ &amp;quot;ignition&amp;quot; signals to other devices (inverters, chargers, and dcdc converters) when required. This is done by triggering a external 12v relay. &#039;&#039;&#039;&#039;&#039;Low-side switching&#039;&#039;, meaning that it pulls to ground.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* pin 32 to ground pin on a 12v relay&lt;br /&gt;
* relay positive pin to 12v+&lt;br /&gt;
* 1 of the relays switch pin to 12v+&lt;br /&gt;
&lt;br /&gt;
This effectively provides a switched 12v supply, controlled by the Zombieverter.  &lt;br /&gt;
&lt;br /&gt;
Used to switch &amp;quot;enable&amp;quot; mode to devices via : &lt;br /&gt;
&lt;br /&gt;
* Leaf inverter enable pin&lt;br /&gt;
* Leaf PDM enable pin&lt;br /&gt;
* Mitsubisihi OBC enable pin&lt;br /&gt;
&lt;br /&gt;
=== Contactor wiring: ===&lt;br /&gt;
The Zombieveter manages the Negative, Positive and PreCharge contactors in a ev conversion.&lt;br /&gt;
&lt;br /&gt;
This is done based off a series of voltage measurements (UDC), this voltage value (UDC) can be supplied from a variety of sources:&lt;br /&gt;
&lt;br /&gt;
* ISA IVT shunt&lt;br /&gt;
* nissan leaf inverter&lt;br /&gt;
* bmw SBOX&lt;br /&gt;
* etc&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;with out a proper UDC measurement, the zombieverter &#039;&#039;&#039;will fail precharge and never go into run mode.&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The contactor control pins on the Zombieverter are &#039;&#039;low-side switching&#039;&#039;, meaning that they pull to ground.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The positive leads from the contactors need to be connected to 12v+ and the ground leads to:&lt;br /&gt;
&lt;br /&gt;
* pin 31 for the negative contactor&lt;br /&gt;
* pin 33 for the positive contactor&lt;br /&gt;
* pin 34 for the pre-charge contactor&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Throttle pedal wiring: ===&lt;br /&gt;
The Zombieverter supports dual-channel throttle, this redundancy is for safety incase one channel fails or drops out. Its highly recommended to use dual channel throttle.&lt;br /&gt;
&lt;br /&gt;
single channel is an option.&lt;br /&gt;
&lt;br /&gt;
Connect the following to the Zombieverter pins:&lt;br /&gt;
&lt;br /&gt;
* pin 45 to throttle grounds&lt;br /&gt;
* pin 46 to throttle channel 2&lt;br /&gt;
* pin 47 to throttle channel 1&lt;br /&gt;
* pin 48 to throttle positives&lt;br /&gt;
&lt;br /&gt;
=== Start, Run, and Direction wiring: ===&lt;br /&gt;
The zombieverter requires 2 inputs to get into &amp;quot;drive&amp;quot; mode. &#039;&#039;&#039;These pins need to be &#039;&#039;pulled high&#039;&#039; (connected to 12v +)&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
* pin 15 to  &amp;quot;on&amp;quot; switched input (key switched to &amp;quot;on&amp;quot;)&lt;br /&gt;
* pin 52 to &amp;quot;start&amp;quot; momentary input  (momentary key switched &amp;quot;ignition&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
==== Forward and Reverse: ====&lt;br /&gt;
These pins need to be &#039;&#039;pulled high&#039;&#039; (connected to 12v +) &lt;br /&gt;
&lt;br /&gt;
* pin 53 reverse&lt;br /&gt;
* pin 54 forward&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Input/output pins: ===&lt;br /&gt;
The Zombieverter has a number of selectable input/output pins that can be used for a number of functions. These pins are:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;Low side Outputs.&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*GP Out 3&lt;br /&gt;
*GP Out 2&lt;br /&gt;
* Neg Contactor switch/GP Out 1&lt;br /&gt;
*Trans SL1- (If not using the GS450H)&lt;br /&gt;
*TransSL2- (If not using the GS450H)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;*Low side output connect to ground when activated.&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
The low side outputs in Zombie are ideal for switching relays, such as for coolant pumps.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;High side PWM.&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*PWM 3&lt;br /&gt;
*PWM 2&lt;br /&gt;
*PWM 1&lt;br /&gt;
*Pump PWM - Limited to GS450 Oil pump pwm or tacho pwm output&lt;br /&gt;
&lt;br /&gt;
These are high side 12v outputs, usually for controlling gauges or auxiliary items than need a pwm signals. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;*not suitable for controlling relays.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;Ground Input pins&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These pins pull down to ground only. &#039;&#039;&#039;Do not connect any voltage to these pins.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
PB1&lt;br /&gt;
&lt;br /&gt;
PB2&lt;br /&gt;
&lt;br /&gt;
PB3&lt;br /&gt;
&lt;br /&gt;
=== Pin functions: ===&lt;br /&gt;
&#039;&#039;Note: While the web interface will allow you to select input pins or output pins, some will not actually work.&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;example: a input switch wired but set to negContactor&#039;&#039; &lt;br /&gt;
*ChaDemoAIw - &#039;&#039;&#039;OUTPUT&#039;&#039;&#039; - activates when Chademo charger handshake initiates &lt;br /&gt;
*OBCEnable - &#039;&#039;&#039;OUTPUT&#039;&#039;&#039;: activates as part of the ExtCharger module&lt;br /&gt;
*HeaterEnable - &#039;&#039;&#039;OUTPUT&#039;&#039;&#039;: activates only in run mode and when coolant pump is on*&lt;br /&gt;
*RunIndication - &#039;&#039;&#039;OUTPUT&#039;&#039;&#039;: activates when zombie is in run mode&lt;br /&gt;
* WarnIndication - &#039;&#039;&#039;OUTPUT:&#039;&#039;&#039; activates when a error occurs with the zombieverter&lt;br /&gt;
*CoolantPump - &#039;&#039;&#039;OUTPUT&#039;&#039;&#039;: activates during precharge, usually used for coolant pumps&lt;br /&gt;
*NegContactor - &#039;&#039;&#039;OUTPUT&#039;&#039;&#039;: activates when the negative contactor needs to be closed. ie precharge, run, charge mode, etc&lt;br /&gt;
*BrakeLight - &#039;&#039;&#039;OUTPUT&#039;&#039;&#039;: activates when a set brake light on threshold value is met&lt;br /&gt;
*ReverseLight - &#039;&#039;&#039;OUTPUT&#039;&#039;&#039;: activates when reverse direction is selected&lt;br /&gt;
*CoolingFan - &#039;&#039;&#039;OUTPUT&#039;&#039;&#039;: activates when FanTemp setpoint is reached&lt;br /&gt;
*HVActive -  &#039;&#039;&#039;OUTPUT&#039;&#039;&#039;: activates when contactors are closed and VCU is in run or charge mode&lt;br /&gt;
*BrakeVacPump &#039;&#039;&#039;DIGITAL OUTPUT&#039;&#039;&#039;: activates when BrakeVacSensor threshold value is met&lt;br /&gt;
*CpSpoof - &#039;&#039;&#039;PWM OUTPUT&#039;&#039;&#039;: used to spoof CP signal to OBC when using a charging interface such as FOCCCI or I3LIM&lt;br /&gt;
*GS450Hpump - &#039;&#039;&#039;PWM OUTPUT&#039;&#039;&#039;: used to run GS450H oil pump&lt;br /&gt;
*HeatReq - &#039;&#039;&#039;DIGITAL INPUT&#039;&#039;&#039;&lt;br /&gt;
*HVRequest - &#039;&#039;&#039;DIGITAL INPUT&#039;&#039;&#039; -  starts precharge cycle and puts VCU into charge mode&lt;br /&gt;
*ProxPilot - &#039;&#039;&#039;ANALOGUE INPUT&#039;&#039;&#039; - detects when charge cable is plugged in&lt;br /&gt;
*BrakeVacSensor - &#039;&#039;&#039;ANALOGUE INPUT&#039;&#039;&#039; - vacuum sensor input, use for triggering BrakeVacPump &#039;&#039;&#039;DIGITAL OUTPUT&#039;&#039;&#039;&lt;br /&gt;
*PWMTim3 -&lt;br /&gt;
&lt;br /&gt;
==== Proximity Pilot====&lt;br /&gt;
This analogue input used to detect a charging cable is plugged in.&lt;br /&gt;
[[File:ZombiePP.png|none|thumb]]&lt;br /&gt;
A resistor to the 5v needs to be connected to the analogue in pin, 330 ohms in the spec, and R5 needs to be another resistor between analogue in pin and ground. Type 1 connectors should be a 2.7k ohm resistor and type 2 should be 4.7k ohm. Note the charging port may already have this resistor installed.&lt;br /&gt;
&lt;br /&gt;
Open up the Zombie UI and choose ProxPilot for the function of the analogue in pin. Then start plotting PPVal and then plug in, you can then use this to select your PPThreshold. Bare in mind the resistance will vary on the cable plugged in depending on the Amps it can supply.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
https://www.youtube.com/watch?v=U3c4V8vMb6k Video here for the setup and demonstration.&lt;br /&gt;
&lt;br /&gt;
== Initial start-up and testing ==&lt;br /&gt;
&lt;br /&gt;
=== powering up and connecting to the web interface: ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The following is required:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# fully built Zombieverter VCU&lt;br /&gt;
# 2 wires for power&lt;br /&gt;
# 12v power supply&lt;br /&gt;
# computer/ tablet for accessing the web interface&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How to access the web interface:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# provide stable 12v power to pins 55, 56 on the zombieverter&lt;br /&gt;
# the on-board LED light &amp;quot;acty&amp;quot; should be now flashing&lt;br /&gt;
# using your computer, connect to the zombieverters WIFI access point.  &#039;&#039;&#039;SSID: &amp;quot;inverter&amp;quot; or &amp;quot;zom_vcu&amp;quot;&#039;&#039;&#039; &lt;br /&gt;
# &#039;&#039;&#039;password is: inverter123&#039;&#039;&#039;&lt;br /&gt;
# in a web browser navigate to: &#039;&#039;&#039;192.168.4.1&#039;&#039;&#039;&lt;br /&gt;
# the openinverter web interface should now load!&lt;br /&gt;
&lt;br /&gt;
&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.4.1 on the 192.168.4.0/24 subnet) to your device.&lt;br /&gt;
&lt;br /&gt;
===Configuration:===&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;work in progress*&lt;br /&gt;
&lt;br /&gt;
[[Zombieverter Parameters and Spot Values|full list and overview of Zombieverter Parameters and Spot Values]]&lt;br /&gt;
&lt;br /&gt;
==== basic parameters and spot values: ====&lt;br /&gt;
&lt;br /&gt;
==== throttle: ====&lt;br /&gt;
You should see values &#039;&#039;&#039;pot&#039;&#039;&#039; change as the pedal is pressed.  &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;potmin&#039;&#039;&#039; should be set just above where your off-throttle position is&lt;br /&gt;
* &#039;&#039;&#039;potmax&#039;&#039;&#039; just below the value seen at maximum travel &lt;br /&gt;
* Same for &#039;&#039;&#039;pot2min&#039;&#039;&#039; and &#039;&#039;&#039;pot2max&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The resulting in a  0-100 &#039;&#039;&#039;potnom&#039;&#039;&#039; value.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;throtmin&#039;&#039;&#039; is the minimum (most negative) allowed &#039;&#039;&#039;&#039;&#039;potnom&#039;&#039;&#039;&#039;&#039; at all times&lt;br /&gt;
* &#039;&#039;&#039;throtmax&#039;&#039;&#039; is the maximum (most positive) allowed &#039;&#039;&#039;&#039;&#039;potnom&#039;&#039;&#039;&#039;&#039; request in forward&lt;br /&gt;
* &#039;&#039;&#039;throtramp&#039;&#039;&#039; is how much &#039;&#039;&#039;potnom&#039;&#039;&#039; ramps up with the pedal pushed (&#039;&#039;&#039;potnom&#039;&#039;&#039; change per %/10ms)&lt;br /&gt;
* &#039;&#039;&#039;throtramprpm&#039;&#039;&#039; stops applying &#039;&#039;&#039;throtramp&#039;&#039;&#039; above a set motor rpm&lt;br /&gt;
* &#039;&#039;&#039;revlim&#039;&#039;&#039; is a rev limiter &lt;br /&gt;
&lt;br /&gt;
==== Contactors: ====&lt;br /&gt;
A set HV battery voltage value is required to run the precharge and main contactors. &lt;br /&gt;
&lt;br /&gt;
The voltage is measured using the UDC value. which is supplied from the &#039;&#039;&#039;shuntType:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;ISA&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;SBOX&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;VAG&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;LEAF&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
these voltage(UDC) levels are set with the following parameters:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;udcmin&#039;&#039;&#039; is the minimum battery voltage derate&lt;br /&gt;
* &#039;&#039;&#039;udclim&#039;&#039;&#039; is maximum battery voltage derate&lt;br /&gt;
* &#039;&#039;&#039;udcsw&#039;&#039;&#039; is Voltage point at which precharge is considered finished, and the main contactor will close.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;forward/reverse:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
input options:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;switch&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;button&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;switchReversed&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;buttomReversed&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==== inverter: ====&lt;br /&gt;
&lt;br /&gt;
==== charger: ====&lt;br /&gt;
&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;
==Software==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;VCU boards from the webshop, &#039;&#039;&#039;&#039;&#039;come pre-programed&#039;&#039;&#039;&#039;&#039; and &#039;&#039;&#039;do not require any additional septs taken to work&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
for programming a blank board see: [[zombiverter programing]]&lt;br /&gt;
==== Initializing an ISA Shunt: ====&lt;br /&gt;
&lt;br /&gt;
# wire the ISA shunt to 12v+ and canbus input.&lt;br /&gt;
# under shunt can in the web interface, select the canbus the shunt is connected to&lt;br /&gt;
# hit save parameters to flash.&lt;br /&gt;
# Under Comms in the web interface, select ISAMode option. By default its set to &amp;quot;Normal&amp;quot; (Off)&lt;br /&gt;
# select &amp;quot;Init&amp;quot;&lt;br /&gt;
# hit save parameters to flash&lt;br /&gt;
# Power cycle the vcu and shunt at same time (they should be on same 12v feed anyway).&lt;br /&gt;
# The shunt will initialize.&lt;br /&gt;
# Select ISAMode &amp;quot;normal&amp;quot;&lt;br /&gt;
# save to flash again&lt;br /&gt;
# reboot the VCU&lt;br /&gt;
&lt;br /&gt;
The shunt should now be up and running.&lt;br /&gt;
&lt;br /&gt;
If the shunt doesn&#039;t initialize correctly, separate the shunt and VCU power supply, and power cycle the VCU two or three seconds after the shunt power is cycled. This has fixed an initialize issue for a number of ISA shunts.&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
[[Zombieverter Parameters and Spot Values|page with zombieverter parameters and their value ranges, ZV pinmap etc.]]&lt;br /&gt;
&lt;br /&gt;
Source: https://www.youtube.com/watch?v=wjlucUWX_lc&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;
=== Recovering the Zombieverter from a failed update ===&lt;br /&gt;
if the zombieverter fails in the middle of a software update and the Web User Interface is reporting &amp;quot;firmware: null&amp;quot; it&#039;s possible you&#039;ll need to re-flash the firmware, and bootloader via an STLink.&lt;br /&gt;
&lt;br /&gt;
# Firstly, download the bootloader and latest zombieverter firmware from here &amp;lt;ref&amp;gt;https://github.com/damienmaguire/Stm32-vcu/releases/&amp;lt;/ref&amp;gt; and here &amp;lt;ref&amp;gt;https://github.com/jsphuebner/tumanako-inverter-fw-bootloader/releases&amp;lt;/ref&amp;gt; as .hex files, this ensures you don&#039;t need to know the address of the file and avoids user error when flashing via STLink (I used a cheap STLink v2 clone without issue but it seems there is a mix of experiences with them).&lt;br /&gt;
# Download STMCubeProgrammer (other STM flashing softwares are available but the following instructions are based on what has worked for me).&lt;br /&gt;
# Upgrade the firmware on your STLink dongle using STMCubeProgrammer (I&#039;m not sure if this is 100% necessary but seems prudent).&lt;br /&gt;
# Connect the Clock (SWclk), Gnd and Data (SWDio) of your STLink to the Zombieverter test points (near to the STM32 chip, they are labelled C, G, D) as well as 12V and Gnd to the Zombieverter main power pins and ensure your STMCubeprogrammer is able to connect to it, I also disconnected the wifi board just incase.&lt;br /&gt;
# Perform a &amp;quot;full chip erase&amp;quot;, then reflash the latest bootloader and firmware hex files.&lt;br /&gt;
# Remove your STLink from the zombieverter, connect the wifi board and check connectivity.&lt;br /&gt;
# Begin Zombieverter-ing.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
[[Category:Inverter]] &lt;br /&gt;
[[Category:VCU]] &lt;br /&gt;
[[Category:ZombieVerter]]&lt;/div&gt;</summary>
		<author><name>Chrskly</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Toyota/Lexus_GS300h_CVT&amp;diff=4049</id>
		<title>Toyota/Lexus GS300h CVT</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Toyota/Lexus_GS300h_CVT&amp;diff=4049"/>
		<updated>2023-08-02T11:33:28Z</updated>

		<summary type="html">&lt;p&gt;Chrskly: Add image of output flange/guibo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;NOTE : This motor is as of yet untested in a real world application.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Forum board: &amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?t=949&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?f=14&amp;amp;t=949#p15109&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
General overview :&amp;lt;ref&amp;gt;https://slideplayer.com/slide/14432904/ (Backup: [https://web.archive.org/web/20210130222812/https://slideplayer.com/slide/14432904/ Web Archive])&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Gs300h-cvt.jpg|thumb]]&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
The L210 is a continuously variable transmission (CVT) which can be found in the Lexus gs300h. It is very similar in design to the [[Lexus GS450h Drivetrain|GS450h CVT]]. It contains two motor-generators - MG1 and MG2. When used as originally intended, MG1 is spun by the ICE, via a planetary gear system, and acts primarily as a generator. MG1 also acts as a starter motor for the ICE. MG2 is connected to the output shaft via a second planetary gear system to provide traction directly to the rear wheels.&lt;br /&gt;
&lt;br /&gt;
The ratio between MG1 and the output shaft is 2.6:1. The ratio between MG2 and the output shaft is 3.333:1.&lt;br /&gt;
&lt;br /&gt;
The official power output of the CVT is 105kW and 300Nm of torque&amp;lt;ref&amp;gt;https://lexus.pressroom.com.au/press_kit_detail.asp?kitID=336&amp;amp;clientID=3&amp;amp;navSectionID=6 (Backup: [https://web.archive.org/web/20200319090621/https://lexus.pressroom.com.au/press_kit_detail.asp?kitID=336&amp;amp;clientID=3&amp;amp;navSectionID=6 Web Archive])&amp;lt;/ref&amp;gt;, but this has yet to be tested.&lt;br /&gt;
&lt;br /&gt;
For use in a pure EV application, the ICE input shaft can be locked stationary with a plate or bar. This allows traction to be provided by both MG1 and MG2.&lt;br /&gt;
&lt;br /&gt;
=== Part Numbers ===&lt;br /&gt;
Part numbers include 30920-30030. The CVT can be found in the Lexus GS300h, Lexus IS300h, Lexus RC300h and Toyota Crown Hybrid(G9200-30131). The matching inverter is part number G9200-30132, which is a Gen 3 inverter.&lt;br /&gt;
&lt;br /&gt;
=== Dimensions ===&lt;br /&gt;
Bellhousing diameter =400 mm ,&lt;br /&gt;
&lt;br /&gt;
Length bellhousing face to drive flange face 720mm&lt;br /&gt;
&lt;br /&gt;
Diameter main body 330mm front to 250 rear&lt;br /&gt;
&lt;br /&gt;
Tailshaft  length 210mm&lt;br /&gt;
&lt;br /&gt;
Weight 90kg&lt;br /&gt;
&lt;br /&gt;
== Oil pump ==&lt;br /&gt;
One key difference between the L210 (gs300h) and the L110 (gs450h) is that the L210 only has an internal oil pump. &lt;br /&gt;
&lt;br /&gt;
On the L210 the internal oil pump is driven by both the ICE and/or the rotation of MG2. So, even when you lock the ICE input shaft to allow MG1 to provide traction, MG2 will still drive the oil pump whenever the car moves. Since there are no gears/speeds in this CVT (and hence no clutch packs, etc.), the oil is only required for cooling and lubricating the bearings. &lt;br /&gt;
&lt;br /&gt;
== Connections ==&lt;br /&gt;
[[File:9200-30131-inverter side.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
=== Inverter ===&lt;br /&gt;
The connector for this inverter is available from Toyota dealers. The part numbers you need are:&lt;br /&gt;
&lt;br /&gt;
* Plug: 90980-129922&amp;lt;ref&amp;gt;Forum Source: https://openinverter.org/forum/viewtopic.php?p=43421#p43421&amp;lt;/ref&amp;gt;  (approximately 20 euros)&lt;br /&gt;
* Seals to plug unused connections: 90980-09871&lt;br /&gt;
* Terminal 1: 82998-24250&lt;br /&gt;
* Terminal 2: 82998-12790&lt;br /&gt;
* Terminal 3: 82998-24420&amp;lt;ref&amp;gt;Forum Reference: https://openinverter.org/forum/viewtopic.php?p=43428#p43428&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Alternative Source&amp;lt;ref&amp;gt;Forum Reference: https://openinverter.org/forum/viewtopic.php?p=44467#p44467&amp;lt;/ref&amp;gt; for the Connectors on Aliexpress: &amp;lt;ref&amp;gt;https://www.aliexpress.com/item/4000661144498.html (Backup: [https://web.archive.org/web/20221207221212/https://www.aliexpress.us/item/2255800474829746.html?gatewayAdapt=glo2usa4itemAdapt&amp;amp;_randl_shipto=US Web Archive])&amp;lt;/ref&amp;gt; and &amp;lt;ref&amp;gt;https://www.aliexpress.com/item/1005002101704091.html (Backup: [https://web.archive.org/web/20221207221606/https://www.aliexpress.us/item/3256801915389339.html?gatewayAdapt=glo2usa4itemAdapt&amp;amp;_randl_shipto=US Web Archive])&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Inverter/trans pair can be controlled by OI Zombieverter VCU  Here [[ZombieVerter VCU]]&lt;br /&gt;
&lt;br /&gt;
=== Left hand side ===&lt;br /&gt;
[[File:Gs300h-cvt-lhs-annotated-2.jpg|alt=|thumb|Left hand side connections]]&lt;br /&gt;
# MG1 3-phase power connection&lt;br /&gt;
# MG1 resolver (and temperature) port&lt;br /&gt;
# MG2 resolver (and temperature) port&lt;br /&gt;
=== Right hand side ===&lt;br /&gt;
[[File:Gs300h-cvt-rhs-annotated-2.jpg|alt=|thumb|Right hand side connections]]&lt;br /&gt;
# Input/output from/to oil cooler radiator&lt;br /&gt;
# Mechanical shifter and shift sensor port&lt;br /&gt;
# Ground strap&lt;br /&gt;
# MG2 3-phase power connection&lt;br /&gt;
&lt;br /&gt;
=== Resolvers ===&lt;br /&gt;
Sumitomo 6189-1240 8-WAY&lt;br /&gt;
&lt;br /&gt;
Motor side connection&lt;br /&gt;
&lt;br /&gt;
1         2         3         4&lt;br /&gt;
&lt;br /&gt;
White  Red  Yellow  White      ( colours inside motor )&lt;br /&gt;
&lt;br /&gt;
TMP1  CS     SN      RF&lt;br /&gt;
&lt;br /&gt;
TMP2 CSG SNG   RFG&lt;br /&gt;
&lt;br /&gt;
White Black Blue    Green     ( colours inside motor )&lt;br /&gt;
&lt;br /&gt;
5        6         7         8&lt;br /&gt;
&lt;br /&gt;
For connections to inverter, MG1 connections have prefix G... MG2 have prefix M...&lt;br /&gt;
&lt;br /&gt;
But check for yourself as per Damien&#039;s tuning video    &lt;br /&gt;
&lt;br /&gt;
=== Shift sensor ===&lt;br /&gt;
[[File:GS300hShiftsensor.png|thumb]]&lt;br /&gt;
part number: 89451-30010&lt;br /&gt;
&lt;br /&gt;
Connector: SUMITOMO 90980-12362&lt;br /&gt;
&lt;br /&gt;
Position 1 being the sprung return and 5 being park&lt;br /&gt;
&lt;br /&gt;
Pin 3 is common, you can see there is a direct connection to&lt;br /&gt;
&lt;br /&gt;
a pin for each position and a secondary connection to either 2,5,9&lt;br /&gt;
&lt;br /&gt;
this could be used as an error check&amp;lt;ref&amp;gt;Forum Source: https://openinverter.org/forum/viewtopic.php?t=949&amp;amp;start=125&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
::;&lt;br /&gt;
:;&lt;br /&gt;
&lt;br /&gt;
=== Output flange ===&lt;br /&gt;
Bolt pattern: About 100mm from hole to hole (~58mm radius) (compared to GS450H&#039;s 91mm (or 52.5mm radius)).&lt;br /&gt;
[[File:L210-flange-guibo.jpg|thumb]]&lt;br /&gt;
&lt;br /&gt;
=== ICE input shaft coupling ===&lt;br /&gt;
23mm shaft diameter , 21 spline &lt;br /&gt;
&lt;br /&gt;
OEM numbers : Daihatsu 31250-14090; Lexus 31250-14010; Toyota 31250-12040; &lt;br /&gt;
&lt;br /&gt;
Confirmed that Blueprint ADT33102, ADT33127 &amp;lt;ref&amp;gt;Forum Source: https://openinverter.org/forum/viewtopic.php?p=43211#p43211&amp;lt;/ref&amp;gt; clutch plate or equivalent is a good fit.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:OEM]] [[Category:Toyota]] [[Category:Motor]]&lt;/div&gt;</summary>
		<author><name>Chrskly</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:L210-flange-guibo.jpg&amp;diff=4048</id>
		<title>File:L210-flange-guibo.jpg</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:L210-flange-guibo.jpg&amp;diff=4048"/>
		<updated>2023-08-02T11:32:20Z</updated>

		<summary type="html">&lt;p&gt;Chrskly: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Spacing of bolt holes on the L210 output flange/guibo.&lt;/div&gt;</summary>
		<author><name>Chrskly</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:Flange-spacings.jpg&amp;diff=4047</id>
		<title>File:Flange-spacings.jpg</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:Flange-spacings.jpg&amp;diff=4047"/>
		<updated>2023-08-02T11:29:49Z</updated>

		<summary type="html">&lt;p&gt;Chrskly: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Spacing of holes on L210 output flange/guibo&lt;/div&gt;</summary>
		<author><name>Chrskly</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=BMW_Hybrid_Battery_Pack&amp;diff=3129</id>
		<title>BMW Hybrid Battery Pack</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=BMW_Hybrid_Battery_Pack&amp;diff=3129"/>
		<updated>2023-01-09T21:49:19Z</updated>

		<summary type="html">&lt;p&gt;Chrskly: Wiring info for BMS&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In addition to the &#039;&#039;&#039;BMW 5 Series (G30) 530e&#039;&#039;&#039; the same battery pack can be found in the &#039;&#039;&#039;7 Series (G12) 740e&#039;&#039;&#039; as well as the &#039;&#039;&#039;X Series&#039;&#039;&#039; &#039;&#039;&#039;(F15) X5&#039;&#039;&#039;.  These battery packs consist of six battery modules yielding 351 volts. The same battery modules can be found in the &#039;&#039;&#039;3 Series (F30) 330e&#039;&#039;&#039; but in a smaller form factor made up of only five modules and 293 volts.&lt;br /&gt;
&lt;br /&gt;
[[File:Battery Location.jpg|thumb|The battery pack is located under the rear seat.|alt=|none]]&lt;br /&gt;
&lt;br /&gt;
== First Gen (-2018) ==&lt;br /&gt;
&lt;br /&gt;
The Electrical Energy Storage System in the 530e as well as the 740e has a code name of SP06 and a capacity of 26 Ah.&lt;br /&gt;
&lt;br /&gt;
== Second Gen (2019-present) ==&lt;br /&gt;
&lt;br /&gt;
The newer SP41 high-voltage battery was installed in the G30 as well as the G12 Plug-in Hybrid Electric Vehicles starting in July of 2019. It has the same basic design as the SP06. The most significant change is the cell capacity increase from 26 Ah to 34 Ah.&lt;br /&gt;
&lt;br /&gt;
== Technical Specifications ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Technical data&lt;br /&gt;
!5 Series G30 PHEV (SP06)&lt;br /&gt;
-2018&lt;br /&gt;
!5 Series G30 PHEV (SP41)&lt;br /&gt;
2019-2022&lt;br /&gt;
|-&lt;br /&gt;
|Voltage&lt;br /&gt;
|351.4 V (nominal voltage)&lt;br /&gt;
|355 V (nominal voltage)&lt;br /&gt;
|-&lt;br /&gt;
|Voltage Range&lt;br /&gt;
|Min. 269 V – Max. 398 V&lt;br /&gt;
|Min. 269 V – Max. 403 V&lt;br /&gt;
|-&lt;br /&gt;
|Battery cells&lt;br /&gt;
|Lithium-ion&lt;br /&gt;
|Lithium-ion&lt;br /&gt;
|-&lt;br /&gt;
|Number of battery cells&lt;br /&gt;
|96 in series&lt;br /&gt;
|96 in series&lt;br /&gt;
|-&lt;br /&gt;
|Number of cell modules&lt;br /&gt;
|6&lt;br /&gt;
|6&lt;br /&gt;
|-&lt;br /&gt;
|Cell voltage&lt;br /&gt;
|3.66 V&lt;br /&gt;
|3.70 V&lt;br /&gt;
|-&lt;br /&gt;
|Capacitance&lt;br /&gt;
|26 Ah&lt;br /&gt;
|34 Ah&lt;br /&gt;
|-&lt;br /&gt;
|Storable amount of energy&lt;br /&gt;
|9.2 kWh&lt;br /&gt;
|12 kWh&lt;br /&gt;
|-&lt;br /&gt;
|Usable energy&lt;br /&gt;
|7.4 kWh&lt;br /&gt;
|10.4 kWh&lt;br /&gt;
|-&lt;br /&gt;
|Max. power (discharge)&lt;br /&gt;
|83 kW (short-term)&lt;br /&gt;
|83 kW (short-term)&lt;br /&gt;
|-&lt;br /&gt;
|Maximum power (AC charging)&lt;br /&gt;
|3.7 kW&lt;br /&gt;
|3.7 kW&lt;br /&gt;
|-&lt;br /&gt;
|Weight&lt;br /&gt;
|248 lbs / 112.5 kg (without retaining brackets)&lt;br /&gt;
|261 lbs / 118.4kg (without retaining brackets)&lt;br /&gt;
|-&lt;br /&gt;
|Dimensions&lt;br /&gt;
|541 mm x 1134 mm x 271 mm&lt;br /&gt;
|541 mm x 1134 mm x 271 mm&lt;br /&gt;
|-&lt;br /&gt;
|Cooling system&lt;br /&gt;
|Refrigerant R1234yf&lt;br /&gt;
|Refrigerant R1234yf&lt;br /&gt;
|-&lt;br /&gt;
|Individual Module Dimensions&lt;br /&gt;
|364*183*110mm (L/W/H) without BMS attached&lt;br /&gt;
(add c. 25mm to length or height of module for BMS)&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Battery Management System, BMS ==&lt;br /&gt;
There is a SimpBMS version available on GitHub called &#039;&#039;&#039;BMWPhevBMS&#039;&#039;&#039; https://github.com/Tom-evnut/BMWPhevBMS created by Tome de Bree.&lt;br /&gt;
&lt;br /&gt;
=== Wiring/pinouts ===&lt;br /&gt;
When using SimpBMS, the original BMW BMS master module should be unplugged (blue plug). This plug should instead be used to power the BMS slave modules and for the CAN connection to slave modules. See pinout below.&lt;br /&gt;
&lt;br /&gt;
It&#039;s important to note that each plug in the wiring harness has an &#039;in&#039; and an &#039;out&#039; pin. I.e., the 5V, GND, and CAN connections are chained from one slave module to the next. So, if for some reason you have one of the slave modules unplugged, you may need to jumper the pins in that plug or else the modules further down the chain may not work.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Blue plug pinout&lt;br /&gt;
!Pin&lt;br /&gt;
!Function&lt;br /&gt;
!Note&lt;br /&gt;
|-&lt;br /&gt;
|1&lt;br /&gt;
|CAN H&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|2&lt;br /&gt;
|CAN L&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|5&lt;br /&gt;
|5V&lt;br /&gt;
|Apply 5V here to power the slave modules&lt;br /&gt;
|-&lt;br /&gt;
|6&lt;br /&gt;
|GND&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|7&lt;br /&gt;
|CAN H&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|8&lt;br /&gt;
|CAN L&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|9&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|10&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|11&lt;br /&gt;
|5V&lt;br /&gt;
|Apply 5V here to power the slave modules&lt;br /&gt;
|-&lt;br /&gt;
|12&lt;br /&gt;
|GND&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Part Numbers&amp;lt;ref&amp;gt;Forum Reference: https://openinverter.org/forum/viewtopic.php?f=20&amp;amp;t=709&amp;lt;/ref&amp;gt; ==&lt;br /&gt;
and here&#039;s how the six cell modules are connected together with the high voltage orange wires&lt;br /&gt;
[[File:High Voltage Cables.jpg|thumb|High Voltage Cables|alt=|none]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;1 Part Number: 61278621016 Main Negative (runs from Cell Module #1 to the Safety Box #8 front connector)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;2 Part Number: 61278621017 Connects Cell Module #2 to Cell Module #3&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;3 Part Number: 61278621018 Connects Cell Module #3 to Cell Module #4&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;4 Part Number:61278621019 Connects Cell Module #4 to Cell Module #5&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;? Part Number:??????????? Connects Cell Module #5 to Cell Module #6&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;5 Part Number: 61278621020 Main Positive (runs from Cell Module #6 to the Safety Box #7 front connector)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;6 Part Number: 61278618444 Connects Cell Module #1 to Cell Module #2&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;===========================================================&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;7 Part Number: 61278650791 External Connector Positive&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;8 Part Number: 61278650793 External Connector Negative&lt;br /&gt;
&lt;br /&gt;
=== Pinout - Main battery connector ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Pin assignments at plug connector A332*1B ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Pin&lt;br /&gt;
!Type&lt;br /&gt;
!Description /Signal type&lt;br /&gt;
!Connection /Measuring information&lt;br /&gt;
|-&lt;br /&gt;
|1&lt;br /&gt;
|E&lt;br /&gt;
|Supply, terminal 30&lt;br /&gt;
|Power distribution box, rear&lt;br /&gt;
|-&lt;br /&gt;
|2&lt;br /&gt;
|E&lt;br /&gt;
|High-voltage interlock loop signal&lt;br /&gt;
|Electric-machine electronics&lt;br /&gt;
|-&lt;br /&gt;
|3&lt;br /&gt;
|E&lt;br /&gt;
|Terminal 30c signal&lt;br /&gt;
|Connector, terminal 30C&lt;br /&gt;
|-&lt;br /&gt;
|4&lt;br /&gt;
| --&lt;br /&gt;
|Not used&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|5&lt;br /&gt;
| --&lt;br /&gt;
|Not used&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|6&lt;br /&gt;
| --&lt;br /&gt;
|Not used&lt;br /&gt;
|Yellow/Green wire inside battery - Use unknown&lt;br /&gt;
|-&lt;br /&gt;
|7&lt;br /&gt;
| --&lt;br /&gt;
|Not used&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|8&lt;br /&gt;
| --&lt;br /&gt;
|Not used&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|9&lt;br /&gt;
| --&lt;br /&gt;
|Not used&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|10&lt;br /&gt;
|A&lt;br /&gt;
|Supply&lt;br /&gt;
|Refrigerant shutoff valve, high-voltage battery unit&lt;br /&gt;
|-&lt;br /&gt;
|11&lt;br /&gt;
|A&lt;br /&gt;
|Activation&lt;br /&gt;
|Refrigerant shutoff valve, high-voltage battery unit&lt;br /&gt;
|-&lt;br /&gt;
|12&lt;br /&gt;
|M&lt;br /&gt;
|Ground&lt;br /&gt;
|Ground point&lt;br /&gt;
|-&lt;br /&gt;
|13&lt;br /&gt;
|E/A&lt;br /&gt;
|K-CAN bus signal L&lt;br /&gt;
|K-CAN5 bus connection&lt;br /&gt;
|-&lt;br /&gt;
|14&lt;br /&gt;
|E/A&lt;br /&gt;
|K-CAN bus signal H&lt;br /&gt;
|K-CAN5 bus connection&lt;br /&gt;
|-&lt;br /&gt;
|15&lt;br /&gt;
| --&lt;br /&gt;
|K-CAN bus signal L&lt;br /&gt;
|Put a 120Ohm resistor across these to terminate pack&lt;br /&gt;
|-&lt;br /&gt;
|16&lt;br /&gt;
| --&lt;br /&gt;
|K-CAN bus signal H&lt;br /&gt;
|Put a 120Ohm resistor across these to terminate pack&lt;br /&gt;
|-&lt;br /&gt;
|17&lt;br /&gt;
| --&lt;br /&gt;
|Not used&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|18&lt;br /&gt;
| --&lt;br /&gt;
|Not used&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|19&lt;br /&gt;
| --&lt;br /&gt;
|Not used&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|20&lt;br /&gt;
| --&lt;br /&gt;
|Not used&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|21&lt;br /&gt;
| --&lt;br /&gt;
|Not used&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|22&lt;br /&gt;
| --&lt;br /&gt;
|Not used&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|23&lt;br /&gt;
|E&lt;br /&gt;
|High-voltage interlock loop signal&lt;br /&gt;
|High-voltage safety connector&lt;br /&gt;
|-&lt;br /&gt;
|24&lt;br /&gt;
| --&lt;br /&gt;
|Not used&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Temperature Sensors ===&lt;br /&gt;
The temperature sensors used in the hybrid battery packs are NTC 100k/4.4 and 10k/3.4 &amp;lt;ref&amp;gt;Forum Reference: https://openinverter.org/forum/viewtopic.php?p=36640#p36640&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
[[Category:OEM]] [[Category:BMW]] [[Category:Battery]]&lt;/div&gt;</summary>
		<author><name>Chrskly</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Esp32-web-interface&amp;diff=3121</id>
		<title>Esp32-web-interface</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Esp32-web-interface&amp;diff=3121"/>
		<updated>2023-01-08T19:25:58Z</updated>

		<summary type="html">&lt;p&gt;Chrskly: Add some basic firmware build instructions&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The [[Olimex_MOD-WIFI-ESP8266|Olimex MOD-WIFI-ESP8266]] is usually used to provide a web interface to configure and monitor various EV conversion components found here. E.g. inverters, chargers, etc.&lt;br /&gt;
&lt;br /&gt;
An alternative to this is to use an esp32 based module. You can find a port of the esp8266 firmware for esp32 in [https://github.com/Bedz01 Bedz02] Github repo [https://github.com/Bedz01/esp32-web-interface-port here].&lt;br /&gt;
&lt;br /&gt;
TODO - write installation instructions&lt;br /&gt;
&lt;br /&gt;
=== Ethernet / Wired Option ===&lt;br /&gt;
&lt;br /&gt;
WiFi can struggle to operate well when it uses the small antenna found on these boards and is buried under multiple layers of metal inside a car. Some people might prefer to use a wired option instead. One way to do this is to use an esp32 board which includes an ethernet port and connect to the web interface this way.&lt;br /&gt;
&lt;br /&gt;
You can find a modified version of the esp32 firmware which includes ethernet support in [https://github.com/chrskly/esp32-web-interface this] Github repo.&lt;br /&gt;
&lt;br /&gt;
==== Installation ====&lt;br /&gt;
&lt;br /&gt;
# Clone/download the [https://github.com/chrskly/esp32-web-interface git repo].&lt;br /&gt;
# Install [https://platformio.org/platformio-ide platformio] on your laptop/desktop&lt;br /&gt;
# Build and then upload the firmware to your ESP32 board. See more info [https://docs.platformio.org/en/latest/platforms/espressif32.html here].&lt;br /&gt;
&lt;br /&gt;
==== Supported Hardware ====&lt;br /&gt;
* [https://www.olimex.com/Products/IoT/ESP32/ESP32-POE-ISO/open-source-hardware Olimex ESP32-POE-ISO] - tested and confirmed working.&lt;br /&gt;
* [https://www.olimex.com/Products/IoT/ESP32/ESP32-POE/open-source-hardware Olimex ESP32-POE] - should also work, just a different variant of above.&lt;br /&gt;
* [http://www.wireless-tag.com/portfolio/wt32-eth01/ WST32-eth01] - unknown, pending testing.&lt;/div&gt;</summary>
		<author><name>Chrskly</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=2998</id>
		<title>BMW I3 Fast Charging LIM Module</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=2998"/>
		<updated>2022-11-30T19:56:18Z</updated>

		<summary type="html">&lt;p&gt;Chrskly: Add info about waking the LIM&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
The BMW LIM module is a CCS, CHAdeMO and AC charging controller.  It is used to communicate between the vehicle and the public charging infrastructure, to allow fast charging to occur.&lt;br /&gt;
&lt;br /&gt;
As these can be found affordably on eBay and from auto wreckers, they have been pursued as an open-source charger-interface project.&lt;br /&gt;
&lt;br /&gt;
The LIM is also available new from BMW spare parts suppliers for € 240. If you get it new it comes without firmware and it needs to be programmed first.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?t=1196 Forum discussion]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/BMW-i3-CCS github.com/damienmaguire/BMW-i3-CCS]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs CAN logs]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/Stm32-vcu/blob/ACDC_LIM/src/i3LIM.cpp STM32 ZombieVerter VCU software]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/download/file.php?id=9509 BMW I3 HV components]&lt;br /&gt;
&lt;br /&gt;
[https://www.evcreate.nl/shop/charging/connector-kit-for-bmw-i3-lim-ccs-charging-module/ LIM Connector Kit]&lt;br /&gt;
&lt;br /&gt;
[https://www.evcreate.nl/shop/charging/contactor-matching-lim-ccs-charging-module-from-bmw-i3/ LIM Compatible Contactors]&lt;br /&gt;
&lt;br /&gt;
[http://tesla.o.auroraobjects.eu/Design_Guide_Combined_Charging_System_V3_1_1.pdf Design Guide for Combined Charging System (2015)]&lt;br /&gt;
&lt;br /&gt;
[https://www.researchgate.net/publication/338586995_EV_Charging_Definitions_Modes_Levels_Communication_Protocols_and_Applied_Standards EV Charging Definitions, Modes, Levels, Communication Protocols and Applied Standards]&lt;br /&gt;
&lt;br /&gt;
==Connectors and Pinouts==&lt;br /&gt;
&lt;br /&gt;
[[File:BMW_I3_CCS_Labelled.png|thumb|BMW i3 LIM CCS Charging Module]]All connectors are available at https://www.auto-click.co.uk/ worldwide.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Connector Key (left to right) &lt;br /&gt;
!Label&lt;br /&gt;
!Description&lt;br /&gt;
!Compatible Plugs&lt;br /&gt;
|-&lt;br /&gt;
|4B&lt;br /&gt;
|12 Pin Connector&lt;br /&gt;
|BMW 61138373632&lt;br /&gt;
Audi 4E0 972 713&lt;br /&gt;
&lt;br /&gt;
TE 1534152-1&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/index.php?route=product/product&amp;amp;product_id=1344&amp;lt;/ref&amp;gt; / 1534151-1&lt;br /&gt;
|-&lt;br /&gt;
|3B&lt;br /&gt;
| 8 Pin Connector &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;(CHAdeMO models only)&amp;lt;/span&amp;gt;&lt;br /&gt;
|BMW 61138364624&lt;br /&gt;
&lt;br /&gt;
Audi 4F0 972 708&lt;br /&gt;
&lt;br /&gt;
TE 1-1534229-1&lt;br /&gt;
|-&lt;br /&gt;
| 1B&lt;br /&gt;
|16 Pin Connector&lt;br /&gt;
|Hirschmann 805-587-545&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/805-587-545&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|2B&lt;br /&gt;
|6 Pin Connector&lt;br /&gt;
| BMW 61138383300&lt;br /&gt;
Audi 7M0 973 119&lt;br /&gt;
&lt;br /&gt;
TE 1-967616-1&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/1-967616-1&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;https://www.mouser.com/ProductDetail/571-1-967616-1&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
| Replacement Pins&lt;br /&gt;
|5-962885-1&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/5-962885-1&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
|Rubber Seal&lt;br /&gt;
|1-967067-1&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/1-967067-1&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
|(for the connector on the i3&#039;s Charge Port Cable Lock, &lt;br /&gt;
see [[BMW I3 Fast Charging LIM Module#Charge port lock|the Charge Port Lock section]])&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
[[File:CCS setup LIM 2-03.png|none|thumb|800x800px|LIM pinout]]&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
1B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|1B-1&lt;br /&gt;
| LED_S &lt;br /&gt;
|Charge Port Lighting (not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|1B-2&lt;br /&gt;
| -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-3&lt;br /&gt;
|LED_M&lt;br /&gt;
|Charge Port Lighting (not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|1B-4&lt;br /&gt;
|LOCK_MOT+&lt;br /&gt;
|Charge Port &#039;&#039;cable&#039;&#039; Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-5&lt;br /&gt;
|LOCK_MOT-&lt;br /&gt;
|Charge Port &#039;&#039;cable&#039;&#039; Lock Motor, and reference for 1B-16.&lt;br /&gt;
|-&lt;br /&gt;
|1B-6&lt;br /&gt;
| CAN_H&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
| 1B-7&lt;br /&gt;
|CAN_L&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
|1B-8&lt;br /&gt;
|IGN&lt;br /&gt;
|Wake up signal +12V (ignition, contact 15)&lt;br /&gt;
|-&lt;br /&gt;
|1B-9&lt;br /&gt;
|VCC&lt;br /&gt;
|Constant Power +12V&lt;br /&gt;
|-&lt;br /&gt;
|1B-10&lt;br /&gt;
|GND&lt;br /&gt;
|Ground&lt;br /&gt;
|-&lt;br /&gt;
|1B-11&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-12&lt;br /&gt;
| -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-13&lt;br /&gt;
|  -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-14&lt;br /&gt;
|  -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-15&lt;br /&gt;
|CHARGE_E&lt;br /&gt;
|Goes to KLE. Guessing this is charge enable or drive interlock signal?&lt;br /&gt;
|-&lt;br /&gt;
|1B-16&lt;br /&gt;
|LOCK_FB&lt;br /&gt;
|Charge Port &#039;&#039;cable&#039;&#039; Lock Feedback (1k unlocked, 11k locked), referenced to 1B-5&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=30636#p30636&amp;lt;/ref&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+2B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|2B-1&lt;br /&gt;
|CP&lt;br /&gt;
|Pilot (charge port) ~620 ohms to GND is needed if no original i3 charge port is used!&lt;br /&gt;
|-&lt;br /&gt;
|2B-2&lt;br /&gt;
|PP&lt;br /&gt;
|Proximity (charge port)&lt;br /&gt;
|-&lt;br /&gt;
|2B-3&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 4&lt;br /&gt;
|-&lt;br /&gt;
|2B-4&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 3&lt;br /&gt;
|-&lt;br /&gt;
|2B-5&lt;br /&gt;
|GND&lt;br /&gt;
|Ground (charge port)&lt;br /&gt;
|-&lt;br /&gt;
|2B-6&lt;br /&gt;
|&lt;br /&gt;
|US CCS1 version connected to 2B-2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
3B Pinout:&lt;br /&gt;
&lt;br /&gt;
- N/A (for CHAdeMO only)&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+4B Pinout:&lt;br /&gt;
! Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|4B-1&lt;br /&gt;
| POS_CONT+&lt;br /&gt;
|Positive HV Contactor Control (Contactor coil resistance needs to be ~15 ohms)&lt;br /&gt;
|-&lt;br /&gt;
|4B-2&lt;br /&gt;
|NEG_CONT+&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-3&lt;br /&gt;
|POS_CONT-&lt;br /&gt;
|Positive HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-4&lt;br /&gt;
|NEG_CONT-&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-5&lt;br /&gt;
|U_HV_DC&lt;br /&gt;
|Charge Port DC Voltage (current input 3-20mA?)(1.42V for 0V HV, linear to 4.8V for 500V HV)&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=24613#p24613&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|4B-6&lt;br /&gt;
|LED_RT&lt;br /&gt;
|Red    charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-7&lt;br /&gt;
|LED_GN&lt;br /&gt;
|Green charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-8&lt;br /&gt;
|LED_BL&lt;br /&gt;
|Blue   charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-9&lt;br /&gt;
|LED_GND&lt;br /&gt;
|Charge Status Light Ground (common cathode of RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-10&lt;br /&gt;
|COV_MOT-&lt;br /&gt;
|Charge Port Cover motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-11&lt;br /&gt;
|COV_MOT+&lt;br /&gt;
|Charge Port Cover Motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-12&lt;br /&gt;
|COV_FB&lt;br /&gt;
|Charge Port Cover Feedback (connect to GND to simulate open cover&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=24597#p24597&amp;lt;/ref&amp;gt;)(&#039;&#039;&#039;To be left floating for&#039;&#039;&#039; contactors weld test)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Wiring Diagram ==&lt;br /&gt;
[[File:CCS setup LIM-01.png|thumb|1000x1000px|alt=|Wiring LIM electric vehicle charge controller|none]]Note [18Jun2022 ALS]: In the above diagram, some details may be non-current, eg the Charge Port Cover sensor is not shown, but its line @ 4B-12 must be floating (signalling that the Charge Port Cover is closed (?)) in order for the LIM to proceed with its welded contact tests; 4B-12 is tied to Ground (?) to indicate that the cover is open&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=41590#p41590&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==== Wiring notes ====&lt;br /&gt;
Make sure you mount the LIM as close to the charge socket as possible and keep the pilot wire separate from the high power wiring.&lt;br /&gt;
&lt;br /&gt;
Bad pilot wiring can result in SLAC, PLC, or other communication problems.&lt;br /&gt;
&lt;br /&gt;
== Additional components for a LIM installation ==&lt;br /&gt;
=== Isolated DC charge inlet voltage sense board ===&lt;br /&gt;
The LIM gets the inlet DC voltage from a board in the KLE. &lt;br /&gt;
&lt;br /&gt;
This board needs to produce an isolated 3-20mA current signal (or: 1.42V for 0V HV, linear to 4.8V for 500V HV)&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=24613#p24613&amp;lt;/ref&amp;gt; from the high voltage DC voltage.&lt;br /&gt;
&lt;br /&gt;
A circuit of a voltage sense board is shared [https://openinverter.org/forum/viewtopic.php?p=28143#p28143 here] and can be purchased [https://openinverter.org/forum/viewtopic.php?p=41641#p41641 here].  &lt;br /&gt;
[[File:Voltage measure board.jpg|none|thumb|Isolated DC Voltage sense board by muehlpower]]An alternative voltage sense board is available [https://www.evcreate.nl/shop/charging/voltage-sense-board-bmw-i3-lim/ here].&lt;br /&gt;
[[File:BMW-i3-LIM-CCS-charging-voltage-sense-board-measuring.jpg|none|thumb|BMW i3 LIM voltage sense board by EVcreate]]&lt;br /&gt;
&lt;br /&gt;
=== Fast charge contactor ===&lt;br /&gt;
The LIM produces a 12V, 50% PWM on the positive and negative fast charging contactor outputs and measures the current draw of the contactors.&lt;br /&gt;
&lt;br /&gt;
The BMW OEM fast charge contactor relays, located in the KLE, are (2) TE EVC135 RELAY, SPST-NO, DM (# 2138011-1).&lt;br /&gt;
&lt;br /&gt;
https://www.te.com/usa-en/product-2138011-1.html&lt;br /&gt;
&lt;br /&gt;
Similar, though not exact, replacements are available from [https://www.evcreate.nl/shop/charging/contactor-matching-lim-ccs-charging-module-from-bmw-i3/ EVcreate]&lt;br /&gt;
&lt;br /&gt;
==== Larger contactor control ====&lt;br /&gt;
If you want to use larger contactors with PWM economizer or dual coil, use small relays to drive them and place a 15 ohm resistor (with heat sink) in parallel with each to simulate the original contactor coil&#039;s impedance.&lt;br /&gt;
&lt;br /&gt;
Each of the two 15 ohm resistors must dissipate ~6W @ 13.4V, 50% PWM.&lt;br /&gt;
&lt;br /&gt;
Further investigation is needed to find out if the LIM also detects a contactor failure via the current draw.&lt;br /&gt;
[[File:Gigavac contactor driver circuit.png|none|thumb|500x500px|Gigavac contactor driver circuit]]&lt;br /&gt;
&lt;br /&gt;
=== Charge port ===&lt;br /&gt;
[[File:CCS2-inlet.jpg|thumb|262x262px|DUOSIDA / MIDA CCS(2) inlet|alt=DUOSIDA / MIDA CCS(2) inlet]]&lt;br /&gt;
SAE J1772 (US) and IEC 61851 (international) cover the general physical, electrical, communication protocol, and performance requirements for the electric vehicle conductive charge system and coupler.&lt;br /&gt;
&lt;br /&gt;
https://en.wikipedia.org/wiki/SAE_J1772#Signaling&lt;br /&gt;
&lt;br /&gt;
The original BMW i3 Type 1 charge port has 2.7 kΩ between PP and PE and no connection between CP and PE, as J1772 describes.  &lt;br /&gt;
&lt;br /&gt;
The Type 2 charge port used in Europe probably has 4.7 kΩ  between PP and PE. (from Phoenix datasheet. Not confirmed!)  &lt;br /&gt;
&lt;br /&gt;
Make sure to match these if you want to use a different charge port.  Some brands use different resistor values. &lt;br /&gt;
&lt;br /&gt;
The CP communication is similar for US Type 1 (1-phase) and EU Type 2 (3-phase) charge ports, but the PP circuit is different.&lt;br /&gt;
&lt;br /&gt;
=== Charge port lock ===&lt;br /&gt;
In the BMW i3 a quite expensive Phoenix/Delphi CCS charge port is used and it would be nice to be able to use the cheaper Duosida CCS charge ports.&lt;br /&gt;
&lt;br /&gt;
The charge port lock should work with the Duosida lock as well but the feedback (1k unlocked, 11k locked) is a bit different which requires some additional resistors.&lt;br /&gt;
[[File:CCS setup LIM 2-02.png|none|alt=BMW i3 CCS inlet lock actuator|BMW i3 CCS inlet lock actuator]]&lt;br /&gt;
[[File:I3 ccs port wiring.jpg|none|alt=BMW i3 CCS inlet lock motor actuator wiring w/pinouts|BMW i3 CCS inlet lock motor actuator wiring w/pinouts]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If using an OEM BMW i3 CCS charge port, the Kuster cable lock uses these connector parts:&lt;br /&gt;
&lt;br /&gt;
* Connector shell: [https://www.fcpeuro.com/products/bmw-socket-housing-4polig-12527549033 BMW 12527549033] ([https://openinverter.org/forum/viewtopic.php?p=32096#p32096 ref. jon volk])&lt;br /&gt;
* Terminals: [https://www.fcpeuro.com/products/bmw-socket-terminal-mqs-61131393724 BMW 61131393724]&lt;br /&gt;
* Terminal seals: [https://www.fcpeuro.com/products/bmw-sealing-grommet-61138366245 BMW 61138366245]&lt;br /&gt;
&lt;br /&gt;
===RGB charge indication light===&lt;br /&gt;
The RGB charge indicator LED should have a common cathode and series resistors for 12V DC.&lt;br /&gt;
&lt;br /&gt;
Nice push buttons with an integrated RGB LED are available on [https://nl.aliexpress.com/item/4000437597282.html Aliexpress] for a few dollars. &lt;br /&gt;
&lt;br /&gt;
The switch signal is useful to stop charging and has to be connected to the ECU.  The ECU then terminates the charging process over the CAN bus.&lt;br /&gt;
[[File:RGB LED common cathode.png|none|thumb|243x243px|RGB LED]]&lt;br /&gt;
&lt;br /&gt;
=== Wake/sleep ===&lt;br /&gt;
The LIM will wake up under any of these circumstances:&lt;br /&gt;
&lt;br /&gt;
* When 12V is applied to the hardware wake up line (1B-8).&lt;br /&gt;
* On plug insertion.&lt;br /&gt;
* On opening of the charge port door.&lt;br /&gt;
* When the LIM sees CAN message 0x12F.&lt;br /&gt;
&lt;br /&gt;
The hardware wake up line works in both directions. I.e., the LIM can be woken by 12V on the hardware wake up line, but, similarly, when the LIM wakes up it will put 12V on the wake up line itself. This can be used to do things like waking up an OBC on plug insertion.&lt;br /&gt;
&lt;br /&gt;
== Programming a new LIM ==&lt;br /&gt;
If you order a new LIM there is no configuration loaded but our hero Damien managed to program a brand new LIM with a i3 BDC (Body Domain Controller).&lt;br /&gt;
&lt;br /&gt;
https://openinverter.org/forum/viewtopic.php?p=43848#p43848&lt;br /&gt;
&lt;br /&gt;
He caught a CAN log of the programming session: https://github.com/damienmaguire/BMW-i3-CCS/tree/main/Programming/Logs&lt;br /&gt;
&lt;br /&gt;
Hopefully we figure out how to do it with a few CAN messages. In the meantime, Damien is offering LIM programming as a service: https://www.evbmw.com/index.php/evbmw-webshop/evbmw-serv/limprg.&lt;br /&gt;
&lt;br /&gt;
====Basic shopping list if you want to program a LIM:====&lt;br /&gt;
&lt;br /&gt;
*Software: &lt;br /&gt;
**Esys 3.36 from here: https://disk.yandex.ru/d/3XLfVVYHFq8qQw&lt;br /&gt;
**pszdata lite from here: https://disk.yandex.ru/d/Y0w0r5T1ElMVdA&lt;br /&gt;
*Hardware: &lt;br /&gt;
**BMW LIM ([[#LIM hardware|see &amp;quot;LIM hardware&amp;quot; section below]]), connectors and pins ([[#Connectors and Pinouts|see &amp;quot;Connectors and Pinouts&amp;quot; section above]]).&lt;br /&gt;
**BMW i3 BDC (Body Domain Controller): basically the main ecu in the i3 that gates all the data around the car. &lt;br /&gt;
***Damien sourced his from: https://www.evbreakers.com/ noting &#039;&#039;They even threw in the plugs and few cm of harness for free.&#039;&#039;&lt;br /&gt;
***According to realoem.com, the first BDC (used in 2014) was p/n 61359354010&lt;br /&gt;
****A fuller list of the various BDCs over the subsequent years can be found here here:https://www.realoem.com/bmw/enUS/partxref?q=61359354010. Thankfully, there is a very wide retro/cross-compatibility&lt;br /&gt;
****Also found some part numbers in ebay listings not seen in the realoem list (maybe a North America vs EU thing?):&lt;br /&gt;
*****61-35-8-715-974, 61-35-5-A40-2F9&lt;br /&gt;
**Car key from the same car as the BDC. EDIT: this may not be necessary as the BDC can be put into &amp;quot;on&amp;quot; mode by running the full fault delete function using ISTA &amp;lt;ref&amp;gt; https://openinverter.org/forum/viewtopic.php?p=44069#p44069&amp;lt;/ref&amp;gt;&lt;br /&gt;
***Wondering if a non-matching used or new fob could be used/reprogrammed if the BDC donor&#039;s VIN was known?&lt;br /&gt;
**BDC simulator: https://www.aliexpress.com/item/1005002317110375.html&lt;br /&gt;
**Enet cable: https://bcables.com/&lt;br /&gt;
** USB to Ethernet adapter if your PC / laptop does not have a spare Ethernet port.&lt;br /&gt;
**Two extra pins for Conn8 on the BDC to bring out PT CAN.&lt;br /&gt;
*DC power supply or 12v battery.&lt;br /&gt;
&lt;br /&gt;
== Charge control==&lt;br /&gt;
The EVSE (charging station) shares its charging capacity limits via PWM during IEC 61851/ J1772 AC charging, or via PLC during DIN 70121 or ISO 15118 CCS sessions, but often the car cannot handle the max available power of the charging station.&lt;br /&gt;
&lt;br /&gt;
The actual battery voltage and battery current values are needed by the LIM to check the response of the charging station.  In this setup, the battery voltage and current are measured by an Isabellenhütte IVT CAN bus sensor, but these values could also be measured and shared on the CAN bus by the BMS. (CAN message 0x112)&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Contactor Test&#039;&#039;&#039; ===&lt;br /&gt;
This is required before the LIM will proceed past the Precharge state during ccs charging. &lt;br /&gt;
&lt;br /&gt;
To get it to do a contactor test following procedure has been determined&lt;br /&gt;
&lt;br /&gt;
For LIMs 61 35 6 828 052 &#039;&#039;and later&#039;&#039; (to be confirmed)&lt;br /&gt;
&lt;br /&gt;
#HV battery voltage to be present at vehicle side of contactors&lt;br /&gt;
#Charge Port door state is closed, feedback in 0x272 byte 2&lt;br /&gt;
#Charge Port Voltage Sense feedback with contactors open needs to be above 60V&lt;br /&gt;
##Fault set in 0x272 byte 2&lt;br /&gt;
#Ignition in 0x12F byte 2 needs to toggle from to OFF 0x88 to ON 0x8a&lt;br /&gt;
#LIM will cycle contactors during weld test and clear fault in 0x272 byte 2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For LIMs &#039;&#039;before&#039;&#039; 61 35 6 828 052 (to be confirmed)&lt;br /&gt;
#HV battery voltage to be present at vehicle side of contactors&lt;br /&gt;
#Charge Port door state is closed, feedback in 0x272 byte 2&lt;br /&gt;
#12V permanent to be connected to the LIM&lt;br /&gt;
#Ignition in 0x12F byte 2 needs be ON 0x8a&lt;br /&gt;
#LIM will cycle contactors during weld test and clear fault in 0x272 byte 2&lt;br /&gt;
&lt;br /&gt;
===Battery-dependent charging current control ===&lt;br /&gt;
During (fast) charging a cell voltage and cell temperature dependent current limit is very important.&lt;br /&gt;
&lt;br /&gt;
The BMS or VCU should limit this value according to the battery specifications and protect the cells from damage and ageing at all times.&lt;br /&gt;
&lt;br /&gt;
(Not yet implemented to the STM32 / ZombieVerter VCU project)&lt;br /&gt;
&lt;br /&gt;
===CCS inlet temperature sensors===&lt;br /&gt;
Many CCS charge ports have DC and AC contact temperature sensors to avoid overheating if the contact resistance is high for some reason. The BMW&#039;s LIM has no temperature sensor inputs, but the VCU/charge controller could be connected to these sensors (usually PT1000 or NTC) and charging current could be reduced if the inlet gets too hot. (Not yet implemented to the STM32 / ZombieVerter VCU project) &lt;br /&gt;
&lt;br /&gt;
However, this temperature measurement is also done on the charger side, on the CCS cable itself. Chargers will protect themselves from overheating the CCS pins.The absolute max pin temperature allowed can range from 70-90*C depending on quickcharger brand. &lt;br /&gt;
&lt;br /&gt;
===AC charging (on board charger control)===&lt;br /&gt;
The LIM also handles the (lower level J1772 / IEC61851) communication during AC charging and shares measured PP (charging cable) and CP (charging station) AC current limits in the CAN message 0x3B4 EVSE info.&lt;br /&gt;
&lt;br /&gt;
It is not possible to have two car-side charge controllers connected to the pilot line simultaneously.  It is recommended to control the charger by CAN bus. If your charger needs the pilot signal, you will have to emulate it or switch the pilot connection wiring over to the active charger during AC charging.&lt;br /&gt;
&lt;br /&gt;
If the onboard charger accepts an AC current limit, this value can be directly used but some chargers can only be controlled with DC current commands.  &lt;br /&gt;
&lt;br /&gt;
Because we don&#039;t know the actual AC current, we can only estimate it with a fixed AC voltage and charger efficiency.&lt;br /&gt;
 DC_current = fixed_AC_voltage * CP_PP_current_limit * phase_count * charger_efficiency / DC_voltage&lt;br /&gt;
&lt;br /&gt;
==CAN communication==&lt;br /&gt;
A DBC CAN database file can be found here: [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
This list has to be cleaned up once we know which messages are actually necessary for the LIM.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Power Train CAN messages [500kbps]&lt;br /&gt;
!ID&lt;br /&gt;
!Function&lt;br /&gt;
!sent by&lt;br /&gt;
!interval&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|0x112&lt;br /&gt;
|BMS msg.&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|10ms&lt;br /&gt;
|could also be sent by BMS&lt;br /&gt;
|-&lt;br /&gt;
|0x12F&lt;br /&gt;
|Wake up&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x3E9&lt;br /&gt;
|Main LIM control&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
| 0x2F1&lt;br /&gt;
|Lim DC charge command 2.&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2FA&lt;br /&gt;
|Lim DC charge command 3.&lt;br /&gt;
| VCU&lt;br /&gt;
|80ms...1s&lt;br /&gt;
|needed (low interval during CCS start up)&lt;br /&gt;
|-&lt;br /&gt;
|0x2FC&lt;br /&gt;
|Charge flap control&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
| needed (constant values work)&lt;br /&gt;
|-&lt;br /&gt;
|0x431&lt;br /&gt;
|Battery info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed but does not control anything&lt;br /&gt;
|-&lt;br /&gt;
|0x432&lt;br /&gt;
|BMS SoC&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|200ms&lt;br /&gt;
|display SoC needed&lt;br /&gt;
|-&lt;br /&gt;
|0x03C&lt;br /&gt;
|Vehicle status&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x1A1&lt;br /&gt;
|Vehicle speed&lt;br /&gt;
|VCU&lt;br /&gt;
|20ms&lt;br /&gt;
|(constant values) 10ms works needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x2A0&lt;br /&gt;
|Central locking&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x397&lt;br /&gt;
|OBD&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x3F9&lt;br /&gt;
|Engine info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x3A0&lt;br /&gt;
|Vehicle condition&lt;br /&gt;
| VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x330&lt;br /&gt;
|Range info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x51A&lt;br /&gt;
|Network management&lt;br /&gt;
|VCU&lt;br /&gt;
| 200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x540&lt;br /&gt;
|Network management 2&lt;br /&gt;
|VCU&lt;br /&gt;
| 200ms&lt;br /&gt;
| (constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x512&lt;br /&gt;
|Network management edme&lt;br /&gt;
|VCU&lt;br /&gt;
| 200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x560&lt;br /&gt;
|Network management kombi&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x510&lt;br /&gt;
|Network management zgw&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x328&lt;br /&gt;
|Counter&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x3E8&lt;br /&gt;
| OBD reset&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
| (constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;5&amp;quot; |&#039;&#039;&#039;Messages sent by LIM&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|0x29E&lt;br /&gt;
|CCS charger specs&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 0x2EF&lt;br /&gt;
|Min. available voltage from the CCS charger.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2B2&lt;br /&gt;
|Current and Voltage as measured by the CCS charger&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 0x3B4&lt;br /&gt;
|EVSE info: CP, PP &amp;amp; inlet voltage&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x272&lt;br /&gt;
|CCS contactor state and charge flap open/close status.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 0x337&lt;br /&gt;
|Inlet lock status&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== LIM logs==&lt;br /&gt;
Here you can find some CAN logs of AC and DC charging sessions. https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs&lt;br /&gt;
&lt;br /&gt;
QCA7005 SPI captures on Damien&#039;s GitHub https://github.com/damienmaguire/BMW-i3-CCS/tree/main/SPI_Caps&lt;br /&gt;
&lt;br /&gt;
==Observations==&lt;br /&gt;
A VIN value is not required for AC or DC fast charging to function.&lt;br /&gt;
&lt;br /&gt;
Functional LIMs have come from vehicles where the Air Bags have deployed, indicating that the module still works after a &amp;quot;Safety&amp;quot; event has occurred.&lt;br /&gt;
&lt;br /&gt;
==LIM hardware==&lt;br /&gt;
&lt;br /&gt;
===LIM versions===&lt;br /&gt;
Only &amp;quot;LIM_AC_DC&#039;&#039;&#039;O&#039;&#039;&#039;&amp;quot; versions work for CCS.   Look for both &amp;quot;LIM_AC_DCO&amp;quot; &amp;lt;u&amp;gt;and&amp;lt;/u&amp;gt; a MAC address on the label!  If no MAC, the LIM is either AC-only (&amp;quot;LIM_AC&amp;quot;) or AC + CHAdeMO (&amp;quot;LIM_AC_DCC&amp;quot;), and not useful for CCS. &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+LIM versions&lt;br /&gt;
!Part No.&lt;br /&gt;
!IEC 61851&lt;br /&gt;
J1772 (AC)&lt;br /&gt;
!DIN 70121&lt;br /&gt;
!ISO 15118&lt;br /&gt;
!ISO 15118-20&lt;br /&gt;
!Cars&lt;br /&gt;
! Used until&lt;br /&gt;
! Tested&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 827&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 820&lt;br /&gt;
| x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 353 646&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| BMW i3&lt;br /&gt;
|Jul 2014&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 380 352&lt;br /&gt;
|x&lt;br /&gt;
| x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Nov 2015&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 6 805 847&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2016&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 6 828 052&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Aug 2019&amp;lt;ref&amp;gt;https://bimmercat.com/bmw/en/parts/info/Control+unit%2C+charging+interf.module+LIM/61356828052&amp;lt;/ref&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 494 498&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
| 2018?&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 470 199&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 454 319&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|BMW i3&lt;br /&gt;
Mini cooper SE&lt;br /&gt;
|now&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
=== Power Limits===&lt;br /&gt;
The limits for pre-2017/26 (Week 26 of 2017) are 0V-500V 0A-250A, post 2017/27 (Week 27 of 2017) 0V-1000V  -500A-+500A. &lt;br /&gt;
&lt;br /&gt;
This probably indicates when they moved from DIN 70121 only to ISO 15118. &lt;br /&gt;
&lt;br /&gt;
=== Chips on the LIM board===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+components&lt;br /&gt;
!Chip&lt;br /&gt;
!Description&lt;br /&gt;
!Function&lt;br /&gt;
!Datasheet&lt;br /&gt;
|-&lt;br /&gt;
|Renesas V850E2/FG4&lt;br /&gt;
|32-bit Single-Chip Microcontroller&lt;br /&gt;
|main MCU&lt;br /&gt;
|https://www.renesas.com/us/en/document/dst/data-sheet-v850e2fg4&lt;br /&gt;
|-&lt;br /&gt;
|Qualcomm QCA7000&lt;br /&gt;
|HomePlug® Green PHY, single chip solution&lt;br /&gt;
|PLC Green PHY&lt;br /&gt;
|https://openinverter.org/forum/download/file.php?id=9611&lt;br /&gt;
|-&lt;br /&gt;
|Infineon TLE 7263E&lt;br /&gt;
|Integrated HS-CAN, LIN, LDO and HS Switch, System Basis Chip&lt;br /&gt;
|CAN, 2xLDO, wake-up&lt;br /&gt;
|https://docs.rs-online.com/db13/0900766b814d680b.pdf&lt;br /&gt;
|-&lt;br /&gt;
|TI SN74LVC2T45-Q1&lt;br /&gt;
|Dual-Bit Dual Supply Transceiver with Configurable Voltage Translation&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/sn74lvc2t45-q1&lt;br /&gt;
|-&lt;br /&gt;
|NXP 74LVC1T45&lt;br /&gt;
|Dual supply translating transceiver&lt;br /&gt;
|&lt;br /&gt;
|https://datasheetspdf.com/pdf-file/648034/NXP/74LVC1T45/1&lt;br /&gt;
|-&lt;br /&gt;
|STM L9951XP&lt;br /&gt;
|Actuator driver&lt;br /&gt;
|inlet lock motor&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/l9951.pdf&lt;br /&gt;
|-&lt;br /&gt;
|STM TS321&lt;br /&gt;
|Low-Power Single Operational Amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/ts321&lt;br /&gt;
|-&lt;br /&gt;
| TI LM2902&lt;br /&gt;
|Quadruple general-purpose operational amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/lm2902&lt;br /&gt;
|-&lt;br /&gt;
|STM VNQ5E250AJ-E&lt;br /&gt;
|Quad channel high-side driver with analog current sense&lt;br /&gt;
| LEDs?, contactors?&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/vnq5e250aj-e.pdf&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Charging protocols ==&lt;br /&gt;
&lt;br /&gt;
===Signaling circuit ===&lt;br /&gt;
[[File:CCS1 vs CCS2 signaling circuit 2.png|none|thumb|1500x1500px|CCS1 vs CCS2 combo signaling circuit]]&lt;br /&gt;
&lt;br /&gt;
===AC charging ===&lt;br /&gt;
Usually the J1772 (US) or IEC61851 (EU) protocol is used for AC charging.&lt;br /&gt;
&lt;br /&gt;
Some new charging stations support AC charging with ISO 15118 high level protocol as well, but it is not confirmed which versions of the LIM support it.&lt;br /&gt;
&lt;br /&gt;
By default, the the EVSE (charging station) outputs +12V on the CP pin, and when connected to an EV will be reduced to 9V because of a load resistor present in the Electric Vehicle; this signals the EVSE that the connector has been plugged into a EV.  After this, the EVSE will send a 1khz +12V to ‐12V square wave (PWM signal) and the duty cycle value corresponding to the maximum current it could deliver.  If the EV is okay with that value of current, then it performs a handshake by changing the load resistance and dropping the PWM voltage to 6V, after which the charging begins.&lt;br /&gt;
&lt;br /&gt;
In IEC61851, where untethered charging stations are allowed, the PP pin is used to detect the maximum power rating of the cable.&lt;br /&gt;
&lt;br /&gt;
In the US, with J1772, where charging stations need to be tethered, the PP pin is used to detect if the manual unlocking mechanism is pressed, to stop the current flow before the plug is removed.&lt;br /&gt;
&lt;br /&gt;
[[wikipedia:SAE_J1772|More information: https://en.wikipedia.org/wiki/SAE_J1772]]&lt;br /&gt;
[[File:IEC61851 charging sequence.png|none|thumb|1000x1000px|standard IEC61851 / J1772 charging sequence.|alt=]]&lt;br /&gt;
&lt;br /&gt;
===CCS DC charging===&lt;br /&gt;
DIN 70121 and ISO 15118 are quite complex high level protocols transmitted over PLC (power line communication) on the CP pin.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This [https://openinverter.org/forum/download/file.php?id=1712&amp;amp;sid=59cf27578e4021c1e6dc01c73f46d8ee Design Guide for Combined Charging Systems] by CharIn describes the basics of CCS charging very well.&lt;br /&gt;
&lt;br /&gt;
https://openinverter.org/forum/download/file.php?id=1712&amp;amp;sid=59cf27578e4021c1e6dc01c73f46d8ee&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This document actually covers Fast and &#039;&#039;Smart Charging Solutions for Full Size Urban Heavy Duty Applications&#039;&#039;, but since the protocols used are similar it has comparable sequence diagrams, with descriptions for &#039;&#039;&#039;normal start up&#039;&#039;&#039;, &#039;&#039;&#039;normal shutdown&#039;&#039;&#039;, &#039;&#039;&#039;DC supply-initiated emergency&#039;&#039;&#039; &#039;&#039;&#039;stop&#039;&#039;&#039; and &#039;&#039;&#039;EV-initiated emergency stop&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
https://assured-project.eu/storage/files/assured-10-interoperability-reference.pdf&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
[[Category:OEM]] &lt;br /&gt;
[[Category:BMW]] &lt;br /&gt;
[[Category:Charger]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Chrskly</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Toyota/Lexus_GS300h_CVT&amp;diff=2655</id>
		<title>Toyota/Lexus GS300h CVT</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Toyota/Lexus_GS300h_CVT&amp;diff=2655"/>
		<updated>2022-07-23T18:57:16Z</updated>

		<summary type="html">&lt;p&gt;Chrskly: Added UVW labels to images&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;NOTE : This motor is as of yet untested in a real world application.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Forum board : https://openinverter.org/forum/viewtopic.php?f=14&amp;amp;t=949#p15109&lt;br /&gt;
&lt;br /&gt;
General overview : https://slideplayer.com/slide/14432904/&lt;br /&gt;
&lt;br /&gt;
[[File:Gs300h-cvt.jpg|thumb]]&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
The L210 is a continuously variable transmission (CVT) which can be found in the Lexus gs300h. It is very similar in design to the gs450h CVT. It contains two motor-generators - MG1 and MG2. When used as originally intended, MG1 is spun by the ICE, via a planetary gear system, and acts primarily as a generator. MG1 also acts as a starter motor for the ICE. MG2 is connected to the output shaft via a second planetary gear system to provide traction directly to the rear wheels.&lt;br /&gt;
&lt;br /&gt;
The ratio between MG1 and the output shaft is 2.6:1. The ratio between MG2 and the output shaft is 3.333:1.&lt;br /&gt;
&lt;br /&gt;
The official power output of the CVT is [https://lexus.pressroom.com.au/press_kit_detail.asp?kitID=336&amp;amp;clientID=3&amp;amp;navSectionID=6 105kW and 300Nm of torque], but this has yet to be tested.&lt;br /&gt;
&lt;br /&gt;
For use in a pure EV application, the ICE input shaft can be locked stationary with a plate or bar. This allows traction to be provided by both MG1 and MG2.&lt;br /&gt;
&lt;br /&gt;
=== Part Numbers ===&lt;br /&gt;
Part numbers include 30920-30030. The CVT can be found in the Lexus ES300h, Lexus IS300h, and Toyota Crown Hybrid(G9200-30131). The matching inverter is part number G9200-30132, which is a Gen 3 inverter.&lt;br /&gt;
&lt;br /&gt;
=== Dimensions ===&lt;br /&gt;
Bellhousing diameter =400 mm ,&lt;br /&gt;
&lt;br /&gt;
Length bellhousing face to drive flange face 720mm&lt;br /&gt;
&lt;br /&gt;
Diameter main body 330mm front to 250 rear&lt;br /&gt;
&lt;br /&gt;
Tailshaft  length 210mm&lt;br /&gt;
&lt;br /&gt;
Weight 90kg&lt;br /&gt;
&lt;br /&gt;
== Oil pump ==&lt;br /&gt;
The L110 CVT, found in the gs450h, has two oil pumps. An internal mechanical pump and an external 12V electric pump. The internal mechanical oil pump is driven by the ICE. Locking the ICE input shaft to allow MG1 to provide traction means that the internal oil pump no longer functions. This makes the external 12V electric oil pump essential when using the CVT in a pure EV application.&lt;br /&gt;
&lt;br /&gt;
One key difference between the L210 (gs300h) and the L110 (gs450h) is that the L210 only has an internal oil pump. However, the internal oil pump is driven by both the ICE and/or the rotation of MG2. So, even when you lock the ICE input shaft to allow MG1 to provide traction, MG2 will still drive the oil pump whenever the car moves. Since there are no gears/speeds in this CVT (and hence no clutch packs, etc.), the oil is only required for cooling and lubricating the bearings. &lt;br /&gt;
&lt;br /&gt;
== Connections ==&lt;br /&gt;
[[File:9200-30131-inverter side.png|thumb]]&lt;br /&gt;
=== Left hand side ===&lt;br /&gt;
[[File:Gs300h-cvt-lhs-annotated-2.jpg|alt=|thumb|Left hand side connections]]&lt;br /&gt;
# MG1 3-phase power connection&lt;br /&gt;
# MG1 resolver (and temperature) port&lt;br /&gt;
# MG2 resolver (and temperature) port&lt;br /&gt;
=== Right hand side ===&lt;br /&gt;
[[File:Gs300h-cvt-rhs-annotated-2.jpg|alt=|thumb|Right hand side connections]]&lt;br /&gt;
# Input/output from/to oil cooler radiator&lt;br /&gt;
# Mechanical shifter and shift sensor port&lt;br /&gt;
# Ground strap&lt;br /&gt;
# MG2 3-phase power connection&lt;br /&gt;
&lt;br /&gt;
=== Resolvers ===&lt;br /&gt;
Sumitomo 6189-1240 8-WAY&lt;br /&gt;
&lt;br /&gt;
1         2         3         4&lt;br /&gt;
&lt;br /&gt;
White  Red  Yellow  White&lt;br /&gt;
&lt;br /&gt;
White Black Blue    Green&lt;br /&gt;
&lt;br /&gt;
5        6         7         8&lt;br /&gt;
&lt;br /&gt;
1+5 Temp sensor , 2+6 ,3+7 Sin/Cos ,  4+8 exciter . Both the same.&lt;br /&gt;
&lt;br /&gt;
But check for yourself as per Damien&#039;s tuning video    &lt;br /&gt;
&lt;br /&gt;
=== Shift sensor ===&lt;br /&gt;
To do&lt;br /&gt;
&lt;br /&gt;
=== Output flange ===&lt;br /&gt;
To do&lt;br /&gt;
&lt;br /&gt;
=== ICE input shaft coupling ===&lt;br /&gt;
23mm shaft diameter , 21 spline &lt;br /&gt;
&lt;br /&gt;
OEM numbers : Daihatsu 31250-14090; Lexus 31250-14010; Toyota 31250-12040; &lt;br /&gt;
&lt;br /&gt;
Confirmed that Blueprint ADT33102 clutch plate or equivalent is a good fit.&lt;br /&gt;
&lt;br /&gt;
[[Category:OEM]] [[Category:Toyota]] [[Category:Motor]]&lt;/div&gt;</summary>
		<author><name>Chrskly</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:Gs300h-cvt-rhs-annotated-2.jpg&amp;diff=2654</id>
		<title>File:Gs300h-cvt-rhs-annotated-2.jpg</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:Gs300h-cvt-rhs-annotated-2.jpg&amp;diff=2654"/>
		<updated>2022-07-23T18:56:44Z</updated>

		<summary type="html">&lt;p&gt;Chrskly: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Added UVW labels&lt;/div&gt;</summary>
		<author><name>Chrskly</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:Gs300h-cvt-lhs-annotated-2.jpg&amp;diff=2653</id>
		<title>File:Gs300h-cvt-lhs-annotated-2.jpg</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:Gs300h-cvt-lhs-annotated-2.jpg&amp;diff=2653"/>
		<updated>2022-07-23T18:56:11Z</updated>

		<summary type="html">&lt;p&gt;Chrskly: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Added UVW labels&lt;/div&gt;</summary>
		<author><name>Chrskly</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen3_Board&amp;diff=2647</id>
		<title>Toyota Prius Gen3 Board</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen3_Board&amp;diff=2647"/>
		<updated>2022-07-18T17:56:40Z</updated>

		<summary type="html">&lt;p&gt;Chrskly: Added UVW labels.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
[[File:Prius Gen3 Inverter Control v2.jpg|thumb|Prius Gen3 Control Board v2]]&lt;br /&gt;
&lt;br /&gt;
The Toyota Prius Gen3 Board is an open source project to repurpose 2010-2015 Toyota Prius inverters for DIY EV use. &lt;br /&gt;
&lt;br /&gt;
It consists of a open inverter circuit board and programming which replaces the OEM logic board in the prius inverter.&lt;br /&gt;
&lt;br /&gt;
This allows independent control of mg1 power stage, mg2 power stage, buck/boost converter and the dc/dc converter. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;Note that there is also a [[Toyota Prius Gen2 Inverter]] for the 2004-2009 model years.&lt;br /&gt;
&lt;br /&gt;
== Prius Inverter ==&lt;br /&gt;
The Toyota Prius is a hybrid vehicle. Their inverters are suitable and attractive for DIY EVs because of:&lt;br /&gt;
* Large part availability. Priuses have been made in large numbers for 20 years.&lt;br /&gt;
* High affordability. Prius inverters are available for around $150 from scrapyards&lt;br /&gt;
* Durability. Toyota engineers appear to have made the inverters foolproof, many inputs and outputs gracefully handle fault conditions.&lt;br /&gt;
* Respectable performance. Rated for 50kW output, but tested to handle 600v, and 500+A on MG2. (MG1 unknown, Gen2 had 70% of MG2 on MG1).&lt;br /&gt;
* Ease of repurposing. Emulating the original ECU seems reasonably feasible.&lt;br /&gt;
&lt;br /&gt;
The Gen3 Prius (2010-2015 model years) has a variety of useful components inside the inverter package:&lt;br /&gt;
* 2 high power inverters, for the 2 motors MG1 (starter) capable of handling 250 amps, and MG2 (drive motor) capable of handling 350 amps.&lt;br /&gt;
* A DC-DC converter to provide 12v power supply to the automotive systems and accessories.&lt;br /&gt;
* A boost module to boost the 200v battery pack up to 500v, which looks to be able to function as a battery charger (wish list for future development)&lt;br /&gt;
* See this video for a thorough disassembly and explanation of the Gen3 Inverter (Timestamp ???? ): https://www.youtube.com/watch?v=Y7Vm-C4MsW8&lt;br /&gt;
&lt;br /&gt;
== Control Board ==&lt;br /&gt;
&lt;br /&gt;
The current version as of Jan 20, 2020 is v2.&lt;br /&gt;
&lt;br /&gt;
As designed by Damien Maguire, the open source hardware for the control board can be purchased from his website: &lt;br /&gt;
&lt;br /&gt;
[https://www.evbmw.com/index.php/evbmw-webshop/toyota-built-and-tested-boards Toyota Boards]&lt;br /&gt;
&lt;br /&gt;
The control board is a physical replacement for the OEM Prius Gen3 inverter logic board inside the inverter. Remove the old one and replace it with the new one.&lt;br /&gt;
&lt;br /&gt;
== Development History ==&lt;br /&gt;
&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. &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. The circuit now has hardware to support repurposing the MG1 inverter as a battery charger, though as of Jan 20, 2020, software is still in development.&lt;br /&gt;
&lt;br /&gt;
v1c - this board uses mg2 power stage for motor control, and mg1 +buck/boost converter as a battery charger, or parallel connection of MG1 and MG2 to give more amps to a single motor.&lt;br /&gt;
&lt;br /&gt;
v1d - this board allows to use mg1 and mg2 power stages for dual motor control &lt;br /&gt;
&lt;br /&gt;
== Vendors ==&lt;br /&gt;
&lt;br /&gt;
 [https://www.evbmw.com/index.php/evbmw-webshop EVBMW Webshop]&lt;br /&gt;
&lt;br /&gt;
== Support ==&lt;br /&gt;
&lt;br /&gt;
Community support is available on the [https://openinverter.org/forum/viewtopic.php?f=14&amp;amp;t=488 Prius Gen 3 Inverter Logic Board Support Thread]&lt;br /&gt;
&lt;br /&gt;
You are not entitled to support, purchase from a vendor who offers support if you want it guaranteed. Treat the community with respect.&lt;br /&gt;
&lt;br /&gt;
== Inverter Model Numbers ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|  class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Inverter No || Car model(s) || Logic Board No || Power Board No || Compatible 50 pin connector|| PCB size || Confirmed works with board ||  Link &lt;br /&gt;
|-&lt;br /&gt;
| G9200-47141 || Auris 2012, RHD || || || || || || &lt;br /&gt;
|-&lt;br /&gt;
|G9200-47140&lt;br /&gt;
|Prius 2010&lt;br /&gt;
|F1759-47041 01&lt;br /&gt;
|&lt;br /&gt;
|Yes&lt;br /&gt;
|&lt;br /&gt;
|Yes&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|G9200-47162&lt;br /&gt;
|Prius + &lt;br /&gt;
|F1759-47041 01&lt;br /&gt;
|F1789-47090&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|- &lt;br /&gt;
| G9200-47180  || || || || || || || [https://www.diyelectriccar.com/forums/showpost.php?p=1026169&amp;amp;postcount=8 Photo diyelectriccar.com]&lt;br /&gt;
|-&lt;br /&gt;
| G9200-47190 || Auris 2017 || F1759-47070 05 || F1789-52010&lt;br /&gt;
|| ? || || || [https://openinverter.org/forum/viewtopic.php?f=14&amp;amp;t=51&amp;amp;start=270#p5661 Forum Thread openinverter.com]&lt;br /&gt;
|-&lt;br /&gt;
|G9200-47210&lt;br /&gt;
|Prius 2012&lt;br /&gt;
|F1759-47070 05&lt;br /&gt;
|&lt;br /&gt;
|YES&lt;br /&gt;
|154x143mm&lt;br /&gt;
|Yes&lt;br /&gt;
|https://openinverter.org/forum/viewtopic.php?p=16539#p16539&lt;br /&gt;
|-&lt;br /&gt;
|G9200-47220&lt;br /&gt;
|Prius 2014&lt;br /&gt;
|F1759-47070 05&lt;br /&gt;
|&lt;br /&gt;
|YES&lt;br /&gt;
|154x143mm&lt;br /&gt;
|Yes&lt;br /&gt;
|https://openinverter.org/forum/viewtopic.php?p=21384#p21384&lt;br /&gt;
|-&lt;br /&gt;
|G9200-47230&lt;br /&gt;
|Prius 2015&lt;br /&gt;
|&lt;br /&gt;
|F1789-52010&lt;br /&gt;
|Yes&lt;br /&gt;
|154x143mm&lt;br /&gt;
|&lt;br /&gt;
|https://openinverter.org/forum/viewtopic.php?p=29248#p29248&lt;br /&gt;
|-&lt;br /&gt;
|G9200-52010||Yaris&lt;br /&gt;
Prius C&lt;br /&gt;
||F1759-52010 04||F1789-52010|| ||154x143mm||&lt;br /&gt;
|https://openinverter.org/forum/viewtopic.php?f=14&amp;amp;t=257&amp;amp;p=5828#p5828&lt;br /&gt;
|-&lt;br /&gt;
|G9200-52031&lt;br /&gt;
|Yaris 2016&lt;br /&gt;
|F1759-52010 04&lt;br /&gt;
|F1789-52010&lt;br /&gt;
|YES&lt;br /&gt;
|&lt;br /&gt;
|YES&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| G9200-52032 || Yaris 2015 || F1759-52010 04 || F1789-52010 || YES || Long 143mm || || [https://openinverter.org/forum/viewtopic.php?f=14&amp;amp;t=439#p5058 Forum Thread openinverter.com] [https://openinverter.org/forum/viewtopic.php?f=14&amp;amp;t=51&amp;amp;start=270#p5669 Forum Thread openinverter.com]&lt;br /&gt;
|-&lt;br /&gt;
| G9201-52011 || Yaris || || || YES|||||| [https://openinverter.org/forum/viewtopic.php?f=14&amp;amp;t=439#p5681 Forum Thread openinverter.com]&lt;br /&gt;
|-&lt;br /&gt;
| G9201-52012 || Prius C || F1759-52010 || F1789-52010 || YES (presumably) |||||| [https://openinverter.org/forum/viewtopic.php?p=6979#p6979 Forum Thread openinverter.com]&lt;br /&gt;
|-&lt;br /&gt;
|G9200-52030&lt;br /&gt;
|Prius C (a.k.a. Prius Aqua)&lt;br /&gt;
|F1759-52010 04&lt;br /&gt;
|F1789-52010&lt;br /&gt;
|&lt;br /&gt;
|154mm long&lt;br /&gt;
|&lt;br /&gt;
|[https://openinverter.org/forum/viewtopic.php?f=11&amp;amp;t=999&amp;amp;p=16434#p16434 Forum Thread openinverter.com]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Kit Assembly Instructions (V1C) ==&lt;br /&gt;
[[File:Prius3-ldo2.jpg|thumb|Extra voltage regulator on Prius Gen3 board]]&lt;br /&gt;
This guide is for the assembly of version V1C of the Gen 3 board available here: https://www.evbmw.com/index.php/evbmw-webshop/toyota-built-and-tested-boards/prius-gen-3-inverter-built-tested&lt;br /&gt;
&lt;br /&gt;
This is based on the assembly videos by Damien Maguire. &lt;br /&gt;
&lt;br /&gt;
Part 1: https://www.youtube.com/watch?v=QE-zym8iIgM&amp;amp;t=2643s &lt;br /&gt;
&lt;br /&gt;
Part 2: https://www.youtube.com/watch?v=Nu5_OBOPk4s&amp;amp;t=1787s&lt;br /&gt;
&lt;br /&gt;
=== LDO strengthening ===&lt;br /&gt;
The stock 3V3 LDO (3.3V linear voltage regulator) does not provide sufficient current for both the STM32(s) and wifi module(s). Therefor the wifi module needs a distinct regulator.&lt;br /&gt;
&lt;br /&gt;
TODO: does this also affect the latest revision boards?&lt;br /&gt;
&lt;br /&gt;
=== Early Board Correction, pre July 2020 ===&lt;br /&gt;
The first batch of JLCPCB boards shipped have an incorrect resistor value that needs to be changed over. Boards &#039;&#039;shipped after Jun 26, 2020&#039;&#039; will not need to do this.&lt;br /&gt;
&lt;br /&gt;
[[File:Power supply.png|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
Resistor labeled R101 (labeled &#039;1002&#039;) needs swapping for a 8k2 (0805 package) resistor. &lt;br /&gt;
[[File:20200629 155303.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
=== Motor Current Sensor correction. ===&lt;br /&gt;
Boards currently have an error with the current sensor circuit. R14 is supposed to be in parallel with C11 to form the voltage divider. One workaround would be to put a 1k resistor from one of the pads to ground. this can be done externally if you&#039;d rather not modify the board, put a 1k ohm resistor from MG2_STATOR_T2 to a ground pin. Then connector the temperature sensor from MG2_STATOR_T1 to MG2_STATOR_T2 as normal. &lt;br /&gt;
 &lt;br /&gt;
This is a current issue on the boards. A new revision is not yet available. &lt;br /&gt;
[[File:Screenshot 2021-08-13 at 8.50.56 am.png|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
=== Wifi Module Correction ===&lt;br /&gt;
The capacitor may need increasing to 10uF deal with noise. The table below shows which boards need updating and which capacitor(s) to update.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Board Version&lt;br /&gt;
!Cap(s) needs updating?&lt;br /&gt;
!Cap(s) to update&lt;br /&gt;
|-&lt;br /&gt;
|Single motor, large board (v1b)&lt;br /&gt;
|Maybe&lt;br /&gt;
|C48&lt;br /&gt;
|-&lt;br /&gt;
|Single motor, small board (v1c)&lt;br /&gt;
|Maybe&lt;br /&gt;
|C49&lt;br /&gt;
|-&lt;br /&gt;
|Single motor, small board (v1c, block 3)&lt;br /&gt;
|Maybe&lt;br /&gt;
|C49&lt;br /&gt;
|-&lt;br /&gt;
|Dual motor, small board (v1d)&lt;br /&gt;
|No&lt;br /&gt;
|N/A&lt;br /&gt;
|-&lt;br /&gt;
|Dual motor, large board (v1d)&lt;br /&gt;
|Maybe&lt;br /&gt;
|C58 and C86&lt;br /&gt;
|-&lt;br /&gt;
|Dual motor, large board (v1d, block 3)&lt;br /&gt;
|Maybe&lt;br /&gt;
|C58 and C86&lt;br /&gt;
|-&lt;br /&gt;
|Dual motor, large board (v1d, block 4)&lt;br /&gt;
|No&lt;br /&gt;
|N/A&lt;br /&gt;
|}&lt;br /&gt;
[[File:Screenshot 2021-08-23 at 1.07.32 pm.png|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
=== DC-DC Startup Delay (V1c &amp;amp; V1d) ===&lt;br /&gt;
These revision boards will start up the DC-DC converter during pre-charge, if you&#039;ve soldered the jumper. This will mean the current for the DC-DC will be drawn during pre-charge, potentially preventing the main contactor closing.&lt;br /&gt;
&lt;br /&gt;
See https://openinverter.org/forum/viewtopic.php?f=14&amp;amp;t=1039 for more details.&lt;br /&gt;
&lt;br /&gt;
=== Soldering The Breakout Board ===&lt;br /&gt;
Solder the Ampseal socket to the the breakout board, the silk-screen indicates side and orientation fitment.&lt;br /&gt;
&lt;br /&gt;
[[File:20200605 174452.jpg|thumb|alt=|none]]&lt;br /&gt;
&lt;br /&gt;
Next flip it over and solder the 34 way IDC locking header on, notch upwards as show.  &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note: Some versions of the breakout board have and error in the silk-screen that indicate orientation incorrectly, with the notch towards the bottom.&#039;&#039;&lt;br /&gt;
[[File:20200606 130213.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
=== Soldering the Main Board ===&lt;br /&gt;
The main board is mostly pretty easy to solder, the one exception is the 50 way white connector. I found that putting flux on the pads and dragging solder across them, placing the connector in place and then placing the iron on the pins was the easiest. &lt;br /&gt;
[[File:20200619 175629.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
Next up I did conn 1, it can only go one way, and is a piece of cake after the 50 way connector.&lt;br /&gt;
[[File:20200605 174924.jpg|none|thumb]]&lt;br /&gt;
And Conn8, again easy.&lt;br /&gt;
[[File:20200605 175047.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
Next the DCDC convert connector, again only fits one way.&lt;br /&gt;
[[File:20200605 175849.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
MG1 and MG2 Current sensor Connectors, both these are the same, the tabs on both MG1 and MG2 are at the top.&lt;br /&gt;
[[File:20200605 181654.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
Next up the L2 inductor, it can go either way&lt;br /&gt;
[[File:20200605_182754.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
Next up I did the right angled pins for the wifi module, stick the pins in the module connector and then through the board, hold it in place and flip it over.&lt;br /&gt;
&lt;br /&gt;
[add photo]&lt;br /&gt;
&lt;br /&gt;
Cut 2 lengths of 3 pins from the header pin strips for the ISP header for programming the Atmega328P that will be used ton control the buck-boost converter.&lt;br /&gt;
[[File:20200605 183933.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
To enable the DCDC converter for I&#039;ve bridged over the 2 pin holes, but you can add a switch or something here, or leave it open if you&#039;re not using the DCDC to keep the 12v battery charged.&lt;br /&gt;
&lt;br /&gt;
See note above for &#039;&#039;&#039;V1C and V1D boards&#039;&#039;&#039;&lt;br /&gt;
[[File:20200605 184633.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
Pin header for Alegro current sensor, currently no software exists to control the buck boost, hopefully in the future this will be able to be used as a charger, this pin header is for the possible addition of a current sensor to facilitate.&lt;br /&gt;
[[File:20200605_185543.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
Three options exist on the board for flashing the firmware to the STM32.&lt;br /&gt;
&lt;br /&gt;
If you plan on programming your board with a [https://www.tag-connect.com/product/tc2050-idc-nl-050 TC2050 JTAG]  then obviously skip the next step.&lt;br /&gt;
&lt;br /&gt;
Solder a 3 pin headers for single wire program interface, or a 6 pin header for FTDI interface.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;The photo below shows both headers populated, however you don&#039;t necessarily need both.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:20200605 185557.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
Last up is the 34-way ICD interlock connector for the breakout board. Notch outward.&lt;br /&gt;
[[File:20200609 094633.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
=== Powering up ===&lt;br /&gt;
Now it&#039;s time to power up the board with 12v and test.&lt;br /&gt;
&lt;br /&gt;
Green wire is +12v (pin 1) and blue 0v (pin 11)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE:&#039;&#039;&#039; When Idle, board consumes about 1.7 - 1.8A of current. When PWM starts, current consumption goes up to ~2A.&lt;br /&gt;
[[File:20200608 125857.jpg|none|thumb]]&lt;br /&gt;
[[File:Screenshot 2020-06-07 at 1.32.12 pm.png|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
=== Checking voltages ===&lt;br /&gt;
&lt;br /&gt;
Check for ~3.3v here on C32&lt;br /&gt;
[[File:20200608 124947.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
Check for ~5v here on C21/C20/C22/C25&lt;br /&gt;
[[File:20200607 134336.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
Check for -5v here on the little via next to CONN7 or right next to CONN2 there&#039;s a via with -5V under it.&lt;br /&gt;
[[File:20200608 125110.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
Finally the 26v &lt;br /&gt;
[[File:20200608 125053.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
== Firmware ==&lt;br /&gt;
Full kits will be supplied programmed and partial kits will be un-programmed.&lt;br /&gt;
&lt;br /&gt;
=== Wifi Module Firmware ===&lt;br /&gt;
&amp;lt;u&amp;gt;The WiFi module supplied as part of a kit will have the default SSID of &#039;&#039;&#039;&#039;&#039;inverter&#039;&#039;&#039;&#039;&#039; and a password of &#039;&#039;&#039;&#039;&#039;inverter123&#039;&#039;&#039;&#039;&#039;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
My wifi module came with the firmware already installed, but if yours didn&#039;t follow the outline steps below. You will need a 3.3v USB to Serial adaptor.  &lt;br /&gt;
# Download the software from https://github.com/jsphuebner/esp8266-web-interface &lt;br /&gt;
#  Install the Arduino core from https://github.com/esp8266/Arduino (Arduino IDE, Platform.IO etc supported)&lt;br /&gt;
#  Write code to ESP8266&lt;br /&gt;
#  Write filesystem to ESP8266&lt;br /&gt;
&lt;br /&gt;
Step by Step using Arduino IDE&lt;br /&gt;
# Add https://arduino.esp8266.com/stable/package_esp8266com_index.json into Additional Board &lt;br /&gt;
# Go to Boards -&amp;gt; Board Manager and install ESP8266&lt;br /&gt;
# Extract the esp8266-web-interface software to your Arduino projects directory&lt;br /&gt;
# Create a new folder named data&lt;br /&gt;
# Move all files except FSBrowser.ino to the data folder.&lt;br /&gt;
# Choose Olimex MOD-WIFI-ESP8266 as the board&lt;br /&gt;
# Upload the code using the Arduino IDE&lt;br /&gt;
# Use &#039;ESP8266 Sketch Data Upload&#039; from the Tools menu, this will upload the files in the data directory to the ESP8266&lt;br /&gt;
&lt;br /&gt;
=== Programming Firmware ===&lt;br /&gt;
There are three different interfaces that are possible to program the firmware.&lt;br /&gt;
&lt;br /&gt;
Below are instructions for using the single wire programming interface with the [https://www.st.com/en/development-tools/st-link-v2.html USB STLink V2].&lt;br /&gt;
&lt;br /&gt;
Connect the 3 wire pin headers to the programming device.&lt;br /&gt;
[[File:Swp.jpg|none|thumb]]&lt;br /&gt;
[[File:S-l1600.jpg|none|thumb]]&lt;br /&gt;
The pin labeled &#039;&#039;DAT&#039;&#039; on the board should connect to &#039;&#039;SWDIO&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The middle pin of the 3 pins on the board should go to &#039;&#039;GND&#039;&#039; on the STLink V2&lt;br /&gt;
&lt;br /&gt;
The pin labeled &#039;&#039;CLK&#039;&#039; on the board should connect to &#039;&#039;SWCLK&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You will also need to hook up power to the board. You can connect the 5V output of the STLink to the 5V pin of the FTDI header. This is the third pin from the left, where pin 1 is just below the letters BLK on the board.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Using a Mac or Linux&#039;&#039;&#039; install https://github.com/stlink-org/stlink&lt;br /&gt;
&lt;br /&gt;
The bootloader can be found here: https://github.com/jsphuebner/tumanako-inverter-fw-bootloader/releases&lt;br /&gt;
&lt;br /&gt;
Run command to write the bootloader&amp;lt;blockquote&amp;gt;st-flash write stm32_loader.bin 0x08000000&amp;lt;/blockquote&amp;gt;&#039;&#039;&#039;For Windows&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Grab the custom bootloader (the .bin file) from https://github.com/jsphuebner/tumanako-inverter-fw-bootloader/releases&lt;br /&gt;
&lt;br /&gt;
Install the ST Link software from here: https://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-programmers/stsw-link004.html&lt;br /&gt;
&lt;br /&gt;
Run the software then select Target&amp;gt;Connect and then Target&amp;gt;Settings to check that your USB device is connected and that the settings look as follows:&lt;br /&gt;
[[File:ST Link Software Settings.png|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
Select File&amp;gt;Open and choose the bootloader from its download location. Then select Target&amp;gt;Program &amp;amp; Verify and you should see this:&lt;br /&gt;
[[File:Programming bootloader with ST Link software.png|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Once the bootloader has been programmed the main firmware can be uploaded and upgraded via the [[web interface]].&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The main firmware can be found here: https://github.com/jsphuebner/stm32-sine/releases&lt;br /&gt;
&lt;br /&gt;
A wifi network should be visible with the name &#039;&#039;ESP-*&#039;&#039; connect to it&lt;br /&gt;
[[File:Screenshot 2020-06-20 at 8.33.04 am.png|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
Once connected open a browser and navigate to http://192.168.4.1 and find the update section, upload the firmware.&lt;br /&gt;
[[File:Screenshot 2020-06-20 at 8.28.53 am.png|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
Once this has completed you can verify by scrolling to the Spot Values section and you&#039;ll see the software version&lt;br /&gt;
[[File:Screenshot 2020-06-20 at 8.39.58 am.png|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
=== Atmega328p Firmware ===&lt;br /&gt;
&#039;&#039;&#039;Be super careful never to program the Atmega while high voltage is applied and caps are not discharged. When cycling through the boot loader, it seems to do something strange that will blow up the otherwise bullet proof buck/boost converter! Also be aware that Arduino also cycles through the boot loader when closing the serial terminal!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This will control the Buck Boost module that&#039;s hopefully going to be a functioning charger in the future, it also requires a simple bit of firmware to enable the DC-DC converter.&lt;br /&gt;
&lt;br /&gt;
[Add instructions for firmware]&lt;br /&gt;
&lt;br /&gt;
== Inverter Parameters ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Parameter&lt;br /&gt;
!Suggested Value&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|pwmfrq&lt;br /&gt;
|2&lt;br /&gt;
|PWM frequency. 0=17.6kHz, 1=8.8kHz, &#039;&#039;&#039;2=4.4kHz&#039;&#039;&#039;, 3=2.2kHz. Needs PWM restart&lt;br /&gt;
|-&lt;br /&gt;
|pwmpol&lt;br /&gt;
|0 - Active High&lt;br /&gt;
|DO NOT PLAY WITH THIS!&lt;br /&gt;
|-&lt;br /&gt;
|deadtime&lt;br /&gt;
|130&lt;br /&gt;
|Deadtime between highside and lowside pulse. 28=800ns, 56=1.5µs. Not always linear, consult STM32 manual. Needs PWM restart&lt;br /&gt;
|-&lt;br /&gt;
|il1gain&lt;br /&gt;
|4.56&lt;br /&gt;
|Digits per A of current sensor L1&lt;br /&gt;
|-&lt;br /&gt;
|il2gain&lt;br /&gt;
|4.5&lt;br /&gt;
|Digits per A of current sensor L2&lt;br /&gt;
|-&lt;br /&gt;
|udcgain&lt;br /&gt;
|5&lt;br /&gt;
|Digits per V of DC link&lt;br /&gt;
|-&lt;br /&gt;
|udcofs&lt;br /&gt;
|0&lt;br /&gt;
|DC link 0V offset&lt;br /&gt;
|-&lt;br /&gt;
|udclim&lt;br /&gt;
|540&lt;br /&gt;
|High voltage at which the PWM is shut down&lt;br /&gt;
|-&lt;br /&gt;
|snshs&lt;br /&gt;
|1&lt;br /&gt;
|Heatsink temperature sensor. 0=JCurve, &#039;&#039;&#039;1=Semikron&#039;&#039;&#039;, 2=MBB600, 3=KTY81, 4=PT1000, 5=NTCK45+2k2, 6=Leaf&lt;br /&gt;
|-&lt;br /&gt;
|pinswap&lt;br /&gt;
|8&lt;br /&gt;
|0=None, 1=Currents12, 2=SinCos, 4=PWMOutput13, &#039;&#039;&#039;8=PWMOutput23&#039;&#039;&#039;&lt;br /&gt;
|}&lt;br /&gt;
[[Parameters]] Details&lt;br /&gt;
&lt;br /&gt;
== First Run (PWM verify) ==&lt;br /&gt;
Once your board in installed in the inverter and all the internal connectors are connected you can power up the inverter with 12v as above. No need to have anything connected to the HV battery or MG1 or MG2. You&#039;ll hear an audible wine. We&#039;re first going to verify the PWM outputs on the board and then connecting up a motor.&lt;br /&gt;
&lt;br /&gt;
Connect pin 3, MG2_FORW_IN to 12v&lt;br /&gt;
&lt;br /&gt;
Navigate to the [[Web Interface]]&lt;br /&gt;
&lt;br /&gt;
Change the parameter  encmode to &#039;AB&#039; as at the moment we don&#039;t have any sensors connected.&lt;br /&gt;
&lt;br /&gt;
Start the inverter in manual mode with the button&lt;br /&gt;
[[File:Screenshot 2020-07-06 at 1.21.04 pm.png|thumb|alt=|none]]    &lt;br /&gt;
&lt;br /&gt;
Now set the 2 testing parameters, fslipsnpnt and ampnom to 1. &lt;br /&gt;
[[File:Screenshot 2020-07-06 at 1.21.13 pm.png|none|thumb]] &lt;br /&gt;
&lt;br /&gt;
Using a scope, look for a PWM signal on MG2 A/B/C Hi/Low on the 50 pin connector. R74 through R79 can be used as test points for the PWM signal - these are located next to the 50 pin connector as shown in the image below. &lt;br /&gt;
[[File:51872869539 19178b9a51 o.jpg|alt=Partial shot of the 50 pin connector showing the location of the resistors which can be used as test points to check for the PWM signal on MG2 A/B/C Hi / Low. |none|thumb]]&lt;br /&gt;
Stop the inverter &lt;br /&gt;
&lt;br /&gt;
== First Run (Open loop motor spin) ==&lt;br /&gt;
&lt;br /&gt;
Now connect up the 3 motor phases and a small voltage of around 30v to the HV, I manually pre-charged with a 50w 10ohm resistor for a couple of seconds, the supply needs to be able to supply 10 amps or so. I also had a 20 amp fuse inline.&lt;br /&gt;
&lt;br /&gt;
As above, start the inverter in manual mode, set ampnom to 100 and fslipsnpnt to 10, the motor should start to spin.&lt;br /&gt;
&lt;br /&gt;
You may have [[Errors]] to address if this doesn&#039;t happen.&lt;br /&gt;
&lt;br /&gt;
== DC-DC Converter ==&lt;br /&gt;
The inverter contains a DC DC converter, that is used to keep the 12v battery charged using the high voltage battery. This is the EV equivalent to the alternator on a combustion engined car.&lt;br /&gt;
&lt;br /&gt;
As per the assembly instructions above this needs to be enabled via the jumper on the control board.&lt;br /&gt;
&lt;br /&gt;
In the unmodified state, the DC DC converter will operate with a main battery voltage in the ~80v to ~235v range and will require a simple modification to allow it to operate at higher voltage range, ~140v to ~400v.&lt;br /&gt;
&lt;br /&gt;
There&#039;s a couple of options for the DC DC converter. If you aren&#039;t planning on using the inverter as a charger and don&#039;t want to change the resistors you can use the buck boost module to step down the battery voltage to within the DC DC range.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Unmodified DC DC Resistors, using Buck Boost to step down.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Connect your battery to the inverter as shown below, with pre charge and fuses etc.[[File:20200705 190723.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
You can use the following sketch on the atmega328p&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;cpp&amp;quot; line=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
/*&lt;br /&gt;
Runs atmega328p buck/boost control on Prius Gen 3 and Yaris/Auris inverters in buck mode to drop Main HV down for DCDC converter.&lt;br /&gt;
Experimental code. Only tested on the bench! Use at your own risk!&lt;br /&gt;
D.Maguire&lt;br /&gt;
*/&lt;br /&gt;
#include &amp;lt;Metro.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
int HVLow = 0;        // voltage on low side of converter&lt;br /&gt;
int HVHi = 0;        // voltage on high side of converter&lt;br /&gt;
int SetV = 0;       //set point voltage&lt;br /&gt;
int PWMDuty = 0;    //pwm duty cycle&lt;br /&gt;
&lt;br /&gt;
Metro timer_pwm=Metro(5); &lt;br /&gt;
Metro timer_serial=Metro(200);&lt;br /&gt;
&lt;br /&gt;
void setup() {&lt;br /&gt;
  Serial.begin(9600);//&lt;br /&gt;
  TCCR1B = TCCR1B &amp;amp; B11111000 | B00000010;    // set timer 1 divisor to  8 for PWM frequency of  3921.16 Hz&lt;br /&gt;
  pinMode(9, OUTPUT); //boost low side&lt;br /&gt;
  pinMode(10, OUTPUT); //boost Hi side&lt;br /&gt;
  analogWrite(9,0); //low side off&lt;br /&gt;
  analogWrite(10,0); //High side off&lt;br /&gt;
  SetV=210;  //set at 210v to run dcdc&lt;br /&gt;
  PWMDuty=0;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
// the loop function runs over and over again forever&lt;br /&gt;
void loop() {&lt;br /&gt;
&lt;br /&gt;
    HVLow = (analogRead(A0)/1.85)-43; //-43 needed for Lexus CT200h variant. Remove for Prius / Auris.&lt;br /&gt;
    HVHi = (analogRead(A1)*1.25);&lt;br /&gt;
    &lt;br /&gt;
    updatePWM();  //call pwm update routine.&lt;br /&gt;
    serialOUT();  //call serial out routine&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void serialOUT()&lt;br /&gt;
{&lt;br /&gt;
  if(timer_serial.check()){&lt;br /&gt;
  Serial.print(&amp;quot;Low Vbus = &amp;quot;);&lt;br /&gt;
  Serial.print(HVLow);&lt;br /&gt;
  Serial.print(&amp;quot;Volts&amp;quot;);&lt;br /&gt;
  Serial.print(&amp;quot;\t High Vbus = &amp;quot;);&lt;br /&gt;
  Serial.print(HVHi);&lt;br /&gt;
  Serial.print(&amp;quot;Volts&amp;quot;);&lt;br /&gt;
  Serial.print(&amp;quot;\t PWMDUTY = &amp;quot;);&lt;br /&gt;
  Serial.println(PWMDuty);&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void updatePWM()&lt;br /&gt;
{&lt;br /&gt;
if(timer_pwm.check()){&lt;br /&gt;
  if(HVHi&amp;gt;300){  //if hv is above 300v start ramping up pwm and regulate to setpoint.&lt;br /&gt;
    if (HVLow&amp;lt;SetV) PWMDuty++;&lt;br /&gt;
    if (HVLow&amp;gt;SetV) PWMDuty--;&lt;br /&gt;
    if (PWMDuty&amp;lt;0)  PWMDuty=0;&lt;br /&gt;
    if (PWMDuty&amp;gt;250)  PWMDuty=250;&lt;br /&gt;
    analogWrite(10,PWMDuty);&lt;br /&gt;
  }&lt;br /&gt;
  if(HVHi&amp;lt;250)&lt;br /&gt;
  {&lt;br /&gt;
      PWMDuty--;;  //if hv is lower then 250v ramp down pwm&lt;br /&gt;
      if (PWMDuty&amp;lt;0)  PWMDuty=0;&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
  &lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Modified DC DC Resistors, using Buck Boost to bridge.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You must have modified the resistors in the inverter for this method to work. &lt;br /&gt;
&lt;br /&gt;
Connect your battery to the inverter as shown below, with pre charge and fuses etc.&lt;br /&gt;
&lt;br /&gt;
[[File:20200705 190723.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
The following sketch can use used on the atmega328p to internally bridge the buck boost module so that the full battery voltage reaches the DC DC converter.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;cpp&amp;quot;&amp;gt;&lt;br /&gt;
// I/O-PINS&lt;br /&gt;
const uint8_t boostLoDrivePIN = 9; // D9 (PB1)&lt;br /&gt;
const uint8_t boostHiDrivePIN = 10; // D10 (PB2)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
/********&lt;br /&gt;
* SETUP *&lt;br /&gt;
********/&lt;br /&gt;
void setup()&lt;br /&gt;
{&lt;br /&gt;
  pinMode(boostHiDrivePIN, OUTPUT);&lt;br /&gt;
  digitalWrite(boostHiDrivePIN, HIGH); // To set high drive ON&lt;br /&gt;
  &lt;br /&gt;
  pinMode(boostLoDrivePIN, OUTPUT);&lt;br /&gt;
  digitalWrite(boostLoDrivePIN, LOW); // To set low drive OFF&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
/*******&lt;br /&gt;
* LOOP *&lt;br /&gt;
*******/&lt;br /&gt;
void loop()&lt;br /&gt;
{&lt;br /&gt;
  &lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Modified DC DC Resistors and using Buck Boost for charging.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Your battery will be connected to Charging HV + and HV - with contactors and precharge. You will also have another contactor that the atmega328p will control to externally bridge Charging HV+ and Driving HV+ this will externally bridge both sides of the buck boost module when in run mode so that the driving isn&#039;t limited by the buck boost module but during charging the contactor will open and the connection is severed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:20200705 190723 2.jpg|none|thumb]]The charing code for the atmega328p is here https://github.com/celeron55/prius3charger_buck, more details on charging is further down in the wiki.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Modifying the DC DC converter resistors&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The DC DC converter in unmodified state will startup at a little over 100v and shut down at around 240v, to use it with a higher voltage it needs to be modified by changing some smd resistors.&lt;br /&gt;
&lt;br /&gt;
See https://www.youtube.com/watch?v=Nu5_OBOPk4s&amp;amp;t=2s&lt;br /&gt;
&lt;br /&gt;
You&#039;ll need to remove the bottom cover of the inverter to expose the DC DC converter control board.&lt;br /&gt;
[[File:Screenshot 2021-01-06 at 6.51.47 pm.png|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
We need to replace 4 resistors on the top side of the board, these are R629, R627, R625, R623, currently 120k ohm, these will need replacing with  210k ohm&lt;br /&gt;
&lt;br /&gt;
(1%, 0.5W, 0805, Manufacturer part#: ERJP06F2103V Farnell #: 2326773 )&lt;br /&gt;
[[File:Screenshot 2021-01-06 at 6.56.26 pm.png|none|thumb]]&lt;br /&gt;
[[File:20210114 162937.jpg|none|thumb]]&lt;br /&gt;
These are the 4 resistors on the top.&lt;br /&gt;
[[File:20210114 172258.jpg|none|thumb]]&lt;br /&gt;
And Replace&lt;br /&gt;
[[File:20210114 174343.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
There&#039;s also 4 resistors to replace on the bottom, these are R630, R628, R626, R624, these also need to be 210k ohm.&lt;br /&gt;
[[File:Screenshot 2021-01-06 at 6.59.08 pm.png|none|thumb]]&lt;br /&gt;
[[File:20210114 172503.jpg|none|thumb]]&lt;br /&gt;
The bottom resistors are up next to the flexible cable, on the underside of the board, to access them, unscrew the 4 screws holding the board in place, unplug the black connector carefully lift the board upwards.&lt;br /&gt;
&lt;br /&gt;
Bare in mind the flexible cable is still attached and is soldered directly to the board. Flip it over.&lt;br /&gt;
[[File:20210114 172710.jpg|none|thumb]]&lt;br /&gt;
[[File:20210114 173552.jpg|none|thumb]]&lt;br /&gt;
Bottom side replaced. You can now place the board back in place, screw the 4 screws in and don&#039;t forget the black plug.&lt;br /&gt;
&lt;br /&gt;
Replace the bottom metal cover.&lt;br /&gt;
&lt;br /&gt;
== 12v Battery Connection ==&lt;br /&gt;
The 12v battery positive connects to this post, it&#039;ll output ~14v when the DC-DC is running to keep the battery charged, the negative terminal of the battery should be connected to the case of the inverter.[[File:20200705_190706.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
== High Voltage Battery Connection ==&lt;br /&gt;
The HV battery connection is below, DO NOT directly connect the battery here. It needs to be connected via contactors and a pre-charge resistor. This connection point by-passes the buck/boost converter.&lt;br /&gt;
&lt;br /&gt;
[[File:20200705 190723.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
[Add details of pre-charge and contactor]&lt;br /&gt;
&lt;br /&gt;
== Motor Connection ==&lt;br /&gt;
If you are only using MG2 to power a motor, and not paralleling MG1 and MG2, connect your 3 phase wires from the motor to the outer 3 terminals.&lt;br /&gt;
&lt;br /&gt;
Some versions of this inverter have the U-V-W labels for the three phase wires stamped into the case and some do not. These are shown below in case you have a version of the inverter without them and need to connect to a motor other than the originial prius transaxle.&lt;br /&gt;
[[File:20200705 190657-2.jpg|alt=|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
== Parallel MG1 and MG2 on a single motor ==&lt;br /&gt;
MG1 and MG2 can be used in parallel for more power, to do so there&#039;s some solder jumpers on the board to use. Jumpers SJ1 to SJ6 need soldering across the little gap between them.&lt;br /&gt;
[[File:Screenshot 2021-08-20 at 9.17.02 am.png|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You then need to connect MG1 phase 1 to MG2 phase 1 and so on. This needs to be done before the the current sensors so that all the current goes through MG2 current sensors on the phase bars, otherwise the software cannot measure the current correctly.&lt;br /&gt;
[[File:1n9hto6.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== IDC Connector ==&lt;br /&gt;
If you are not using the AMPSeal daughterboard, you can connect directly to the 34 pin IDC connector on the EVBMW board. &lt;br /&gt;
&lt;br /&gt;
Connections are as follows:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|Pin Number&lt;br /&gt;
|Label&lt;br /&gt;
|Description&lt;br /&gt;
|-&lt;br /&gt;
|1&lt;br /&gt;
|12V_IN&lt;br /&gt;
|Provide with +12V supply from battery or power supply for testing&lt;br /&gt;
|-&lt;br /&gt;
|2&lt;br /&gt;
|12V_IN&lt;br /&gt;
|Provide with +12V supply from battery or power supply for testing&lt;br /&gt;
|-&lt;br /&gt;
|3&lt;br /&gt;
|MG2_FORW_IN&lt;br /&gt;
|Active high signal at 12V (switches at &amp;gt;7V) to tell the inverter which way to spin the motor. Take positive feed from 12V battery or supply and wire through a three position switch, with the switched connections running to forward and reverse.&lt;br /&gt;
|-&lt;br /&gt;
|4&lt;br /&gt;
|MG2_REVER_IN&lt;br /&gt;
|Active high signal at 12V (switches at &amp;gt;7V) to tell the inverter which way to spin the motor. Take positive feed from 12V battery or supply and wire through a three position switch, with the switched connections running to forward and reverse.&lt;br /&gt;
|-&lt;br /&gt;
|5&lt;br /&gt;
|MG2_START&lt;br /&gt;
|Active high signal at 12V (switches at &amp;gt;7V) to start the inverter and move it from pre-charge to run mode. Typically connected to the momentary &#039;START&#039; position of your ignition switch.&lt;br /&gt;
|-&lt;br /&gt;
|6&lt;br /&gt;
|MG2_BRAKE_ON&lt;br /&gt;
|Active high signal at 12V (switches at &amp;gt;7V) to inform the inverter that the car is under braking. Typically takes a feed from the brake switch that also turns on brake lights etc.&lt;br /&gt;
|-&lt;br /&gt;
|7&lt;br /&gt;
|CRUISE_IN&lt;br /&gt;
|Active high signal at 12V (switches at &amp;gt;7V) to turn on cruise control mode. This sets the current motor speed as the set point for cruise control. Cruise control is disabled by a signal from the brake switch.&lt;br /&gt;
|-&lt;br /&gt;
|8&lt;br /&gt;
|VCC_5V&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;+5V supply for temperature and throttle sensors&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|9&lt;br /&gt;
|MG2_ACCEL&lt;br /&gt;
|5V analogue input from first channel of throttle sensor. These typically take a 5V supply and ground and return to this pin a variable voltage that indicates throttle position.&lt;br /&gt;
|-&lt;br /&gt;
|10&lt;br /&gt;
|MG2_BRAKE_TRANS&lt;br /&gt;
|5V analogue input from second channel of throttle sensor. These typically take a 5V supply and ground and return to this pin a variable voltage that indicates throttle position.&lt;br /&gt;
|-&lt;br /&gt;
|11&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground for 12V supply or 5V return.&lt;br /&gt;
|-&lt;br /&gt;
|12&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground for 12V supply or 5V return&lt;br /&gt;
|-&lt;br /&gt;
|13&lt;br /&gt;
|CAN_EXT_H&lt;br /&gt;
|CANBus digital communication connection for remote interface with inverter&lt;br /&gt;
|-&lt;br /&gt;
|14&lt;br /&gt;
|CAN_EXT_L&lt;br /&gt;
|CANBus digital communication connection for remote interface with inverter&lt;br /&gt;
|-&lt;br /&gt;
|15&lt;br /&gt;
|VCC_5V&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;+5V supply for temperature and throttle sensors&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|16&lt;br /&gt;
|MG2_ENC_1&lt;br /&gt;
|Can be either digital input for encoder (in which case, connect the relevant encoder output here and provide the device with 5V and ground), or one of the two connections for the SIN winding if you are using a resolver for motor position.&lt;br /&gt;
|-&lt;br /&gt;
|17&lt;br /&gt;
|MG2_ENC_2&lt;br /&gt;
|Can be either digital input for encoder (in which case, connect the relevant encoder output here and provide the device with 5V and ground), or one of the two connections for the COS winding if you are using a resolver for motor position.&lt;br /&gt;
|-&lt;br /&gt;
|18&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground for 12V supply or 5V return&lt;br /&gt;
|-&lt;br /&gt;
|19&lt;br /&gt;
|MG2_COSA&lt;br /&gt;
|Connect SIN winding of motor resolver here and to Encoder Channel A&lt;br /&gt;
|-&lt;br /&gt;
|20&lt;br /&gt;
|MG2_SINA&lt;br /&gt;
|Connect COS winding of motor resolver here and to Encoder Channel B&lt;br /&gt;
|-&lt;br /&gt;
|21&lt;br /&gt;
|MG2_EXCA&lt;br /&gt;
|Connect exciter winding of motor resolver here and to ground&lt;br /&gt;
|-&lt;br /&gt;
|22&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground for 12V supply or 5V return&lt;br /&gt;
|-&lt;br /&gt;
|23&lt;br /&gt;
|MG2_STATOR_T1&lt;br /&gt;
|5V output for the motor temperature sensor. These are typically variable resistance devices. Connect one side of the sensor here.&lt;br /&gt;
|-&lt;br /&gt;
|24&lt;br /&gt;
|MG2_STATOR_T2&lt;br /&gt;
|Input from motor temperature sensor. Connect the other side of the sensor here. &#039;&#039;&#039;(Note the board correction above. Do not connect if it hasn&#039;t been addressed by a new revision or work around)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|25&lt;br /&gt;
|MAIN_CON&lt;br /&gt;
|Open Collector (Will switch the ground side from disconnected to ground). &lt;br /&gt;
Connect one side of the contactor coil to +12v and the other to this pin. Your contactor will need either a built in economiser or additional circuit. MAX 2 amp.&lt;br /&gt;
|-&lt;br /&gt;
|26&lt;br /&gt;
|PRECHG_RLY&lt;br /&gt;
|Open Collector (Will switch the ground side from disconnected to ground). &lt;br /&gt;
Connect one side of the contactor coil to +12v and the other to this pin. Your contactor will need either a built in economiser or additional circuit. MAX 2 amp.&lt;br /&gt;
|-&lt;br /&gt;
|27&lt;br /&gt;
|AC_CON&lt;br /&gt;
|Open Collector (Will switch the ground side from disconnected to ground). &lt;br /&gt;
Connect one side of the contactor coil to +12v and the other to this pin. Your contactor will need either a built in economiser or additional circuit. MAX 2 amp.&lt;br /&gt;
|-&lt;br /&gt;
|28&lt;br /&gt;
|HV_CON&lt;br /&gt;
|?&lt;br /&gt;
|-&lt;br /&gt;
|29&lt;br /&gt;
|AC_PRECH&lt;br /&gt;
|Open Collector (Will switch the ground side from disconnected to ground). &lt;br /&gt;
Connect one side of the contactor coil to +12v and the other to this pin. Your contactor will need either a built in economiser or additional circuit. MAX 2 amp.&lt;br /&gt;
|-&lt;br /&gt;
|30&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground for 12V supply or 5V return&lt;br /&gt;
|-&lt;br /&gt;
|31&lt;br /&gt;
|EVSE_PROX&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|32&lt;br /&gt;
|CONTROL_PILOT&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|33&lt;br /&gt;
|CHG_CANH&lt;br /&gt;
|CANBus digital communication connection for remote interface with charger&lt;br /&gt;
|-&lt;br /&gt;
|34&lt;br /&gt;
|CHG_CANL&lt;br /&gt;
|CANBus digital communication connection for remote interface with charger&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Ampseal Socket &amp;amp; Plug ==&lt;br /&gt;
There are multiple part numbers for the large 35 way Ampseal through hole socket, with small mating differences, be sure to get a matching pair.&lt;br /&gt;
&lt;br /&gt;
TE connectivity &#039;&#039;&#039;776164-1&#039;&#039;&#039; and &#039;&#039;&#039;776163-1&#039;&#039;&#039; are a matched pair (source https://www.ebay.co.uk/itm/Connector-ECU-Terminals-35P-35-Way-776164-1-776231-1-776163-1-Male-Female-Pins/401764868163?hash=item5d8b0d6043:g:3TkAAOSwexhc1Tcy&amp;lt;nowiki/&amp;gt;Ebay)&lt;br /&gt;
&lt;br /&gt;
[[File:AMPSeal socket (male).jpg|alt=|none|thumb|AMPSeal socket (male) in 3D printed surround with pins marked]]&lt;br /&gt;
&lt;br /&gt;
The AMPSeal connector is wired as follows:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|Pin Number&lt;br /&gt;
|AMPSeal Pinout Label&lt;br /&gt;
|Description&lt;br /&gt;
|-&lt;br /&gt;
|1&lt;br /&gt;
|12V SUPPLY POSITIVE&lt;br /&gt;
|Provide with +12V supply from battery or power supply for testing&lt;br /&gt;
|-&lt;br /&gt;
|2&lt;br /&gt;
|GROUND&lt;br /&gt;
|Common ground for 12V supply or 5V return&lt;br /&gt;
|-&lt;br /&gt;
|3&lt;br /&gt;
|FORWARD DIRECTION SIGNAL&lt;br /&gt;
|Active high signal at 12V (switches at &amp;gt;7V) to tell the inverter which way to spin the motor. Take positive feed from 12V battery or supply and wire through a three position switch, with the switched connections running to forward and reverse.&lt;br /&gt;
|-&lt;br /&gt;
|4&lt;br /&gt;
|REVERSE DIRECTION SIGNAL&lt;br /&gt;
|Active high signal at 12V (switches at &amp;gt;7V) to tell the inverter which way to spin the motor. Take positive feed from 12V battery or supply and wire through a three position switch, with the switched connections running to forward and reverse.&lt;br /&gt;
|-&lt;br /&gt;
|5&lt;br /&gt;
|START SIGNAL&lt;br /&gt;
|Active high signal at 12V (switches at &amp;gt;7V) to start the inverter and move it from pre-charge to run mode. Typically connected to the momentary &#039;START&#039; position of your ignition switch.&lt;br /&gt;
|-&lt;br /&gt;
|6&lt;br /&gt;
|BRAKE DIGITAL SIGNAL&lt;br /&gt;
|Active high signal at 12V (switches at &amp;gt;7V) to inform the inverter that the car is under braking. Typically takes a feed from the brake switch that also turns on brake lights etc.&lt;br /&gt;
|-&lt;br /&gt;
|7&lt;br /&gt;
|CRUISE CONTROL SIGNAL&lt;br /&gt;
|Active high signal at 12V (switches at &amp;gt;7V) to turn on cruise control mode. This sets the current motor speed as the set point for cruise control. Cruise control is disabled by a signal from the brake switch.&lt;br /&gt;
|-&lt;br /&gt;
|8&lt;br /&gt;
|5V OUT&lt;br /&gt;
| +5V supply for temperature and throttle sensors&lt;br /&gt;
|-&lt;br /&gt;
|9&lt;br /&gt;
|ACCELERATOR CHAN 1 INPUT&lt;br /&gt;
|5V analogue input from first channel of throttle sensor. These typically take a 5V supply and ground and return to this pin a variable voltage that indicates throttle position.&lt;br /&gt;
|-&lt;br /&gt;
|10&lt;br /&gt;
|ACCELERATOR CHAN 2 INPUT&lt;br /&gt;
|5V analogue input from second channel of throttle sensor. These typically take a 5V supply and ground and return to this pin a variable voltage that indicates throttle position.&lt;br /&gt;
|-&lt;br /&gt;
|11&lt;br /&gt;
|GROUND&lt;br /&gt;
|Common ground for 12V supply or 5V return.&lt;br /&gt;
|-&lt;br /&gt;
|12&lt;br /&gt;
|INVERTER CAN HIGH&lt;br /&gt;
|CANBus digital communication connection for remote interface with inverter&lt;br /&gt;
|-&lt;br /&gt;
|13&lt;br /&gt;
|INVERTER CAN LOW&lt;br /&gt;
|CANBus digital communication connection for remote interface with inverter&lt;br /&gt;
|-&lt;br /&gt;
|14&lt;br /&gt;
| +5V OUT&lt;br /&gt;
| +5V supply for temperature and throttle sensors&lt;br /&gt;
|-&lt;br /&gt;
|15&lt;br /&gt;
|ENCODER CHAN A&lt;br /&gt;
|Can be either digital input for encoder (in which case, connect the relevant encoder output here and provide the device with 5V and ground), or one of the two connections for the SIN winding if you are using a resolver for motor position.&lt;br /&gt;
|-&lt;br /&gt;
|16&lt;br /&gt;
|ENCODER CHAN B&lt;br /&gt;
|Can be either digital input for encoder (in which case, connect the relevant encoder output here and provide the device with 5V and ground), or one of the two connections for the COS winding if you are using a resolver for motor position.&lt;br /&gt;
|-&lt;br /&gt;
|17&lt;br /&gt;
|GROUND&lt;br /&gt;
|Common ground for 12V supply or 5V return&lt;br /&gt;
|-&lt;br /&gt;
|18&lt;br /&gt;
|RESOLVER SIN&lt;br /&gt;
|Connect SIN winding of motor resolver here and to Encoder Channel A&lt;br /&gt;
|-&lt;br /&gt;
|19&lt;br /&gt;
|RESOLVER COS&lt;br /&gt;
|Connect COS winding of motor resolver here and to Encoder Channel B&lt;br /&gt;
|-&lt;br /&gt;
|20&lt;br /&gt;
|RESOLVER EXC&lt;br /&gt;
|Connect exciter winding of motor resolver here and to ground&lt;br /&gt;
|-&lt;br /&gt;
|21&lt;br /&gt;
|GROUND&lt;br /&gt;
|Common ground for 12V supply or 5V return&lt;br /&gt;
|-&lt;br /&gt;
|22&lt;br /&gt;
|MOTOR TEMP SENSOR T1&lt;br /&gt;
|5V output for the motor temperature sensor. These are typically variable resistance devices. Connect one side of the sensor here.&lt;br /&gt;
|-&lt;br /&gt;
|23&lt;br /&gt;
|MOTOR TEMP SENSOR T2&lt;br /&gt;
|Input from motor temperature sensor. Connect the other side of the sensor here. &#039;&#039;&#039;(Note the board correction above. Do not connect if it hasn&#039;t been addressed by a new revision or work around)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|24&lt;br /&gt;
|MAIN HV CONTACTOR&lt;br /&gt;
|Open Collector (Will switch the ground side from disconnected to ground).&lt;br /&gt;
Connect one side of the contactor coil to +12v and the other to this pin. Your contactor will need either a built in economiser or additional circuit. MAX 5 amp.&lt;br /&gt;
|-&lt;br /&gt;
|25&lt;br /&gt;
|HV PRECHARGE RELAY&lt;br /&gt;
|Open Collector (Will switch the ground side from disconnected to ground). &lt;br /&gt;
Connect one side of the contactor coil to +12v and the other to this pin. Your contactor will need either a built in economiser or additional circuit. MAX 5 amp.&lt;br /&gt;
|-&lt;br /&gt;
|26&lt;br /&gt;
|CHARGER AC INPUT RELAY&lt;br /&gt;
|Open Collector (Will switch the ground side from disconnected to ground). &lt;br /&gt;
Connect one side of the contactor coil to +12v and the other to this pin. Your contactor will need either a built in economiser or additional circuit. MAX 5 amp.&lt;br /&gt;
|-&lt;br /&gt;
|27&lt;br /&gt;
|CHARGER HV DC REQUEST&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|28&lt;br /&gt;
|CHARGER AC PRECHARGE RELAY&lt;br /&gt;
|Open Collector (Will switch the ground side from disconnected to ground). &lt;br /&gt;
Connect one side of the contactor coil to +12v and the other to this pin. Your contactor will need either a built in economiser or additional circuit. MAX 5 amp.&lt;br /&gt;
|-&lt;br /&gt;
|29&lt;br /&gt;
|GROUND&lt;br /&gt;
|Common ground for 12V supply or 5V return&lt;br /&gt;
|-&lt;br /&gt;
|30&lt;br /&gt;
|EVSE PROXIMITY SIGNAL&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|31&lt;br /&gt;
|EVSE CONTROL PILOT SIGNAL&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|32&lt;br /&gt;
|CHARGER CAN HIGH&lt;br /&gt;
|CANBus digital communication connection for remote interface with charger&lt;br /&gt;
|-&lt;br /&gt;
|33&lt;br /&gt;
|CHARGER CAN LOW&lt;br /&gt;
|CANBus digital communication connection for remote interface with charger&lt;br /&gt;
|-&lt;br /&gt;
|34&lt;br /&gt;
|NOT USED&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|35&lt;br /&gt;
|NOT USED&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Connecting Resolver ==&lt;br /&gt;
For resolver connect EXC to one side of the exciter winding and other to Ground.&lt;br /&gt;
&lt;br /&gt;
Connect one side of SIN winding to SIN and other to Encoder A&lt;br /&gt;
&lt;br /&gt;
Conenct one side of COS winding to COS and other to encoder B.&lt;br /&gt;
&lt;br /&gt;
== Inverter as charger ==&lt;br /&gt;
The buck/boost module in the inverter can be used to step up or down an input voltage to charge the high voltage battery in the car. Stepping down to a lower voltage is buck and up is boost converting.&lt;br /&gt;
&lt;br /&gt;
=== Buck Mode Charging. ===&lt;br /&gt;
This is what you need if your battery voltage will be lower than the rectified input (&amp;lt; 340v for 240v single phase, 600v for 3 phase)&lt;br /&gt;
&lt;br /&gt;
There&#039;s some firmware for the Atmega on the EVBMW board to control the buck/boost in buck mode for charging.&lt;br /&gt;
&lt;br /&gt;
https://github.com/celeron55/prius3charger_buck&lt;br /&gt;
&lt;br /&gt;
Once you&#039;ve downloaded the code there&#039;s some things to change.&amp;lt;blockquote&amp;gt;#define BATTERY_CHARGE_VOLTAGE 300    //Set this to your battery full voltage&amp;lt;/blockquote&amp;gt;&amp;lt;blockquote&amp;gt;#define AC_PRECHARGE_MINIMUM_VOLTAGE 550  // European 3-phase rectifies to 600V, Single Phase 240v rectifies to 340V&amp;lt;/blockquote&amp;gt;&amp;lt;blockquote&amp;gt;#define PRECHARGE_BOOST_ENABLED true.   // The capacitor needs pre-charging, there&#039;s 2 options, a pre-charge resistor on the A.C input or use the battery to boost to the input voltage.&amp;lt;/blockquote&amp;gt;&amp;lt;blockquote&amp;gt;#define PRECHARGE_BOOST_VOLTAGE 550  // European 3-phase rectifies to 600V, Single Phase 240v rectifies to 340V&amp;lt;/blockquote&amp;gt;The battery connection needs to be a little different. The battery + will need connecting to the left most terminal and a contactor will be needed to bridge the left most and right most when running.&lt;br /&gt;
[[File:20200705 190723 2.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
== 3D Printed Parts ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
|[[File:20210119 125158.jpg|none|thumb]]&lt;br /&gt;
|[[File:20210119 110057.jpg|none|thumb]]&lt;br /&gt;
|[[File:20210119 191934.jpg|none|thumb]]&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
User bobby_come_lately has created a fair few 3D printable parts for use with the inverter. They can be downloaded https://github.com/jamiejones85/Gen3PriusInverter3DParts&lt;br /&gt;
&lt;br /&gt;
== Frequently Asked Questions ==&lt;br /&gt;
&#039;&#039;&#039;What happens when the inverter has an ERROR?&#039;&#039;&#039;&amp;lt;blockquote&amp;gt;The Toyota driver error signals are connected to the pk_in pin on the stm32 so when the Inverter has an error it stops the PWM by giving the STM32 an interrupt signal. See [https://openinverter.org/forum/viewtopic.php?p=25460#p25460 Here]&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/Prius-Gen3-Inverter/tree/master/V2 Damien&#039;s Prius Gen3 v2 Github]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/Prius-Gen3-Inverter/blob/master/V1c/PriusGen3HandPlacedParts.csv Bill of Hand Placed Parts] (Github)&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/Prius-Gen3-Inverter/blob/master/V2/PriusG3_V1b_BOM_JLC.xls?raw=true Bill of Materials] (Github)&lt;br /&gt;
&lt;br /&gt;
The control board takes advantage of the [https://openinverter.org/wiki/Downloads OpenInverter.org software] for control.&lt;br /&gt;
&lt;br /&gt;
[[Category:OEM]] [[Category:Toyota]] [[Category:Inverter]]&lt;/div&gt;</summary>
		<author><name>Chrskly</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:20200705_190657-2.jpg&amp;diff=2646</id>
		<title>File:20200705 190657-2.jpg</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:20200705_190657-2.jpg&amp;diff=2646"/>
		<updated>2022-07-18T17:46:13Z</updated>

		<summary type="html">&lt;p&gt;Chrskly: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Edit image to add UVW labels.&lt;/div&gt;</summary>
		<author><name>Chrskly</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen3_Board&amp;diff=2599</id>
		<title>Toyota Prius Gen3 Board</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen3_Board&amp;diff=2599"/>
		<updated>2022-07-07T15:19:51Z</updated>

		<summary type="html">&lt;p&gt;Chrskly: Added table listing board versions and which ones require the WiFi cap to be updated.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
[[File:Prius Gen3 Inverter Control v2.jpg|thumb|Prius Gen3 Control Board v2]]&lt;br /&gt;
&lt;br /&gt;
The Toyota Prius Gen3 Board is an open source project to repurpose 2010-2015 Toyota Prius inverters for DIY EV use. &lt;br /&gt;
&lt;br /&gt;
It consists of a open inverter circuit board and programming which replaces the OEM logic board in the prius inverter.&lt;br /&gt;
&lt;br /&gt;
This allows independent control of mg1 power stage, mg2 power stage, buck/boost converter and the dc/dc converter. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;Note that there is also a [[Toyota Prius Gen2 Inverter]] for the 2004-2009 model years.&lt;br /&gt;
&lt;br /&gt;
== Prius Inverter ==&lt;br /&gt;
The Toyota Prius is a hybrid vehicle. Their inverters are suitable and attractive for DIY EVs because of:&lt;br /&gt;
* Large part availability. Priuses have been made in large numbers for 20 years.&lt;br /&gt;
* High affordability. Prius inverters are available for around $150 from scrapyards&lt;br /&gt;
* Durability. Toyota engineers appear to have made the inverters foolproof, many inputs and outputs gracefully handle fault conditions.&lt;br /&gt;
* Respectable performance. Rated for 50kW output, but tested to handle 600v, and 500+A on MG2. (MG1 unknown, Gen2 had 70% of MG2 on MG1).&lt;br /&gt;
* Ease of repurposing. Emulating the original ECU seems reasonably feasible.&lt;br /&gt;
&lt;br /&gt;
The Gen3 Prius (2010-2015 model years) has a variety of useful components inside the inverter package:&lt;br /&gt;
* 2 high power inverters, for the 2 motors MG1 (starter) capable of handling 250 amps, and MG2 (drive motor) capable of handling 350 amps.&lt;br /&gt;
* A DC-DC converter to provide 12v power supply to the automotive systems and accessories.&lt;br /&gt;
* A boost module to boost the 200v battery pack up to 500v, which looks to be able to function as a battery charger (wish list for future development)&lt;br /&gt;
* See this video for a thorough disassembly and explanation of the Gen3 Inverter (Timestamp ???? ): https://www.youtube.com/watch?v=Y7Vm-C4MsW8&lt;br /&gt;
&lt;br /&gt;
== Control Board ==&lt;br /&gt;
&lt;br /&gt;
The current version as of Jan 20, 2020 is v2.&lt;br /&gt;
&lt;br /&gt;
As designed by Damien Maguire, the open source hardware for the control board can be purchased from his website: &lt;br /&gt;
&lt;br /&gt;
[https://www.evbmw.com/index.php/evbmw-webshop/toyota-built-and-tested-boards Toyota Boards]&lt;br /&gt;
&lt;br /&gt;
The control board is a physical replacement for the OEM Prius Gen3 inverter logic board inside the inverter. Remove the old one and replace it with the new one.&lt;br /&gt;
&lt;br /&gt;
== Development History ==&lt;br /&gt;
&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. &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. The circuit now has hardware to support repurposing the MG1 inverter as a battery charger, though as of Jan 20, 2020, software is still in development.&lt;br /&gt;
&lt;br /&gt;
v1c - this board uses mg2 power stage for motor control, and mg1 +buck/boost converter as a battery charger, or parallel connection of MG1 and MG2 to give more amps to a single motor.&lt;br /&gt;
&lt;br /&gt;
v1d - this board allows to use mg1 and mg2 power stages for dual motor control &lt;br /&gt;
&lt;br /&gt;
== Vendors ==&lt;br /&gt;
&lt;br /&gt;
 [https://www.evbmw.com/index.php/evbmw-webshop EVBMW Webshop]&lt;br /&gt;
&lt;br /&gt;
== Support ==&lt;br /&gt;
&lt;br /&gt;
Community support is available on the [https://openinverter.org/forum/viewtopic.php?f=14&amp;amp;t=488 Prius Gen 3 Inverter Logic Board Support Thread]&lt;br /&gt;
&lt;br /&gt;
You are not entitled to support, purchase from a vendor who offers support if you want it guaranteed. Treat the community with respect.&lt;br /&gt;
&lt;br /&gt;
== Inverter Model Numbers ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|  class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Inverter No || Car model(s) || Logic Board No || Power Board No || Compatible 50 pin connector|| PCB size || Confirmed works with board ||  Link &lt;br /&gt;
|-&lt;br /&gt;
| G9200-47141 || Auris 2012, RHD || || || || || || &lt;br /&gt;
|-&lt;br /&gt;
|G9200-47140&lt;br /&gt;
|Prius 2010&lt;br /&gt;
|F1759-47041 01&lt;br /&gt;
|&lt;br /&gt;
|Yes&lt;br /&gt;
|&lt;br /&gt;
|Yes&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|G9200-47162&lt;br /&gt;
|Prius + &lt;br /&gt;
|F1759-47041 01&lt;br /&gt;
|F1789-47090&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|- &lt;br /&gt;
| G9200-47180  || || || || || || || [https://www.diyelectriccar.com/forums/showpost.php?p=1026169&amp;amp;postcount=8 Photo diyelectriccar.com]&lt;br /&gt;
|-&lt;br /&gt;
| G9200-47190 || Auris 2017 || F1759-47070 05 || F1789-52010&lt;br /&gt;
|| ? || || || [https://openinverter.org/forum/viewtopic.php?f=14&amp;amp;t=51&amp;amp;start=270#p5661 Forum Thread openinverter.com]&lt;br /&gt;
|-&lt;br /&gt;
|G9200-47210&lt;br /&gt;
|Prius 2012&lt;br /&gt;
|F1759-47070 05&lt;br /&gt;
|&lt;br /&gt;
|YES&lt;br /&gt;
|154x143mm&lt;br /&gt;
|Yes&lt;br /&gt;
|https://openinverter.org/forum/viewtopic.php?p=16539#p16539&lt;br /&gt;
|-&lt;br /&gt;
|G9200-47220&lt;br /&gt;
|Prius 2014&lt;br /&gt;
|F1759-47070 05&lt;br /&gt;
|&lt;br /&gt;
|YES&lt;br /&gt;
|154x143mm&lt;br /&gt;
|Yes&lt;br /&gt;
|https://openinverter.org/forum/viewtopic.php?p=21384#p21384&lt;br /&gt;
|-&lt;br /&gt;
|G9200-47230&lt;br /&gt;
|Prius 2015&lt;br /&gt;
|&lt;br /&gt;
|F1789-52010&lt;br /&gt;
|Yes&lt;br /&gt;
|154x143mm&lt;br /&gt;
|&lt;br /&gt;
|https://openinverter.org/forum/viewtopic.php?p=29248#p29248&lt;br /&gt;
|-&lt;br /&gt;
|G9200-52010||Yaris&lt;br /&gt;
Prius C&lt;br /&gt;
||F1759-52010 04||F1789-52010|| ||154x143mm||&lt;br /&gt;
|https://openinverter.org/forum/viewtopic.php?f=14&amp;amp;t=257&amp;amp;p=5828#p5828&lt;br /&gt;
|-&lt;br /&gt;
|G9200-52031&lt;br /&gt;
|Yaris 2016&lt;br /&gt;
|F1759-52010 04&lt;br /&gt;
|F1789-52010&lt;br /&gt;
|YES&lt;br /&gt;
|&lt;br /&gt;
|YES&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| G9200-52032 || Yaris 2015 || F1759-52010 04 || F1789-52010 || YES || Long 143mm || || [https://openinverter.org/forum/viewtopic.php?f=14&amp;amp;t=439#p5058 Forum Thread openinverter.com] [https://openinverter.org/forum/viewtopic.php?f=14&amp;amp;t=51&amp;amp;start=270#p5669 Forum Thread openinverter.com]&lt;br /&gt;
|-&lt;br /&gt;
| G9201-52011 || Yaris || || || YES|||||| [https://openinverter.org/forum/viewtopic.php?f=14&amp;amp;t=439#p5681 Forum Thread openinverter.com]&lt;br /&gt;
|-&lt;br /&gt;
| G9201-52012 || Prius C || F1759-52010 || F1789-52010 || YES (presumably) |||||| [https://openinverter.org/forum/viewtopic.php?p=6979#p6979 Forum Thread openinverter.com]&lt;br /&gt;
|-&lt;br /&gt;
|G9200-52030&lt;br /&gt;
|Prius C (a.k.a. Prius Aqua)&lt;br /&gt;
|F1759-52010 04&lt;br /&gt;
|F1789-52010&lt;br /&gt;
|&lt;br /&gt;
|154mm long&lt;br /&gt;
|&lt;br /&gt;
|[https://openinverter.org/forum/viewtopic.php?f=11&amp;amp;t=999&amp;amp;p=16434#p16434 Forum Thread openinverter.com]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Kit Assembly Instructions (V1C) ==&lt;br /&gt;
[[File:Prius3-ldo2.jpg|thumb|Extra voltage regulator on Prius Gen3 board]]&lt;br /&gt;
This guide is for the assembly of version V1C of the Gen 3 board available here: https://www.evbmw.com/index.php/evbmw-webshop/toyota-built-and-tested-boards/prius-gen-3-inverter-built-tested&lt;br /&gt;
&lt;br /&gt;
This is based on the assembly videos by Damien Maguire. &lt;br /&gt;
&lt;br /&gt;
Part 1: https://www.youtube.com/watch?v=QE-zym8iIgM&amp;amp;t=2643s &lt;br /&gt;
&lt;br /&gt;
Part 2: https://www.youtube.com/watch?v=Nu5_OBOPk4s&amp;amp;t=1787s&lt;br /&gt;
&lt;br /&gt;
=== LDO strengthening ===&lt;br /&gt;
The stock 3V3 LDO (3.3V linear voltage regulator) does not provide sufficient current for both the STM32(s) and wifi module(s). Therefor the wifi module needs a distinct regulator.&lt;br /&gt;
&lt;br /&gt;
TODO: does this also affect the latest revision boards?&lt;br /&gt;
&lt;br /&gt;
=== Early Board Correction, pre July 2020 ===&lt;br /&gt;
The first batch of JLCPCB boards shipped have an incorrect resistor value that needs to be changed over. Boards &#039;&#039;shipped after Jun 26, 2020&#039;&#039; will not need to do this.&lt;br /&gt;
&lt;br /&gt;
[[File:Power supply.png|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
Resistor labeled R101 (labeled &#039;1002&#039;) needs swapping for a 8k2 (0805 package) resistor. &lt;br /&gt;
[[File:20200629 155303.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
=== Motor Current Sensor correction. ===&lt;br /&gt;
Boards currently have an error with the current sensor circuit. R14 is supposed to be in parallel with C11 to form the voltage divider. One workaround would be to put a 1k resistor from one of the pads to ground. this can be done externally if you&#039;d rather not modify the board, put a 1k ohm resistor from MG2_STATOR_T2 to a ground pin. Then connector the temperature sensor from MG2_STATOR_T1 to MG2_STATOR_T2 as normal. &lt;br /&gt;
 &lt;br /&gt;
This is a current issue on the boards. A new revision is not yet available. &lt;br /&gt;
[[File:Screenshot 2021-08-13 at 8.50.56 am.png|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
=== Wifi Module Correction ===&lt;br /&gt;
The capacitor may need increasing to 10uF deal with noise. The table below shows which boards need updating and which capacitor(s) to update.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Board Version&lt;br /&gt;
!Cap(s) needs updating?&lt;br /&gt;
!Cap(s) to update&lt;br /&gt;
|-&lt;br /&gt;
|Single motor, large board (v1b)&lt;br /&gt;
|Maybe&lt;br /&gt;
|C48&lt;br /&gt;
|-&lt;br /&gt;
|Single motor, small board (v1c)&lt;br /&gt;
|Maybe&lt;br /&gt;
|C49&lt;br /&gt;
|-&lt;br /&gt;
|Single motor, small board (v1c, block 3)&lt;br /&gt;
|Maybe&lt;br /&gt;
|C49&lt;br /&gt;
|-&lt;br /&gt;
|Dual motor, small board (v1d)&lt;br /&gt;
|No&lt;br /&gt;
|N/A&lt;br /&gt;
|-&lt;br /&gt;
|Dual motor, large board (v1d)&lt;br /&gt;
|Maybe&lt;br /&gt;
|C58 and C86&lt;br /&gt;
|-&lt;br /&gt;
|Dual motor, large board (v1d, block 3)&lt;br /&gt;
|Maybe&lt;br /&gt;
|C58 and C86&lt;br /&gt;
|-&lt;br /&gt;
|Dual motor, large board (v1d, block 4)&lt;br /&gt;
|No&lt;br /&gt;
|N/A&lt;br /&gt;
|}&lt;br /&gt;
[[File:Screenshot 2021-08-23 at 1.07.32 pm.png|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
=== DC-DC Startup Delay (V1c &amp;amp; V1d) ===&lt;br /&gt;
These revision boards will start up the DC-DC converter during pre-charge, if you&#039;ve soldered the jumper. This will mean the current for the DC-DC will be drawn during pre-charge, potentially preventing the main contactor closing.&lt;br /&gt;
&lt;br /&gt;
See https://openinverter.org/forum/viewtopic.php?f=14&amp;amp;t=1039 for more details.&lt;br /&gt;
&lt;br /&gt;
=== Soldering The Breakout Board ===&lt;br /&gt;
Solder the Ampseal socket to the the breakout board, the silk-screen indicates side and orientation fitment.&lt;br /&gt;
&lt;br /&gt;
[[File:20200605 174452.jpg|thumb|alt=|none]]&lt;br /&gt;
&lt;br /&gt;
Next flip it over and solder the 34 way IDC locking header on, notch upwards as show.  &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note: Some versions of the breakout board have and error in the silk-screen that indicate orientation incorrectly, with the notch towards the bottom.&#039;&#039;&lt;br /&gt;
[[File:20200606 130213.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
=== Soldering the Main Board ===&lt;br /&gt;
The main board is mostly pretty easy to solder, the one exception is the 50 way white connector. I found that putting flux on the pads and dragging solder across them, placing the connector in place and then placing the iron on the pins was the easiest. &lt;br /&gt;
[[File:20200619 175629.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
Next up I did conn 1, it can only go one way, and is a piece of cake after the 50 way connector.&lt;br /&gt;
[[File:20200605 174924.jpg|none|thumb]]&lt;br /&gt;
And Conn8, again easy.&lt;br /&gt;
[[File:20200605 175047.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
Next the DCDC convert connector, again only fits one way.&lt;br /&gt;
[[File:20200605 175849.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
MG1 and MG2 Current sensor Connectors, both these are the same, the tabs on both MG1 and MG2 are at the top.&lt;br /&gt;
[[File:20200605 181654.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
Next up the L2 inductor, it can go either way&lt;br /&gt;
[[File:20200605_182754.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
Next up I did the right angled pins for the wifi module, stick the pins in the module connector and then through the board, hold it in place and flip it over.&lt;br /&gt;
&lt;br /&gt;
[add photo]&lt;br /&gt;
&lt;br /&gt;
Cut 2 lengths of 3 pins from the header pin strips for the ISP header for programming the Atmega328P that will be used ton control the buck-boost converter.&lt;br /&gt;
[[File:20200605 183933.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
To enable the DCDC converter for I&#039;ve bridged over the 2 pin holes, but you can add a switch or something here, or leave it open if you&#039;re not using the DCDC to keep the 12v battery charged.&lt;br /&gt;
&lt;br /&gt;
See note above for &#039;&#039;&#039;V1C and V1D boards&#039;&#039;&#039;&lt;br /&gt;
[[File:20200605 184633.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
Pin header for Alegro current sensor, currently no software exists to control the buck boost, hopefully in the future this will be able to be used as a charger, this pin header is for the possible addition of a current sensor to facilitate.&lt;br /&gt;
[[File:20200605_185543.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
Three options exist on the board for flashing the firmware to the STM32.&lt;br /&gt;
&lt;br /&gt;
If you plan on programming your board with a [https://www.tag-connect.com/product/tc2050-idc-nl-050 TC2050 JTAG]  then obviously skip the next step.&lt;br /&gt;
&lt;br /&gt;
Solder a 3 pin headers for single wire program interface, or a 6 pin header for FTDI interface.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;The photo below shows both headers populated, however you don&#039;t necessarily need both.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:20200605 185557.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
Last up is the 34-way ICD interlock connector for the breakout board. Notch outward.&lt;br /&gt;
[[File:20200609 094633.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
=== Powering up ===&lt;br /&gt;
Now it&#039;s time to power up the board with 12v and test.&lt;br /&gt;
&lt;br /&gt;
Green wire is +12v (pin 1) and blue 0v (pin 11)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE:&#039;&#039;&#039; When Idle, board consumes about 1.7 - 1.8A of current. When PWM starts, current consumption goes up to ~2A.&lt;br /&gt;
[[File:20200608 125857.jpg|none|thumb]]&lt;br /&gt;
[[File:Screenshot 2020-06-07 at 1.32.12 pm.png|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
=== Checking voltages ===&lt;br /&gt;
&lt;br /&gt;
Check for ~3.3v here on C32&lt;br /&gt;
[[File:20200608 124947.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
Check for ~5v here on C21/C20/C22/C25&lt;br /&gt;
[[File:20200607 134336.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
Check for -5v here on the little via next to CONN7 or right next to CONN2 there&#039;s a via with -5V under it.&lt;br /&gt;
[[File:20200608 125110.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
Finally the 26v &lt;br /&gt;
[[File:20200608 125053.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
== Firmware ==&lt;br /&gt;
Full kits will be supplied programmed and partial kits will be un-programmed.&lt;br /&gt;
&lt;br /&gt;
=== Wifi Module Firmware ===&lt;br /&gt;
&amp;lt;u&amp;gt;The WiFi module supplied as part of a kit will have the default SSID of &#039;&#039;&#039;&#039;&#039;inverter&#039;&#039;&#039;&#039;&#039; and a password of &#039;&#039;&#039;&#039;&#039;inverter123&#039;&#039;&#039;&#039;&#039;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
My wifi module came with the firmware already installed, but if yours didn&#039;t follow the outline steps below. You will need a 3.3v USB to Serial adaptor.  &lt;br /&gt;
# Download the software from https://github.com/jsphuebner/esp8266-web-interface &lt;br /&gt;
#  Install the Arduino core from https://github.com/esp8266/Arduino (Arduino IDE, Platform.IO etc supported)&lt;br /&gt;
#  Write code to ESP8266&lt;br /&gt;
#  Write filesystem to ESP8266&lt;br /&gt;
&lt;br /&gt;
Step by Step using Arduino IDE&lt;br /&gt;
# Add https://arduino.esp8266.com/stable/package_esp8266com_index.json into Additional Board &lt;br /&gt;
# Go to Boards -&amp;gt; Board Manager and install ESP8266&lt;br /&gt;
# Extract the esp8266-web-interface software to your Arduino projects directory&lt;br /&gt;
# Create a new folder named data&lt;br /&gt;
# Move all files except FSBrowser.ino to the data folder.&lt;br /&gt;
# Choose Olimex MOD-WIFI-ESP8266 as the board&lt;br /&gt;
# Upload the code using the Arduino IDE&lt;br /&gt;
# Use &#039;ESP8266 Sketch Data Upload&#039; from the Tools menu, this will upload the files in the data directory to the ESP8266&lt;br /&gt;
&lt;br /&gt;
=== Programming Firmware ===&lt;br /&gt;
There are three different interfaces that are possible to program the firmware.&lt;br /&gt;
&lt;br /&gt;
Below are instructions for using the single wire programming interface with the [https://www.st.com/en/development-tools/st-link-v2.html USB STLink V2].&lt;br /&gt;
&lt;br /&gt;
Connect the 3 wire pin headers to the programming device.&lt;br /&gt;
[[File:Swp.jpg|none|thumb]]&lt;br /&gt;
[[File:S-l1600.jpg|none|thumb]]&lt;br /&gt;
The pin labeled &#039;&#039;DAT&#039;&#039; on the board should connect to &#039;&#039;SWDIO&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The middle pin of the 3 pins on the board should go to &#039;&#039;GND&#039;&#039; on the STLink V2&lt;br /&gt;
&lt;br /&gt;
The pin labeled &#039;&#039;CLK&#039;&#039; on the board should connect to &#039;&#039;SWCLK&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You will also need to hook up power to the board. You can connect the 5V output of the STLink to the 5V pin of the FTDI header. This is the third pin from the left, where pin 1 is just below the letters BLK on the board.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Using a Mac or Linux&#039;&#039;&#039; install https://github.com/stlink-org/stlink&lt;br /&gt;
&lt;br /&gt;
The bootloader can be found here: https://github.com/jsphuebner/tumanako-inverter-fw-bootloader/releases&lt;br /&gt;
&lt;br /&gt;
Run command to write the bootloader&amp;lt;blockquote&amp;gt;st-flash write stm32_loader.bin 0x08000000&amp;lt;/blockquote&amp;gt;&#039;&#039;&#039;For Windows&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Grab the custom bootloader (the .bin file) from https://github.com/jsphuebner/tumanako-inverter-fw-bootloader/releases&lt;br /&gt;
&lt;br /&gt;
Install the ST Link software from here: https://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-programmers/stsw-link004.html&lt;br /&gt;
&lt;br /&gt;
Run the software then select Target&amp;gt;Connect and then Target&amp;gt;Settings to check that your USB device is connected and that the settings look as follows:&lt;br /&gt;
[[File:ST Link Software Settings.png|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
Select File&amp;gt;Open and choose the bootloader from its download location. Then select Target&amp;gt;Program &amp;amp; Verify and you should see this:&lt;br /&gt;
[[File:Programming bootloader with ST Link software.png|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Once the bootloader has been programmed the main firmware can be uploaded and upgraded via the [[web interface]].&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The main firmware can be found here: https://github.com/jsphuebner/stm32-sine/releases&lt;br /&gt;
&lt;br /&gt;
A wifi network should be visible with the name &#039;&#039;ESP-*&#039;&#039; connect to it&lt;br /&gt;
[[File:Screenshot 2020-06-20 at 8.33.04 am.png|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
Once connected open a browser and navigate to http://192.168.4.1 and find the update section, upload the firmware.&lt;br /&gt;
[[File:Screenshot 2020-06-20 at 8.28.53 am.png|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
Once this has completed you can verify by scrolling to the Spot Values section and you&#039;ll see the software version&lt;br /&gt;
[[File:Screenshot 2020-06-20 at 8.39.58 am.png|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
=== Atmega328p Firmware ===&lt;br /&gt;
&#039;&#039;&#039;Be super careful never to program the Atmega while high voltage is applied and caps are not discharged. When cycling through the boot loader, it seems to do something strange that will blow up the otherwise bullet proof buck/boost converter! Also be aware that Arduino also cycles through the boot loader when closing the serial terminal!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This will control the Buck Boost module that&#039;s hopefully going to be a functioning charger in the future, it also requires a simple bit of firmware to enable the DC-DC converter.&lt;br /&gt;
&lt;br /&gt;
[Add instructions for firmware]&lt;br /&gt;
&lt;br /&gt;
== Inverter Parameters ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Parameter&lt;br /&gt;
!Suggested Value&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|pwmfrq&lt;br /&gt;
|2&lt;br /&gt;
|PWM frequency. 0=17.6kHz, 1=8.8kHz, &#039;&#039;&#039;2=4.4kHz&#039;&#039;&#039;, 3=2.2kHz. Needs PWM restart&lt;br /&gt;
|-&lt;br /&gt;
|pwmpol&lt;br /&gt;
|0 - Active High&lt;br /&gt;
|DO NOT PLAY WITH THIS!&lt;br /&gt;
|-&lt;br /&gt;
|deadtime&lt;br /&gt;
|130&lt;br /&gt;
|Deadtime between highside and lowside pulse. 28=800ns, 56=1.5µs. Not always linear, consult STM32 manual. Needs PWM restart&lt;br /&gt;
|-&lt;br /&gt;
|il1gain&lt;br /&gt;
|4.56&lt;br /&gt;
|Digits per A of current sensor L1&lt;br /&gt;
|-&lt;br /&gt;
|il2gain&lt;br /&gt;
|4.5&lt;br /&gt;
|Digits per A of current sensor L2&lt;br /&gt;
|-&lt;br /&gt;
|udcgain&lt;br /&gt;
|5&lt;br /&gt;
|Digits per V of DC link&lt;br /&gt;
|-&lt;br /&gt;
|udcofs&lt;br /&gt;
|0&lt;br /&gt;
|DC link 0V offset&lt;br /&gt;
|-&lt;br /&gt;
|udclim&lt;br /&gt;
|540&lt;br /&gt;
|High voltage at which the PWM is shut down&lt;br /&gt;
|-&lt;br /&gt;
|snshs&lt;br /&gt;
|1&lt;br /&gt;
|Heatsink temperature sensor. 0=JCurve, &#039;&#039;&#039;1=Semikron&#039;&#039;&#039;, 2=MBB600, 3=KTY81, 4=PT1000, 5=NTCK45+2k2, 6=Leaf&lt;br /&gt;
|-&lt;br /&gt;
|pinswap&lt;br /&gt;
|8&lt;br /&gt;
|0=None, 1=Currents12, 2=SinCos, 4=PWMOutput13, &#039;&#039;&#039;8=PWMOutput23&#039;&#039;&#039;&lt;br /&gt;
|}&lt;br /&gt;
[[Parameters]] Details&lt;br /&gt;
&lt;br /&gt;
== First Run (PWM verify) ==&lt;br /&gt;
Once your board in installed in the inverter and all the internal connectors are connected you can power up the inverter with 12v as above. No need to have anything connected to the HV battery or MG1 or MG2. You&#039;ll hear an audible wine. We&#039;re first going to verify the PWM outputs on the board and then connecting up a motor.&lt;br /&gt;
&lt;br /&gt;
Connect pin 3, MG2_FORW_IN to 12v&lt;br /&gt;
&lt;br /&gt;
Navigate to the [[Web Interface]]&lt;br /&gt;
&lt;br /&gt;
Change the parameter  encmode to &#039;AB&#039; as at the moment we don&#039;t have any sensors connected.&lt;br /&gt;
&lt;br /&gt;
Start the inverter in manual mode with the button&lt;br /&gt;
[[File:Screenshot 2020-07-06 at 1.21.04 pm.png|thumb|alt=|none]]    &lt;br /&gt;
&lt;br /&gt;
Now set the 2 testing parameters, fslipsnpnt and ampnom to 1. &lt;br /&gt;
[[File:Screenshot 2020-07-06 at 1.21.13 pm.png|none|thumb]] &lt;br /&gt;
&lt;br /&gt;
Using a scope, look for a PWM signal on MG2 A/B/C Hi/Low on the 50 pin connector. R74 through R79 can be used as test points for the PWM signal - these are located next to the 50 pin connector as shown in the image below. &lt;br /&gt;
[[File:51872869539 19178b9a51 o.jpg|alt=Partial shot of the 50 pin connector showing the location of the resistors which can be used as test points to check for the PWM signal on MG2 A/B/C Hi / Low. |none|thumb]]&lt;br /&gt;
Stop the inverter &lt;br /&gt;
&lt;br /&gt;
== First Run (Open loop motor spin) ==&lt;br /&gt;
&lt;br /&gt;
Now connect up the 3 motor phases and a small voltage of around 30v to the HV, I manually pre-charged with a 50w 10ohm resistor for a couple of seconds, the supply needs to be able to supply 10 amps or so. I also had a 20 amp fuse inline.&lt;br /&gt;
&lt;br /&gt;
As above, start the inverter in manual mode, set ampnom to 100 and fslipsnpnt to 10, the motor should start to spin.&lt;br /&gt;
&lt;br /&gt;
You may have [[Errors]] to address if this doesn&#039;t happen.&lt;br /&gt;
&lt;br /&gt;
== DC-DC Converter ==&lt;br /&gt;
The inverter contains a DC DC converter, that is used to keep the 12v battery charged using the high voltage battery. This is the EV equivalent to the alternator on a combustion engined car.&lt;br /&gt;
&lt;br /&gt;
As per the assembly instructions above this needs to be enabled via the jumper on the control board.&lt;br /&gt;
&lt;br /&gt;
In the unmodified state, the DC DC converter will operate with a main battery voltage in the ~80v to ~235v range and will require a simple modification to allow it to operate at higher voltage range, ~140v to ~400v.&lt;br /&gt;
&lt;br /&gt;
There&#039;s a couple of options for the DC DC converter. If you aren&#039;t planning on using the inverter as a charger and don&#039;t want to change the resistors you can use the buck boost module to step down the battery voltage to within the DC DC range.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Unmodified DC DC Resistors, using Buck Boost to step down.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Connect your battery to the inverter as shown below, with pre charge and fuses etc.[[File:20200705 190723.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
You can use the following sketch on the atmega328p&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;cpp&amp;quot; line=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
/*&lt;br /&gt;
Runs atmega328p buck/boost control on Prius Gen 3 and Yaris/Auris inverters in buck mode to drop Main HV down for DCDC converter.&lt;br /&gt;
Experimental code. Only tested on the bench! Use at your own risk!&lt;br /&gt;
D.Maguire&lt;br /&gt;
*/&lt;br /&gt;
#include &amp;lt;Metro.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
int HVLow = 0;        // voltage on low side of converter&lt;br /&gt;
int HVHi = 0;        // voltage on high side of converter&lt;br /&gt;
int SetV = 0;       //set point voltage&lt;br /&gt;
int PWMDuty = 0;    //pwm duty cycle&lt;br /&gt;
&lt;br /&gt;
Metro timer_pwm=Metro(5); &lt;br /&gt;
Metro timer_serial=Metro(200);&lt;br /&gt;
&lt;br /&gt;
void setup() {&lt;br /&gt;
  Serial.begin(9600);//&lt;br /&gt;
  TCCR1B = TCCR1B &amp;amp; B11111000 | B00000010;    // set timer 1 divisor to  8 for PWM frequency of  3921.16 Hz&lt;br /&gt;
  pinMode(9, OUTPUT); //boost low side&lt;br /&gt;
  pinMode(10, OUTPUT); //boost Hi side&lt;br /&gt;
  analogWrite(9,0); //low side off&lt;br /&gt;
  analogWrite(10,0); //High side off&lt;br /&gt;
  SetV=210;  //set at 210v to run dcdc&lt;br /&gt;
  PWMDuty=0;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
// the loop function runs over and over again forever&lt;br /&gt;
void loop() {&lt;br /&gt;
&lt;br /&gt;
    HVLow = (analogRead(A0)/1.85)-43; //-43 needed for Lexus CT200h variant. Remove for Prius / Auris.&lt;br /&gt;
    HVHi = (analogRead(A1)*1.25);&lt;br /&gt;
    &lt;br /&gt;
    updatePWM();  //call pwm update routine.&lt;br /&gt;
    serialOUT();  //call serial out routine&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void serialOUT()&lt;br /&gt;
{&lt;br /&gt;
  if(timer_serial.check()){&lt;br /&gt;
  Serial.print(&amp;quot;Low Vbus = &amp;quot;);&lt;br /&gt;
  Serial.print(HVLow);&lt;br /&gt;
  Serial.print(&amp;quot;Volts&amp;quot;);&lt;br /&gt;
  Serial.print(&amp;quot;\t High Vbus = &amp;quot;);&lt;br /&gt;
  Serial.print(HVHi);&lt;br /&gt;
  Serial.print(&amp;quot;Volts&amp;quot;);&lt;br /&gt;
  Serial.print(&amp;quot;\t PWMDUTY = &amp;quot;);&lt;br /&gt;
  Serial.println(PWMDuty);&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void updatePWM()&lt;br /&gt;
{&lt;br /&gt;
if(timer_pwm.check()){&lt;br /&gt;
  if(HVHi&amp;gt;300){  //if hv is above 300v start ramping up pwm and regulate to setpoint.&lt;br /&gt;
    if (HVLow&amp;lt;SetV) PWMDuty++;&lt;br /&gt;
    if (HVLow&amp;gt;SetV) PWMDuty--;&lt;br /&gt;
    if (PWMDuty&amp;lt;0)  PWMDuty=0;&lt;br /&gt;
    if (PWMDuty&amp;gt;250)  PWMDuty=250;&lt;br /&gt;
    analogWrite(10,PWMDuty);&lt;br /&gt;
  }&lt;br /&gt;
  if(HVHi&amp;lt;250)&lt;br /&gt;
  {&lt;br /&gt;
      PWMDuty--;;  //if hv is lower then 250v ramp down pwm&lt;br /&gt;
      if (PWMDuty&amp;lt;0)  PWMDuty=0;&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
  &lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Modified DC DC Resistors, using Buck Boost to bridge.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You must have modified the resistors in the inverter for this method to work. &lt;br /&gt;
&lt;br /&gt;
Connect your battery to the inverter as shown below, with pre charge and fuses etc.&lt;br /&gt;
&lt;br /&gt;
[[File:20200705 190723.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
The following sketch can use used on the atmega328p to internally bridge the buck boost module so that the full battery voltage reaches the DC DC converter.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;cpp&amp;quot;&amp;gt;&lt;br /&gt;
// I/O-PINS&lt;br /&gt;
const uint8_t boostLoDrivePIN = 9; // D9 (PB1)&lt;br /&gt;
const uint8_t boostHiDrivePIN = 10; // D10 (PB2)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
/********&lt;br /&gt;
* SETUP *&lt;br /&gt;
********/&lt;br /&gt;
void setup()&lt;br /&gt;
{&lt;br /&gt;
  pinMode(boostHiDrivePIN, OUTPUT);&lt;br /&gt;
  digitalWrite(boostHiDrivePIN, HIGH); // To set high drive ON&lt;br /&gt;
  &lt;br /&gt;
  pinMode(boostLoDrivePIN, OUTPUT);&lt;br /&gt;
  digitalWrite(boostLoDrivePIN, LOW); // To set low drive OFF&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
/*******&lt;br /&gt;
* LOOP *&lt;br /&gt;
*******/&lt;br /&gt;
void loop()&lt;br /&gt;
{&lt;br /&gt;
  &lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Modified DC DC Resistors and using Buck Boost for charging.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Your battery will be connected to Charging HV + and HV - with contactors and precharge. You will also have another contactor that the atmega328p will control to externally bridge Charging HV+ and Driving HV+ this will externally bridge both sides of the buck boost module when in run mode so that the driving isn&#039;t limited by the buck boost module but during charging the contactor will open and the connection is severed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:20200705 190723 2.jpg|none|thumb]]The charing code for the atmega328p is here https://github.com/celeron55/prius3charger_buck, more details on charging is further down in the wiki.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Modifying the DC DC converter resistors&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The DC DC converter in unmodified state will startup at a little over 100v and shut down at around 240v, to use it with a higher voltage it needs to be modified by changing some smd resistors.&lt;br /&gt;
&lt;br /&gt;
See https://www.youtube.com/watch?v=Nu5_OBOPk4s&amp;amp;t=2s&lt;br /&gt;
&lt;br /&gt;
You&#039;ll need to remove the bottom cover of the inverter to expose the DC DC converter control board.&lt;br /&gt;
[[File:Screenshot 2021-01-06 at 6.51.47 pm.png|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
We need to replace 4 resistors on the top side of the board, these are R629, R627, R625, R623, currently 120k ohm, these will need replacing with  210k ohm&lt;br /&gt;
&lt;br /&gt;
(1%, 0.5W, 0805, Manufacturer part#: ERJP06F2103V Farnell #: 2326773 )&lt;br /&gt;
[[File:Screenshot 2021-01-06 at 6.56.26 pm.png|none|thumb]]&lt;br /&gt;
[[File:20210114 162937.jpg|none|thumb]]&lt;br /&gt;
These are the 4 resistors on the top.&lt;br /&gt;
[[File:20210114 172258.jpg|none|thumb]]&lt;br /&gt;
And Replace&lt;br /&gt;
[[File:20210114 174343.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
There&#039;s also 4 resistors to replace on the bottom, these are R630, R628, R626, R624, these also need to be 210k ohm.&lt;br /&gt;
[[File:Screenshot 2021-01-06 at 6.59.08 pm.png|none|thumb]]&lt;br /&gt;
[[File:20210114 172503.jpg|none|thumb]]&lt;br /&gt;
The bottom resistors are up next to the flexible cable, on the underside of the board, to access them, unscrew the 4 screws holding the board in place, unplug the black connector carefully lift the board upwards.&lt;br /&gt;
&lt;br /&gt;
Bare in mind the flexible cable is still attached and is soldered directly to the board. Flip it over.&lt;br /&gt;
[[File:20210114 172710.jpg|none|thumb]]&lt;br /&gt;
[[File:20210114 173552.jpg|none|thumb]]&lt;br /&gt;
Bottom side replaced. You can now place the board back in place, screw the 4 screws in and don&#039;t forget the black plug.&lt;br /&gt;
&lt;br /&gt;
Replace the bottom metal cover.&lt;br /&gt;
&lt;br /&gt;
== 12v Battery Connection ==&lt;br /&gt;
The 12v battery positive connects to this post, it&#039;ll output ~14v when the DC-DC is running to keep the battery charged, the negative terminal of the battery should be connected to the case of the inverter.[[File:20200705_190706.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
== High Voltage Battery Connection ==&lt;br /&gt;
The HV battery connection is below, DO NOT directly connect the battery here. It needs to be connected via contactors and a pre-charge resistor. This connection point by-passes the buck/boost converter.&lt;br /&gt;
&lt;br /&gt;
[[File:20200705 190723.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
[Add details of pre-charge and contactor]&lt;br /&gt;
&lt;br /&gt;
== Motor Connection ==&lt;br /&gt;
If you are only using MG2 to power a motor, and not paralleling MG1 and MG2, connect your 3 phase wires from the motor to the outer 3 terminals.&lt;br /&gt;
&lt;br /&gt;
[[File:20200705 190657.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
== Parallel MG1 and MG2 on a single motor ==&lt;br /&gt;
MG1 and MG2 can be used in parallel for more power, to do so there&#039;s some solder jumpers on the board to use. Jumpers SJ1 to SJ6 need soldering across the little gap between them.&lt;br /&gt;
[[File:Screenshot 2021-08-20 at 9.17.02 am.png|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You then need to connect MG1 phase 1 to MG2 phase 1 and so on. This needs to be done before the the current sensors so that all the current goes through MG2 current sensors on the phase bars, otherwise the software cannot measure the current correctly.&lt;br /&gt;
[[File:1n9hto6.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== IDC Connector ==&lt;br /&gt;
If you are not using the AMPSeal daughterboard, you can connect directly to the 34 pin IDC connector on the EVBMW board. &lt;br /&gt;
&lt;br /&gt;
Connections are as follows:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|Pin Number&lt;br /&gt;
|Label&lt;br /&gt;
|Description&lt;br /&gt;
|-&lt;br /&gt;
|1&lt;br /&gt;
|12V_IN&lt;br /&gt;
|Provide with +12V supply from battery or power supply for testing&lt;br /&gt;
|-&lt;br /&gt;
|2&lt;br /&gt;
|12V_IN&lt;br /&gt;
|Provide with +12V supply from battery or power supply for testing&lt;br /&gt;
|-&lt;br /&gt;
|3&lt;br /&gt;
|MG2_FORW_IN&lt;br /&gt;
|Active high signal at 12V (switches at &amp;gt;7V) to tell the inverter which way to spin the motor. Take positive feed from 12V battery or supply and wire through a three position switch, with the switched connections running to forward and reverse.&lt;br /&gt;
|-&lt;br /&gt;
|4&lt;br /&gt;
|MG2_REVER_IN&lt;br /&gt;
|Active high signal at 12V (switches at &amp;gt;7V) to tell the inverter which way to spin the motor. Take positive feed from 12V battery or supply and wire through a three position switch, with the switched connections running to forward and reverse.&lt;br /&gt;
|-&lt;br /&gt;
|5&lt;br /&gt;
|MG2_START&lt;br /&gt;
|Active high signal at 12V (switches at &amp;gt;7V) to start the inverter and move it from pre-charge to run mode. Typically connected to the momentary &#039;START&#039; position of your ignition switch.&lt;br /&gt;
|-&lt;br /&gt;
|6&lt;br /&gt;
|MG2_BRAKE_ON&lt;br /&gt;
|Active high signal at 12V (switches at &amp;gt;7V) to inform the inverter that the car is under braking. Typically takes a feed from the brake switch that also turns on brake lights etc.&lt;br /&gt;
|-&lt;br /&gt;
|7&lt;br /&gt;
|CRUISE_IN&lt;br /&gt;
|Active high signal at 12V (switches at &amp;gt;7V) to turn on cruise control mode. This sets the current motor speed as the set point for cruise control. Cruise control is disabled by a signal from the brake switch.&lt;br /&gt;
|-&lt;br /&gt;
|8&lt;br /&gt;
|VCC_5V&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;+5V supply for temperature and throttle sensors&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|9&lt;br /&gt;
|MG2_ACCEL&lt;br /&gt;
|5V analogue input from first channel of throttle sensor. These typically take a 5V supply and ground and return to this pin a variable voltage that indicates throttle position.&lt;br /&gt;
|-&lt;br /&gt;
|10&lt;br /&gt;
|MG2_BRAKE_TRANS&lt;br /&gt;
|5V analogue input from second channel of throttle sensor. These typically take a 5V supply and ground and return to this pin a variable voltage that indicates throttle position.&lt;br /&gt;
|-&lt;br /&gt;
|11&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground for 12V supply or 5V return.&lt;br /&gt;
|-&lt;br /&gt;
|12&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground for 12V supply or 5V return&lt;br /&gt;
|-&lt;br /&gt;
|13&lt;br /&gt;
|CAN_EXT_H&lt;br /&gt;
|CANBus digital communication connection for remote interface with inverter&lt;br /&gt;
|-&lt;br /&gt;
|14&lt;br /&gt;
|CAN_EXT_L&lt;br /&gt;
|CANBus digital communication connection for remote interface with inverter&lt;br /&gt;
|-&lt;br /&gt;
|15&lt;br /&gt;
|VCC_5V&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;+5V supply for temperature and throttle sensors&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|16&lt;br /&gt;
|MG2_ENC_1&lt;br /&gt;
|Can be either digital input for encoder (in which case, connect the relevant encoder output here and provide the device with 5V and ground), or one of the two connections for the SIN winding if you are using a resolver for motor position.&lt;br /&gt;
|-&lt;br /&gt;
|17&lt;br /&gt;
|MG2_ENC_2&lt;br /&gt;
|Can be either digital input for encoder (in which case, connect the relevant encoder output here and provide the device with 5V and ground), or one of the two connections for the COS winding if you are using a resolver for motor position.&lt;br /&gt;
|-&lt;br /&gt;
|18&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground for 12V supply or 5V return&lt;br /&gt;
|-&lt;br /&gt;
|19&lt;br /&gt;
|MG2_COSA&lt;br /&gt;
|Connect SIN winding of motor resolver here and to Encoder Channel A&lt;br /&gt;
|-&lt;br /&gt;
|20&lt;br /&gt;
|MG2_SINA&lt;br /&gt;
|Connect COS winding of motor resolver here and to Encoder Channel B&lt;br /&gt;
|-&lt;br /&gt;
|21&lt;br /&gt;
|MG2_EXCA&lt;br /&gt;
|Connect exciter winding of motor resolver here and to ground&lt;br /&gt;
|-&lt;br /&gt;
|22&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground for 12V supply or 5V return&lt;br /&gt;
|-&lt;br /&gt;
|23&lt;br /&gt;
|MG2_STATOR_T1&lt;br /&gt;
|5V output for the motor temperature sensor. These are typically variable resistance devices. Connect one side of the sensor here.&lt;br /&gt;
|-&lt;br /&gt;
|24&lt;br /&gt;
|MG2_STATOR_T2&lt;br /&gt;
|Input from motor temperature sensor. Connect the other side of the sensor here. &#039;&#039;&#039;(Note the board correction above. Do not connect if it hasn&#039;t been addressed by a new revision or work around)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|25&lt;br /&gt;
|MAIN_CON&lt;br /&gt;
|Open Collector (Will switch the ground side from disconnected to ground). &lt;br /&gt;
Connect one side of the contactor coil to +12v and the other to this pin. Your contactor will need either a built in economiser or additional circuit. MAX 2 amp.&lt;br /&gt;
|-&lt;br /&gt;
|26&lt;br /&gt;
|PRECHG_RLY&lt;br /&gt;
|Open Collector (Will switch the ground side from disconnected to ground). &lt;br /&gt;
Connect one side of the contactor coil to +12v and the other to this pin. Your contactor will need either a built in economiser or additional circuit. MAX 2 amp.&lt;br /&gt;
|-&lt;br /&gt;
|27&lt;br /&gt;
|AC_CON&lt;br /&gt;
|Open Collector (Will switch the ground side from disconnected to ground). &lt;br /&gt;
Connect one side of the contactor coil to +12v and the other to this pin. Your contactor will need either a built in economiser or additional circuit. MAX 2 amp.&lt;br /&gt;
|-&lt;br /&gt;
|28&lt;br /&gt;
|HV_CON&lt;br /&gt;
|?&lt;br /&gt;
|-&lt;br /&gt;
|29&lt;br /&gt;
|AC_PRECH&lt;br /&gt;
|Open Collector (Will switch the ground side from disconnected to ground). &lt;br /&gt;
Connect one side of the contactor coil to +12v and the other to this pin. Your contactor will need either a built in economiser or additional circuit. MAX 2 amp.&lt;br /&gt;
|-&lt;br /&gt;
|30&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground for 12V supply or 5V return&lt;br /&gt;
|-&lt;br /&gt;
|31&lt;br /&gt;
|EVSE_PROX&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|32&lt;br /&gt;
|CONTROL_PILOT&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|33&lt;br /&gt;
|CHG_CANH&lt;br /&gt;
|CANBus digital communication connection for remote interface with charger&lt;br /&gt;
|-&lt;br /&gt;
|34&lt;br /&gt;
|CHG_CANL&lt;br /&gt;
|CANBus digital communication connection for remote interface with charger&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Ampseal Socket &amp;amp; Plug ==&lt;br /&gt;
There are multiple part numbers for the large 35 way Ampseal through hole socket, with small mating differences, be sure to get a matching pair.&lt;br /&gt;
&lt;br /&gt;
TE connectivity &#039;&#039;&#039;776164-1&#039;&#039;&#039; and &#039;&#039;&#039;776163-1&#039;&#039;&#039; are a matched pair (source https://www.ebay.co.uk/itm/Connector-ECU-Terminals-35P-35-Way-776164-1-776231-1-776163-1-Male-Female-Pins/401764868163?hash=item5d8b0d6043:g:3TkAAOSwexhc1Tcy&amp;lt;nowiki/&amp;gt;Ebay)&lt;br /&gt;
&lt;br /&gt;
[[File:AMPSeal socket (male).jpg|alt=|none|thumb|AMPSeal socket (male) in 3D printed surround with pins marked]]&lt;br /&gt;
&lt;br /&gt;
The AMPSeal connector is wired as follows:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|Pin Number&lt;br /&gt;
|AMPSeal Pinout Label&lt;br /&gt;
|Description&lt;br /&gt;
|-&lt;br /&gt;
|1&lt;br /&gt;
|12V SUPPLY POSITIVE&lt;br /&gt;
|Provide with +12V supply from battery or power supply for testing&lt;br /&gt;
|-&lt;br /&gt;
|2&lt;br /&gt;
|GROUND&lt;br /&gt;
|Common ground for 12V supply or 5V return&lt;br /&gt;
|-&lt;br /&gt;
|3&lt;br /&gt;
|FORWARD DIRECTION SIGNAL&lt;br /&gt;
|Active high signal at 12V (switches at &amp;gt;7V) to tell the inverter which way to spin the motor. Take positive feed from 12V battery or supply and wire through a three position switch, with the switched connections running to forward and reverse.&lt;br /&gt;
|-&lt;br /&gt;
|4&lt;br /&gt;
|REVERSE DIRECTION SIGNAL&lt;br /&gt;
|Active high signal at 12V (switches at &amp;gt;7V) to tell the inverter which way to spin the motor. Take positive feed from 12V battery or supply and wire through a three position switch, with the switched connections running to forward and reverse.&lt;br /&gt;
|-&lt;br /&gt;
|5&lt;br /&gt;
|START SIGNAL&lt;br /&gt;
|Active high signal at 12V (switches at &amp;gt;7V) to start the inverter and move it from pre-charge to run mode. Typically connected to the momentary &#039;START&#039; position of your ignition switch.&lt;br /&gt;
|-&lt;br /&gt;
|6&lt;br /&gt;
|BRAKE DIGITAL SIGNAL&lt;br /&gt;
|Active high signal at 12V (switches at &amp;gt;7V) to inform the inverter that the car is under braking. Typically takes a feed from the brake switch that also turns on brake lights etc.&lt;br /&gt;
|-&lt;br /&gt;
|7&lt;br /&gt;
|CRUISE CONTROL SIGNAL&lt;br /&gt;
|Active high signal at 12V (switches at &amp;gt;7V) to turn on cruise control mode. This sets the current motor speed as the set point for cruise control. Cruise control is disabled by a signal from the brake switch.&lt;br /&gt;
|-&lt;br /&gt;
|8&lt;br /&gt;
|5V OUT&lt;br /&gt;
| +5V supply for temperature and throttle sensors&lt;br /&gt;
|-&lt;br /&gt;
|9&lt;br /&gt;
|ACCELERATOR CHAN 1 INPUT&lt;br /&gt;
|5V analogue input from first channel of throttle sensor. These typically take a 5V supply and ground and return to this pin a variable voltage that indicates throttle position.&lt;br /&gt;
|-&lt;br /&gt;
|10&lt;br /&gt;
|ACCELERATOR CHAN 2 INPUT&lt;br /&gt;
|5V analogue input from second channel of throttle sensor. These typically take a 5V supply and ground and return to this pin a variable voltage that indicates throttle position.&lt;br /&gt;
|-&lt;br /&gt;
|11&lt;br /&gt;
|GROUND&lt;br /&gt;
|Common ground for 12V supply or 5V return.&lt;br /&gt;
|-&lt;br /&gt;
|12&lt;br /&gt;
|INVERTER CAN HIGH&lt;br /&gt;
|CANBus digital communication connection for remote interface with inverter&lt;br /&gt;
|-&lt;br /&gt;
|13&lt;br /&gt;
|INVERTER CAN LOW&lt;br /&gt;
|CANBus digital communication connection for remote interface with inverter&lt;br /&gt;
|-&lt;br /&gt;
|14&lt;br /&gt;
| +5V OUT&lt;br /&gt;
| +5V supply for temperature and throttle sensors&lt;br /&gt;
|-&lt;br /&gt;
|15&lt;br /&gt;
|ENCODER CHAN A&lt;br /&gt;
|Can be either digital input for encoder (in which case, connect the relevant encoder output here and provide the device with 5V and ground), or one of the two connections for the SIN winding if you are using a resolver for motor position.&lt;br /&gt;
|-&lt;br /&gt;
|16&lt;br /&gt;
|ENCODER CHAN B&lt;br /&gt;
|Can be either digital input for encoder (in which case, connect the relevant encoder output here and provide the device with 5V and ground), or one of the two connections for the COS winding if you are using a resolver for motor position.&lt;br /&gt;
|-&lt;br /&gt;
|17&lt;br /&gt;
|GROUND&lt;br /&gt;
|Common ground for 12V supply or 5V return&lt;br /&gt;
|-&lt;br /&gt;
|18&lt;br /&gt;
|RESOLVER SIN&lt;br /&gt;
|Connect SIN winding of motor resolver here and to Encoder Channel A&lt;br /&gt;
|-&lt;br /&gt;
|19&lt;br /&gt;
|RESOLVER COS&lt;br /&gt;
|Connect COS winding of motor resolver here and to Encoder Channel B&lt;br /&gt;
|-&lt;br /&gt;
|20&lt;br /&gt;
|RESOLVER EXC&lt;br /&gt;
|Connect exciter winding of motor resolver here and to ground&lt;br /&gt;
|-&lt;br /&gt;
|21&lt;br /&gt;
|GROUND&lt;br /&gt;
|Common ground for 12V supply or 5V return&lt;br /&gt;
|-&lt;br /&gt;
|22&lt;br /&gt;
|MOTOR TEMP SENSOR T1&lt;br /&gt;
|5V output for the motor temperature sensor. These are typically variable resistance devices. Connect one side of the sensor here.&lt;br /&gt;
|-&lt;br /&gt;
|23&lt;br /&gt;
|MOTOR TEMP SENSOR T2&lt;br /&gt;
|Input from motor temperature sensor. Connect the other side of the sensor here. &#039;&#039;&#039;(Note the board correction above. Do not connect if it hasn&#039;t been addressed by a new revision or work around)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|24&lt;br /&gt;
|MAIN HV CONTACTOR&lt;br /&gt;
|Open Collector (Will switch the ground side from disconnected to ground).&lt;br /&gt;
Connect one side of the contactor coil to +12v and the other to this pin. Your contactor will need either a built in economiser or additional circuit. MAX 5 amp.&lt;br /&gt;
|-&lt;br /&gt;
|25&lt;br /&gt;
|HV PRECHARGE RELAY&lt;br /&gt;
|Open Collector (Will switch the ground side from disconnected to ground). &lt;br /&gt;
Connect one side of the contactor coil to +12v and the other to this pin. Your contactor will need either a built in economiser or additional circuit. MAX 5 amp.&lt;br /&gt;
|-&lt;br /&gt;
|26&lt;br /&gt;
|CHARGER AC INPUT RELAY&lt;br /&gt;
|Open Collector (Will switch the ground side from disconnected to ground). &lt;br /&gt;
Connect one side of the contactor coil to +12v and the other to this pin. Your contactor will need either a built in economiser or additional circuit. MAX 5 amp.&lt;br /&gt;
|-&lt;br /&gt;
|27&lt;br /&gt;
|CHARGER HV DC REQUEST&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|28&lt;br /&gt;
|CHARGER AC PRECHARGE RELAY&lt;br /&gt;
|Open Collector (Will switch the ground side from disconnected to ground). &lt;br /&gt;
Connect one side of the contactor coil to +12v and the other to this pin. Your contactor will need either a built in economiser or additional circuit. MAX 5 amp.&lt;br /&gt;
|-&lt;br /&gt;
|29&lt;br /&gt;
|GROUND&lt;br /&gt;
|Common ground for 12V supply or 5V return&lt;br /&gt;
|-&lt;br /&gt;
|30&lt;br /&gt;
|EVSE PROXIMITY SIGNAL&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|31&lt;br /&gt;
|EVSE CONTROL PILOT SIGNAL&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|32&lt;br /&gt;
|CHARGER CAN HIGH&lt;br /&gt;
|CANBus digital communication connection for remote interface with charger&lt;br /&gt;
|-&lt;br /&gt;
|33&lt;br /&gt;
|CHARGER CAN LOW&lt;br /&gt;
|CANBus digital communication connection for remote interface with charger&lt;br /&gt;
|-&lt;br /&gt;
|34&lt;br /&gt;
|NOT USED&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|35&lt;br /&gt;
|NOT USED&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Connecting Resolver ==&lt;br /&gt;
For resolver connect EXC to one side of the exciter winding and other to Ground.&lt;br /&gt;
&lt;br /&gt;
Connect one side of SIN winding to SIN and other to Encoder A&lt;br /&gt;
&lt;br /&gt;
Conenct one side of COS winding to COS and other to encoder B.&lt;br /&gt;
&lt;br /&gt;
== Inverter as charger ==&lt;br /&gt;
The buck/boost module in the inverter can be used to step up or down an input voltage to charge the high voltage battery in the car. Stepping down to a lower voltage is buck and up is boost converting.&lt;br /&gt;
&lt;br /&gt;
=== Buck Mode Charging. ===&lt;br /&gt;
This is what you need if your battery voltage will be lower than the rectified input (&amp;lt; 340v for 240v single phase, 600v for 3 phase)&lt;br /&gt;
&lt;br /&gt;
There&#039;s some firmware for the Atmega on the EVBMW board to control the buck/boost in buck mode for charging.&lt;br /&gt;
&lt;br /&gt;
https://github.com/celeron55/prius3charger_buck&lt;br /&gt;
&lt;br /&gt;
Once you&#039;ve downloaded the code there&#039;s some things to change.&amp;lt;blockquote&amp;gt;#define BATTERY_CHARGE_VOLTAGE 300    //Set this to your battery full voltage&amp;lt;/blockquote&amp;gt;&amp;lt;blockquote&amp;gt;#define AC_PRECHARGE_MINIMUM_VOLTAGE 550  // European 3-phase rectifies to 600V, Single Phase 240v rectifies to 340V&amp;lt;/blockquote&amp;gt;&amp;lt;blockquote&amp;gt;#define PRECHARGE_BOOST_ENABLED true.   // The capacitor needs pre-charging, there&#039;s 2 options, a pre-charge resistor on the A.C input or use the battery to boost to the input voltage.&amp;lt;/blockquote&amp;gt;&amp;lt;blockquote&amp;gt;#define PRECHARGE_BOOST_VOLTAGE 550  // European 3-phase rectifies to 600V, Single Phase 240v rectifies to 340V&amp;lt;/blockquote&amp;gt;The battery connection needs to be a little different. The battery + will need connecting to the left most terminal and a contactor will be needed to bridge the left most and right most when running.&lt;br /&gt;
[[File:20200705 190723 2.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
== 3D Printed Parts ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
|[[File:20210119 125158.jpg|none|thumb]]&lt;br /&gt;
|[[File:20210119 110057.jpg|none|thumb]]&lt;br /&gt;
|[[File:20210119 191934.jpg|none|thumb]]&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
User bobby_come_lately has created a fair few 3D printable parts for use with the inverter. They can be downloaded https://github.com/jamiejones85/Gen3PriusInverter3DParts&lt;br /&gt;
&lt;br /&gt;
== Frequently Asked Questions ==&lt;br /&gt;
&#039;&#039;&#039;What happens when the inverter has an ERROR?&#039;&#039;&#039;&amp;lt;blockquote&amp;gt;The Toyota driver error signals are connected to the pk_in pin on the stm32 so when the Inverter has an error it stops the PWM by giving the STM32 an interrupt signal. See [https://openinverter.org/forum/viewtopic.php?p=25460#p25460 Here]&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/Prius-Gen3-Inverter/tree/master/V2 Damien&#039;s Prius Gen3 v2 Github]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/Prius-Gen3-Inverter/blob/master/V1c/PriusGen3HandPlacedParts.csv Bill of Hand Placed Parts] (Github)&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/Prius-Gen3-Inverter/blob/master/V2/PriusG3_V1b_BOM_JLC.xls?raw=true Bill of Materials] (Github)&lt;br /&gt;
&lt;br /&gt;
The control board takes advantage of the [https://openinverter.org/wiki/Downloads OpenInverter.org software] for control.&lt;br /&gt;
&lt;br /&gt;
[[Category:OEM]] [[Category:Toyota]] [[Category:Inverter]]&lt;/div&gt;</summary>
		<author><name>Chrskly</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Esp32-web-interface&amp;diff=2003</id>
		<title>Esp32-web-interface</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Esp32-web-interface&amp;diff=2003"/>
		<updated>2021-12-09T22:17:37Z</updated>

		<summary type="html">&lt;p&gt;Chrskly: Created page with &amp;quot;The Olimex MOD-WIFI-ESP8266 is usually used to provide a web interface to configure and monitor various EV conversion components found here. E.g. i...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The [[Olimex_MOD-WIFI-ESP8266|Olimex MOD-WIFI-ESP8266]] is usually used to provide a web interface to configure and monitor various EV conversion components found here. E.g. inverters, chargers, etc.&lt;br /&gt;
&lt;br /&gt;
An alternative to this is to use an esp32 based module. You can find a port of the esp8266 firmware for esp32 in [https://github.com/Bedz01 Bedz02] Github repo [https://github.com/Bedz01/esp32-web-interface-port here].&lt;br /&gt;
&lt;br /&gt;
TODO - write installation instructions&lt;br /&gt;
&lt;br /&gt;
=== Ethernet / Wired Option ===&lt;br /&gt;
&lt;br /&gt;
WiFi can struggle to operate well when it uses the small antenna found on these boards and is buried under multiple layers of metal inside a car. Some people might prefer to use a wired option instead. One way to do this is to use an esp32 board which includes an ethernet port and connect to the web interface this way.&lt;br /&gt;
&lt;br /&gt;
You can find a modified version of the esp32 firmware which includes ethernet support in [https://github.com/chrskly/esp32-web-interface this] Github repo.&lt;br /&gt;
&lt;br /&gt;
TODO - write installation instructions&lt;br /&gt;
&lt;br /&gt;
==== Supported Hardware ====&lt;br /&gt;
* [https://www.olimex.com/Products/IoT/ESP32/ESP32-POE-ISO/open-source-hardware Olimex ESP32-POE-ISO] - tested and confirmed working.&lt;br /&gt;
* [https://www.olimex.com/Products/IoT/ESP32/ESP32-POE/open-source-hardware Olimex ESP32-POE] - should also work, just a different variant of above.&lt;br /&gt;
* [http://www.wireless-tag.com/portfolio/wt32-eth01/ WST32-eth01] - unknown, pending testing.&lt;/div&gt;</summary>
		<author><name>Chrskly</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Toyota/Lexus_GS300h_CVT&amp;diff=1709</id>
		<title>Toyota/Lexus GS300h CVT</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Toyota/Lexus_GS300h_CVT&amp;diff=1709"/>
		<updated>2021-09-03T23:13:34Z</updated>

		<summary type="html">&lt;p&gt;Chrskly: Fix oil in/out description&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;NOTE : This motor is as of yet untested in a real world application.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Forum board : https://openinverter.org/forum/viewtopic.php?f=14&amp;amp;t=949#p15109&lt;br /&gt;
&lt;br /&gt;
General overview : https://slideplayer.com/slide/14432904/&lt;br /&gt;
&lt;br /&gt;
[[File:Gs300h-cvt.jpg|thumb]]&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
The L210 is a continuously variable transmission (CVT) which can be found in the Lexus gs300h. It is very similar in design to the gs450h CVT. It contains two motor-generators - MG1 and MG2. When used as originally intended, MG1 is spun by the ICE, via a planetary gear system, and acts primarily as a generator. MG1 also acts as a starter motor for the ICE. MG2 is connected to the output shaft via a second planetary gear system to provide traction directly to the rear wheels.&lt;br /&gt;
&lt;br /&gt;
The ratio between MG1 and the output shaft is 2.6:1. The ratio between MG2 and the output shaft is 3.333:1.&lt;br /&gt;
&lt;br /&gt;
The official power output of the CVT is [https://lexus.pressroom.com.au/press_kit_detail.asp?kitID=336&amp;amp;clientID=3&amp;amp;navSectionID=6 105kW and 300Nm of torque], but this has yet to be tested.&lt;br /&gt;
&lt;br /&gt;
For use in a pure EV application, the ICE input shaft can be locked stationary with a plate or bar. This allows traction to be provided by both MG1 and MG2.&lt;br /&gt;
&lt;br /&gt;
=== Part Numbers ===&lt;br /&gt;
Part numbers include 30920-30030. The CVT can be found in the Lexus ES300h, Lexus IS300h, and Toyota Crown Hybrid. The matching inverter is part number G9200-30132, which is a Gen 3 inverter.&lt;br /&gt;
&lt;br /&gt;
=== Dimensions ===&lt;br /&gt;
Bellhousing diameter =400 mm ,&lt;br /&gt;
&lt;br /&gt;
Length bellhousing face to drive flange face 720mm&lt;br /&gt;
&lt;br /&gt;
Diameter main body 330mm front to 250 rear&lt;br /&gt;
&lt;br /&gt;
Tailshaft  length 210mm&lt;br /&gt;
&lt;br /&gt;
Weight 90kg&lt;br /&gt;
&lt;br /&gt;
== Oil pump ==&lt;br /&gt;
The L110 CVT, found in the gs450h, has two oil pumps. An internal mechanical pump and an external 12V electric pump. The internal mechanical oil pump is driven by the ICE. Locking the ICE input shaft to allow MG1 to provide traction means that the internal oil pump no longer functions. This makes the external 12V electric oil pump essential when using the CVT in a pure EV application.&lt;br /&gt;
&lt;br /&gt;
One key difference between the L210 (gs300h) and the L110 (gs450h) is that the L210 only has an internal oil pump. However, the internal oil pump is driven by both the ICE and/or the rotation of MG2. So, even when you lock the ICE input shaft to allow MG1 to provide traction, MG2 will still drive the oil pump whenever the car moves. Since there are no gears/speeds in this CVT (and hence no clutch packs, etc.), the oil is only required for cooling and lubricating the bearings. &lt;br /&gt;
&lt;br /&gt;
== Connections ==&lt;br /&gt;
=== Left hand side ===&lt;br /&gt;
[[File:Gs300h-cvt-lhs-annotated.jpg|thumb|Left hand side connections]]&lt;br /&gt;
# MG1 3-phase power connection&lt;br /&gt;
# MG1 resolver (and temperature) port&lt;br /&gt;
# MG2 resolver (and temperature) port&lt;br /&gt;
=== Right hand side ===&lt;br /&gt;
[[File:Gs300h-cvt-rhs-annotated.jpg|thumb|Right hand side connections]]&lt;br /&gt;
# Input/output from/to oil cooler radiator&lt;br /&gt;
# Mechanical shifter and shift sensor port&lt;br /&gt;
# Ground strap&lt;br /&gt;
# MG2 3-phase power connection&lt;br /&gt;
&lt;br /&gt;
=== Resolvers ===&lt;br /&gt;
Sumitomo 6189-1240 8-WAY&lt;br /&gt;
&lt;br /&gt;
1         2         3         4&lt;br /&gt;
&lt;br /&gt;
White  Red  Yellow  White&lt;br /&gt;
&lt;br /&gt;
White Black Blue    Green&lt;br /&gt;
&lt;br /&gt;
5        6         7         8&lt;br /&gt;
&lt;br /&gt;
1+5 Temp sensor , 2+6 ,3+7 Sin/Cos ,  4+8 exciter . Both the same.&lt;br /&gt;
&lt;br /&gt;
But check for yourself as per Damien&#039;s tuning video    &lt;br /&gt;
&lt;br /&gt;
=== Shift sensor ===&lt;br /&gt;
To do&lt;br /&gt;
&lt;br /&gt;
=== Output flange ===&lt;br /&gt;
To do&lt;br /&gt;
&lt;br /&gt;
=== ICE input shaft coupling ===&lt;br /&gt;
23mm shaft diameter , 21 spline &lt;br /&gt;
&lt;br /&gt;
OEM numbers : Daihatsu 31250-14090; Lexus 31250-14010; Toyota 31250-12040; &lt;br /&gt;
&lt;br /&gt;
Confirmed that Blueprint ADT33102 clutch plate or equivalent is a good fit.&lt;/div&gt;</summary>
		<author><name>Chrskly</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Parameters&amp;diff=1044</id>
		<title>Parameters</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Parameters&amp;diff=1044"/>
		<updated>2020-10-13T13:11:16Z</updated>

		<summary type="html">&lt;p&gt;Chrskly: Remove extra redundant HTML tags&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The inverter can be adapted to many kinds of motors, battery packs and driver preferences by changing parameters.&lt;br /&gt;
&lt;br /&gt;
== Motor Parameters ==&lt;br /&gt;
The parameters to adjust the inverter to the motor are boost, fweak, fslipmin, fslipmax, polepairs, fmin, fmax and numimp.&lt;br /&gt;
&lt;br /&gt;
They can be deduced from the motors nameplate or by trying which feels best. For illustration we will assume a bus voltage of 500V and a 4-pole (p=2) motor with a nominal speed of n=1450rpm@f=50Hz and 230V. With 500V DC an AC voltage of 500/1.41=355V can be generated.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;boost&#039;&#039;&#039; is the digital amplitude of the sine wave at motor startup. It is needed to overcome the motors ohmic resistance. Digital amplitude is an internal quantity. 0 means no voltage is generated at all, 37813 means the full possible voltage is generated.&lt;br /&gt;
&lt;br /&gt;
Example: boost=1700&lt;br /&gt;
&lt;br /&gt;
At full throttle an effective voltage of 1700/37813*355=16V is generated. The best way to find a feasible value is to optimize it in the finished car. Start with the default value and increase until you get a good startup.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;fweak&#039;&#039;&#039; is the frequency at which the full possible voltage is generated. It is also the point of the highest motor power. Beyond fweak torque will decrease to the square of frequency and thus power will decrease linear with frequency.&lt;br /&gt;
&lt;br /&gt;
A starting point for fweak is the motors nameplate:&lt;br /&gt;
&lt;br /&gt;
[[File:Fweak.png|210x210px]]&lt;br /&gt;
&lt;br /&gt;
With our illustration motor fweak=(355 V/230 V) * 50 Hz = 77 Hz. fweak can be configured lower than that resulting in more torque at the low end.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;fslipmin&#039;&#039;&#039;/&#039;&#039;&#039;fslipmax&#039;&#039;&#039; is the slip frequency at which the motor is run at minimum/maximum throttle. fslipmin is set to the motors optimal slip frequency which can be deduced from the nameplate. fslipmin=f-p*n/60. With our illustration motor fslipmin=50-2*1450/60=1.66Hz. fslipmax can be set as high as breakdown torque which is not found on the nameplate. So its best found experimental starting with 2*fslipmin. If set too high the motor will start to rock violently on startup, possibly tripping the over current limit.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;polepairs&#039;&#039;&#039; is set to p, 2 in our example.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;fmin&#039;&#039;&#039; should be set just below fslipmin.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;fmax&#039;&#039;&#039; is used to limit the speed of the motor. The default 200Hz would result in a maximum speed of about 6000rpm.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ampmin&#039;&#039;&#039; Is the minimum relative amplitude fed to the motor. At very low amplitudes the motor does not generate any noticable torque and throttle travel is wasted that does nothing. Find out a good value by experimenting. &lt;br /&gt;
&lt;br /&gt;
== Inverter Parameters ==&lt;br /&gt;
&#039;&#039;&#039;pwmfrq&#039;&#039;&#039; Sets the frequency at which the IGBTs are switched on and off. The faster the switching the higher the losses in the inverter and the lower the losses in the motor. The maximum frequency is also limited by the driver boards as explained here.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;pwmpol&#039;&#039;&#039; Sets the polarity of the PWM signals, active high or active low. Do not touch this parameter if you don&#039;t know what you&#039;re doing. When configured inversely it will blow up your power stage immediatly if connected to a potent power source like batteries.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;deadtime&#039;&#039;&#039; The time between switching off one IGBT and switching on the other. 28=800ns, 63=1.5µs. More values can be found in the STM32 data sheet. Make sure to test the deadtime at low power levels. Setting the deadtime too low while operating of a potent power source can blow up your power stage! &lt;br /&gt;
&lt;br /&gt;
== Parameter Reference ==&lt;br /&gt;
The following parameters currently exist to customize the controller software. Type&lt;br /&gt;
 set param &amp;lt;value&amp;gt;&lt;br /&gt;
to change it. Type&lt;br /&gt;
 get param&lt;br /&gt;
to get the current value.&lt;br /&gt;
&lt;br /&gt;
Parameters are internally stored with 5 binary fraction digits. That means there are 32 possible values after the decimal point. So when you set a value of 0.35 you might end up with 0.33. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|&#039;&#039;&#039;Name&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;Unit&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;Min&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;Max&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;Default&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;6&amp;quot; |&#039;&#039;&#039;Motor (FOC)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|curkp&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|20000&lt;br /&gt;
|64&lt;br /&gt;
|Current controller proportional gain&lt;br /&gt;
|-&lt;br /&gt;
|curki&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|100000&lt;br /&gt;
|20000&lt;br /&gt;
|Current controller integral gain&lt;br /&gt;
|-&lt;br /&gt;
|curkifrqgain&lt;br /&gt;
|dig/Hz&lt;br /&gt;
|0&lt;br /&gt;
|1000&lt;br /&gt;
|50&lt;br /&gt;
|Current controllers integral gain frequency coefficient&lt;br /&gt;
|-&lt;br /&gt;
|fwkp&lt;br /&gt;
|&lt;br /&gt;
| -10000&lt;br /&gt;
|0&lt;br /&gt;
| -100&lt;br /&gt;
|Cross comparison field weakening controller gain&lt;br /&gt;
|-&lt;br /&gt;
|dmargin&lt;br /&gt;
|dig/Hz&lt;br /&gt;
| -10000&lt;br /&gt;
|0&lt;br /&gt;
| -2000&lt;br /&gt;
|Margin for residual torque producing current (so field weakening current doesn&#039;t use up the entire amplitude)&lt;br /&gt;
|-&lt;br /&gt;
|syncadv&lt;br /&gt;
|dig/Hz&lt;br /&gt;
| -100&lt;br /&gt;
|100&lt;br /&gt;
|10&lt;br /&gt;
|Shifts &amp;quot;syncofs&amp;quot; downwards/upwards with frequency&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;6&amp;quot; |&#039;&#039;&#039;Motor (sine)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|boost&lt;br /&gt;
|dig&lt;br /&gt;
|0&lt;br /&gt;
|37813&lt;br /&gt;
|1700&lt;br /&gt;
|0 Hz Boost in digit. 1000 digit ~ 2.5%&lt;br /&gt;
|-&lt;br /&gt;
|fweak&lt;br /&gt;
|Hz&lt;br /&gt;
|0&lt;br /&gt;
|400&lt;br /&gt;
|67&lt;br /&gt;
|Frequency where V/Hz reaches its peak&lt;br /&gt;
|-&lt;br /&gt;
|fconst&lt;br /&gt;
|Hz&lt;br /&gt;
|0&lt;br /&gt;
|400&lt;br /&gt;
|400&lt;br /&gt;
|Frequency where slip frequency is derated to form a constant power region. Only has an effect when &amp;lt; fweak&lt;br /&gt;
|-&lt;br /&gt;
|udcnom&lt;br /&gt;
|V&lt;br /&gt;
|0&lt;br /&gt;
|1000&lt;br /&gt;
|0&lt;br /&gt;
|Nominal voltage for fweak and boost. fweak and boost are scaled to the actual dc voltage. 0=don&#039;t scale&lt;br /&gt;
|-&lt;br /&gt;
|fslipmin&lt;br /&gt;
|Hz&lt;br /&gt;
|0&lt;br /&gt;
|100&lt;br /&gt;
|1&lt;br /&gt;
|Slip frequency at minimum throttle&lt;br /&gt;
|-&lt;br /&gt;
|fslipmax&lt;br /&gt;
|Hz&lt;br /&gt;
|0&lt;br /&gt;
|100&lt;br /&gt;
|3&lt;br /&gt;
|Slip frequency at maximum throttle&lt;br /&gt;
|-&lt;br /&gt;
|fslipconstmax&lt;br /&gt;
|Hz&lt;br /&gt;
|0&lt;br /&gt;
|10&lt;br /&gt;
|5&lt;br /&gt;
|Slip frequency at maximum throttle and fconst&lt;br /&gt;
|-&lt;br /&gt;
|fmin&lt;br /&gt;
|Hz&lt;br /&gt;
|0&lt;br /&gt;
|400&lt;br /&gt;
|1&lt;br /&gt;
|Below this frequency no voltage is generated&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;6&amp;quot; |&#039;&#039;&#039;Motor (common)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|polepairs&lt;br /&gt;
|&lt;br /&gt;
|1&lt;br /&gt;
|16&lt;br /&gt;
|2&lt;br /&gt;
|Pole pairs of motor (e.g. 4-pole motor: 2 pole pairs)&lt;br /&gt;
|-&lt;br /&gt;
|respolepairs&lt;br /&gt;
|&lt;br /&gt;
|1&lt;br /&gt;
|16&lt;br /&gt;
|1&lt;br /&gt;
|Pole pairs of resolver (normally same as polepairs of motor, but sometimes 1)&lt;br /&gt;
|-&lt;br /&gt;
|encflt&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|16&lt;br /&gt;
|4&lt;br /&gt;
|Filter constant between pulse encoder and speed calculation. Makes up for slightly uneven pulse distribution&lt;br /&gt;
|-&lt;br /&gt;
|encmode&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|4&lt;br /&gt;
|0&lt;br /&gt;
|0=single channel encoder, 1=quadrature encoder,&lt;br /&gt;
2=quadrature /w index pulse, &lt;br /&gt;
3=SPI (deprecated),&lt;br /&gt;
4=Resolver,&lt;br /&gt;
5=sin/cos chip&lt;br /&gt;
|-&lt;br /&gt;
|fmax&lt;br /&gt;
|Hz&lt;br /&gt;
|0&lt;br /&gt;
|400&lt;br /&gt;
|200&lt;br /&gt;
|At this frequency rev limiting kicks in&lt;br /&gt;
|-&lt;br /&gt;
|numimp&lt;br /&gt;
|Imp/rev&lt;br /&gt;
|8&lt;br /&gt;
|8192&lt;br /&gt;
|60&lt;br /&gt;
|Pulse encoder pulses per turn&lt;br /&gt;
|-&lt;br /&gt;
|dirchrpm&lt;br /&gt;
|rpm&lt;br /&gt;
|0&lt;br /&gt;
|2000&lt;br /&gt;
|100&lt;br /&gt;
|Motor speed at which direction change is allowed&lt;br /&gt;
|-&lt;br /&gt;
|dirmode&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|1&lt;br /&gt;
|1&lt;br /&gt;
|0=button (momentary pulse selects forward/reverse), 1=switch (forward or reverse signal must be constantly high)&lt;br /&gt;
|-&lt;br /&gt;
|syncofs&lt;br /&gt;
|dig&lt;br /&gt;
|0&lt;br /&gt;
|65535&lt;br /&gt;
|0&lt;br /&gt;
|Phase shift of sine wave after receiving index pulse&lt;br /&gt;
|-&lt;br /&gt;
|snsm&lt;br /&gt;
|&lt;br /&gt;
|2&lt;br /&gt;
|3&lt;br /&gt;
|2&lt;br /&gt;
|Motor temperature sensor. 12=KTY83, 13=KTY84, 14=Leaf, 15=KTY81&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;6&amp;quot; |&#039;&#039;&#039;Inverter&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|pwmfrq&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|3&lt;br /&gt;
|2&lt;br /&gt;
|PWM frequency. 0=17.6kHz, 1=8.8kHz, 2=4.4kHz, 3=2.2kHz. Needs PWM restart&lt;br /&gt;
|-&lt;br /&gt;
|pwmpol&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|1&lt;br /&gt;
|0&lt;br /&gt;
|PWM polarity. 0=active high, 1=active low. DO NOT PLAY WITH THIS!&lt;br /&gt;
Needs PWM restart&lt;br /&gt;
|-&lt;br /&gt;
|deadtime&lt;br /&gt;
|dig&lt;br /&gt;
|0&lt;br /&gt;
|255&lt;br /&gt;
|28&lt;br /&gt;
|Deadtime between highside and lowside pulse. 28=800ns, 56=1.5µs. Not always linear, consult STM32 manual. Needs PWM restart&lt;br /&gt;
|-&lt;br /&gt;
|ocurlim&lt;br /&gt;
|A&lt;br /&gt;
| -65535&lt;br /&gt;
|65535&lt;br /&gt;
|100&lt;br /&gt;
|Hardware over current limit. RMS-current times sqrt(2) + some slack. Set negative if il1gain and il2gain are negative.&lt;br /&gt;
|-&lt;br /&gt;
|minpulse&lt;br /&gt;
|dig&lt;br /&gt;
|0&lt;br /&gt;
|4095&lt;br /&gt;
|1000&lt;br /&gt;
|Narrowest or widest pulse, all other mapped to full off or full on, respectively&lt;br /&gt;
|-&lt;br /&gt;
|il1gain&lt;br /&gt;
|dig/A&lt;br /&gt;
|0&lt;br /&gt;
|4095&lt;br /&gt;
|4.7&lt;br /&gt;
|Digits per A of current sensor L1&lt;br /&gt;
|-&lt;br /&gt;
|il2gain&lt;br /&gt;
|dig/A&lt;br /&gt;
|0&lt;br /&gt;
|4095&lt;br /&gt;
|4.7&lt;br /&gt;
|Digits per A of current sensor L2&lt;br /&gt;
|-&lt;br /&gt;
|udcgain&lt;br /&gt;
|dig/V&lt;br /&gt;
|0&lt;br /&gt;
|4095&lt;br /&gt;
|6.15&lt;br /&gt;
|Digits per V of DC link&lt;br /&gt;
|-&lt;br /&gt;
|udcofs&lt;br /&gt;
|dig&lt;br /&gt;
|0&lt;br /&gt;
|4095&lt;br /&gt;
|0&lt;br /&gt;
|DC link 0V offset&lt;br /&gt;
|-&lt;br /&gt;
|udclim&lt;br /&gt;
|V&lt;br /&gt;
|0&lt;br /&gt;
|1000&lt;br /&gt;
|540&lt;br /&gt;
|High voltage at which the PWM is shut down&lt;br /&gt;
|-&lt;br /&gt;
|snshs&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|1&lt;br /&gt;
|0&lt;br /&gt;
|Heatsink temperature sensor. 0=JCurve, 1=Semikron, 2=MBB600, 3=KTY81, 4=PT1000, 5=NTCK45+2k2, 6=Leaf&lt;br /&gt;
|-&lt;br /&gt;
|pinswap&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|7&lt;br /&gt;
|0&lt;br /&gt;
|Swap pins (only &amp;quot;FOC&amp;quot; software). Multiple bits can be set. 1=Swap Current Inputs, 2=Swap Resolver sin/cos, 4=Swap PWM output 1/3&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;6&amp;quot; |&#039;&#039;&#039;Derating&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|bmslimhigh&lt;br /&gt;
|%&lt;br /&gt;
|0&lt;br /&gt;
|100&lt;br /&gt;
|50&lt;br /&gt;
|Positive throttle limit on BMS under voltage&lt;br /&gt;
|-&lt;br /&gt;
|bmslimlow&lt;br /&gt;
|%&lt;br /&gt;
| -100&lt;br /&gt;
|0&lt;br /&gt;
| -1&lt;br /&gt;
|Regen limit on BMS over voltage&lt;br /&gt;
|-&lt;br /&gt;
|udcmin&lt;br /&gt;
|V&lt;br /&gt;
|0&lt;br /&gt;
|1000&lt;br /&gt;
|450&lt;br /&gt;
|Minimum battery voltage&lt;br /&gt;
|-&lt;br /&gt;
|udcmax&lt;br /&gt;
|V&lt;br /&gt;
|0&lt;br /&gt;
|1000&lt;br /&gt;
|520&lt;br /&gt;
|Maximum battery voltage&lt;br /&gt;
|-&lt;br /&gt;
|iacmax&lt;br /&gt;
|A&lt;br /&gt;
|0&lt;br /&gt;
|5000&lt;br /&gt;
|5000&lt;br /&gt;
|Maximum peak AC current&lt;br /&gt;
|-&lt;br /&gt;
|idcmax&lt;br /&gt;
|A&lt;br /&gt;
|0&lt;br /&gt;
|5000&lt;br /&gt;
|5000&lt;br /&gt;
|Maximum DC input current&lt;br /&gt;
|-&lt;br /&gt;
|idcmin&lt;br /&gt;
|A&lt;br /&gt;
| -5000&lt;br /&gt;
|0&lt;br /&gt;
| -5000&lt;br /&gt;
|Maximum DC output current (regen)&lt;br /&gt;
|-&lt;br /&gt;
|throtmax&lt;br /&gt;
|%&lt;br /&gt;
|0&lt;br /&gt;
|100&lt;br /&gt;
|100&lt;br /&gt;
|Throttle limit&lt;br /&gt;
|-&lt;br /&gt;
|throtmin&lt;br /&gt;
|%&lt;br /&gt;
| -100&lt;br /&gt;
|0&lt;br /&gt;
| -100&lt;br /&gt;
|Throttle regen limit&lt;br /&gt;
|-&lt;br /&gt;
|ifltrise&lt;br /&gt;
|dig&lt;br /&gt;
|0&lt;br /&gt;
|32&lt;br /&gt;
|10&lt;br /&gt;
|Controls how quickly slip and amplitude recover. The greater the value, the slower&lt;br /&gt;
|-&lt;br /&gt;
|ifltfall&lt;br /&gt;
|dig&lt;br /&gt;
|0&lt;br /&gt;
|32&lt;br /&gt;
|3&lt;br /&gt;
|Controls how quickly slip and amplitude are reduced on over current. The greater the value, the slower&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;6&amp;quot; |&#039;&#039;&#039;Charger&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|chargemode&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|4&lt;br /&gt;
|0&lt;br /&gt;
|0=Off, 3=Boost, 4=Buck&lt;br /&gt;
|-&lt;br /&gt;
|chargecur&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|50&lt;br /&gt;
|0&lt;br /&gt;
|Charge current setpoint. Boost mode: charger INPUT current. Buck mode: charger output current&lt;br /&gt;
|-&lt;br /&gt;
|chargekp&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|100&lt;br /&gt;
|80&lt;br /&gt;
|Charge controller gain. Lower if you have oscillation, raise if current set point is not met&lt;br /&gt;
|-&lt;br /&gt;
|chargeflt&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|10&lt;br /&gt;
|8&lt;br /&gt;
|Charge current filtering. Raise if you have oscillations&lt;br /&gt;
|-&lt;br /&gt;
|chargemax&lt;br /&gt;
|%&lt;br /&gt;
|0&lt;br /&gt;
|99&lt;br /&gt;
|90&lt;br /&gt;
|Charge mode duty cycle limit. Especially in boost mode this makes sure you don&#039;t overvolt you IGBTs if there is no battery connected.&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;6&amp;quot; |&#039;&#039;&#039;Throttle&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|potmin&lt;br /&gt;
|dig&lt;br /&gt;
|0&lt;br /&gt;
|4095&lt;br /&gt;
|0&lt;br /&gt;
|Value of &amp;quot;pot&amp;quot; when pot isn&#039;t pressed at all&lt;br /&gt;
|-&lt;br /&gt;
|potmax&lt;br /&gt;
|dig&lt;br /&gt;
|0&lt;br /&gt;
|4095&lt;br /&gt;
|4095&lt;br /&gt;
|Value of &amp;quot;pot&amp;quot; when pot is pushed all the way in&lt;br /&gt;
|-&lt;br /&gt;
|pot2min&lt;br /&gt;
|dig&lt;br /&gt;
|0&lt;br /&gt;
|4095&lt;br /&gt;
|4095&lt;br /&gt;
|Value of &amp;quot;pot2&amp;quot; when regen pot is in 0 position&lt;br /&gt;
|-&lt;br /&gt;
|pot2max&lt;br /&gt;
|dig&lt;br /&gt;
|0&lt;br /&gt;
|4095&lt;br /&gt;
|4095&lt;br /&gt;
|Value of &amp;quot;pot2&amp;quot; when regen pot is in full on position&lt;br /&gt;
|-&lt;br /&gt;
|potmode&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|2&lt;br /&gt;
|0&lt;br /&gt;
|0=Pot 1 is throttle and pot 2 is regen strength preset,&lt;br /&gt;
1=Pot 2 is proportional to pot 1 (redundance)&lt;br /&gt;
2=Throttle controlled via CAN&lt;br /&gt;
|-&lt;br /&gt;
|throtramp&lt;br /&gt;
|%/10ms&lt;br /&gt;
|0&lt;br /&gt;
|100&lt;br /&gt;
|100&lt;br /&gt;
|Max positive throttle slew rate&lt;br /&gt;
|-&lt;br /&gt;
|throtramprpm&lt;br /&gt;
|rpm&lt;br /&gt;
|0&lt;br /&gt;
|20000&lt;br /&gt;
|20000&lt;br /&gt;
|No throttle ramping above this speed&lt;br /&gt;
|-&lt;br /&gt;
|ampmin&lt;br /&gt;
|%&lt;br /&gt;
|0&lt;br /&gt;
|100&lt;br /&gt;
|10&lt;br /&gt;
|Minimum relative sine amplitude (only &amp;quot;sine&amp;quot; software)&lt;br /&gt;
|-&lt;br /&gt;
|slipstart&lt;br /&gt;
|%&lt;br /&gt;
|10&lt;br /&gt;
|100&lt;br /&gt;
|50&lt;br /&gt;
|% positive throttle travel at which slip is increased (only &amp;quot;sine&amp;quot; software)&lt;br /&gt;
|-&lt;br /&gt;
|throtcur&lt;br /&gt;
|A/%&lt;br /&gt;
| -10&lt;br /&gt;
|10&lt;br /&gt;
|1&lt;br /&gt;
|Motor current per % of throttle travel (only &amp;quot;FOC&amp;quot; software)&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;6&amp;quot; |&#039;&#039;&#039;Regen&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|brknompedal&lt;br /&gt;
|%&lt;br /&gt;
| -100&lt;br /&gt;
|0&lt;br /&gt;
| -50&lt;br /&gt;
|Foot on break pedal regen torque&lt;br /&gt;
|-&lt;br /&gt;
|brkpedalramp&lt;br /&gt;
|%/10ms&lt;br /&gt;
|1&lt;br /&gt;
|100&lt;br /&gt;
|100&lt;br /&gt;
|Ramp speed when entering regen. E.g. when you set brkmax to 20% and brkpedal to -60% and brkpedalramp to 1, it will take 400ms to arrive at brake force of -60%&lt;br /&gt;
|-&lt;br /&gt;
|brknom&lt;br /&gt;
|%&lt;br /&gt;
|0&lt;br /&gt;
|100&lt;br /&gt;
|30&lt;br /&gt;
|Regen padel travel&lt;br /&gt;
|-&lt;br /&gt;
|brkmax&lt;br /&gt;
|%&lt;br /&gt;
|0&lt;br /&gt;
|100&lt;br /&gt;
|30&lt;br /&gt;
|Foot-off regen torque&lt;br /&gt;
|-&lt;br /&gt;
|brkrampstr&lt;br /&gt;
|Hz&lt;br /&gt;
|0&lt;br /&gt;
|400&lt;br /&gt;
|10&lt;br /&gt;
|Below this frequency the regen torque is reduced linearly with the frequency&lt;br /&gt;
|-&lt;br /&gt;
|brkout&lt;br /&gt;
|%&lt;br /&gt;
| -100&lt;br /&gt;
| -1&lt;br /&gt;
| -50&lt;br /&gt;
|Activate brake light output at this amount of braking force&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;6&amp;quot; |&#039;&#039;&#039;Automation&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|idlespeed&lt;br /&gt;
|rpm&lt;br /&gt;
| -100&lt;br /&gt;
|1000&lt;br /&gt;
| -100&lt;br /&gt;
|Motor idle speed. Set to -100 to disable idle function. When idle speed controller is enabled, brake pedal must be pressed on start.&lt;br /&gt;
|-&lt;br /&gt;
|idlethrotlim&lt;br /&gt;
|%&lt;br /&gt;
|0&lt;br /&gt;
|100&lt;br /&gt;
|50&lt;br /&gt;
|Throttle limit of idle speed controller&lt;br /&gt;
|-&lt;br /&gt;
|idlemode&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|1&lt;br /&gt;
|0&lt;br /&gt;
|Motor idle speed mode. 0=always run idle speed controller, 1=only run it when brake pedal is released, 2=like 1 but only when cruise switch is on&lt;br /&gt;
|-&lt;br /&gt;
|speedkp&lt;br /&gt;
|Hz&lt;br /&gt;
|0&lt;br /&gt;
|100&lt;br /&gt;
|1&lt;br /&gt;
|Speed controller gain (Cruise and idle speed). Decrease if speed oscillates. Increase for faster load regulation&lt;br /&gt;
|-&lt;br /&gt;
|speedflt&lt;br /&gt;
|dig&lt;br /&gt;
|0&lt;br /&gt;
|16&lt;br /&gt;
|1&lt;br /&gt;
|Filter before cruise controller&lt;br /&gt;
|-&lt;br /&gt;
|cruisemode&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|1&lt;br /&gt;
|0&lt;br /&gt;
|0=button (set when button pressed, reset with brake pedal), 1=switch (set when switched on, reset when switched off or brake pedal)&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;6&amp;quot; |&#039;&#039;&#039;Contactor Control&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|udcsw&lt;br /&gt;
|V&lt;br /&gt;
|0&lt;br /&gt;
|1000&lt;br /&gt;
|330&lt;br /&gt;
|Voltage at which the DC contactor is allowed to close&lt;br /&gt;
|-&lt;br /&gt;
|udcswbuck&lt;br /&gt;
|V&lt;br /&gt;
|0&lt;br /&gt;
|1000&lt;br /&gt;
|540&lt;br /&gt;
|Voltage at which the DC contactor is allowed to close in buck charge mode&lt;br /&gt;
|-&lt;br /&gt;
|tripmode&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|2&lt;br /&gt;
|0&lt;br /&gt;
|What to do with relays at a shutdown event. 0=All off, 1=Keep DC switch closed, 2=close precharge relay&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;6&amp;quot; |&#039;&#039;&#039;Auxillary PWM&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|pwmfunc&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|2&lt;br /&gt;
|0&lt;br /&gt;
|Quantity that controls the PWM output. 0=tmpm, 1=tmphs, 2=speed&lt;br /&gt;
|-&lt;br /&gt;
|pwmgain&lt;br /&gt;
|dig/C&lt;br /&gt;
|0&lt;br /&gt;
|65535&lt;br /&gt;
|100&lt;br /&gt;
|Gain of PWM output&lt;br /&gt;
|-&lt;br /&gt;
|pwmofs&lt;br /&gt;
|dig&lt;br /&gt;
| -65535&lt;br /&gt;
|65535&lt;br /&gt;
|0&lt;br /&gt;
|Offset of PWM output, 4096=full on&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;6&amp;quot; |&#039;&#039;&#039;Communication&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|canspeed&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|3&lt;br /&gt;
|0&lt;br /&gt;
|Baud rate of CAN interface 0=250k, 1=500k, 2=800k, 3=1M&lt;br /&gt;
|-&lt;br /&gt;
|canperiod&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|1&lt;br /&gt;
|0&lt;br /&gt;
|0=send configured CAN messages every 100ms, 1=every 10ms&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;6&amp;quot; |&#039;&#039;&#039;Testing&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|fslipspnt&lt;br /&gt;
|Hz&lt;br /&gt;
| -100&lt;br /&gt;
|100&lt;br /&gt;
|0&lt;br /&gt;
|Slip setpoint in mode 2. Written by software in mode 1&lt;br /&gt;
|-&lt;br /&gt;
|ampnom&lt;br /&gt;
|%&lt;br /&gt;
|0&lt;br /&gt;
|100&lt;br /&gt;
|0&lt;br /&gt;
|Nominal amplitude in mode 2. Written by software in mode 1&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Spot values ==&lt;br /&gt;
The following values are available for diagnostic purposes. Type&lt;br /&gt;
 get &lt;br /&gt;
to get the current value. To read more then one you can provide a list like&lt;br /&gt;
 get il1,il2,udc&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|&#039;&#039;&#039;Name&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;Unit&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|version&lt;br /&gt;
|&lt;br /&gt;
|Firmware version&lt;br /&gt;
|-&lt;br /&gt;
|hwver&lt;br /&gt;
|&lt;br /&gt;
|Hardware version&lt;br /&gt;
|-&lt;br /&gt;
|opmode&lt;br /&gt;
|&lt;br /&gt;
|Operating mode. 0=Off, 1=Run, 2=Manual_run, 3=Boost, 4=Buck, 5=Sine, 6=2 Phase sine&lt;br /&gt;
|-&lt;br /&gt;
|lasterr&lt;br /&gt;
|&lt;br /&gt;
|Last error message&lt;br /&gt;
|-&lt;br /&gt;
|udc&lt;br /&gt;
|V&lt;br /&gt;
|DC link voltage&lt;br /&gt;
|-&lt;br /&gt;
|uac&lt;br /&gt;
|V&lt;br /&gt;
|Calculated AC voltage&lt;br /&gt;
|-&lt;br /&gt;
|idc&lt;br /&gt;
|A&lt;br /&gt;
|Calculated DC current&lt;br /&gt;
|-&lt;br /&gt;
|il1&lt;br /&gt;
|A&lt;br /&gt;
|AC current L1&lt;br /&gt;
|-&lt;br /&gt;
|il2&lt;br /&gt;
|A&lt;br /&gt;
|AC current L2&lt;br /&gt;
|-&lt;br /&gt;
|il1rms&lt;br /&gt;
|A&lt;br /&gt;
|RMS current L1&lt;br /&gt;
|-&lt;br /&gt;
|il2rms&lt;br /&gt;
|A&lt;br /&gt;
|RMS current L2&lt;br /&gt;
|-&lt;br /&gt;
|ilmax&lt;br /&gt;
|A&lt;br /&gt;
|Calculated max of il1, il2, il3&lt;br /&gt;
|-&lt;br /&gt;
|boostcalc&lt;br /&gt;
|A&lt;br /&gt;
|DC link adjusted boost setting&lt;br /&gt;
|-&lt;br /&gt;
|fweakcalc&lt;br /&gt;
|A&lt;br /&gt;
|DC link adjusted fweak setting&lt;br /&gt;
|-&lt;br /&gt;
|fstat&lt;br /&gt;
|Hz&lt;br /&gt;
|Stator frequency&lt;br /&gt;
|-&lt;br /&gt;
|speed&lt;br /&gt;
|rpm&lt;br /&gt;
|Motor speed&lt;br /&gt;
|-&lt;br /&gt;
|cruisespeed&lt;br /&gt;
|rpm&lt;br /&gt;
|Motor RPM set point for cruise control if cruisemode=CAN&lt;br /&gt;
|-&lt;br /&gt;
|turns&lt;br /&gt;
|&lt;br /&gt;
|Number of turns the motor completed since power up&lt;br /&gt;
|-&lt;br /&gt;
|amp&lt;br /&gt;
|dig&lt;br /&gt;
|Sine amplitude, 37813=max&lt;br /&gt;
|-&lt;br /&gt;
|angle&lt;br /&gt;
|°&lt;br /&gt;
|Motor rotor angle, 0-360°. When using the SINE software, the slip is added to the rotor position.&lt;br /&gt;
|-&lt;br /&gt;
|pot&lt;br /&gt;
|dig&lt;br /&gt;
|Pot value, 4095=max&lt;br /&gt;
|-&lt;br /&gt;
|pot2&lt;br /&gt;
|dig&lt;br /&gt;
|Regen Pot value, 4095=max&lt;br /&gt;
|-&lt;br /&gt;
|potnom&lt;br /&gt;
|%&lt;br /&gt;
|Scaled pot value, 0 accel&lt;br /&gt;
|-&lt;br /&gt;
|dir&lt;br /&gt;
|&lt;br /&gt;
|Rotation direction. -1=REV, 0=Neutral, 1=FWD&lt;br /&gt;
|-&lt;br /&gt;
|tmphs&lt;br /&gt;
|°C&lt;br /&gt;
|Heatsink temperature&lt;br /&gt;
|-&lt;br /&gt;
|tmpm&lt;br /&gt;
|°C&lt;br /&gt;
|Motor temperature&lt;br /&gt;
|-&lt;br /&gt;
|uaux&lt;br /&gt;
|V&lt;br /&gt;
|Auxiliary voltage (i.e. 12V system). Measured on pin 11 (mprot)&lt;br /&gt;
|-&lt;br /&gt;
|pwmio&lt;br /&gt;
|&lt;br /&gt;
|raw state of PWM outputs at power up&lt;br /&gt;
|-&lt;br /&gt;
|canio&lt;br /&gt;
|&lt;br /&gt;
|Digital IO bits received via [[CAN communication#Controlling Digital IO via CAN|CAN]]&lt;br /&gt;
|-&lt;br /&gt;
|din_cruise&lt;br /&gt;
|&lt;br /&gt;
|Cruise Control. This pin activates the cruise control with the current speed. Pressing again updates the speed set point.&lt;br /&gt;
|-&lt;br /&gt;
|din_start&lt;br /&gt;
|&lt;br /&gt;
|State of digital input &amp;quot;start&amp;quot;. This pin starts inverter operation&lt;br /&gt;
|-&lt;br /&gt;
|din_brake&lt;br /&gt;
|&lt;br /&gt;
|State of digital input &amp;quot;brake&amp;quot;. This pin sets maximum regen torque (brknompedal). Cruise control is disabled.&lt;br /&gt;
|-&lt;br /&gt;
|din_mprot&lt;br /&gt;
|&lt;br /&gt;
|State of digital input &amp;quot;motor protection switch&amp;quot;. Shuts down the inverter when =0&lt;br /&gt;
|-&lt;br /&gt;
|din_forward&lt;br /&gt;
|&lt;br /&gt;
|Direction forward&lt;br /&gt;
|-&lt;br /&gt;
|din_reverse&lt;br /&gt;
|&lt;br /&gt;
|Direction backward&lt;br /&gt;
|-&lt;br /&gt;
|din_emcystop&lt;br /&gt;
|&lt;br /&gt;
|State of digital input &amp;quot;emergency stop&amp;quot;. Shuts down the inverter when =0&lt;br /&gt;
|-&lt;br /&gt;
|din_ocur&lt;br /&gt;
|&lt;br /&gt;
|Over current detected&lt;br /&gt;
|-&lt;br /&gt;
|din_bms&lt;br /&gt;
|&lt;br /&gt;
|BMS over voltage/under voltage&lt;br /&gt;
|-&lt;br /&gt;
|cpuload&lt;br /&gt;
|%&lt;br /&gt;
|CPU load for everything except communication&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Tuning Guide ==&lt;br /&gt;
First you want to find a flat surface - a parking lot etc. so you can drive and stop without checking traffic. Change only one parameter at a time and save settings that work! &lt;br /&gt;
&lt;br /&gt;
1. set fslipmin so that you feel car taking off smoothly and try to change it by +/-0,1Hz and check differences in starting. Save when satisfied.&lt;br /&gt;
&lt;br /&gt;
2. lower boost value in 100 point until motor jitters at start. Then return it to last good value.&lt;br /&gt;
&lt;br /&gt;
3. try lowering ampmin in 0,1 increments and observe throttle travel. When throttle is not just smooth but becomes sluggish return some previous increments until throttle reaction is acceptable.&lt;br /&gt;
&lt;br /&gt;
4. change fweak value in +/-10Hz increments from starting point and observe torque in starting. This value is very dependent on battery voltage and is very subjective.&lt;br /&gt;
&lt;br /&gt;
Now you find a hill or ramp and set car on it. You want to hold car in position on slope just using throttle pedal. If there parameters are not good motor will jump or will feel sluggish&lt;br /&gt;
&lt;br /&gt;
1. add boost if motor is oscillating if it is smooth reduce it in 100 point increments until you get oscillation. Then return to last good value&lt;br /&gt;
&lt;br /&gt;
2. reduce/increase ampmin in 0,25 increments untill you get oscilation in motor and return last good value&lt;br /&gt;
&lt;br /&gt;
Now set the car into a hill to set fslipmax. Warning full throttle will be used. Be sure there is no other traffic!&lt;br /&gt;
&lt;br /&gt;
Set fslipmax to chosen value (guess it at 2xfslipmin if you have no other way) and try to take off with full throttle.&lt;br /&gt;
&lt;br /&gt;
If car feels sluggish with full throttle you have to add more slip.&lt;br /&gt;
&lt;br /&gt;
If motor starts to jitter there is too much slip. Try to reduce it in 0.1Hz increments.&lt;br /&gt;
&lt;br /&gt;
When you feel satisfied with settings save them and go on setting regen and braking effect.&lt;/div&gt;</summary>
		<author><name>Chrskly</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Motors&amp;diff=1042</id>
		<title>Motors</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Motors&amp;diff=1042"/>
		<updated>2020-10-11T20:31:13Z</updated>

		<summary type="html">&lt;p&gt;Chrskly: Linking to dedicated gs300h page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is intended as a listing page for available motors suitable for conversion projects. Each listing is planned to lead to a more detailed page regarding the motor.&lt;br /&gt;
&lt;br /&gt;
= OEM Motors =&lt;br /&gt;
Taken from existing vehicles&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Picture&lt;br /&gt;
!Name/link&lt;br /&gt;
!Manufacturer&lt;br /&gt;
!Models Found On&lt;br /&gt;
!Part No/s&lt;br /&gt;
!FWD/RDW/AWD&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|[[File:LEXUS RX 400H 2004-2008 209048010.jpg|none|thumb|200x200px]]&lt;br /&gt;
|[[Toyota/Lexus MGR Rear Transaxle Motor]]&lt;br /&gt;
|Toyota/Lexus&lt;br /&gt;
|&lt;br /&gt;
* Alphard/Vellfire ATH20&lt;br /&gt;
* Alphard/Vellfire AYH30&lt;br /&gt;
* Estima AHR20&lt;br /&gt;
* Harrier MHU38&lt;br /&gt;
* Harrier AVU65&lt;br /&gt;
* Highlander MHU28&lt;br /&gt;
* Highlander MHU48&lt;br /&gt;
* Highlander GVU48&lt;br /&gt;
* Highlander GVU58&lt;br /&gt;
* Kluger MHU28&lt;br /&gt;
* Lexus RX400h MHU38&lt;br /&gt;
* Lexus RX450h GYL15&lt;br /&gt;
* Lexus RX450h GYL25&lt;br /&gt;
* Lexus NX300h AYZ15&lt;br /&gt;
* RAV4 AVA44&lt;br /&gt;
|Q211&lt;br /&gt;
(2FM - Motor code)&lt;br /&gt;
|FWD&lt;br /&gt;
AWD&lt;br /&gt;
&lt;br /&gt;
RWD&lt;br /&gt;
|Found on numerous Toyota and Lexus models (see list to the left), the MGR (or Motor Generator Rear) is an electric rear differential meant to provide occasional 4WD/AWD to the company&#039;s larger 4WD models.&lt;br /&gt;
&lt;br /&gt;
For conversion/project purposes the MGR is suitable for lighter models given the torque available or could potentially be used front and/or rear, and/or with a secondary motor. &lt;br /&gt;
&lt;br /&gt;
As the motor was designed to be used occasionally as a rear motor, there is a need or potential need for cooling dependent on the application. &lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|Lexus GS450h&lt;br /&gt;
|Toyota/Lexus&lt;br /&gt;
|Lexus GS450h&lt;br /&gt;
|L110&lt;br /&gt;
|RWD&lt;br /&gt;
|Popular conversion project motor, the GS450h has two motors as part of a gearbox mated to an ICE engine. MG1 and MG2, one of which is generally used to start the ICE, the second used to provide drive to the wheel in electric only mode. &lt;br /&gt;
&lt;br /&gt;
The input shaft from the ICE can be secured and both motors can then be used to drive the output shaft.&lt;br /&gt;
&lt;br /&gt;
The popularity and conversation around it comes from the fact it is likely to occupy the same space as a rear wheel drive gearbox leaving the majority of the engine bay free and obviously joining to the existing rear propshaft.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|Lexus LS600h&lt;br /&gt;
|Toyota/Lexus&lt;br /&gt;
|Lexus LS600h&lt;br /&gt;
|L110f&lt;br /&gt;
|AWD&lt;br /&gt;
|Functionally the same as the GS450h(?) but splits the output front and rear like a traditional 4WD gearbox.&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Gs300h-cvt.jpg|thumb]]&lt;br /&gt;
|[[Toyota/Lexus GS300h CVT|Lexus GS300h]]&lt;br /&gt;
|Toyota/Lexus&lt;br /&gt;
|Lexus GS300h&lt;br /&gt;
|L210&lt;br /&gt;
|RWD&lt;br /&gt;
|Very similar to the GS450h setup.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|Prius Transaxle&lt;br /&gt;
|Toyota/Lexus&lt;br /&gt;
|Prius&lt;br /&gt;
|&lt;br /&gt;
|FWD&lt;br /&gt;
|Mated to a transversally mounted front wheel drive ICE, the Prius transaxle has two motors contained with it. MG1 and MG2. One of which is generally used to re/start the ICE motor and the second used to drive the car in electric only mode.&lt;br /&gt;
&lt;br /&gt;
The two motors can be combined for greater power output.&lt;br /&gt;
&lt;br /&gt;
The unit itself lends itself to replace the engine and gearbox from FWD front engined vehicles as it largely occupies a similar space as the existing gearbox and frees the space where the engine would sit.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|Nissan Leaf&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf&lt;br /&gt;
|&lt;br /&gt;
|FWD&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|Tesla Small Drive Unit&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S/X&lt;br /&gt;
|&lt;br /&gt;
|FWD&lt;br /&gt;
AWD&lt;br /&gt;
&lt;br /&gt;
RWD&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|Tesla Large Drive Unit&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S/X&lt;br /&gt;
|&lt;br /&gt;
|FWD&lt;br /&gt;
AWD&lt;br /&gt;
&lt;br /&gt;
RWD&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Outlander Rear Motor.jpg|thumb]]&lt;br /&gt;
|[[Mitsubishi Outlander Rear Drive Unit]]&lt;br /&gt;
|Mitsubishi&lt;br /&gt;
|Outlander PHEV&lt;br /&gt;
|Y61&lt;br /&gt;
|RWD&lt;br /&gt;
|This motor is found on the Mitsubishi Outlander PHEV. It is the motor which drives the rear differential unit. There may be 3 different versions of this motor - 50kW, 60kW and 70kW (from PHEV 2018 on). The same motor may also be used in the i-MiEV. &lt;br /&gt;
&lt;br /&gt;
The Openinverter Forum has a dedicated board here: https://openinverter.org/forum/viewforum.php?f=19&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[Mitsubishi Outlander Front Transaxle]]&lt;br /&gt;
|Mitsubish&lt;br /&gt;
|Outlander PHEV&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|The front transaxle from the Outlander PHEV has a motor and generator.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Generic Motors =&lt;br /&gt;
Multiple applications but designed to fit EV use, or fall within power/torque range for use&amp;lt;!-- Is this section redundant, already covered by the other motor page? The intention is to list motors like the Hyper9 and other &#039;generic&#039; motors.  --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
!Picture&lt;br /&gt;
!Name/link&lt;br /&gt;
!Manufacturer&lt;br /&gt;
!Part No/s&lt;br /&gt;
!Description&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;
|&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;
|&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Chrskly</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Toyota/Lexus_GS300h_CVT&amp;diff=1041</id>
		<title>Toyota/Lexus GS300h CVT</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Toyota/Lexus_GS300h_CVT&amp;diff=1041"/>
		<updated>2020-10-11T20:30:07Z</updated>

		<summary type="html">&lt;p&gt;Chrskly: Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;NOTE : This motor is as of yet untested in a real world application.&amp;#039;&amp;#039;&amp;#039;  Forum board : https://openinverter.org/forum/viewtopic.php?f=14&amp;amp;t=949#p15109  File:Gs300h-cvt.jpg...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;NOTE : This motor is as of yet untested in a real world application.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Forum board : https://openinverter.org/forum/viewtopic.php?f=14&amp;amp;t=949#p15109&lt;br /&gt;
&lt;br /&gt;
[[File:Gs300h-cvt.jpg|thumb]]&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
The L210 is a continuously variable transmission (CVT) which can be found in the Lexus gs300h. It is very similar in design to the gs450h CVT. It contains two motor-generators - MG1 and MG2. When used as originally intended, MG1 is spun by the ICE, via a planetary gear system, and acts primarily as a generator. MG1 also acts as a starter motor for the ICE. MG2 is connected to the output shaft via a second planetary gear system to provide traction directly to the rear wheels.&lt;br /&gt;
&lt;br /&gt;
The ratio between MG1 and the output shaft is 2.6:1. The ratio between MG2 and the output shaft is 3.333:1.&lt;br /&gt;
&lt;br /&gt;
The official power output of the CVT is [https://lexus.pressroom.com.au/press_kit_detail.asp?kitID=336&amp;amp;clientID=3&amp;amp;navSectionID=6 105kW and 300Nm of torque], but this has yet to be tested.&lt;br /&gt;
&lt;br /&gt;
For use in a pure EV application, the ICE input shaft can be locked stationary with a plate or bar. This allows traction to be provided by both MG1 and MG2.&lt;br /&gt;
&lt;br /&gt;
=== Dimensions ===&lt;br /&gt;
To do&lt;br /&gt;
&lt;br /&gt;
== Oil pump ==&lt;br /&gt;
The L110 CVT, found in the gs450h, has two oil pumps. An internal mechanical pump and an external 12V electric pump. The internal mechanical oil pump is driven by the ICE. Locking the ICE input shaft to allow MG1 to provide traction means that the internal oil pump no longer functions. This makes the external 12V electric oil pump essential when using the CVT in a pure EV application.&lt;br /&gt;
&lt;br /&gt;
One key difference between the L210 (gs300h) and the L110 (gs450h) is that the L210 only has an internal oil pump. However, the internal oil pump is driven by both the ICE and/or the rotation of MG2. So, even when you lock the ICE input shaft to allow MG1 to provide traction, MG2 will still drive the oil pump whenever the car moves. Since there are no gears/speeds in this CVT (and hence no clutch packs, etc.), the oil is only required for cooling and lubricating the bearings. &lt;br /&gt;
&lt;br /&gt;
== Connections ==&lt;br /&gt;
=== Left hand side ===&lt;br /&gt;
[[File:Gs300h-cvt-lhs-annotated.jpg|thumb|Left hand side connections]]&lt;br /&gt;
# MG1 3-phase power connection&lt;br /&gt;
# MG1 resolver (and temperature) port&lt;br /&gt;
# MG2 resolver (and temperature) port&lt;br /&gt;
=== Right hand side ===&lt;br /&gt;
[[File:Gs300h-cvt-rhs-annotated.jpg|thumb|Right hand side connections]]&lt;br /&gt;
# Water input/output for oil to water heat exchanger&lt;br /&gt;
# Mechanical shifter and shift sensor port&lt;br /&gt;
# Ground strap&lt;br /&gt;
# MG2 3-phase power connection&lt;br /&gt;
&lt;br /&gt;
=== Resolvers ===&lt;br /&gt;
To do&lt;br /&gt;
&lt;br /&gt;
=== Shift sensor ===&lt;br /&gt;
To do&lt;br /&gt;
&lt;br /&gt;
=== Output flange ===&lt;br /&gt;
To do&lt;/div&gt;</summary>
		<author><name>Chrskly</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:Gs300h-cvt-rhs-annotated.jpg&amp;diff=1040</id>
		<title>File:Gs300h-cvt-rhs-annotated.jpg</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:Gs300h-cvt-rhs-annotated.jpg&amp;diff=1040"/>
		<updated>2020-10-11T20:01:54Z</updated>

		<summary type="html">&lt;p&gt;Chrskly: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Chrskly</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:Gs300h-cvt-lhs-annotated.jpg&amp;diff=1039</id>
		<title>File:Gs300h-cvt-lhs-annotated.jpg</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:Gs300h-cvt-lhs-annotated.jpg&amp;diff=1039"/>
		<updated>2020-10-11T19:43:54Z</updated>

		<summary type="html">&lt;p&gt;Chrskly: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Chrskly</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Motors&amp;diff=1038</id>
		<title>Motors</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Motors&amp;diff=1038"/>
		<updated>2020-10-11T13:40:47Z</updated>

		<summary type="html">&lt;p&gt;Chrskly: Added GS300h image&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is intended as a listing page for available motors suitable for conversion projects. Each listing is planned to lead to a more detailed page regarding the motor.&lt;br /&gt;
&lt;br /&gt;
= OEM Motors =&lt;br /&gt;
Taken from existing vehicles&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Picture&lt;br /&gt;
!Name/link&lt;br /&gt;
!Manufacturer&lt;br /&gt;
!Models Found On&lt;br /&gt;
!Part No/s&lt;br /&gt;
!FWD/RDW/AWD&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|[[File:LEXUS RX 400H 2004-2008 209048010.jpg|none|thumb|200x200px]]&lt;br /&gt;
|[[Toyota/Lexus MGR Rear Transaxle Motor]]&lt;br /&gt;
|Toyota/Lexus&lt;br /&gt;
|&lt;br /&gt;
* Alphard/Vellfire ATH20&lt;br /&gt;
* Alphard/Vellfire AYH30&lt;br /&gt;
* Estima AHR20&lt;br /&gt;
* Harrier MHU38&lt;br /&gt;
* Harrier AVU65&lt;br /&gt;
* Highlander MHU28&lt;br /&gt;
* Highlander MHU48&lt;br /&gt;
* Highlander GVU48&lt;br /&gt;
* Highlander GVU58&lt;br /&gt;
* Kluger MHU28&lt;br /&gt;
* Lexus RX400h MHU38&lt;br /&gt;
* Lexus RX450h GYL15&lt;br /&gt;
* Lexus RX450h GYL25&lt;br /&gt;
* Lexus NX300h AYZ15&lt;br /&gt;
* RAV4 AVA44&lt;br /&gt;
|Q211&lt;br /&gt;
(2FM - Motor code)&lt;br /&gt;
|FWD&lt;br /&gt;
AWD&lt;br /&gt;
&lt;br /&gt;
RWD&lt;br /&gt;
|Found on numerous Toyota and Lexus models (see list to the left), the MGR (or Motor Generator Rear) is an electric rear differential meant to provide occasional 4WD/AWD to the company&#039;s larger 4WD models.&lt;br /&gt;
&lt;br /&gt;
For conversion/project purposes the MGR is suitable for lighter models given the torque available or could potentially be used front and/or rear, and/or with a secondary motor. &lt;br /&gt;
&lt;br /&gt;
As the motor was designed to be used occasionally as a rear motor, there is a need or potential need for cooling dependent on the application. &lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|Lexus GS450h&lt;br /&gt;
|Toyota/Lexus&lt;br /&gt;
|Lexus GS450h&lt;br /&gt;
|L110&lt;br /&gt;
|RWD&lt;br /&gt;
|Popular conversion project motor, the GS450h has two motors as part of a gearbox mated to an ICE engine. MG1 and MG2, one of which is generally used to start the ICE, the second used to provide drive to the wheel in electric only mode. &lt;br /&gt;
&lt;br /&gt;
The input shaft from the ICE can be secured and both motors can then be used to drive the output shaft.&lt;br /&gt;
&lt;br /&gt;
The popularity and conversation around it comes from the fact it is likely to occupy the same space as a rear wheel drive gearbox leaving the majority of the engine bay free and obviously joining to the existing rear propshaft.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|Lexus LS600h&lt;br /&gt;
|Toyota/Lexus&lt;br /&gt;
|Lexus LS600h&lt;br /&gt;
|L110f&lt;br /&gt;
|AWD&lt;br /&gt;
|Functionally the same as the GS450h(?) but splits the output front and rear like a traditional 4WD gearbox.&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Gs300h-cvt.jpg|thumb]]&lt;br /&gt;
|Lexus GS300h&lt;br /&gt;
|Toyota/Lexus&lt;br /&gt;
|Lexus GS300h&lt;br /&gt;
|L210&lt;br /&gt;
|RWD&lt;br /&gt;
|Very similar to the GS450h setup.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|Prius Transaxle&lt;br /&gt;
|Toyota/Lexus&lt;br /&gt;
|Prius&lt;br /&gt;
|&lt;br /&gt;
|FWD&lt;br /&gt;
|Mated to a transversally mounted front wheel drive ICE, the Prius transaxle has two motors contained with it. MG1 and MG2. One of which is generally used to re/start the ICE motor and the second used to drive the car in electric only mode.&lt;br /&gt;
&lt;br /&gt;
The two motors can be combined for greater power output.&lt;br /&gt;
&lt;br /&gt;
The unit itself lends itself to replace the engine and gearbox from FWD front engined vehicles as it largely occupies a similar space as the existing gearbox and frees the space where the engine would sit.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|Nissan Leaf&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf&lt;br /&gt;
|&lt;br /&gt;
|FWD&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|Tesla Small Drive Unit&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S/X&lt;br /&gt;
|&lt;br /&gt;
|FWD&lt;br /&gt;
AWD&lt;br /&gt;
&lt;br /&gt;
RWD&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|Tesla Large Drive Unit&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S/X&lt;br /&gt;
|&lt;br /&gt;
|FWD&lt;br /&gt;
AWD&lt;br /&gt;
&lt;br /&gt;
RWD&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Outlander Rear Motor.jpg|thumb]]&lt;br /&gt;
|[[Mitsubishi Outlander Rear Drive Unit]]&lt;br /&gt;
|Mitsubishi&lt;br /&gt;
|Outlander PHEV&lt;br /&gt;
|Y61&lt;br /&gt;
|RWD&lt;br /&gt;
|This motor is found on the Mitsubishi Outlander PHEV. It is the motor which drives the rear differential unit. There may be 3 different versions of this motor - 50kW, 60kW and 70kW (from PHEV 2018 on). The same motor may also be used in the i-MiEV. &lt;br /&gt;
&lt;br /&gt;
The Openinverter Forum has a dedicated board here: https://openinverter.org/forum/viewforum.php?f=19&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[Mitsubishi Outlander Front Transaxle]]&lt;br /&gt;
|Mitsubish&lt;br /&gt;
|Outlander PHEV&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|The front transaxle from the Outlander PHEV has a motor and generator.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Generic Motors =&lt;br /&gt;
Multiple applications but designed to fit EV use, or fall within power/torque range for use&amp;lt;!-- Is this section redundant, already covered by the other motor page? The intention is to list motors like the Hyper9 and other &#039;generic&#039; motors.  --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
!Picture&lt;br /&gt;
!Name/link&lt;br /&gt;
!Manufacturer&lt;br /&gt;
!Part No/s&lt;br /&gt;
!Description&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;
|&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;
|&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Chrskly</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:Gs300h-cvt.jpg&amp;diff=1037</id>
		<title>File:Gs300h-cvt.jpg</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:Gs300h-cvt.jpg&amp;diff=1037"/>
		<updated>2020-10-11T13:38:31Z</updated>

		<summary type="html">&lt;p&gt;Chrskly: Lexus GS300h CVT&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
Lexus GS300h CVT&lt;/div&gt;</summary>
		<author><name>Chrskly</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Motors&amp;diff=1036</id>
		<title>Motors</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Motors&amp;diff=1036"/>
		<updated>2020-10-11T13:32:28Z</updated>

		<summary type="html">&lt;p&gt;Chrskly: Adding GS300h info&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is intended as a listing page for available motors suitable for conversion projects. Each listing is planned to lead to a more detailed page regarding the motor.&lt;br /&gt;
&lt;br /&gt;
= OEM Motors =&lt;br /&gt;
Taken from existing vehicles&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Picture&lt;br /&gt;
!Name/link&lt;br /&gt;
!Manufacturer&lt;br /&gt;
!Models Found On&lt;br /&gt;
!Part No/s&lt;br /&gt;
!FWD/RDW/AWD&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|[[File:LEXUS RX 400H 2004-2008 209048010.jpg|none|thumb|200x200px]]&lt;br /&gt;
|[[Toyota/Lexus MGR Rear Transaxle Motor]]&lt;br /&gt;
|Toyota/Lexus&lt;br /&gt;
|&lt;br /&gt;
* Alphard/Vellfire ATH20&lt;br /&gt;
* Alphard/Vellfire AYH30&lt;br /&gt;
* Estima AHR20&lt;br /&gt;
* Harrier MHU38&lt;br /&gt;
* Harrier AVU65&lt;br /&gt;
* Highlander MHU28&lt;br /&gt;
* Highlander MHU48&lt;br /&gt;
* Highlander GVU48&lt;br /&gt;
* Highlander GVU58&lt;br /&gt;
* Kluger MHU28&lt;br /&gt;
* Lexus RX400h MHU38&lt;br /&gt;
* Lexus RX450h GYL15&lt;br /&gt;
* Lexus RX450h GYL25&lt;br /&gt;
* Lexus NX300h AYZ15&lt;br /&gt;
* RAV4 AVA44&lt;br /&gt;
|Q211&lt;br /&gt;
(2FM - Motor code)&lt;br /&gt;
|FWD&lt;br /&gt;
AWD&lt;br /&gt;
&lt;br /&gt;
RWD&lt;br /&gt;
|Found on numerous Toyota and Lexus models (see list to the left), the MGR (or Motor Generator Rear) is an electric rear differential meant to provide occasional 4WD/AWD to the company&#039;s larger 4WD models.&lt;br /&gt;
&lt;br /&gt;
For conversion/project purposes the MGR is suitable for lighter models given the torque available or could potentially be used front and/or rear, and/or with a secondary motor. &lt;br /&gt;
&lt;br /&gt;
As the motor was designed to be used occasionally as a rear motor, there is a need or potential need for cooling dependent on the application. &lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|Lexus GS450h&lt;br /&gt;
|Toyota/Lexus&lt;br /&gt;
|Lexus GS450h&lt;br /&gt;
|L110&lt;br /&gt;
|RWD&lt;br /&gt;
|Popular conversion project motor, the GS450h has two motors as part of a gearbox mated to an ICE engine. MG1 and MG2, one of which is generally used to start the ICE, the second used to provide drive to the wheel in electric only mode. &lt;br /&gt;
&lt;br /&gt;
The input shaft from the ICE can be secured and both motors can then be used to drive the output shaft.&lt;br /&gt;
&lt;br /&gt;
The popularity and conversation around it comes from the fact it is likely to occupy the same space as a rear wheel drive gearbox leaving the majority of the engine bay free and obviously joining to the existing rear propshaft.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|Lexus LS600h&lt;br /&gt;
|Toyota/Lexus&lt;br /&gt;
|Lexus LS600h&lt;br /&gt;
|L110f&lt;br /&gt;
|AWD&lt;br /&gt;
|Functionally the same as the GS450h(?) but splits the output front and rear like a traditional 4WD gearbox.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|Lexus GS300h&lt;br /&gt;
|Toyota/Lexus&lt;br /&gt;
|Lexus GS300h&lt;br /&gt;
|L210&lt;br /&gt;
|RWD&lt;br /&gt;
|Very similar to the GS450h setup.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|Prius Transaxle&lt;br /&gt;
|Toyota/Lexus&lt;br /&gt;
|Prius&lt;br /&gt;
|&lt;br /&gt;
|FWD&lt;br /&gt;
|Mated to a transversally mounted front wheel drive ICE, the Prius transaxle has two motors contained with it. MG1 and MG2. One of which is generally used to re/start the ICE motor and the second used to drive the car in electric only mode.&lt;br /&gt;
&lt;br /&gt;
The two motors can be combined for greater power output.&lt;br /&gt;
&lt;br /&gt;
The unit itself lends itself to replace the engine and gearbox from FWD front engined vehicles as it largely occupies a similar space as the existing gearbox and frees the space where the engine would sit.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|Nissan Leaf&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf&lt;br /&gt;
|&lt;br /&gt;
|FWD&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|Tesla Small Drive Unit&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S/X&lt;br /&gt;
|&lt;br /&gt;
|FWD&lt;br /&gt;
AWD&lt;br /&gt;
&lt;br /&gt;
RWD&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|Tesla Large Drive Unit&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S/X&lt;br /&gt;
|&lt;br /&gt;
|FWD&lt;br /&gt;
AWD&lt;br /&gt;
&lt;br /&gt;
RWD&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Outlander Rear Motor.jpg|thumb]]&lt;br /&gt;
|[[Mitsubishi Outlander Rear Drive Unit]]&lt;br /&gt;
|Mitsubishi&lt;br /&gt;
|Outlander PHEV&lt;br /&gt;
|Y61&lt;br /&gt;
|RWD&lt;br /&gt;
|This motor is found on the Mitsubishi Outlander PHEV. It is the motor which drives the rear differential unit. There may be 3 different versions of this motor - 50kW, 60kW and 70kW (from PHEV 2018 on). The same motor may also be used in the i-MiEV. &lt;br /&gt;
&lt;br /&gt;
The Openinverter Forum has a dedicated board here: https://openinverter.org/forum/viewforum.php?f=19&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[Mitsubishi Outlander Front Transaxle]]&lt;br /&gt;
|Mitsubish&lt;br /&gt;
|Outlander PHEV&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|The front transaxle from the Outlander PHEV has a motor and generator.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Generic Motors =&lt;br /&gt;
Multiple applications but designed to fit EV use, or fall within power/torque range for use&amp;lt;!-- Is this section redundant, already covered by the other motor page? The intention is to list motors like the Hyper9 and other &#039;generic&#039; motors.  --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
!Picture&lt;br /&gt;
!Name/link&lt;br /&gt;
!Manufacturer&lt;br /&gt;
!Part No/s&lt;br /&gt;
!Description&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;
|&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;
|&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Chrskly</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen3_Board&amp;diff=1030</id>
		<title>Toyota Prius Gen3 Board</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen3_Board&amp;diff=1030"/>
		<updated>2020-09-09T23:42:19Z</updated>

		<summary type="html">&lt;p&gt;Chrskly: Added details to table for Prius C inverter&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
[[File:Prius Gen3 Inverter Control v2.jpg|thumb|Prius Gen3 Control Board v2]]&lt;br /&gt;
&lt;br /&gt;
The Toyota Prius Gen3 Board is an open source project to repurpose 2010-2015 Toyota Prius inverters for DIY EV use. It consists of a circuit board and programming that replaces the original logic board in the inverter and allows independent control of it without communicating with a Prius ECU.&lt;br /&gt;
&lt;br /&gt;
Note that there is also a [[Toyota Prius Gen2 Board]] for the 2004-2009 model years.&lt;br /&gt;
&lt;br /&gt;
== Prius Inverter ==&lt;br /&gt;
The Toyota Prius is a hybrid vehicle. Their inverters are suitable and attractive for DIY EVs because of:&lt;br /&gt;
* Large part availability. Priuses have been made in large numbers for 20 years.&lt;br /&gt;
* High affordability. Prius inverters are available for around $150 from scrapyards everywhere.&lt;br /&gt;
* Durability. Toyota engineers appear to have made the inverters foolproof, many inputs and outputs gracefully handle fault conditions.&lt;br /&gt;
* Respectable performance. Rated for 50kW output, but tested to handle 600v, and 500+A on MG2. (MG1 unknown, Gen2 had 70% of MG2 on MG1).&lt;br /&gt;
* Ease of repurposing. Emulating the original ECU seems reasonably feasible.&lt;br /&gt;
&lt;br /&gt;
The Gen3 Prius (2010-2015 model years) has a variety of useful components inside the inverter package:&lt;br /&gt;
* 2 high power inverters, for the 2 motors MG1 (starter) capable of handling 250 amps, and MG2 (drive motor) capable of handling 350 amps.&lt;br /&gt;
* A DC-DC converter to provide 12v power supply to the automotive systems and accessories.&lt;br /&gt;
* A boost module to boost the 200v battery pack up to 500v, which looks to be able to function as a battery charger (wish list for future development)&lt;br /&gt;
* See this video for a thorough disassembly and explanation of the Gen3 Inverter (Timestamp ???? ): https://www.youtube.com/watch?v=Y7Vm-C4MsW8&lt;br /&gt;
&lt;br /&gt;
== Control Board ==&lt;br /&gt;
&lt;br /&gt;
The current version as of Jan 20, 2020 is v2.&lt;br /&gt;
&lt;br /&gt;
As designed by Damien Maguire, the open source hardware for the control board 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/prius-gen-3-inverter-logic-board-partial Prius Gen3 Partial]&lt;br /&gt;
&lt;br /&gt;
[https://www.evbmw.com/index.php/evbmw-webshop/toyota-built-and-tested-boards/prius-gen-3-inverter-built-tested Prius Gen3 Prius Gen3 Full &amp;amp; Tested]&lt;br /&gt;
&lt;br /&gt;
The control board is a physical replacement for the OEM Prius Gen3 inverter logic board inside the inverter. Remove the old one and replace it with the new one.&lt;br /&gt;
&lt;br /&gt;
== Development History ==&lt;br /&gt;
&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/prius-gen-3-inverter-bare-logic-board&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. The circuit now has hardware to support repurposing the MG1 inverter as a battery charger, though as of Jan 20, 2020, software is still in development.&lt;br /&gt;
&lt;br /&gt;
== Vendors ==&lt;br /&gt;
&lt;br /&gt;
 - ?? List of known vendors with support?&lt;br /&gt;
&lt;br /&gt;
== Support ==&lt;br /&gt;
&lt;br /&gt;
Community support is available on the [https://openinverter.org/forum/viewtopic.php?f=14&amp;amp;t=488 Prius Gen 3 Inverter Logic Board Support Thread]&lt;br /&gt;
&lt;br /&gt;
You are not entitled to support, purchase from a vendor who offers support if you want it guaranteed. Treat the community with respect.&lt;br /&gt;
&lt;br /&gt;
== Inverter Model Numbers ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|  class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Inverter No || Car model(s) || Logic Board No || Power Board No || Compatible 50 pin connector|| PCB size || Confirmed works with board ||  Link &lt;br /&gt;
|-&lt;br /&gt;
| G9200-47141 || Auris 2012, RHD || || || || || || &lt;br /&gt;
|-&lt;br /&gt;
|G9200-47140&lt;br /&gt;
|Prius 2010&lt;br /&gt;
|F1759-47041 01&lt;br /&gt;
|&lt;br /&gt;
|Yes&lt;br /&gt;
|&lt;br /&gt;
|Yes&lt;br /&gt;
|&lt;br /&gt;
|- &lt;br /&gt;
| G9200-47180  || || || || || || || [https://www.diyelectriccar.com/forums/showpost.php?p=1026169&amp;amp;postcount=8 Photo diyelectriccar.com]&lt;br /&gt;
|-&lt;br /&gt;
| G9200-47190 || Auris || F1759-52010 04 || || ? || || || [https://openinverter.org/forum/viewtopic.php?f=14&amp;amp;t=51&amp;amp;start=270#p5661 Forum Thread openinverter.com]&lt;br /&gt;
|-&lt;br /&gt;
|G9200-52010||Yaris||F1759-52010 04||F1789-52010|| ||154x143mm||&lt;br /&gt;
|https://openinverter.org/forum/viewtopic.php?f=14&amp;amp;t=257&amp;amp;p=5828#p5828&lt;br /&gt;
|-&lt;br /&gt;
| G9200-52032 || Yaris 2015 || F1759-52010 04 || F1789-52010 || YES || Long 143mm || || [https://openinverter.org/forum/viewtopic.php?f=14&amp;amp;t=439#p5058 Forum Thread openinverter.com] [https://openinverter.org/forum/viewtopic.php?f=14&amp;amp;t=51&amp;amp;start=270#p5669 Forum Thread openinverter.com]&lt;br /&gt;
|-&lt;br /&gt;
| G9201-52011 || Yaris || || || YES|||||| [https://openinverter.org/forum/viewtopic.php?f=14&amp;amp;t=439#p5681 Forum Thread openinverter.com]&lt;br /&gt;
|-&lt;br /&gt;
| G9201-52012 || Prius C || F1759-52010 || F1789-52010 || YES (presumably) |||||| [https://openinverter.org/forum/viewtopic.php?p=6979#p6979 Forum Thread openinverter.com]&lt;br /&gt;
|-&lt;br /&gt;
|G9200-52030&lt;br /&gt;
|Prius C (a.k.a. Prius Aqua)&lt;br /&gt;
|F1759-52010 04&lt;br /&gt;
|F1789-52010&lt;br /&gt;
|&lt;br /&gt;
|154mm long&lt;br /&gt;
|&lt;br /&gt;
|[https://openinverter.org/forum/viewtopic.php?f=11&amp;amp;t=999&amp;amp;p=16434#p16434 Forum Thread openinverter.com]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Kit Assembly Instructions (V1C) ==&lt;br /&gt;
This guide is for the assembly of version V1C of the Gen 3 board available here: https://www.evbmw.com/index.php/evbmw-webshop/toyota-built-and-tested-boards/prius-gen-3-inverter-built-tested&lt;br /&gt;
&lt;br /&gt;
This is based on the assembly videos by Damien Maguire. &lt;br /&gt;
&lt;br /&gt;
Part 1: https://www.youtube.com/watch?v=QE-zym8iIgM&amp;amp;t=2643s &lt;br /&gt;
&lt;br /&gt;
Part 2: https://www.youtube.com/watch?v=Nu5_OBOPk4s&amp;amp;t=1787s&lt;br /&gt;
&lt;br /&gt;
=== Early Board Correction, pre July 2020 ===&lt;br /&gt;
The first batch of JLCPCB boards shipped have an incorrect resistor value that needs to be changed over. Boards &#039;&#039;shipped after Jun 26, 2020&#039;&#039; will not need to do this.&lt;br /&gt;
&lt;br /&gt;
[[File:Power supply.png|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
Resistor labeled R101 (labeled &#039;1002&#039;) needs swapping for a 8k2 resistor. &lt;br /&gt;
[[File:20200629 155303.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
=== Soldering The Breakout Board ===&lt;br /&gt;
Solder the Ampseal socket to the the breakout board, the silk-screen indicates side and orientation fitment.&lt;br /&gt;
&lt;br /&gt;
[[File:20200605 174452.jpg|thumb|alt=|none]]&lt;br /&gt;
&lt;br /&gt;
Next flip it over and solder the 34 way IDC locking header on, notch upwards as show.  &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note: Some versions of the breakout board have and error in the silk-screen that indicate orientation incorrectly, with the notch towards the bottom.&#039;&#039;&lt;br /&gt;
[[File:20200606 130213.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
=== Soldering the Main Board ===&lt;br /&gt;
The main board is mostly pretty easy to solder, the one exception is the 50 way white connector. I found that putting flux on the pads and dragging solder across them, placing the connector in place and then placing the iron on the pins was the easiest. &lt;br /&gt;
[[File:20200619 175629.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
Next up I did conn 1, it can only go one way, and is a piece of cake after the 50 way connector.&lt;br /&gt;
[[File:20200605 174924.jpg|none|thumb]]&lt;br /&gt;
And Conn8, again easy.&lt;br /&gt;
[[File:20200605 175047.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
Next the DCDC convert connector, again only fits one way.&lt;br /&gt;
[[File:20200605 175849.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
MG1 and MG2 Current sensor Connectors, both these are the same, the tabs on both MG1 and MG2 are at the top.&lt;br /&gt;
[[File:20200605 181654.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
Next up the L2 inductor, it can go either way&lt;br /&gt;
[[File:20200605_182754.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
Next up I did the right angled pins for the wifi module, stick the pins in the module connector and then through the board, hold it in place and flip it over.&lt;br /&gt;
&lt;br /&gt;
[add photo]&lt;br /&gt;
&lt;br /&gt;
Cut 2 lengths of 3 pins from the header pin strips for the ISP header for programming the Atmega328P that will be used ton control the buck-boost converter.&lt;br /&gt;
[[File:20200605 183933.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
To enable the DCDC converter for I&#039;ve bridged over the 2 pin holes, but you can add a switch or something here, or leave it open if you&#039;re not using the DCDC to keep the 12v battery charged.&lt;br /&gt;
[[File:20200605 184633.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
Pin header for Alegro current sensor, currently no software exists to control the buck boost, hopefully in the future this will be able to be used as a charger, this pin header is for the possible addition of a current sensor to facilitate.&lt;br /&gt;
[[File:20200605_185543.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
Three options exist on the board for flashing the firmware to the STM32.&lt;br /&gt;
&lt;br /&gt;
If you plan on programming your board with a [https://www.tag-connect.com/product/tc2050-idc-nl-050 TC2050 JTAG]  then obviously skip the next step.&lt;br /&gt;
&lt;br /&gt;
Solder a 3 pin headers for single wire program interface, or a 6 pin header for FTDI interface.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;The photo below shows both headers populated, however you don&#039;t necessarily need both.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:20200605 185557.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
Last up is the 34-way ICD interlock connector for the breakout board. Notch outward.&lt;br /&gt;
[[File:20200609 094633.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
=== Powering up ===&lt;br /&gt;
Now it&#039;s time to power up the board with 12v and test.&lt;br /&gt;
&lt;br /&gt;
Green wire is +12v (pin 1) and blue 0v (pin 11)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE:&#039;&#039;&#039; When Idle, board consumes about 1.7 - 1.8A of current. When PWM starts, current consumption goes up to ~2A.&lt;br /&gt;
[[File:20200608 125857.jpg|none|thumb]]&lt;br /&gt;
[[File:Screenshot 2020-06-07 at 1.32.12 pm.png|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
=== Checking voltages ===&lt;br /&gt;
&lt;br /&gt;
Check for ~3.3v here on C32&lt;br /&gt;
[[File:20200608 124947.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
Check for ~5v here on C21/C20/C22/C25&lt;br /&gt;
[[File:20200607 134336.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
Check for -5v here on the little via next to CONN7 or right next to CONN2 there&#039;s a via with -5V under it.&lt;br /&gt;
[[File:20200608 125110.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
Finally the 26v &lt;br /&gt;
[[File:20200608 125053.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
== Firmware ==&lt;br /&gt;
Full kits will be supplied programmed and partial kits will be un-programmed.&lt;br /&gt;
&lt;br /&gt;
=== Wifi Module Firmware ===&lt;br /&gt;
My wifi module came with the firmware already installed, but if yours didn&#039;t follow the outline steps below. You will need a 3.3v USB to Serial adaptor.  &lt;br /&gt;
# Download the software from https://github.com/jsphuebner/esp8266-web-interface &lt;br /&gt;
#  Install the Arduino core from https://github.com/esp8266/Arduino (Arduino IDE, Platform.IO etc supported)&lt;br /&gt;
#  Write code to ESP8266&lt;br /&gt;
#  Write filesystem to ESP8266&lt;br /&gt;
&lt;br /&gt;
Step by Step using Arduino IDE&lt;br /&gt;
# Add https://arduino.esp8266.com/stable/package_esp8266com_index.json into Additional Board &lt;br /&gt;
# Go to Boards -&amp;gt; Board Manager and install ESP8266&lt;br /&gt;
# Extract the esp8266-web-interface software to your Arduino projects directory&lt;br /&gt;
# Create a new folder named data&lt;br /&gt;
# Move all files except FSBrowser.ino to the data folder.&lt;br /&gt;
# Choose Olimex MOD-WIFI-ESP8266 as the board&lt;br /&gt;
# Upload the code using the Arduino IDE&lt;br /&gt;
# Use &#039;ESP8266 Sketch Data Upload&#039; from the Tools menu, this will upload the files in the data directory to the ESP8266&lt;br /&gt;
&lt;br /&gt;
=== Programming Firmware ===&lt;br /&gt;
There are three different interfaces that are possible to program the firmware.&lt;br /&gt;
&lt;br /&gt;
Below are instructions for using the single wire programming interface with the [https://www.st.com/en/development-tools/st-link-v2.html USB STLink V2].&lt;br /&gt;
&lt;br /&gt;
Connect the 3 wire pin headers to the programming device.&lt;br /&gt;
[[File:Swp.jpg|none|thumb]]&lt;br /&gt;
[[File:S-l1600.jpg|none|thumb]]&lt;br /&gt;
The pin labeled &#039;&#039;DAT&#039;&#039; on the board should connect to &#039;&#039;SWDIO&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The middle pin of the 3 pins on the board should go to &#039;&#039;GND&#039;&#039; on the STLink V2&lt;br /&gt;
&lt;br /&gt;
The pin labeled &#039;&#039;CLK&#039;&#039; on the board should connect to &#039;&#039;SWCLK&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Using a Mac or Linux&#039;&#039;&#039; install https://github.com/stlink-org/stlink&lt;br /&gt;
&lt;br /&gt;
Run command to write the bootloader&amp;lt;blockquote&amp;gt;st-flash write stm32_loader.bin 0x08000000&amp;lt;/blockquote&amp;gt;&#039;&#039;&#039;For Windows&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[Add instructions for writing bootloader]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Once the bootloader has been programmed the main firmware can be uploaded and upgraded via the [[web interface]].&lt;br /&gt;
&lt;br /&gt;
A wifi network should be visible with the name &#039;&#039;ESP-*&#039;&#039; connect to it&lt;br /&gt;
[[File:Screenshot 2020-06-20 at 8.33.04 am.png|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
Once connected open a browser and navigate to http://192.168.4.1 and find the update section, upload the firmware.&lt;br /&gt;
[[File:Screenshot 2020-06-20 at 8.28.53 am.png|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
Once this has completed you can verify by scrolling to the Spot Values section and you&#039;ll see the software version&lt;br /&gt;
[[File:Screenshot 2020-06-20 at 8.39.58 am.png|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
=== Atmega328p Firmware ===&lt;br /&gt;
This will control the Buck Boost module that&#039;s hopefully going to be a functioning charger in the future, it also requires a simple bit of firmware to enable the DC-DC converter.&lt;br /&gt;
&lt;br /&gt;
[Add instructions for firmware]&lt;br /&gt;
&lt;br /&gt;
== Inverter Parameters ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Parameter&lt;br /&gt;
!Suggested Value&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|pwmfrq&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|pwmpol&lt;br /&gt;
|0 - Active High&lt;br /&gt;
|DO NOT PLAY WITH THIS!&lt;br /&gt;
|-&lt;br /&gt;
|deadtime&lt;br /&gt;
|130&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|minpulse&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|il1gain&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|il2gain&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|udcgain&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|udcofs&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|udclim&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|snshs&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|pinswap&lt;br /&gt;
|PWMOutput23&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== First Run (PWM verify) ==&lt;br /&gt;
Once your board in installed in the inverter and all the internal connectors are connected you can power up the inverter with 12v as above. No need to have anything connected to the HV battery or MG1 or MG2. You&#039;ll hear an audible wine. We&#039;re first going to verify the PWM outputs on the board and then connecting up a motor.&lt;br /&gt;
&lt;br /&gt;
Connect pin 3, MG2_FORW_IN to 12v&lt;br /&gt;
&lt;br /&gt;
Navigate to the [[Web Interface]]&lt;br /&gt;
&lt;br /&gt;
Change the parameter  encmode to &#039;AB&#039; as at the moment we don&#039;t have any sensors connected.&lt;br /&gt;
&lt;br /&gt;
Start the inverter in manual mode with the button&lt;br /&gt;
[[File:Screenshot 2020-07-06 at 1.21.04 pm.png|thumb|alt=|none]]    &lt;br /&gt;
&lt;br /&gt;
Now set the 2 testing parameters, fslipsnpnt and ampnom to 1. &lt;br /&gt;
[[File:Screenshot 2020-07-06 at 1.21.13 pm.png|none|thumb]] &lt;br /&gt;
&lt;br /&gt;
Using a scope, look for a PWM signal on MG2 A/B/C Hi/Low on the 50 pin connector. &lt;br /&gt;
&lt;br /&gt;
Stop the inverter &lt;br /&gt;
&lt;br /&gt;
== First Run (Open loop motor spin) ==&lt;br /&gt;
&lt;br /&gt;
Now connect up the 3 motor phases and a small voltage of around 30v to the HV, I manually pre-charged with a 50w 10ohm resistor for a couple of seconds, the supply needs to be able to supply 10 amps or so. I also had a 20 amp fuse inline.&lt;br /&gt;
&lt;br /&gt;
As above, start the inverter in manual mode, set ampnom to 100 and fslipsnpnt to 10, the motor should start to spin.&lt;br /&gt;
&lt;br /&gt;
You may have [[Errors]] to address if this doesn&#039;t happen.&lt;br /&gt;
&lt;br /&gt;
== DC-DC Converter ==&lt;br /&gt;
The inverter contains a DC DC converter, that is used to keep the 12v battery charged using the high voltage battery. This is the EV equivalent to the alternator on a combustion engined car.&lt;br /&gt;
&lt;br /&gt;
As per the assembly instructions above this needs to be enabled via the jumper on the control board.&lt;br /&gt;
&lt;br /&gt;
In the unmodified state, the DC DC converter will operate with a main battery voltage in the ~80v to ~235v range and will require a simple modification to allow it to operate at higher voltage range, ~140v to ~400v&lt;br /&gt;
&lt;br /&gt;
[instructions for modification to follow]&lt;br /&gt;
&lt;br /&gt;
== 12v Battery Connection ==&lt;br /&gt;
The 12v battery positive connects to this post, it&#039;ll output ~14v when the DC-DC is running to keep the battery charged, the negative terminal of the battery should be connected to the case of the inverter.[[File:20200705_190706.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
== High Voltage Battery Connection ==&lt;br /&gt;
The HV battery connection is bellow, DO NOT directly connect the battery here. It needs to be connected via contactors and a pre-charge resistor. This connection point by-passes the buck/boost converter.&lt;br /&gt;
&lt;br /&gt;
[[File:20200705 190723.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
[Add details of pre-charge and contactor]&lt;br /&gt;
&lt;br /&gt;
== Motor Connection ==&lt;br /&gt;
If you are only using MG2 to power a motor, and not paralleling MG1 and MG2, connect your 3 phase wires from the motor to the outer 3 terminals.&lt;br /&gt;
&lt;br /&gt;
[[File:20200705 190657.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
== IDC Connector ==&lt;br /&gt;
If you are not using the AMPSeal daughterboard, you can connect directly to the 34 pin IDC connector on the EVBMW board. &lt;br /&gt;
&lt;br /&gt;
Connections are as follows:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|Pin Number&lt;br /&gt;
|Label&lt;br /&gt;
|Description&lt;br /&gt;
|-&lt;br /&gt;
|1&lt;br /&gt;
|12V_IN&lt;br /&gt;
|Provide with +12V supply from battery or power supply for testing&lt;br /&gt;
|-&lt;br /&gt;
|2&lt;br /&gt;
|12V_IN&lt;br /&gt;
|Provide with +12V supply from battery or power supply for testing&lt;br /&gt;
|-&lt;br /&gt;
|3&lt;br /&gt;
|MG2_FORW_IN&lt;br /&gt;
|Active high signal at 12V (switches at &amp;gt;7V) to tell the inverter which way to spin the motor. Take positive feed from 12V battery or supply and wire through a three position switch, with the switched connections running to forward and reverse.&lt;br /&gt;
|-&lt;br /&gt;
|4&lt;br /&gt;
|MG2_REVER_IN&lt;br /&gt;
|Active high signal at 12V (switches at &amp;gt;7V) to tell the inverter which way to spin the motor. Take positive feed from 12V battery or supply and wire through a three position switch, with the switched connections running to forward and reverse.&lt;br /&gt;
|-&lt;br /&gt;
|5&lt;br /&gt;
|MG2_START&lt;br /&gt;
|Active high signal at 12V (switches at &amp;gt;7V) to start the inverter and move it from pre-charge to run mode. Typically connected to the momentary &#039;START&#039; position of your ignition switch.&lt;br /&gt;
|-&lt;br /&gt;
|6&lt;br /&gt;
|MG2_BRAKE_ON&lt;br /&gt;
|Active high signal at 12V (switches at &amp;gt;7V) to inform the inverter that the car is under braking. Typically takes a feed from the brake switch that also turns on brake lights etc.&lt;br /&gt;
|-&lt;br /&gt;
|7&lt;br /&gt;
|CRUISE_IN&lt;br /&gt;
|Active high signal at 12V (switches at &amp;gt;7V) to turn on cruise control mode. This sets the current motor speed as the set point for cruise control. Cruise control is disabled by a signal from the brake switch.&lt;br /&gt;
|-&lt;br /&gt;
|8&lt;br /&gt;
|VCC_5V&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;+5V supply for temperature and throttle sensors&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|9&lt;br /&gt;
|MG2_ACCEL&lt;br /&gt;
|5V analogue input from first channel of throttle sensor. These typically take a 5V supply and ground and return to this pin a variable voltage that indicates throttle position.&lt;br /&gt;
|-&lt;br /&gt;
|10&lt;br /&gt;
|MG2_BRAKE_TRANS&lt;br /&gt;
|5V analogue input from second channel of throttle sensor. These typically take a 5V supply and ground and return to this pin a variable voltage that indicates throttle position.&lt;br /&gt;
|-&lt;br /&gt;
|11&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground for 12V supply or 5V return.&lt;br /&gt;
|-&lt;br /&gt;
|12&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground for 12V supply or 5V return&lt;br /&gt;
|-&lt;br /&gt;
|13&lt;br /&gt;
|CAN_EXT_H&lt;br /&gt;
|CANBus digital communication connection for remote interface with inverter&lt;br /&gt;
|-&lt;br /&gt;
|14&lt;br /&gt;
|CAN_EXT_L&lt;br /&gt;
|CANBus digital communication connection for remote interface with inverter&lt;br /&gt;
|-&lt;br /&gt;
|15&lt;br /&gt;
|VCC_5V&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;+5V supply for temperature and throttle sensors&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|16&lt;br /&gt;
|MG2_ENC_1&lt;br /&gt;
|Can be either digital input for encoder (in which case, connect the relevant encoder output here and provide the device with 5V and ground), or one of the two connections for the SIN winding if you are using a resolver for motor position.&lt;br /&gt;
|-&lt;br /&gt;
|17&lt;br /&gt;
|MG2_ENC_2&lt;br /&gt;
|Can be either digital input for encoder (in which case, connect the relevant encoder output here and provide the device with 5V and ground), or one of the two connections for the COS winding if you are using a resolver for motor position.&lt;br /&gt;
|-&lt;br /&gt;
|18&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground for 12V supply or 5V return&lt;br /&gt;
|-&lt;br /&gt;
|19&lt;br /&gt;
|MG2_COSA&lt;br /&gt;
|Connect SIN winding of motor resolver here and to Encoder Channel A&lt;br /&gt;
|-&lt;br /&gt;
|20&lt;br /&gt;
|MG2_SINA&lt;br /&gt;
|Connect COS winding of motor resolver here and to Encoder Channel B&lt;br /&gt;
|-&lt;br /&gt;
|21&lt;br /&gt;
|MG2_EXCA&lt;br /&gt;
|Connect exciter winding of motor resolver here and to ground&lt;br /&gt;
|-&lt;br /&gt;
|22&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground for 12V supply or 5V return&lt;br /&gt;
|-&lt;br /&gt;
|23&lt;br /&gt;
|MG2_STATOR_T1&lt;br /&gt;
|5V analogue input from motor temperature sensor. These are typically variable resistance devices. Connect the other side of the sensor to +5V.&lt;br /&gt;
|-&lt;br /&gt;
|24&lt;br /&gt;
|MG2_STATOR_T2&lt;br /&gt;
|5V analogue input from motor temperature sensor. These are typically variable resistance devices. Connect the other side of the sensor to +5V.&lt;br /&gt;
|-&lt;br /&gt;
|25&lt;br /&gt;
|MAIN_CON&lt;br /&gt;
|Open Collector (Will switch the ground side from disconnected to ground). &lt;br /&gt;
Connect one side of the contactor coil to +12v and the other to this pin. Your contactor will need either a built in economiser or additional circuit. MAX 2 amp.&lt;br /&gt;
|-&lt;br /&gt;
|26&lt;br /&gt;
|PRECHG_RLY&lt;br /&gt;
|Open Collector (Will switch the ground side from disconnected to ground). &lt;br /&gt;
Connect one side of the contactor coil to +12v and the other to this pin. Your contactor will need either a built in economiser or additional circuit. MAX 2 amp.&lt;br /&gt;
|-&lt;br /&gt;
|27&lt;br /&gt;
|AC_CON&lt;br /&gt;
|Open Collector (Will switch the ground side from disconnected to ground). &lt;br /&gt;
Connect one side of the contactor coil to +12v and the other to this pin. Your contactor will need either a built in economiser or additional circuit. MAX 2 amp.&lt;br /&gt;
|-&lt;br /&gt;
|28&lt;br /&gt;
|HV_CON&lt;br /&gt;
|?&lt;br /&gt;
|-&lt;br /&gt;
|29&lt;br /&gt;
|AC_PRECH&lt;br /&gt;
|Open Collector (Will switch the ground side from disconnected to ground). &lt;br /&gt;
Connect one side of the contactor coil to +12v and the other to this pin. Your contactor will need either a built in economiser or additional circuit. MAX 2 amp.&lt;br /&gt;
|-&lt;br /&gt;
|30&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground for 12V supply or 5V return&lt;br /&gt;
|-&lt;br /&gt;
|31&lt;br /&gt;
|EVSE_PROX&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|32&lt;br /&gt;
|CONTROL_PILOT&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|33&lt;br /&gt;
|CHG_CANH&lt;br /&gt;
|CANBus digital communication connection for remote interface with charger&lt;br /&gt;
|-&lt;br /&gt;
|34&lt;br /&gt;
|CHG_CANL&lt;br /&gt;
|CANBus digital communication connection for remote interface with charger&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Ampseal Socket &amp;amp; Plug ==&lt;br /&gt;
There are multiple part numbers for the large 35 way Ampseal through hole socket, with small mating differences, be sure to get a matching pair.&lt;br /&gt;
&lt;br /&gt;
TE connectivity &#039;&#039;&#039;776164-1&#039;&#039;&#039; and &#039;&#039;&#039;776163-1&#039;&#039;&#039; are a matched pair (source https://www.ebay.co.uk/itm/Connector-ECU-Terminals-35P-35-Way-776164-1-776231-1-776163-1-Male-Female-Pins/401764868163?hash=item5d8b0d6043:g:3TkAAOSwexhc1Tcy&amp;lt;nowiki/&amp;gt;Ebay)&lt;br /&gt;
&lt;br /&gt;
[[File:AMPSeal socket (male).jpg|alt=|none|thumb|AMPSeal socket (male) in 3D printed surround with pins marked]]&lt;br /&gt;
&lt;br /&gt;
The AMPSeal connector is wired as follows:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|Pin Number&lt;br /&gt;
|AMPSeal Pinout Label&lt;br /&gt;
|Description&lt;br /&gt;
|-&lt;br /&gt;
|1&lt;br /&gt;
|12V SUPPLY POSITIVE&lt;br /&gt;
|Provide with +12V supply from battery or power supply for testing&lt;br /&gt;
|-&lt;br /&gt;
|2&lt;br /&gt;
|GROUND&lt;br /&gt;
|Common ground for 12V supply or 5V return&lt;br /&gt;
|-&lt;br /&gt;
|3&lt;br /&gt;
|FORWARD DIRECTION SIGNAL&lt;br /&gt;
|Active high signal at 12V (switches at &amp;gt;7V) to tell the inverter which way to spin the motor. Take positive feed from 12V battery or supply and wire through a three position switch, with the switched connections running to forward and reverse.&lt;br /&gt;
|-&lt;br /&gt;
|4&lt;br /&gt;
|REVERSE DIRECTION SIGNAL&lt;br /&gt;
|Active high signal at 12V (switches at &amp;gt;7V) to tell the inverter which way to spin the motor. Take positive feed from 12V battery or supply and wire through a three position switch, with the switched connections running to forward and reverse.&lt;br /&gt;
|-&lt;br /&gt;
|5&lt;br /&gt;
|START SIGNAL&lt;br /&gt;
|Active high signal at 12V (switches at &amp;gt;7V) to start the inverter and move it from pre-charge to run mode. Typically connected to the momentary &#039;START&#039; position of your ignition switch.&lt;br /&gt;
|-&lt;br /&gt;
|6&lt;br /&gt;
|BRAKE DIGITAL SIGNAL&lt;br /&gt;
|Active high signal at 12V (switches at &amp;gt;7V) to inform the inverter that the car is under braking. Typically takes a feed from the brake switch that also turns on brake lights etc.&lt;br /&gt;
|-&lt;br /&gt;
|7&lt;br /&gt;
|CRUISE CONTROL SIGNAL&lt;br /&gt;
|Active high signal at 12V (switches at &amp;gt;7V) to turn on cruise control mode. This sets the current motor speed as the set point for cruise control. Cruise control is disabled by a signal from the brake switch.&lt;br /&gt;
|-&lt;br /&gt;
|8&lt;br /&gt;
|5V OUT&lt;br /&gt;
| +5V supply for temperature and throttle sensors&lt;br /&gt;
|-&lt;br /&gt;
|9&lt;br /&gt;
|ACCELERATOR CHAN 1 INPUT&lt;br /&gt;
|5V analogue input from first channel of throttle sensor. These typically take a 5V supply and ground and return to this pin a variable voltage that indicates throttle position.&lt;br /&gt;
|-&lt;br /&gt;
|10&lt;br /&gt;
|ACCELERATOR CHAN 2 INPUT&lt;br /&gt;
|5V analogue input from second channel of throttle sensor. These typically take a 5V supply and ground and return to this pin a variable voltage that indicates throttle position.&lt;br /&gt;
|-&lt;br /&gt;
|11&lt;br /&gt;
|GROUND&lt;br /&gt;
|Common ground for 12V supply or 5V return.&lt;br /&gt;
|-&lt;br /&gt;
|12&lt;br /&gt;
|INVERTER CAN HIGH&lt;br /&gt;
|CANBus digital communication connection for remote interface with inverter&lt;br /&gt;
|-&lt;br /&gt;
|13&lt;br /&gt;
|INVERTER CAN LOW&lt;br /&gt;
|CANBus digital communication connection for remote interface with inverter&lt;br /&gt;
|-&lt;br /&gt;
|14&lt;br /&gt;
| +5V OUT&lt;br /&gt;
| +5V supply for temperature and throttle sensors&lt;br /&gt;
|-&lt;br /&gt;
|15&lt;br /&gt;
|ENCODER CHAN A&lt;br /&gt;
|Can be either digital input for encoder (in which case, connect the relevant encoder output here and provide the device with 5V and ground), or one of the two connections for the SIN winding if you are using a resolver for motor position.&lt;br /&gt;
|-&lt;br /&gt;
|16&lt;br /&gt;
|ENCODER CHAN B&lt;br /&gt;
|Can be either digital input for encoder (in which case, connect the relevant encoder output here and provide the device with 5V and ground), or one of the two connections for the COS winding if you are using a resolver for motor position.&lt;br /&gt;
|-&lt;br /&gt;
|17&lt;br /&gt;
|GROUND&lt;br /&gt;
|Common ground for 12V supply or 5V return&lt;br /&gt;
|-&lt;br /&gt;
|18&lt;br /&gt;
|RESOLVER SIN&lt;br /&gt;
|Connect SIN winding of motor resolver here and to Encoder Channel A&lt;br /&gt;
|-&lt;br /&gt;
|19&lt;br /&gt;
|RESOLVER COS&lt;br /&gt;
|Connect COS winding of motor resolver here and to Encoder Channel B&lt;br /&gt;
|-&lt;br /&gt;
|20&lt;br /&gt;
|RESOLVER EXC&lt;br /&gt;
|Connect exciter winding of motor resolver here and to ground&lt;br /&gt;
|-&lt;br /&gt;
|21&lt;br /&gt;
|GROUND&lt;br /&gt;
|Common ground for 12V supply or 5V return&lt;br /&gt;
|-&lt;br /&gt;
|22&lt;br /&gt;
|MOTOR TEMP SENSOR A&lt;br /&gt;
|5V analogue input from motor temperature sensor. These are typically variable resistance devices. Connect the other side of the sensor to +5V.&lt;br /&gt;
|-&lt;br /&gt;
|23&lt;br /&gt;
|MOTOR TEMP SENSOR B&lt;br /&gt;
|5V analogue input from motor temperature sensor. These are typically variable resistance devices. Connect the other side of the sensor to +5V.&lt;br /&gt;
|-&lt;br /&gt;
|24&lt;br /&gt;
|MAIN HV CONTACTOR&lt;br /&gt;
|Open Collector (Will switch the ground side from disconnected to ground).&lt;br /&gt;
Connect one side of the contactor coil to +12v and the other to this pin. Your contactor will need either a built in economiser or additional circuit. MAX 5 amp.&lt;br /&gt;
|-&lt;br /&gt;
|25&lt;br /&gt;
|HV PRECHARGE RELAY&lt;br /&gt;
|Open Collector (Will switch the ground side from disconnected to ground). &lt;br /&gt;
Connect one side of the contactor coil to +12v and the other to this pin. Your contactor will need either a built in economiser or additional circuit. MAX 5 amp.&lt;br /&gt;
|-&lt;br /&gt;
|26&lt;br /&gt;
|CHARGER AC INPUT RELAY&lt;br /&gt;
|Open Collector (Will switch the ground side from disconnected to ground). &lt;br /&gt;
Connect one side of the contactor coil to +12v and the other to this pin. Your contactor will need either a built in economiser or additional circuit. MAX 5 amp.&lt;br /&gt;
|-&lt;br /&gt;
|27&lt;br /&gt;
|CHARGER HV DC REQUEST&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|28&lt;br /&gt;
|CHARGER AC PRECHARGE RELAY&lt;br /&gt;
|Open Collector (Will switch the ground side from disconnected to ground). &lt;br /&gt;
Connect one side of the contactor coil to +12v and the other to this pin. Your contactor will need either a built in economiser or additional circuit. MAX 5 amp.&lt;br /&gt;
|-&lt;br /&gt;
|29&lt;br /&gt;
|GROUND&lt;br /&gt;
|Common ground for 12V supply or 5V return&lt;br /&gt;
|-&lt;br /&gt;
|30&lt;br /&gt;
|EVSE PROXIMITY SIGNAL&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|31&lt;br /&gt;
|EVSE CONTROL PILOT SIGNAL&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|32&lt;br /&gt;
|CHARGER CAN HIGH&lt;br /&gt;
|CANBus digital communication connection for remote interface with charger&lt;br /&gt;
|-&lt;br /&gt;
|33&lt;br /&gt;
|CHARGER CAN LOW&lt;br /&gt;
|CANBus digital communication connection for remote interface with charger&lt;br /&gt;
|-&lt;br /&gt;
|34&lt;br /&gt;
|NOT USED&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|35&lt;br /&gt;
|NOT USED&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Connecting Resolver ==&lt;br /&gt;
For resolver connect EXC to one side of the exciter winding and other to Ground.&lt;br /&gt;
&lt;br /&gt;
Connect one side of SIN winding to SIN and other to Encoder A&lt;br /&gt;
&lt;br /&gt;
Conenct one side of COS winding to COS and other to encoder B.&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/Prius-Gen3-Inverter/tree/master/V2 Damien&#039;s Prius Gen3 v2 Github]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/Prius-Gen3-Inverter/blob/master/V1c/PriusGen3HandPlacedParts.csv Bill of Hand Placed Parts] (Github)&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/Prius-Gen3-Inverter/blob/master/V2/PriusG3_V1b_BOM_JLC.xls?raw=true Bill of Materials] (Github)&lt;br /&gt;
&lt;br /&gt;
The control board takes advantage of the [https://openinverter.org/wiki/Downloads OpenInverter.org software] for control.&lt;/div&gt;</summary>
		<author><name>Chrskly</name></author>
	</entry>
</feed>