Hello, i have a problem using analog inputs of arduino uno. I would measure voltage of solar cell, so i connect to a divider it and send to buffer, the output of buffer to A0 input. What happen is that the read value (from 0 to 1024) seems to be right, but the voltage value (2*analogRead(A0)*5/1024) no. What is the matter? Thank you
Supply the whole program.
What are the R values?
Please put your code in its own window as seen in other posts. This can be done by placing
[code] and [/code] around the code or use the </> icon. This makes it easier for others to read.