Thunderchild
New Member
I've designed and (alegedly) built a pic (12F615) based battery monitor circuit for car/bike/you name it lead acid battery. I'm using the ADC converter to convert the battery's voltage (also the supply power) to a 10 bit binary number with which the program determines which leds light,
I've used a 2.2+1 K potential devider to convert the 0-16 volt range to 0-5 volt range but i have a small problem, I'm only getting 0.1 volt from this when powering the circuit from 12 volts and i should be getting about 3.75 volts, whats going on ???
strange thing is i had this working on a breadbord with a 10 K pot !!! (well i have changed from ADC input 0 to 3) perhaps I got some register setting wrong ? it did behave eratically on the pot after that but i think the pot is brocken....
I've used a 2.2+1 K potential devider to convert the 0-16 volt range to 0-5 volt range but i have a small problem, I'm only getting 0.1 volt from this when powering the circuit from 12 volts and i should be getting about 3.75 volts, whats going on ???
strange thing is i had this working on a breadbord with a 10 K pot !!! (well i have changed from ADC input 0 to 3) perhaps I got some register setting wrong ? it did behave eratically on the pot after that but i think the pot is brocken....