Arduino Project: Temperature and Humidity monitor Tutorial with DHT11 (or DHT22) sensor LCD shield.

31
2



Arduino Project: Temperature and Humidity monitor Tutorial using DHT11 (or DHT22) sensor and LCD shield.

In this video we are building a Temperature and humidity monitor, using an Arduino Mega, an LCD Display Shield with a DHT11 sensor. If you have a DHT22 sensor, the wiring is exactly the same.

——————–
WHERE TO BUY
——————–

1. Arduino Mega:

2. Keypad Shield:

3. The DHT11 sensor:

4. OLED Multimeter:

5. Powerbank:

6. Wires:

Full disclosure: All of the links above are affiliate links. I get a small percentage of each sale they generate. Thank you for your support!

——————–
LIBRARIES
——————–

Library for the DHT11 sensor:

——————–
CODE
——————–

——————–
Quiz of Knowledge Android Game
——————–

You can download my latest Android Game which is called Quiz of Knowledge here:

📥

——————–
MORE PROJECTS
——————–
Arduino Datalogger:
Arduino Weather Station Project:
Arduino Nokia 5110 LCD Display:
Arduino OLED display tutorial:
DIY Arduino:

——————–
ABOUT EDUC8S.TV
——————–
Educ8s.tv is a Youtube channel and website which is dedicated in developing high quality videos about DIY hardware and software projects. In this channel we develop projects with Arduino, Raspberry Pi, we build robots and simple electronic circuits. Check out our website as well for more information:

——————–
SUBSCRIBE ON YOUTUBE
——————–

Never miss a video:

Nguồn: https://freecode.com.vn

Xem thêm bài viết khác: https://freecode.com.vn/phan-mem

31 COMMENTS

  1. 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?

  2. 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

  3. HOW TO MAKE a RobotDyn LCD Keypad Shield 1602 16×2 Display Module for Arduino Uno – Blue IT WORK WHIT a wemos d1?

  4. 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.

  5. nick ozzie here, have the librarys changed. i built this one about 3 obnths ago and now i get a shit load of errors with the libs?

  6. Arduino:1.8.3 (Windows 8.1), Kart:"Arduino/Genuino Uno"

    In file included from C:Program Files (x86)ArduinolibrariesDHTDHT_U.cpp:22:0:

    C:Program Files (x86)ArduinolibrariesDHTDHT_U.h:25:29: fatal error: Adafruit_Sensor.h: No such file or directory

    #include <Adafruit_Sensor.h>

    ^

    compilation terminated.

    "DHT.h" için birden fazla library bulundu
    Kullanılıyor: C:Program Files (x86)ArduinolibrariesDHT
    Kullanılmıyor: C:UsersEyyüpEnsarDocumentsArduinolibrariesDHT-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.
    ???????

  7. In file included from C:UsersHUNNYDocumentsArduinolibrariesDHTDHT_U.cpp:22:
    C:UsersHUNNYDocumentsArduinolibrariesDHT/DHT_U.h:35: error: expected class-name before '{' token
    C:UsersHUNNYDocumentsArduinolibrariesDHT/DHT_U.h:38: error: 'sensors_event_t' has not been declared
    C:UsersHUNNYDocumentsArduinolibrariesDHT/DHT_U.h:39: error: 'sensor_t' has not been declared
    C:UsersHUNNYDocumentsArduinolibrariesDHT/DHT_U.h:47: error: expected class-name before '{' token
    C:UsersHUNNYDocumentsArduinolibrariesDHT/DHT_U.h:50: error: 'sensors_event_t' has not been declared
    C:UsersHUNNYDocumentsArduinolibrariesDHT/DHT_U.h:51: error: 'sensor_t' has not been declared
    C:UsersHUNNYDocumentsArduinolibrariesDHT/DHT_U.h:73: error: 'sensor_t' has not been declared
    C:UsersHUNNYDocumentsArduinolibrariesDHT/DHT_U.h:74: error: 'sensor_t' has not been declared
    C:UsersHUNNYDocumentsArduinolibrariesDHTDHT_U.cpp:35: error: variable or field 'setName' declared void
    C:UsersHUNNYDocumentsArduinolibrariesDHTDHT_U.cpp:35: error: 'sensor_t' was not declared in this scope
    C:UsersHUNNYDocumentsArduinolibrariesDHTDHT_U.cpp:35: error: 'sensor' was not declared in this scope

    Errors

  8. 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?

  9. 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?

  10. this is the error i get when verify… can anyone help me?

    In file included from C:Program Files (x86)ArduinolibrariesDHTDHT_U.cpp:22:0:
    C:Program Files (x86)ArduinolibrariesDHTDHT_U.h:25:29: fatal error: Adafruit_Sensor.h: No such file or directory
    #include <Adafruit_Sensor.h>

    ^
    compilation terminated.

    exit status 1
    Error compiling for board Arduino/Genuino Mega or Mega 2560.

  11. 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?

  12. Goog evening,   I download,  and upload   ( educ8.com/arduino/weatheratst, )    but not working.  come  error message.   please,  help me

LEAVE A REPLY

Please enter your comment!
Please enter your name here