You can improve your resolution by using the internal voltage reference, it's around 1V so should give you 4x better resolution. Of course, you can't then measure any voltage greater than that reference value.
If you need 5V range, and < 5mV resolution, it's time for a better ADC, there are many available.
1 Like