Temperature and Humidity Indicator by Arduino
by AnnaMai in Circuits > Arduino
4342 Views, 31 Favorites, 0 Comments
Temperature and Humidity Indicator by Arduino
![0 Arduino - temperature meter - Copy.png](/proxy/?url=https://content.instructables.com/F3N/GCX8/K20QCUVF/F3NGCX8K20QCUVF.png&filename=0 Arduino - temperature meter - Copy.png)
This Instruction will show how to make a box which can indicate temperature and humidity with Arduino
You can put this box on table for measuring temperature and humidity in your room
By high quality of MDF box by laser cut, every thing is compacted firmly and good looking, so it is can be personal using or as a gift for your friends.
The important part of this instruction is calibration process which will guide how to make needles (control by servo motor) match with indicator ruler
Summarize About Part List
![5 part arduino.png](/proxy/?url=https://content.instructables.com/FEV/K9PN/K20QCUWG/FEVK9PNK20QCUWG.png&filename=5 part arduino.png)
![6 mdf part.png](/proxy/?url=https://content.instructables.com/FR1/P26K/K20QCUWF/FR1P26KK20QCUWF.png&filename=6 mdf part.png)
![8 design.JPG](/proxy/?url=https://content.instructables.com/FNR/83EP/K20QCUZJ/FNR83EPK20QCUZJ.jpg&filename=8 design.JPG)
![8 laser cut.jpg](/proxy/?url=https://content.instructables.com/F07/I6L8/K20QCUXG/F07I6L8K20QCUXG.jpg&filename=8 laser cut.jpg)
This project will need:
1. Arduino UNO https://amzn.to/2P58O7s
2. Sensor temperature and humidity DHT-22 https://amzn.to/2BvBtfC
3. Servo motors SG90 https://amzn.to/2pCcJPW
4. MDF box http://bit.ly/2MxWvjH
Note: the MDF box link is desgin file (Corel Draw). You can download to cut it by laser cnc machine.
Circuit
![11 circuit.JPG](/proxy/?url=https://content.instructables.com/F3I/UCEY/K20QCUXH/F3IUCEYK20QCUXH.jpg&filename=11 circuit.JPG)
Make a circuit as image, it's quiet simple for Arduino fan
Arduino Code
The code can be download this link (Google share) http://bit.ly/2W5WXZN
Main purpose of code is reading value from sensor, then show result into servo motor
Because servo motor angle not match with indicator ruler, so need calibration process to make reading from sensor can show exactly into indicator ruler
Calibration Process
![19 calib.png](/proxy/?url=https://content.instructables.com/FYP/NTIT/K20QCUYJ/FYPNTITK20QCUYJ.png&filename=19 calib.png)
![19 calib 3.png](/proxy/?url=https://content.instructables.com/FB6/X4ZU/K20QCUZL/FB6X4ZUK20QCUZL.png&filename=19 calib 3.png)
![19 calib 2.png](/proxy/?url=https://content.instructables.com/FF6/PFRH/K20QCV0L/FF6PFRHK20QCV0L.png&filename=19 calib 2.png)
For case of temperature:
1. Find servo angle for point 0 and 50 degree C
2. Input those angle into excel file to find factor a and b (in function f(x)=ax+b)
3. Input factor a and b into Arduino code to find servo angle match with sensor result.
Do the same procedure for humidity case.
Test Indicator
![24 test.png](/proxy/?url=https://content.instructables.com/FMU/GIT8/K20QCUZK/FMUGIT8K20QCUZK.png&filename=24 test.png)
Using serial monitor screen to test if value in serial monitor screen is same with indicator or not
Install All Things Into the Box
![10.2 install background.png](/proxy/?url=https://content.instructables.com/FGQ/OPC9/K20QCVRP/FGQOPC9K20QCVRP.png&filename=10.2 install background.png)
![12 connect pin.png](/proxy/?url=https://content.instructables.com/FJV/F86P/K20QCVRQ/FJVF86PK20QCVRQ.png&filename=12 connect pin.png)
![30.1 result.JPG](/proxy/?url=https://content.instructables.com/FJ8/VQQ4/K20QCUYH/FJ8VQQ4K20QCUYH.jpg&filename=30.1 result.JPG)
![30.2 result.JPG](/proxy/?url=https://content.instructables.com/FWJ/YG0X/K20QCUYI/FWJYG0XK20QCUYI.jpg&filename=30.2 result.JPG)
Firstly, install background indicator, then arduino UNO, servo motor and sensor.
Then install needles, upload the code
Final is connect power and back cover.
Let's enjoy it!
Summarize All Step in Video
![Arduino - Temperature and Humidity indicator](/proxy/?url=https://content.instructables.com/FVS/XJO5/K20QCVUK/FVSXJO5K20QCVUK.jpg&filename=Arduino - Temperature and Humidity indicator)
See the video for all process of making it.
If you have any comment, please leave here. Your comment is my next motivation for future project. Thanks