Hi everyone
I connected Lm35dz to my Arduino Uno , and used this code:
float temp;
int tempPin = 0;
void setup(){
Serial.begin(9600);
pinMode(tempPin, INPUT);
}
void loop(){
temp = analogRead(tempPin);
temp = temp * 0.48828125;
Serial.print("TEMPRATURE = ");
Serial.print(temp);
Serial.print("*C");
Serial.println();
delay(1000);
}
BUT I received these outputs:
what is the problem ??
I have changed gnd and vcc pins but The result is same...


