Li Ion Battery Charger Smart Battery Implementers Forum SMBus Quick Start Guide Arduino Sketch Updated I2C to use the Wire library.