Giter Club home page Giter Club logo

tesla-model-3-charger's Introduction

Tesla-Model-3-Charger

Reverse Engineering of the Tesla Model 3 charger and development of an open source control board. PCB design files in DesignSpark 8.1 format.

25/06/19 : Thanks to a kind donation I will soon have a Model 3 battery charger for reverse engineering. Setting up a repo to contain the knowledge.

08/07/19 : Received the charger (corectly known as the Power Conversion System) as it also contains a DC DC converter. Also received a HV Controller and wiring looms from Model 3. Uploaded CAN logs from pcs and HV controller from the CP CAN bus. 500k.

To Power up the PCS : Connect 12V battery or power supply to the DC DC converter high power pins. Ground is pin nearest the edge. Then connect Wire W02 to the 12v battery ground. PCS will then wake up.

10/07/19 : Added more can logs

15/07/19 : so it seems I was wrong. The PCS does indeed transmit something by itself over IPC CAN Tx. Log uploaded using a Salea Logic analyser. Free software available here : https://www.saleae.com/downloads/

19/07/19 : Sucessfully interfaced with the IPC CAN using an SN65HVD255 CAN transciever. Uploaded new log files with IPC CAN captures. DCDC Converter section now waking up. Message id 0x22A is responsible for commanding the DCDC to startup.

V1 design for a PCS controller done and released. Do not use this. It probably won't work....

20/07/19 : Excellent description of ipc can from a youtube comment :

Inter Process Communication (IPC) can use the CAN protocol over a half duplex single ended bus, without the usual Transceivers (that are used to convert to a differential bus topology for noise immunity and low EMI), by simply hardware OR'ing the TX lines onto a single data line. Used over short distances with system of a common ground it allows all the usual CAN goodness (built in checksums, automatic bus arbitration and multi-drop architecture) without the additional parts count for the full CAN physical layer. As Automotive spec micro-processors now pretty much all include multiple CAN nodes in hardware, it makes sense to use that rather than alternative IPC options (classic UART, SPI, I2C etc)

See here: https://www.mikrocontroller.net/attachment/28831/siemens_AP2921.pdf

10/03/20 : Added some charging CAN logs from a RHD 2019 M3.

08/03/21 : DCDC converter now up and running in the E46 touring project car. US version of the PCS. EU version also bench tested.

25/03/21 : Full PCS now up and running : https://vimeo.com/523413869 Full open source release of V2 STM32F103 based controller uploaded. WARNING : Not yet tested!

Uploaded a redacted version of my very hacky test code used on prototype Arduino/SAM3X8E based controller.

01/12/21 : Added fully functional V6 firmware for the Arduiono Due hardware. Tested and working in E46 touring with US PCS.

tesla-model-3-charger's People

Contributors

damienmaguire avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.