Maxim makes fuel gauge ICs for the exact application you have in mind; look at their app notes in battery management and you will find good ready to use circuit blocks to do this. Madhu -----Original Message----- Hi, I need to measure the voltage of a battery. The problem is that the PIC i'll use (18F452) will be powered by the battery whos voltage I want to measure. It's for a hand held equipment and I want to be able to show how much battery "is left" on a LCD display... any ideas? Mauricio -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.