Introduction: Arduino Weather Station || DHT 11

I build a Arduino Weather Station. It uses a DHT 11 ( it will also work with DHT21 DHT22)

Step 1: Video

I also explain everything in this video. So it might be easier for you if you watch it!

Step 2: First Sketch

The first sketch displays the sensor values to the Serial Monitor

  • Sensor:

pin 1 - 5

pin2 - 5v

pin3 - GND

Step 3: Second Sketch

In this sketch we are going to display the values onto an Lcd. I used a i²c lcd for this project.

  • Sensor:

pin 1 - 5
pin2 - 5v
pin3 - GND

  • LCD:

SDA - A4
SCL - A5
GND - GND
VCC - 5V

Step 4: Third Sketch

The final sketch also displays a realtime clock to the lcd. It uses a DS1302 module. For more information about this clock you can check out the Arduino clock I made in a previous project.

  • Sensor:

pin 1 - 5
pin2 - 5v
pin3 - GND

  • DS1302

RST - 2
DATA - 3
CLK - 4

  • LCD:

SDA - A4
SCL - A5
GND - GND
VCC - 5V

Step 5: Code

Libraries are in a map. You have to first unzip the map. Then install them
First sketch
Upload the sketch: TEST
libraries needed: Adafruit_Sensor-master, DHT-sensor-library-master

Second sketch

Upload the sketch: LCD

Libraries needed: NewliquidCrystal, Adafruit_Sensor-master, DHT-sensor-library-master

Third sketch

Upload the sketch: LCDCLOCK

Libraries needed: DS1302, NewliquidCrystal, Adafruit_Sensor-master, DHT-sensor-library-master

Step 6: Subscribe

If you want to see more of mine projects you can subscribe to my YouTube channel! Here is the link: https://www.youtube.com/c/TechMakerOfficial

Comments

About This Instructable

1,256views

18favorites

License:

Bio: TechMaker is a channel loaded with awesome Electronics Tutorials, Projects and How To´s using Arduino's
More by TechMaker_TM:Arduino Weather Station || DHT 11Arduino door alarm with keypadArduino realtime clock using ds1302
Add instructable to: