Hardware

Fuel gauge DS2782

The fuel gauge DS2782 measures voltage, temperature and current, and estimates available capacity for rechargeable lithium ion and lithium-ion polymer batteries.

Sense resistor prime

The chip stores the value of the sense resistor for use in computing the absolute capacity results. The value is stored as a 1-byte conductance value with units of mS. The used resistor value is 100 mS (10 mohm). The sense resistor prime (RSNSP) is located in the parameter EEPROM block.

Write sense resistor prime (RSNSP)

i2cset -f 3 0x34 0x69 100

Copy shadow RAM to EEPROM block 1

i2cset -f 3 0x34 0xfe 0x44