0

Question about temp sensor

When I am using the temp sensor the value returned with analogRead() goes as low as 20 and as high as 358. I thought the range of the sensor was between 0 and 1023.

 

This is how I am getting the value with the Serial Monitor.

 

void setup()
{
Serial.begin(9600);
}

void loop()
{
int sensorValue = analogRead(0);
Serial.println(sensorValue);
}

3 comments

Please sign in to leave a comment.