Let's interface Analog Temperature Sensor LM35 with Arduino Uno. We'll discuss how to setup hardware with circuit connection and then write arduino code to read temperature sensor reading from LM35 in Degree Centigrade. This video also demonstrate, how to convert ADC counts into degree centigrade with LM35 Sensor.
Formula for Temperature Conversion (In Degree Centigrade):
temp = analogRead(A0);
float temp = ( temp/1024.0)*5000;
float temp = temp/10;
Ещё видео!