WTP Pepper
Active Member
Hi Nigel,
PIC supply is 5V and voltage to measure is from a 3 cell LiPo battery, so the voltage is in the range 9-12.6V. The PIC just needs to know when the voltage is getting below 9.6V so the battery is not damaged by deep discharge.
Most Li-ion/Li-pol cells can have protection circuits built into the terminals to prevent deep discharge and over voltage unless you are using raw cells which can be dangerous. Another thread entirely.
https://www.tenergy.com/32002
With such a possible variation of input impedance of a PIC, I would as said use a buffer amp to provide the current to the sample & hold circuit and scale the buffer amp.