Introduction: WEATHER BOX USING ARDUINO ~THE EASIEST

How Does it Work?

Check the temperature around you with this Smart device!

For more Intresting Projects Visit : www.miymakers.com

Facebook : www.facebook.com/miymakers

Step 1: HOW IT WORKS?

How Does it Work?
The DHT11 is a basic, ultra low-cost digital temperature and humidity sensor. It uses a capacitive humidity sensor and a thermistor to measure the surrounding air, and spits out a digital signal on the data pin (no analog input pins needed). Its fairly simple to use, but requires careful timing to grab data. The only real downside of this sensor is you can only get new data from it once every 2 seconds, so when using our library, sensor readings can be up to 2 seconds old.

Step 2: THINGS REQUIRED

Things Required

>Arduino Uno

>DHT11 ~ Temperature and Humidity Sensor

>16*2LCD SCREEN

>POTENTIOMETER

>JUMPER WIRES(male to female & Female To Female)

Step 3: USING HEADER PIN

USING HEADER PIN

Use header pin so that You can easely make this project using only MALE TO FEMALE & FEMALE TO FEMALE JUMPER WIRES

Step 1: Place the Header Pin into the pins of Arduino After it glueing it will look like this.

Step 2:Using GlueGun, Glue the header pin to Arduino so that it does'nt become loose.

Double check whether the header pins are not loose,otherwise there will be no output from the pin!!!

Step 4:

Step 5: BOX

Take a an appropriate Plastic Rectangular box,

Make holes for the LCD and DHT11 Sensor

Step 6: CIRCUIT

CONNECT ARDUINO ACCORDINGLY!

DOUBLE CHECK!

LCD Connection

D7- DIGITAL PIN 2

D6 - 3

D5 - 4

D4 - 5

E - 11

RS - 12

VDD (+) RAIL BREADBOARD

A (+)RAIL BREADBOARD

---------------------------------------

VSS (-)RAIL BREADBOARD

K (-)RAIL BREADBOARD

RW (-)RAIL BREADBOARD

Step 7: DHT11 Datasheet

Datasheet for Dht11

Please download the DHT library from the above link.

Then Open Arduino IDE Go to Sketch --> Include Library --> Add Zip File Close the Arduino IDE and open it again then you will find the library included.

For more info : https://www.arduino.cc/en/Guide/Libraries

Step 8: Code

Code

Download the Code from the link and open it with Arduino IDE.

<p>//WEATHER BOX tutorial!<br>//Get more tutorials on --> --> --><br>//"MIYMAKERS" https://miymakers.wordpress.com/</p><p>#include <dht.h></dht.h></p><p>#include <br><liquidcrystal.h></liquidcrystal.h></p><p>#define dht_dpin A1 //no ; here. Set equal to channel sensor is on<br>dht DHT;</p><p>LiquidCrystal lcd(12, 11, 5, 4, 3, 2);<br>void setup(){<br> <br>  ;lcd.begin(16, 2);<br>  lcd.print("TEMP HUMIDITY");<br>  Serial.begin(57600); <br>}<br>void loop(){<br>  lcd.setCursor(1,3);<br>  DHT.read11(dht_dpin);<br>  </p><p>   //lcd.print(abs(moisture)); <br>  //Serial.println(moisture);<br>  lcd.print(round(DHT.temperature));<br>  lcd.print("C  "); <br>  lcd.print(round(DHT.humidity));<br>  lcd.print("%   "); <br>}</p>

Step 9: Done!

You can see the Current Weather on the LCD screen....

You can adjust the contrast (Sometimes the display might be blured)by turning shaft of the Potentiometer!

Please do vote this project as it has participated in Urban farming Contest / Sensor contest.Your votes are very valuable!

Thats all makers! If you have any doubts just comment it with the tag " #MM " Stay Tuned for more Projects! -------------------------------------------------------------------------------------------
:D View My Blog For More Intresting Projects!

****www.miymakers.com****

It's a request from me If my instructable worked for You ,Let the other Makers know by ur comments and Favourites! Do Visit my blog for Sure! Thank You!

Comments

author
JOINALA (author)2016-07-18

temperature and humidity values ae not accurate

author
miymakers (author)JOINALA2016-07-18

Hey! #JOINALA
It might be because of a damaged sensor!
Try the project with a new Dht11,Make sure its of good quality!

author
JOINALA (author)2016-07-18

temperature and humidity values ae not accurate

About This Instructable

3,931views

105favorites

License:

Bio: MIYMAKERS is a non-profit organization encouraging makers of all ages, from all around the globe to Innovate their daily lives. We provide them with a ... More »
More by miymakers:The Simplest Buzzer Tutorial; Using ArduinoTwinkle Twinkle using Arduino and Buzzer ; The Easiest TutorialMeasure Box (Distance sensing) Using Ultrasonic Sensor~The easiest
Add instructable to: