Project tutorial
Arduino Weather Station

Arduino Weather Station © GPL3+

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

  • 19,921 views
  • 8 comments
  • 48 respects

Components and supplies

About this project

Intro

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

Video

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

TechMaker

First Sketch

The first sketch displays the sensor values to the Serial Monitor.

Sensor:

  • pin 1 - 5
  • pin 2 - 5v
  • pin 3 - GND

Second Sketch

In this sketch we are going to display the values onto an LCD. I used an I²C LCD for this project.

Sensor:

  • pin 1 - 5
  • pin 2 - 5v
  • pin 3 - GND

LCD:

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

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.

More information about the clock here!

Sensor:

  • pin 1 - 5
  • pin 2 - 5v
  • pin 3 - GND

DS1302:

  • RST - 2
  • DATA - 3
  • CLK - 4

LCD:

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

Code

The code can be found by the CODE part of this project. 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

Subscribe

If you like these kinds of videos you might also want to see all my upcoming work. Then you can subscribe to my channel right here: http://bit.ly/TechMakerYouTube

Code

Code Weather Station
Libraries are in a map. You have to first unzip the map. Then install them

Comments

Similar projects you might like

Personal Weather Station (Arduino+ ESP8266 + Thingspeak)

Project tutorial by Jayraj Desai

  • 51,517 views
  • 32 comments
  • 107 respects

AWS - Arduino Weather Station

Project tutorial by GilettaStefano

  • 19,313 views
  • 13 comments
  • 63 respects

eDOT - Arduino Based Precision Clock and Weather Station

Project tutorial by antiElectron

  • 9,119 views
  • 2 comments
  • 24 respects

$10 Portable Arduino Weather Station (AWS)

Project tutorial by Prajjwal Nag

  • 31,648 views
  • 6 comments
  • 59 respects

Weather Station v.1.0

Project showcase by derapados

  • 10,388 views
  • 3 comments
  • 36 respects

Weather Station with Thingspeak

Project showcase by Tittiamo

  • 3,011 views
  • 2 comments
  • 6 respects
Add projectSign up / Login