It is currently Tue Feb 20, 2018 7:47 am

All times are UTC - 8 hours




 Page 1 of 1 [ 1 post ] 
Author Message
 Post subject: MCP9700A - Battery Monitor / ADC / Divider
PostPosted: Thu Nov 29, 2012 3:48 am 

Joined: Tue Dec 30, 2008 6:01 am
Posts: 1
Location: Seattle, US
Greetings Ron:
In the article's section titled “USING THE FVRSETUP AND ADCCONFIG COMMANDS” in paragraph 3 you write….

“Using a voltage divider definitely won’t work. For example, suppose we set up a voltage divider on the supply line with two resistors of the same size. When the battery is fully charged, a readadc value will be about 128, because two equal resistors divide the ADC range in half. When the battery supply is on the verge of total. exhaustion, the readadc value will still be about 128; in fact, it will always be at the midpoint no matter what the condition of the battery”.

I don’t understand.

Would not two resistors of the same value divide the voltage in half? A fresh battery will provide one ADC reading and as the battery weakens the ADC value (always representing half of the voltage) will fall.

By coincidence, a project completed at home 2 weeks ago monitors a remote battery. The divider used was a 22K/10K configuration. This brought the 12V from the battery into the 3.75V range.

The project works and follows a remarkably similar structure to your code. Employing FVR, taking a reading, using modulus divide for a “decimal” and sending the result to the term.

Am I missing something?

Thanks

Terry


Offline
 Profile Send private message  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 1 post ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Search for:
Jump to: