Coder Social home page Coder Social logo

teslabms's Introduction

My take on Collin's BMS. Changes listed below:

  • Now balances to the lowest cell between two packs connected together in series.
  • CSV output for those that might use it.
  • Cells balance for 30s and then update again, turning the balancers off momentarily to get accurate readings.
  • Baud set 612500 (I have older Tesla packs)

See it in action here: LongDog Power Plant

Arduino compatible project to interface with the BMS slave board on Tesla Model S modules.

The modules are daisy-chained together with a TTL interface. The interface uses a Molex 15-97-5101 connector and runs at 612500 baud. This can be a difficult baud rate to match with arduino compatible processors. The Arduino Due and Teensy 3.5/3.6 boards are confirmed to be able to generate a suitably close baud rate. The factory wiring to each module is comprised of two sets of 5 differently colored wires:

  • Red = 5V input to the module
  • Green = Gnd for power and signal
  • Gray = Fault output
  • Yellow = UART Wire
  • Blue = UART Wire

The fault output is active low. Use your own pull up to the fault line and if the line is pulled low then a fault has occurred.

Here is a PDF that explains how the wiring between modules and the master board is supposed to be: https://cdn.hackaday.io/files/10098432032832/wiring.pdf

teslabms's People

Contributors

collin80 avatar bobbybleacher avatar tom-evnut avatar

Stargazers

GaryCooper avatar Kerry Manning avatar André Kruger avatar  avatar  avatar Michael Fischer avatar  avatar  avatar

Watchers

Chris  avatar  avatar

Forkers

jackdwest

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.