
Originally Posted by
w7ami
The simplest and fastest would be to use a PIC with comparator. You would only need two resistors used as a voltage divider to bring your battery voltage down to something the PIC can handle. You can set the comparator reference voltage in code. You also can program the comparator to trip an interupt when the divided battery voltage drops below the reference voltage. You will need to look at the reference manual for the PIC you have to find out how to set the comparator and turn on the correct interupts.
Terry
Bookmarks