I am trying to provide a range of 5-12v to the Vin and read the readings at AO . for now in the basic software, i only can read 4.45V - 5v . is there any way to change the software for readanalogvoltage? or am i looking at the wrong direction?
You will need a voltage divider on the Analog input.
If this is an UNO the maximum input voltage on an input is 5 volts
.
The Vin requires above approx 7V to allow for the voltage drop across the regulator. Putting 5v in and you will not get 5v out!
Weedpharma
LarryD:
You will need a voltage divider on the Analog input.
If this is an UNO the maximum input voltage on an input is 5 volts
Except the Vin pin, where the maximum input voltage is 12 volts.
use this voltage divider setup, and along with few logical operations in your sketch you can do your job easily.
KaustavNandy:
use this voltage divider setup, and along with few logical operations in your sketch you can do your job easily.
What the heck is RL?
as drawn, Vout would be 0.0786V
R2||RL = 99.0099 ohms
Chuck.
KaustavNandy:
use this voltage divider setup, and along with few logical operations in your sketch you can do your job easily.
Hi , thanks your method worked out for me
Hi,
chucktodd, it confused me a bit too at first, but its a screen shot of an active calculation page.
If you ENABLED the LOAD RL, then your calcs will be right. (that is if you could ENABLE)
Tom...