Surilli
Published © LGPL

Temperature Sensor LM35 Using Surilli GSM

This sensor is used to record temperature values of a particular environment and other HVAC applications.

BeginnerFull instructions provided30 minutes666
Temperature Sensor LM35 Using Surilli GSM

Things used in this project

Hardware components

Temperature Sensor
Temperature Sensor
×1
Surilli GSM
Surilli GSM
×1
Jumper wires (generic)
Jumper wires (generic)
×3
Breadboard (generic)
Breadboard (generic)
×1

Software apps and online services

Arduino IDE
Arduino IDE

Story

Read more

Schematics

Temperature Sensor LM35 using Surilli GSM

Code

Temperature_Sensor_LM35

C/C++
int val;
int tempPin = 5;

void setup()
{
Serial.begin(9600);
}
void loop()
{
val = analogRead(tempPin);
float mv = ( val/1024.0)*5000; 
float cel = mv/10;
float farh = (cel*9)/5 + 32;

Serial.print("TEMPERATURE = ");
Serial.print(cel);
Serial.print("*C");
Serial.println();
delay(1000);

Serial.print("TEMPERATURE = ");
Serial.print(farh);
Serial.print("*F");
Serial.println();
}

Credits

Surilli

Surilli

196 projects • 62 followers
Surilli is a premiere Internet of Things centric Technology Company aimed at providing cutting edge innovative solutions.

Comments