Header Ads Widget

DHT11 Temperature and Humidity Sensor tutorial in Telugu

  DHT11 Temperature and Humidity Sensor:

In this article, we learn about DHT11 Temperature and Humidity Sensor  . this DHT11  Senso is help to measure the Temperature and humidity in the environment. 

Components :

  • Arduino                            BuyNow
  • DTH11                             BuyNow
  • breadbord and wires        BuyNow
If you want to buy Arduino components, I am giving my affiliate links. If you buy the components using my affiliate links, it will help to our channel and website growth. so do these small help.

tutorial full video: 

this video will be help to know more about this DHT11 Temperature and Humidity Sensor 




circuit :

DHT11 Temperature and Humidity Sensor tutorial  in Telugu

code :

upload the below code after connecting the DHT11 Temperature and Humidity Sensor to the Arduino. 
#include "DHT.h"
#define Type DHT11
int sensePin=2;
DHT HT(sensePin,Type);
float humidity;
float tempC;
float tempF;
int setTime=500;
int dt=1000;

void setup() {
  // put your setup code here, to run once:
Serial.begin(9600);
HT.begin();
delay(setTime);
}

void loop() {
humidity=HT.readHumidity();
tempC=HT.readTemperature();
tempF=HT.readTemperature(true);

Serial.print("Humidity: ");
Serial.print(humidity);
Serial.print("% Temperature ");
Serial.print(tempC);
Serial.print(" C ");
Serial.print(tempF);
Serial.println(" F ");
delay(dt);


}
if you have any doubts regarding to this project, contact me on Instagram or comment on YouTube video. I will help my best

Post a Comment

0 Comments