Industrial manufacturing
Industrial Internet of Things | Industrial materials | Equipment Maintenance and Repair | Industrial programming |
home  MfgRobots >> Industrial manufacturing >  >> Manufacturing Technology >> Manufacturing process

Build a Reliable Arduino Weather Station with DHT Sensors

Components and supplies

Build a Reliable Arduino Weather Station with DHT Sensors
Arduino UNO
×1
Build a Reliable Arduino Weather Station with DHT Sensors
Adafruit Standard LCD - 16x2 White on Blue
I used a LCD with a I²C converter
×1
Build a Reliable Arduino Weather Station with DHT Sensors
DHT11 Temperature & Humidity Sensor (4 pins)
You can also use the DHT22 or DHT21
×1
Build a Reliable Arduino Weather Station with DHT Sensors
Real Time Clock (RTC)
×1

About this project

Intro

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

Build a Reliable Arduino Weather Station with DHT Sensors

Video

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

First Sketch

Build a Reliable Arduino Weather Station with DHT Sensors

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

Sensor:

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

Second Sketch

Build a Reliable Arduino Weather Station with DHT Sensors

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

Build a Reliable Arduino Weather Station with DHT Sensors

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
  • 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 https://github.com/TechMakerOfficial/ArduinoWeatherStation

Manufacturing process

  1. Building an Outdoor Weather Station with Raspberry Pi 2 and ADS‑WS1
  2. Advanced Weather Station v2.0: Real‑Time Temperature, Pressure, Humidity & Altitude Monitoring
  3. Build a $10 Portable Arduino Weather Station (AWS) – Easy DIY with Nano, DHT22, BMP180 & LCD
  4. eDOT: Precision Arduino Clock & Weather Station with Built‑In IR Remote
  5. Real‑Time Weather Monitoring with Arduino & ThingSpeak IoT
  6. Build a Compact Weather Station with Arduino Nano – Easy DIY Guide
  7. Build a Smart Weather Station with Arduino UNO and AWS Integration
  8. Build a Simple Weather Station with Arduino UNO, BMP280 Sensor & LCD
  9. Arduino Wireless Weather Station: DIY Portable Weather Monitoring Kit
  10. Build a Reliable Arduino-Based Wireless Weather Station