CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

communicating with li-ion battery

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
kloppy



Joined: 28 Jul 2004
Posts: 32

View user's profile Send private message

communicating with li-ion battery
PostPosted: Mon Aug 09, 2004 2:45 am     Reply with quote

i am trying to communicate with an existing li-ion battery through SMbus to get some information about the battery. has someone ever done anything like that?
kender



Joined: 09 Aug 2004
Posts: 768
Location: Silicon Valley

View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger

PostPosted: Mon Aug 09, 2004 1:41 pm     Reply with quote

I haven't done anything like this, but I'm currently researching this topic. In case you haven't done this already, you can open your battery pack, find the battery monitor/charger/superviser IC, who's datasheet might have the communication protocol. Also I heard that there is a push for a standard communication protocol for the smart batteries (sorry, I don't rememeber its name).

What kind of battery pack are you hacking?

Sincerely,
Nick
kloppy



Joined: 28 Jul 2004
Posts: 32

View user's profile Send private message

PostPosted: Mon Aug 09, 2004 2:46 pm     Reply with quote

it's a battery from a notebook.
unfortunately i'm not allowed to open it (the battery) and i also don't know the manufacturer of the battery. so i thought maybe there's a standard protocol for batteries...
gaul1
Guest







small-talk with LiIon-Packs over I2C
PostPosted: Tue Aug 10, 2004 6:13 am     Reply with quote

I did it a long time ago, with the I2C-Protokoll
it's quite simple, you have 'just' to find out the SDA and the SCL connections.
then you can read the battery similar to an serial EEprom (i.e. 24c04 )

be careful ! you can overwrite the manufacurer name, and the memory, where the configuration is stored for properly charging.

I recommend to make a backup of your battery before changing the memory.

Was this, what you want to know ?

gaul1
kloppy



Joined: 28 Jul 2004
Posts: 32

View user's profile Send private message

PostPosted: Tue Aug 10, 2004 7:53 am     Reply with quote

yes, thanks.
but how do i know at which adress i can get which information (manufacturer, cell voltages, etc.)?
kender



Joined: 09 Aug 2004
Posts: 768
Location: Silicon Valley

View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger

PostPosted: Tue Aug 10, 2004 12:09 pm     Reply with quote

I'm just curious - are you building a custom charger?

Nick
kloppy



Joined: 28 Jul 2004
Posts: 32

View user's profile Send private message

PostPosted: Tue Aug 10, 2004 12:24 pm     Reply with quote

no, i'm trying to build an equipment that can measure the available capacity of a battery and find out how long the battery will work (approximately) in a laptop if it is full charged.
kender



Joined: 09 Aug 2004
Posts: 768
Location: Silicon Valley

View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger

PostPosted: Tue Aug 10, 2004 2:27 pm     Reply with quote

On the TI website I came across a fuel gage IC, wich supports a standard called SBS 1.1. Here's the datasheet http://focus.ti.com/lit/ds/symlink/bq2084.pdf . It looks like the description of the stsndard is there.

Nick
kloppy



Joined: 28 Jul 2004
Posts: 32

View user's profile Send private message

PostPosted: Wed Aug 11, 2004 12:19 am     Reply with quote

ok thanks, i'm gonna try that
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group