I'm creating an arduino project based on Nano 33 Iot to measure the voltage of batteries (max voltage 3.6) theese are elements of a LiFePO4 battery for a Camper, due to the charging circuits (including car alternator) I run the risk of damaging the Arduino analog ports, for this reason I'm adding:
- a voltage divider (simple resistors) to reduce the voltage range between 0 and 2.9v (2.9 for specific design need)
- a Zener (voltage 3 volts) to avoid exceeding the 3.3 volts of analog ports
- a schottky to avoid negative voltage
- a capacitor to cut high frequency (voltage should change very slowly)
Based on your experience, do you think this is sufficent ? if not could you provide suggestions ?
What is the best value of the capacitor?