Humidity and Temperature Detector
by billchang1282 in Circuits > Arduino
197 Views, 0 Favorites, 0 Comments
Humidity and Temperature Detector
This product is a tool used for detecting the Humidity and temperature of the current environment and shows it on the LCD panel. This product was created based on the following product from this website.
Supplies
- DHT-22 sensor
- Breadboard
- Arduino UNO / Leonardo
- LCD panel with I2C Module
- Speaker
- Dupont Wire x 30
- Power bank or 4 AA Batteries
- Battery Case for 4 AA Batteries
- USB Transmission Line
- shoebox
- cutter
Circuits
Reminder: you can use the battery box too by connecting the positive charge on the battery box to the positive charge where you connect other components on the breadboard and connecting the negative charge on the battery box to the negative charge where you connect other components on the breadboard. Or you can also simply connect your transmission line to a power bank!
Source Code
The third step of making this project is to install libraries to Arduino and source codes.
- First, you have to download the LiquidCrystal_I2C library and the DHT sensor library.
- Press the sketch bottom on the upper left corner.
- You will see "Include Library" and click it
- You will see the first one said "manage libraries" and click it
- Type "LiquidCrystal"
- Install the first one made by adfruit.
- Type "DHT sensor library"
- Install the one made by adfruit.
- Now you install two libraries.
Here is the source code
After downloading the source code, you need to upload it to your Arduino UNO.
- You take a USB transmission line connected to the Arduino UNO and your computer.
- Choose Arduino UNO and upload.
Decoration
After upload, the source code and your Arduino and components can work smoothly, you need to make a cover for your product.
You have to find a shoebox.
- You measure the width and length of your LCD panel and DHT 22 sensor(only the screen part on LCD and the white sensor part of the DHT 22 sensor)
- draw the measured area on the side of the box and cut it
- You can stick your components in the box and embed the LCD sensor and DHT sensor on the hole you create.
- You can start to decorate your box!!!
All Done Congrats!
This is a brief introduction video of the product.