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

Battery pack voltage monitor with I2C or SPI

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







Battery pack voltage monitor with I2C or SPI
PostPosted: Tue Jul 27, 2004 3:52 pm     Reply with quote

Hi,

any know of a IC that can monitor a single battey voltage, ideally with I2C or SPI interface, Ideally I want a small IC that has an interface so I can read the voltage from it, I want to have several of hese so I can monitor a battery pack in series.

Thx
Ttelmah
Guest







Re: Battery pack voltage monitor with I2C or SPI
PostPosted: Wed Jul 28, 2004 2:23 am     Reply with quote

Guest wrote:
Hi,

any know of a IC that can monitor a single battey voltage, ideally with I2C or SPI interface, Ideally I want a small IC that has an interface so I can read the voltage from it, I want to have several of hese so I can monitor a battery pack in series.

Thx

Seriously, ADCs, are allways going to be more expensive, than multiplexers. Remember, that if you have an ADC, reading the voltage across a battery, if it is also going to communicate using I2C (or indeed any digital bus), then the 'ground' of the chip, will need to be at the system 0v (or the unit will require optoisolaton). So you would then need an ADC, that supported 'differential' measurement, and had an input voltage range, covering the voltage at the 'top' of the battery pack. These are all features that make a device expensive.
It'd be far cheaper, to simply use an analog multiplexer, with a single ADC, and sequentially read the voltage at the top of battery1, then at the top of battery2 etc.. This is the approach used by the micro based fast battery charge IC's.
There are several simple I2C AD converters, that can be used with a suitable multiplexer to do this, or (of course), the internal ADC, on most PICs is also capable of this (remember in either case, you will need a scaling divider to bring the input range below that acceptable to the IC.
The Philips PCF8591 is a 8bit ADC, with four input multiplexer, which is typical of the type of IC normally used for this sort of application.

Best Wishes
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