Thanks Darrel.
I had almost the same idea in the voltage divide, but I was using a 100k resistor and a 50K variable resistor. then adjust for 5v output. What I was having problems with was the ratio between the input voltage, divider and the A/D. I've work with the PIC processor alot but this is the first time using the A/D part of it.
Also thank you for the code sample. I can modify it work with both the Solor Cell and Lead Acid Battery since the processor has to monitor both and give a read out on the LCD.
My next question is, I've read that using DIV32 really slow down the processor. Is this correct? If so is there another solution?
Again Thank you for your time.
Bookmarks