Skip to content
An opensource solution for connecting OBD2 straight to the Nissan Leaf battery
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Documentation
B24_2013+.stl
LICENSE
README.md

README.md

Nissan-Leaf-Battery-to-OBD2

An opensource solution for connecting OBD2 straight to a Nissan Leaf battery. Very useful gadget to have if you're thinking about buying a battery and want to check the state-of-health beforehand.

Please note, there are two versions of the 'Yazaki' connector found on Nissan Leaf batteries. This connector is refered to as the B24 connector in service manuals. The 2011-2012 version uses a 21-pin, and the 2013-2019 uses a 36-pin connector. At this stage, the 3d-printable files are only available for the 36-pin connector. See the documentation folder for the schematic differences

alt text

How to make your own

It's really easy to make, you'll need the following items:

  1. 3d-printed 'B24' connector, found in this repository
  2. Dupont style connectors (found in most arduino kits or old PCs) [1x2, 1x3, 1x4] Here's what they look like
  3. Superglue / Epoxy
  4. An OBD2 port along with the pins (can be bought new or salvaged from a scrap car)
  5. Wires to connect it all
  6. A 12V power source (small lead acid battery does the trick OR a few 18650s in series)

Printing tips

This design has been printed with PLA and PETG. Very likely to work with ABS too! Print with low speed to get the mounting holes to be perfectly shaped. There isn't much to gain with higher quality, the connector will work just fine at .12/.16/.20/.28 mm layer height. Infill settings doesn't matter much as long as it's above 20%. No supports needed! Printing should take ~1.5h

Detailed instructions

To start of with, gather all the parts needed. Take the correct B24 connector from this repository (Right now only 2013+ available). Once you have the model printed, attach dupont connectors to it by supergluing/epoxying them in place. Be careful not to get any glue inside the connector, especially the pins. Less is more when it comes to the glue. Once the glue has dried its time to connect the B24 wiring to the OBD2 port wiring. Solder or crimp the connectors together according to the schematic diagram. Power it up with an external +12V source or battery. 12V lead acid or 3x18650s in series works well.

To read data from the pack, plug in an OBD2 bluetooth dongle to the port and fire up Leafspy. Go into the settings menu, and switch to 'BMS only' mode. This can be found where you select your model year, scroll up the list and where 2010 should be there is a 'BMS only' option.

If you did everything correctly, you schould end up with this. alt text

Schematic

Here's the schematic for how to wire up the 2013+ connector to an OBD2 port alt text

You can’t perform that action at this time.