Arduino sketch, which helps detecting the connections of the I2C interface and prints info available from the SMB (SmartBatteryModule) laptop battery pack.
Hi, this is a great tool and instantly showed what is wrong with a couple of my batteries.
Manufacturer Status (BIN): 0b10111001
FET Status 2
State: 0b1001
Permanent Failure
PFStatus: 0b100
Ive found in http://www.ti.com/lit/er/sluu313a/sluu313a.pdf on page 77 B.16 PFKey (0x62) that the permanent failure can be cleared and hopefully the batteries will be ok to use... finger crossed!
Are you able to assist with a script to clear the PF flag? or help with a few pointers?
Hi!
This is a really good project! I tried with an ASUS ML32-1005 battery of an Eee PC and the readings are good. I tried using your function to read Operation Status (0x54) and check whether the battery was sealed, but the value returned is always 0. I guess prior unsealing is required even to read this function.
I'd like to unseal the battery to do stuff like reset Cycle Count or Permanent Failure Flag. TI's SLUA 421 describes the default key (I don't know if Asus has changed it). Is it possible to perform an unseal with your code?
hi nice job done....can you tell me how to enter full access mode in bq20z451 and modify other R/W values like cycle count,battery capacity any help would be appriciated thank you