GithubHelp home page GithubHelp logo

nissan-leaf-batterypairing's Introduction

Nissan-Leaf-BatteryPairing

BatteryPairing in action Excel VBA macro that generates commands for pairing Nissan LEAF batteries. Works with ZE0 and AZE0 so far. However, I cannot guarantee if this fixes or bricks your car. In a worst case scenario you will have to visit a dealership and get it paired properly with expensive tools.

What is it for?

Changing the main battery pack in a Nissan Leaf to another one results in the error code P3102, which cause turtle mode with reduced engine power (limp-mode). The file generated will remove the P3102 code and allow for changing main batteries. Note that this is only for direct swaps(ZE0 24->ZE0 24 or AZE0 30->AZE0 30kWh), not for battery upgrades(ZE0 24->AZE0 30kWh or ZE0 24->AZE0 24kWh)

This script has been confirmed to work with the following vehicles:

  • Nissan Leaf (2011-2017) ZE0 and AZE0
  • Nissan e-nv200 (2014-2017)

How to use

PLEASE NOTE THIS IS AVAILABLE IN LEAFSPY PRO, NO NEED TO USE THIS EXCEL ANYMORE!

  1. Read out your new battery ID with LEAFspy Pro BETA. Take an Android phone equipped with Leafspy Pro. Go to the Google playstore, and then to the Leafspy Pro page. Scroll down and apply to become a Beta tester. Then you will get the newest version, which can read out the battery ID. Open the app, and connect to the car. Go to the "ECU Versions" screen from the service menu, and take a screenshot of this page. The screenshot should look like this: https://dalasevrepair.fi/wp-content/uploads/2020/07/ID.png
  2. Open the file in this repository with Excel. Enable macros, and enter the BatteryID at the top. Then press the "Generate .log" button and save the .log file to some suitable location.
  3. Play back the .log file using the freeware CANrunner (https://www.wapice.com/products/canrunner) and some suitable CAN-device, like a Kvaser/PCAN etc.. Play the messages into the OBD2 port CAR-CAN, primary CAN bus is on the standardized (J2284) connector pins, CAN-L (14) and CAN-H (6).

Credits

Massive thanks to Сергей Иванов for figuring this out!

nissan-leaf-batterypairing's People

Contributors

dalathegreat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nissan-leaf-batterypairing's Issues

It is both TX and RX communication mixed up

It is clearly both the messages sent by a diagnostic device, and the responses received from the car mixed up and all marked as TX. I would at least filter out the car's response messages from it, from addresses 7bb, 79a, 763, 78c, 793, 70f, 72d, 72e.

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.