Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
LinkBack Thread Tools Display Modes
Old 9th October 2007, 04:40 AM   (permalink)
Default Battery Tester with a PIC 16F818 Cicuit Question

I am starting to learn how to use the PIC16F818 and I would like to build a battery tester. I figured this would be a relatively easy project that I can use. Powering the PIC itself I understand. What I'm not sure will work is the A/D converter.

The batteries I have to test have 9V when fully charged (Measured with Multimeter). However, from what I understand, only a maximum voltage can be applied to any of the PIC pins. I was planning on hooking up the test points to a voltage divider so if a fully charged 9V battery is tested, only 4.5V are applied to the A/D converter of the PIC. Then I would compensate for this difference of 4.5 from the reference voltage of 5V from within the code Then depending on the actually voltage of the test battery certain LEDs would light up. Would this be viable way of doing this circuit?

I can attach a picture of the circuit I drew out if it would help. Any feedback would be appreciated.
dmarciano is offline  
Old 9th October 2007, 04:55 AM   (permalink)
Default

Yes, this is a viable way. Seems as if you got it all down. Just use a regulator be it external or internal as your reference.


So my question is, why do you ask permission from others? 99.999% of everything I do in electronics is to "Find out". I have long since realized that my bread is dying out with an ever increasing rate.
donniedj is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Battery Tester pwollner Electronic Projects Design/Ideas/Reviews 2 17th February 2004 08:37 AM
9v pp3 battery question carlosthejackle2001 General Electronics Chat 3 14th February 2004 11:03 PM
Battery Capacity Load Tester rjr10234 Electronic Projects Design/Ideas/Reviews 5 3rd January 2004 12:45 PM
Last question for NiMH battery charger eyevancsu Electronic Projects Design/Ideas/Reviews 8 1st May 2003 04:04 AM
Question regarding MAX713,712 battery charger controller... eyevancsu General Electronics Chat 3 23rd April 2003 10:02 PM



All times are GMT. The time now is 06:27 PM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker