Pack Sniffer 2


In Pack Sniffer mode, it is designed to be powered from USB power pack (or an external 12V source), to read out the state of a battery pack and display the info.
This allows the user to check that the battery pack and all the cells are not damaged before purchase.

In Pack Controller mode, the battery pack output can be enabled, (pre-charger, high and low side contactors can be controlled).

Different operating modes and configurations can be changed by editing the config file or loading new firmware via the Flash Bootloader.

The Pack Sniffer 2 and accessories are available in the Store.


The key features of the Pack Sniffer 2:

Microchip dsPic33EP256MU806 microcontroller, running at 120 Mhz (60MIPs).

16 character x 2 line display.

Micro SD card (used for firmware updates and config file changes).

Micro USB port (used for power, but could be used to read/write to the micro SD card).

5V to 12V boost converter (5W max).

2 CAN bus channels.

3 12V Source bits (2A each, with fly back suppression diode).

7 GND Sink bits (2A each, with fly back suppression diode).

2 Analog inputs (0-16.384V full scale).

1 RS232 Serial port.

1 I2C port (internal).


The Pack Sniffer 2 is designed to run off 5V USB or an external 12V (7V-15V) supply.
The built in boost converter can draw up to 2A (current limited) at 5 volts and output up to 800mA at 12V.
Caution: If a 5V USB and an external 12V supply are both connected, loss of 12V supply will cause the boost converter to attempt to power the 12V rail.


Cable sets can be purchased in the Store, or you can make your own.
These are the recommended wiring diagrams for the Pack Sniffer 2 connectors, 7x2 (14-pin) and 5x2 (10-pin), click the image for the .pdf file.

 

Nissan Leaf Gen 2 plug (2013 and later) housing for Dupont connectors, click the image for the .stl file.
Note: The Leaf battery pack pin spacing is 2.5mm, the Dupont connectors are 2.54mm, thus use only 1, 2,or 3 pin Dupont connectors.

 

Pack Sniffer 2 enclosure can be purchased in the Store, or you can 3D print your own, click the image for the .stl file.

 


Pack Sniffer 2 Boot Loader:

The Pack Sniffer 2 boot loader requires Intel .hex files with the following naming convention:
WT_PS2_vX.Y.hex Where X is the major version and Y is the minor version.
The boot loader will write to main program flash the highest version found in this directory:
[SDcard]\WT_PS2\firmware

Available Firmware files:

WT_PS2_v0.1.hex # 7x2 Connector Hardware Test Program, (Tests all I/O, do not use when connected to a real battery pack)
WT_PS2_v0.2.hex # 5x2 Connector Hardware Test Program, (Tests all I/O, do not use when connected to a real battery pack)
WT_PS2_v0.5.hex # Pack Sniffer 1 Application, ported to Pack Sniffer 2 Hardware
WT_PS2_v0.8.hex # Pack Sniffer 2 Application, Display: Volt, Current, Cell High, Cell Low, Temp, SOC, Health (Pre-charg, POS, NEG Contactor)

Pack Sniffer 2 Configuration File:

The Pack Sniffer 2 boot loader and application requires text .cfg file with the following naming convention:
WT_PS2.cfg
The boot loader and application configuration file must be found in this directory:
[SDcard]\WT_PS2\config

Available Configuration files:

WT_PS2.cfg # Default Pack Sniffer 2 configuration.

All the above files for the SD card:
Note: The highest version number will be boot loaded... If this is not want you want delete / rename the unwanted files.

WT_PS2.zip # Download and unzip onto an SD card.


Video showing the Pack Sniffer 2 boot loading the Pack Sniffer 1 application from the micro SD card.
Then reading the Nissan Leaf battery pack cell voltages and state of charge and health.

More Pack Sniffer 2 videos


If you Pack Sniffer 2 (purchased before 2019), reboots when you insert a micro SD card,
This video shows how to solder a 10uF 0805 10V(or higher voltage) capacitor onto the 3.3V power supply rail, to fix the problem:


Future development:

Reading and writing the micro SD card over USB.
Menu driven Serial terminal to adjust configuration settings.
User configurations to set what is shown on the display.
User configurable cell voltage limits to enable / disable the battery pack.
User configurable cell temperature limits to enable / disable the battery pack.
Send Serial and/or CAN messages to tell battery chargers to start / stop charging.
Send Serial and/or CAN messages to tell motor controllers / inverters to go into "limp home" / shut down modes.

Support CAN buses at different bit rates (for example BMS at 500k, and battery charger at 250k).
USB to serial/CAN bus.
SD card logging.
Support for more battery packs.
Support for more battery chargers.


More Electric Vehicle Projects