Board: esp32
I know my wiring is correct because I get data from the sensor, but the data is a bit weird.
At 22 celcius I get 140, even though if I do the voltage calculation (* 0.473372) it still doesn't work.
the number 0.473372... comes from taking the voltage 4.7v / 1024 * 1000 / 10
My code:
Serial.print("temp: ");
float temp = (analogRead(A13) * 0.473372781065088);
Serial.println(temp);
delay(2000);
Any answers?
try this one i have worked with lm35 using this code and circuit. i have done this thing with arduino uno but you can try it with esp32