Home
About Us
Achievement
Home
Raspberry-Pi Projects
_Raspberry Pi 4 Complete Guide
Arduino Project
_All Projects
Esp8266 Project
_All Projects
Esp32 Project
_Automation-with-feedback
Arduino Interfacing with DHT11 Sensor
Just Do Electronics
March 17, 2020
I will discuss about the DHT11 sensor and its interfacing with Arduino.
VIDEO :-
CIRCUIT DIAGRAM :-
CODE :-
//PRATEEK SINGH //WWW.PRATEEKS.IN #include
#include
dht DHT; const int RS = 2, EN = 3, D4 = 4, D5 = 5, D6 = 6, D7 = 7; LiquidCrystal lcd(RS,EN,D4,D5,D6,D7); //set Uno pins that are connected to LCD, 4-bit mode void setup() { lcd.begin(16,2); //set 16 columns and 2 rows of 16x2 LCD } void loop() { int readDHT = DHT.read11(8); //grab 40-bit data packet from DHT sensor lcd.setCursor(0,0); lcd.print("Temp: "); lcd.print(DHT.temperature); //lcd.print((char)223); //used to display degree symbol on display //lcd.write(0xdf); //another way to display degree symbol lcd.print("C"); lcd.setCursor(0,1); lcd.print("Humidity: "); lcd.print(DHT.humidity); lcd.print("%"); delay(3000); }
0 Comments
Newer
Older
Build Your Own Gps Tracking System using Arduino
How To Make RFID & Keypad Based Door Lock
IoT Based Fingerprint Biometric Attendance System Using NodeMCU (Esp8266)
NRF Based Servo Motor Control
OTP Based Door Lock Using Arduino And SIM800L
ESP32 And Fingerprint Sensor Based Biometric Door Lock Security System
Ultrasonic Sensor as a Counter with Arduino
IoT Based Smart Pulse Oximeter With NodeMCU & MAX30100 Sensor
GPS Tracker Using Nodemcu
IoT Based Patient Health Monitoring System Using Blynk App
YouTube
Like on Facebook
Follow on Twitter
Follow on Google+
Follow on Instagram
Subscribe on Youtube
Hi WelCome To My Website If you have a creative mind and want to learn Electronics even without studying it then FRIENDS this Website And Youtube Channel is for you, I am crazy creators who love making Electronics things. I have a bunch of more than 130 Tutorial Videos on My YouTube Channel and I upload a new Tutorial every Sunday.
Tags
Arduino Project
Esp32 Project
Esp8266 Project
0 Comments