WEATHER BOX USING ARDUINO ~THE EASIEST

by miymakers in Circuits > Arduino

6400 Views, 111 Favorites, 0 Comments

WEATHER BOX USING ARDUINO ~THE EASIEST

FRONT~MIYMAKERS.jpg

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

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.

THINGS REQUIRED

Components1~MIYMAKERS.jpg

Things Required

>Arduino Uno

>DHT11 ~ Temperature and Humidity Sensor

>16*2LCD SCREEN

>POTENTIOMETER

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

USING HEADER PIN

LCD~MIYMAKERS.jpg
MIIYMAKERS.jpg
MIYMAKERS agf.jpg
Weather_BOX circuit..jpg

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!!!

BOX

FRONT2~MIYMAKERS.jpg

Take a an appropriate Plastic Rectangular box,

Make holes for the LCD and DHT11 Sensor

CIRCUIT

WeatherBOX.jpg

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

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

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>

Done!

FRONT1~MIYMAKERS.jpg

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!