I want to measure the battery volatge (12V), the arduino uno has been supplied power with this batteery.
battery ----> Dc to Dc Converter ----> tpl5110 (nano power timer) ----> arduino Uno
I am stepping down the power from 12 to 5 Volt, as tpl5110 takes max 5.5V. Then tpl5110 is providing power to (vin) of arduino. After regulating, the volatge that appear on vcc is 4.25.
I have a voltage divider circuit, and i am using pin A0 to read the voltage signal. I have read the various post about the accuracy and precison, but i could not understand.
I think i cant use the Aref by default, which is supposed to be 5V, but in my case it is variable. Now i am left with the two option.
- Either i should take the Aref (internal = 1.2V)
- Or I should use the external Aref( for example i can short the 3.3V pin to Aref of arduino).
I am in favour of using Aref internal. Do i need to consider something special to us Aref internal ??????
If any body has some better solution, please share with me. I am verry sorry if i was not able to convey my problem, as it was complex.