Arduino Battery SMBus Reader

by pbtech in Circuits > Electronics

16610 Views, 14 Favorites, 0 Comments

Arduino Battery SMBus Reader

SMB_Checker_complete.jpg

A simple SMBus reader for most smart batteries
Reads the data from the TI chip set used in many smart battery packs

http://www.ti.com/lit/gpn/bq29312

3900BDFB-5F43-4C94-ADEA-1DA03239A04D.png
SMB_Checker_displayout.jpg

The 2x 1K resistors on data and clock inputs can be removed if you can’t get data
This was added for protection during testing other batteries with USB connection.

Original code was downloaded some time ago and heavily modified for formatting on Nokia display and getting data from larger battery packs (up to 8S)

Included the libraries that I used as these seem to change over time and the original code won't

More details are displayed via the Arduino Serial Monitor

Note the cell voltage displays 3 digits
Eg 356=3.56 volts
Cy = Cycles
CC = Current Capacity
DC = Design Capacity
DV = Design Voltage
V = Current Voltage