Hi, in this video I show how to use resistor voltage dividers to try an accurately measure 4 Li Fe PO4 batteries via the ADC converter in a Pic micro controller.
It was not as straightforward as I thought.
Clever C programming overcame the problem.
12 Bit ADC gives 0.001 accuracy with a voltage ref of 4.096 volts, not 16 bit.
16 Bit will give you a voltage divided into 65'536 bits.
Mikro C pro for Pic
Pic18F45k22
MC1604C-SYL LCD Display
Welwyn 2kΩ Metal Film Resistor 0.5W ±0.1% PR5Y-2K0BI
To donate a coffee 😊
https://www.paypal.com/paypalme/JohnB...
C File https://github.com/JohnBrods/BMS-Desi...
Display Details - https://www.farnell.com/datasheets/31...