I am going to make a voltage divider to monitor the battery of my internet controlled tank.
But before I do anything, I want to check with the smarter heads (you people :P).
The battery is a 9.6V 2000mAh from a drill, but it is going to be connected all the time, and the charger for it says 7.2V-14V
So just to take a round number, I say 15V (or would 20 be better to be safe?). The resistors needed for that should then be 10K and 20K, to get a voltage up to 5V that I can connect to an analog pin?
If I am bumping the voltage up to 20V in the calculation, to be safe, should it then be 10K and 30K instead? Or have I completely misunderstood how it works?