Arduino Based Digital Thermometer using LM35

preview_player
Показать описание

Vikramsingh S Rajput
Mob: +91-9537275051
Chikhali, Gujarat, India.

#include LiquidCrystal.h
LiquidCrystal lcd(7,6,5,4,3,2);
#define sensor A0
byte degree[8] =
{
0b00011,
0b00011,
0b00000,
0b00000,
0b00000,
0b00000,
0b00000,
0b00000
};
void setup()
{
delay(4000);
delay(4000);
}
void loop()
{
/*---------Temperature-------*/
float reading=analogRead(sensor);
float temperature=reading*(5.0/1023.0)*100;
delay(10);

/*------Display Result------*/
delay(1000);
}
Рекомендации по теме
Комментарии
Автор

It was good ... It will much helpful for me if u write the Arduino Uno's programming in Kelvin scale .... It's a request ... Please write it in Kelvin scale as soon as possible till 4nov18... Please please please

siya-esql
Автор

So, if I wanted this to read the temperature on the LCD but at a certain temperature have a servo open a vent, how would I go about coding that into what you already have done? I also want to have multiple different sensors placed around a room and then average out the temperatures and then open the vent accordingly. Also farenheit would be useful.

Couchbro
Автор

Can i have the program code since my sensor not working properly . I'm using LM35Dz sensor module

samleong
join shbcf.ru