Ah very good explanation! I've done this project years ago still I like to build it again with DHT22.
@tbmtech56519 жыл бұрын
This is great!!! I made it work with an 20X4 LCD screen with an I2C 2 pin connection and an Arduino UNO. the only thing I had to modify was to add this lcd.setBacklight(HIGH); right at the begining of the void loop command. Thank you!
@Educ8s9 жыл бұрын
TBM tech You are welcome!
@TriHakniPutra10 жыл бұрын
you right man, after i searching and reading a blogs, measuring humidity was quiet hard. and try comparing with dht22 or another sensors, the different was so far!
@B3enthusiast200810 жыл бұрын
Hey at last, Found something that works, just like it says on the tin, Great Tutorial, Thank you.
@Educ8s10 жыл бұрын
Arduino Noob You are welcome!
@alexgoogle27779 жыл бұрын
works, only sometimes says that you can not read the data from the sensor "Failed to read from DHT sensor!". The resistor is set to 4.7 - did not help. Used DHT-22
@TraceWaters9 жыл бұрын
I got this working, but have a bad sensor. Will this code work for the dht22 as well? I figured if I was getting another I might as well get the one with better range.
@AAI3010 жыл бұрын
OMG thanks man. You really helped me in my arduino projects.
@osipov1802 жыл бұрын
Hello, thank You very match! Can I use Arduino Uno for this shield?
@vedgarge56042 жыл бұрын
Hi. Thanks for the code. However, NAN is getting displayed on lcd. Pl can you tell the solution to solve this problem.?
@olafsmallspruce373010 жыл бұрын
I have a Arduino Uno and don't know which pins to connect on the lcd module. A connection diagram wolud be nice at least in the other tutorials.
@zeczec87339 жыл бұрын
hi, does the lcd is enough to display rain, and dht data? and how is the code? im new to arduino. hope u can guide me. tq.
@fpt3806 жыл бұрын
Hello . Thank you for your nice explanation. I have a question: Are the sensors like LM35 and DH11-22 accurate and reliable? Are it need to calibrate? thank you
@gauravbhatt62584 жыл бұрын
@edu8s.tv i tried this code on r3 esp8266. I am getting error : DHT does not name a type. Can you help?
@mariotoplek45119 жыл бұрын
hello! can this be used for controll temperature and humidity using a relay board? how to set up code that you can adjust parameters via buttons on LCD board? i planing to build one for my greenhouse. thanks in advance. regards, Mario
@ayeshaa968 жыл бұрын
can you help me about a temperature controller using atmega16 and DHT11 through keypad and lcd?
@JugglingDan235 жыл бұрын
I got the code to compile without any issues, but I am getting the readings as T: NAN C H: NAN. I know that NAN stands for Not a Number, but I don't know how to resolve the issue. Could this be indicative of a bad sensor? What else could cause this?
@Educ8s5 жыл бұрын
Check your connections again, or try a new sensor.
@mehditarabi47098 жыл бұрын
hi i have a question . i need to implement Temperature and humidity monitor, on atmega2560 with C language. do you think this source code will help me?
@RandomTorok Жыл бұрын
I am trying to get this working on an Esp32 wroom. The ESP has built in wifi and Bluetooth so I can send the data gathered to another computer.
@gunturnoorfadhly9249 жыл бұрын
I have a project using dht22 sensor and transmit uses NRF24L01 transmitter module. Do you have reference about NRF24L01 for 2 way communication?
@Educ8s9 жыл бұрын
+guntur noor fadhly I am going to make a video about that soon,.
@jasminrecupero85338 жыл бұрын
is LCD TFT Display applicable for the arduino ? do they differ in coding?
@asharma87889 жыл бұрын
hey bro! ur videos r awesome..... can u pls tell how to use a separate humidity,temperature and pressure sensor??
@mimilives8 жыл бұрын
Is this compatible with a raspberry pi 3?
@udith-pz4tv6 жыл бұрын
Outdoor DHT sensor doesnot read minus values at winter. Please ,how can we fix the temperature from -50 to +50
@smug_cat18 жыл бұрын
please make a new one with the new lib and a dht22
@aniketghule276 жыл бұрын
is it necessary to calibrate the sensor or it is auto calibrated??
@Educ8s6 жыл бұрын
I think they calibrate them at the factory
@roystervi8 жыл бұрын
Question....The dhtt22 working great so somewhat...they are about 10 to 20ft away and I tested voltage. the voltage on the far one is 4.9v. one problem I am having is that sometimes the the temp drop from 70 degrees to 51.1 degrees. is there a way to correct this problem?
@agentsmith35778 жыл бұрын
Is the sensor on it's own board like in the vid?
@dztronic16169 жыл бұрын
Thank you very much Man for your sharing..it helped me a lot. that was a good job.
@karlosknjura9 жыл бұрын
Hello, I have the code up and running but how can I change Celsius to Fahrenheit? It would be good help, thanks.
@harsheelsingh48666 жыл бұрын
Carlos M Canjura Mayes you can use a math formula to change the final ouput variable
@prateek6502-y4p8 жыл бұрын
thnx. i m getting output. but temperature is not varying very hardly!!!
@sreekumarannair.k70075 жыл бұрын
My name is reghu I like your video too
@choudev50828 жыл бұрын
how diplay data of this sensor on web page using shield ethernet ?
@nabeelshah49067 жыл бұрын
can we use arduino uno r3 for this and can it connect with dht11
@julianblow47397 жыл бұрын
Yes and yes, Just make sure to wire your module according to how the schematic tells you to. Make sure ground IS ground and 5v/VCC is actually 5v/VCC
@lezbriddon9 жыл бұрын
i think when i playeed with these last year reading the data raw iand not using libraries that the sensor works in 1/3 of a degree C so returned like 10.0, 10.3, 10.6, 11.0 etc
@lezbriddon9 жыл бұрын
I usually avoid the libraries for being slow
@juanbriones17608 жыл бұрын
WORKS EXCELLENT ..THANKS BUT IF I WANT IN FARENHEIT..
@ashutoshjoshi284110 жыл бұрын
Good information. I am wondering how we can add 2 library (One for Display and another one for Temp Sensor) in Arduino UNO IDE? Thank you..
@gulhermepereira24910 жыл бұрын
Probably you have the LCD library already (after installing the IDE, which is my case) and you just have to #include it. Just check ...Arduino/Libraries/LiquidCrystal. If you have it you're good to go, otherwise download it and create a folder called LiquidCrystal in that location (...Arduino/Libraries) and paste it there.
@ashutoshjoshi284110 жыл бұрын
Hi Gulherme, Thank you for the answer. Here are the details about my project. I am using Arduino Uno with Nokia 5110 LCD Display and DS18B20 Thermal Sensor Probe. If i connect them separately then it works file. I would like to pull the temp reading on Nokia LCD 5110 Display which is not possible because i can not add (merge) both the library (5110 Display & One wire temperature sensor ) in Arduino IDE. Any suggestion. Thank you.
@hannafebriandini9310 жыл бұрын
if I use a sensor dht22, and arduino uno . whether the same way ? thanks for your videos its really helpful :)
@Educ8s10 жыл бұрын
Hanna Febriandini Yes it is the same way. You only have to change the code a little.
@dalewhitmore1439 жыл бұрын
Hello. I copyed your code exactly and i get a list of errors. Im using uno with input from sensor on D3 with srew shield.
@phai001009 жыл бұрын
need control temp use this set and modifly code??
@armylemah8 жыл бұрын
this is the error i get when verify... can anyone help me? In file included from C:\Program Files (x86)\Arduino\libraries\DHT\DHT_U.cpp:22:0: C:\Program Files (x86)\Arduino\libraries\DHT\DHT_U.h:25:29: fatal error: Adafruit_Sensor.h: No such file or directory #include ^ compilation terminated. exit status 1 Error compiling for board Arduino/Genuino Mega or Mega 2560. \
@daletappy93277 жыл бұрын
Arduino: 1.8.2 (Windows 7), Board: "Arduino/Genuino Uno" C:\Users\Tapalla\Desktop\AlarmClock2\AlarmClock2.ino:3:17: fatal error: DHT.h: No such file or directory #include "DHT.h" ^ compilation terminated. exit status 1 Error compiling for board Arduino/Genuino Uno. This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences. Hope you could also help me ;(
@mattdathew279410 жыл бұрын
cool, he measures power too
@rajwadia4148 жыл бұрын
can i use the same code for arduino uno r3 (except the pin mode. i will change it.)
@smug_cat18 жыл бұрын
Raj Wadia no u cant get the dht.h lib any more only the DHT.h
@AAI3010 жыл бұрын
I copied you code but a warning comes at the beginning. # include "DHT.h" it say that there is no such thing. Please help.
@Educ8s9 жыл бұрын
AAI30 Please, check that you have installed the DHT library correctly.
@MoeGreensRightEye9 жыл бұрын
How many degrees are there?
@asherpa4u8 жыл бұрын
There are as many degrees up as you have nickles for. On the way down though, they get rarer and rarer until they transform entirely into turtles. From there, it's turtles all the way down.
@mustafakenany131010 жыл бұрын
nice projects but you when convert float to string why we use number 0 and 2 and 5 and 1 in forumal
@Educ8s10 жыл бұрын
mustafa kenany I explain: dtostrf(temperature, 5, 1, tempF); the 5 is the max digits. Temperature can be -10.1 for example which has 5 digits. The 1 is how many digits after the dot we want. We want only one digit for precision. For humidity, it is simpler. We can't have negative values, we can have values for 00 to 99, so we only need 2 digits and we don't care about float numbers, so we put 0 for the digits after the dot. We only need to print integers.
@abhijitleihaorambam37637 жыл бұрын
can i use with arduino uno
@jj63217 жыл бұрын
yes
@crocker57316 жыл бұрын
HOW TO MAKE a RobotDyn LCD Keypad Shield 1602 16x2 Display Module for Arduino Uno - Blue IT WORK WHIT a wemos d1?
@asrinhalim3479 жыл бұрын
do you have the circuit? plzzz need it
@210jrd10 жыл бұрын
Looks great is there a download for the code??
@Educ8s10 жыл бұрын
Yes of course the is. In the description of the video. Everything is posted there. Thanks!
@210jrd10 жыл бұрын
Many thx, great instructable
@Educ8s10 жыл бұрын
210jrd Thank you!
@deijacyaraujomiguel90699 жыл бұрын
Amigo,você vende um esquema de de um termostato que controle a temperatura e umidade com temporizador.
@jfeely8 жыл бұрын
i am using a arduino uno with lcd screen and the same sensor as in video but i donot have same inputs for sensor on arduino can anyone help?
@adrianoragazzo13217 жыл бұрын
On the video description it state : "In this video we are building a Temperature and humidity monitor, using an Arduino Mega." Arduino Mega = more pins . Peoples should get used to read imho.
@TKomoski10 жыл бұрын
Just watched was cool, just got one trying to see what it can do. Will subscribe to your chanel.
@Educ8s10 жыл бұрын
It is easy. Try it, and please come back if you need any help, or want to share your success!
@AndraSerban957 жыл бұрын
Hello. When I Try to download the code from the website, I am having this problem: The requested URL /Arduino/WeatherStation/code.zip was not found on this server.
@Educ8s7 жыл бұрын
Sorry for that, I will fix it soon.
@AndraSerban957 жыл бұрын
educ8s.tv thank you!
@Educ8s7 жыл бұрын
The problem is now fixed! Cheers!
@travelvlog791010 жыл бұрын
please Tell me one thing that is this project compatable for arduino Uno??? i have a ardunio Uno , in this microcontroller pins are less compared to the Arduino mega ,so i am getting confused as how to use this Arduino Uno...
@Educ8s9 жыл бұрын
udayan pandey Yes it is compatible with Arduino Uno.
@batticha4626 жыл бұрын
DHT dht(DHTPIN, DHTTYPE); ----> 'DHT' does not name a type ?
@jakelumpy8610 жыл бұрын
i keep having problems with this. it keeps telling me that dht was not declared in this scope. I even downloaded the library.
@Educ8s10 жыл бұрын
It seems from what you say, that the library is not set up correctly. Try to close Arduino IDE and reload it. If it is still not working, have you unzipped the library in the correct folder?
@jakelumpy8610 жыл бұрын
i know what i did. i added the library after i wrote the code so it didnt properly put the library in the code
@Educ8s10 жыл бұрын
Jake Lampada So now it works?
@jakelumpy8610 жыл бұрын
yes. it works great. I even added to the code to convert the celsius to fahrenheit.
@TraceWaters9 жыл бұрын
Jake Lampada Where can you find that code?
@LibrarianSlayer20339 жыл бұрын
Can someone show me how to/write me a code for the temperature in F rather than C
@christophersheffield95749 жыл бұрын
+jeremy williams °C x 9/5 + 32 = °F
@LibrarianSlayer20339 жыл бұрын
+Christopher Sheffield thanks, but I really have no clue what I'm doing so I don't know where to put that and get the screen to read out the temp in F
@Educ8s9 жыл бұрын
+jeremy williams I will prepare the code for the F in a few days. I will include it in the file that you can download in the description. Stay tuned.
@LibrarianSlayer20339 жыл бұрын
+educ8s.tv thank you so much I greatly appreciate you taking the time to help me
@LibrarianSlayer20339 жыл бұрын
+educ8s.tv Sorry to bother you again, but the code still reads off in C even though it should be in F. I dont know what to do.
@edgarddiaz91936 жыл бұрын
Good video
@CleanmasterCyprus10 жыл бұрын
θέλω το Power supplyνα είναι 24 V DC (3.3-6V DC) και το Output signal να είναι analogue 0-10 V ή 4-20 mA (digital signal via single-bus) έχεις καμιά ιδέα; ευχαριστώ Θεοτόκης από Κύπρο .
@Educ8s10 жыл бұрын
Δυστυχώς Θεοτόκη δεν μπορώ να σε βοηθήσω σε αυτό.
@CleanmasterCyprus10 жыл бұрын
Σε ευχαριστώ πολύ.
@RickBergs9 жыл бұрын
Need to send out a warning about the DHT11 relative humidity-sensor. Its measurement values are very inaccurate. When humidity goes down below ~45% it fails badly. Check this graph that I posted on my Twitter account: twitter.com/Diodens/status/640440428173639680 Note that you need a +13 offset for the DHT11 to even measure somewhat correct at any humidity.
@Educ8s9 жыл бұрын
+Diodens Thank you, very helpful!
@RickBergs9 жыл бұрын
+Educ8s.com Hi! You should check my tests of the DHT11 vs DHT22 here: plus.google.com/+RickardBergstr%C3%B6m/posts/VxCPt5cv3b4 Seems to be way much better than the DHT11.
@akroutsamo9 жыл бұрын
+educ8s.tv this is a helpful tutorial but could you add a fan and a relay to activate heating element and use the Lcd along with the buttons to set and control the temperature it will be active station or maybe with TFT touch screen ;) thanks (y)
@Educ8s9 жыл бұрын
+Akrout Osama Hello, using a relay is not difficult. Also I am planning on using project with a touch screen soon!
@akroutsamo9 жыл бұрын
+educ8s.tv Hi; yes but setting the temp value and store it in the Eeprom this i found it difficult . using a touch screen with GUI it id gonna be awesome ... i can't wait (y) ;) thanks
@mohamedakkafaraj7288 жыл бұрын
i have this solution but with microcontroller PIC 16F887
@omarcortes65899 жыл бұрын
excelente vídeo saludos
@JerryEricsson9 жыл бұрын
Thanks a million, I have been trying to get mine working for awhile now with some but limited results. Been playing with a DHT11 but got my DHT22 in the mail today, that combined with your stuff and a bit of my Americanization of it, I now have mine working giving me the Temp in F instead of the dreaded C that we in American look upon with fear and loathing. Here is my sketch, well your sketch but with a bit of modification: #include // DHT code from: // Example testing sketch for various DHT humidity/temperature sensors // Written by ladyada, public domain #include "DHT.h" #define DHTPIN 13 // what pin we're connected to // Uncomment whatever type you're using! // #define DHTTYPE DHT11 // DHT 11 #define DHTTYPE DHT22 // DHT 22 (AM2302) //#define DHTTYPE DHT21 // DHT 21 (AM2301) DHT dht(DHTPIN, DHTTYPE); // LCD // LCD RS=3, EN=4, DS4=5, DS5=6, DS6=7, DS7=8 #include LiquidCrystal lcd( 8,9,4,5,6,7); void setup() { Serial.begin(9600); // set up the LCD's number of columns and rows: lcd.begin(16,2); dht.begin(); } void loop() { // Reading temperature or humidity takes about 250 milliseconds! // Sensor readings may also be up to 2 seconds 'old' (its a very slow sensor) int h = dht.readHumidity(); int t = dht.readTemperature(); // set the cursor to (0,0): lcd.setCursor(0, 0); // print from 0 to 9: lcd.print("Temp: "); lcd.print(t*9/5+32); lcd.print("F"); // set the cursor to (16,1): lcd.setCursor(0,1); lcd.print("Humidity: "); lcd.print(h); lcd.print("%"); delay(200); }
@smug_cat18 жыл бұрын
omg i cant thank u enough i was sitting the whole night in front of my pc and had the dht.h all most wanted to burn it down xD ps. welcome from germany
@JerryEricsson8 жыл бұрын
Glad it helped you out, my Grandfather came here from Germany back in the 1910's and began farming in North Dakota.
@errorserver30007 жыл бұрын
Jerry Ericsson Fahrenheit is shit
@titouanb28717 жыл бұрын
Why my lcd show me NAN
@Educ8s7 жыл бұрын
Then there is something wrong with the connection with the sensor, check your connections again
@CleanmasterCyprus10 жыл бұрын
iparxi kapio video gia na me efkolini parakalo;
@TriHakniPutra10 жыл бұрын
cool.
@udith-pz4tv8 жыл бұрын
Goog evening, I download, and upload ( educ8.com/arduino/weatheratst, ) but not working. come error message. please, help me
@ensaraltuntas1937 жыл бұрын
Arduino:1.8.3 (Windows 8.1), Kart:"Arduino/Genuino Uno" In file included from C:\Program Files (x86)\Arduino\libraries\DHT\DHT_U.cpp:22:0: C:\Program Files (x86)\Arduino\libraries\DHT\DHT_U.h:25:29: fatal error: Adafruit_Sensor.h: No such file or directory #include ^ compilation terminated. "DHT.h" için birden fazla library bulundu Kullanılıyor: C:\Program Files (x86)\Arduino\libraries\DHT Kullanılmıyor: C:\Users\EyyüpEnsar\Documents\Arduino\libraries\DHT-sensor-library-master exit status 1 Error compiling for board Arduino/Genuino Uno. This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences. ???????
@ensaraltuntas1937 жыл бұрын
i have dht21
@lindamuvic81108 жыл бұрын
Your fucking setup melted my sensor
@Educ8s8 жыл бұрын
You probably did something wrong!
@julianblow47397 жыл бұрын
Make sure to double check that YOUR work looks correct to YOUR module and don't follow along blindly. for example, MY module reads (from left to right, looking at the front) GROUND, DATA, VCC
@youtube4fun_8947 жыл бұрын
dude are you sick your voice is not alive or expressive
@MrC10667 жыл бұрын
Bernard, Could you give the tutor a break, he is speaking to you in his second language, I take it your Greek is faultless? I joke but you need really to take the lesson not the delivery seriously. Sorry to be so preachy but it helps to keep a neutral mind and look at the subject matter and usefulness, Best wishes to you and good luck with your learning.