Hello everyone! I'm interested in using the 3.3V power output in the Arduino Uno board, as I've read thanks to a rescaling of the Analog input pins spectrum, it can lead to a more precise reading of the voltage output given by sensors such as the TMP36 included in the starter kit.
To get more acquainted with it, I've started shorting it to the analog input pin number 0 and running the following, very simple code, which should simply rescale the 10 bit analog spectrum into the 0..5V voltage value it should read, hence giving me the epd it's being fed.
void setup() {
Serial.begin(9600);
}
void loop() {
Serial.println(analogRead(A0)/1023.00*5.00);
delay(1000);
}
However, the serial monitor output is stable around 3.19 (once in a while printing 3.18 or 3.20 with roughly the same occurrence rate). Shouldn't it be saying 3.30?
Sorry if the issue has been already pointed out somewhere, but looking around brought me nothing on this specific matter.
Thanks everyone and have a good day!