Arduino Nano DHT11 Temperature and Humidity Visual
Arduino Nano DHT11 Temperature and Humidity Visual
Table of Contents
Arduino Nano: DHT11 Temperature and Humidity Visual Instrumentation with Visuino . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Intro: Arduino Nano: DHT11 Temperature and Humidity Visual Instrumentation with Visuino . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Step 1: Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Step 5: In Visuino: Add Packet component and add 2 Binary Analog Elements in it . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Step 11: If not installed: Install the The DHT sensor library from Adafruit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Related Instructables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Advertisements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
http://www.instructables.com/id/Arduino-Nano-DHT11-Temperature-and-Humidity-Visual/
Intro: Arduino Nano: DHT11 Temperature and Humidity Visual Instrumentation with Visuino
DTH11/DTH21/DTH22 and AM2301 are very popular combined Temperature and Humidity Arduino sensors.
I already made one Instructable on how to use them and send text information for the Temperature and Humidity over Serial Port.
In this Instructable I will show you how you can use Packet communication and display the data in visual Thermometer and Gauge in Visuino.
Please note that the annotation on some of the pictures in this Instructable will work correctly on some browsers only after you click on the image to expand
it.
Please make sure you click on the image to see the annotation showing the correct spot on the image!
Step 1: Components
1. One Arduino compatible board (I use Arduino Nano, because I have one, but any other will be just fine)
2. One DHT11 Sensor module I got from this cheap 37 sensors set
3. 3 Female-Female jumper wires
http://www.instructables.com/id/Arduino-Nano-DHT11-Temperature-and-Humidity-Visual/
http://www.instructables.com/id/Arduino-Nano-DHT11-Temperature-and-Humidity-Visual/
Step 3: Start Visuino, and select the Arduino Board type
To start programming the Arduino, you will need to have the Arduino IDE installed from here: http://www.arduino.cc/ .
Please be aware that there are some critical bugs in Arduino IDE 1.6.6.
Make sure that you install 1.6.7 or 1.6.5, otherwise this Instructable will not work!
Image Notes
1. Click on this "Tools" button
Image Notes
1. Select this component
http://www.instructables.com/id/Arduino-Nano-DHT11-Temperature-and-Humidity-Visual/
Step 5: In Visuino: Add Packet component and add 2 Binary Analog Elements in it
1. Type "pac" in the Filter box of the Component Toolbox then select the "Packet" component (Picture 1), and drop it in the design area
2. Click on the "Tools" button of the Packet1 component(Picture 2)
3. In the Elements editor, double click 2 times on the Binary Analog Element to add 2 of them (Picture 3, and 4)
Image Notes
1. Double-Click here 2 times
http://www.instructables.com/id/Arduino-Nano-DHT11-Temperature-and-Humidity-Visual/
Image Notes Image Notes
1. Select this element 1. Set this property
2. Set this property
Image Notes
1. Set these 3 properties
2. Set these 3 properties
http://www.instructables.com/id/Arduino-Nano-DHT11-Temperature-and-Humidity-Visual/
Image Notes Image Notes
1. Set this property 1. Set these 2 properties
2. Select this element
Image Notes
1. Click here
http://www.instructables.com/id/Arduino-Nano-DHT11-Temperature-and-Humidity-Visual/
Step 10: Generate, Compile, and Upload the Arduino code
1. In Visuino, Press F9 or click on the button shown on Picture 1 to generate the Arduino code, and open the Arduino IDE
2. In the Arduino IDE, click on the Upload button, to compile and upload the code (Picture 2)
If you get compiler error in the Arduino IDE, this means that you don't have the DHT sensor library https://github.com/adafruit/DHT-sensor-library installed
in the Arduino IDE.
Image Notes
1. Click here or press F9 to generate the code
http://www.instructables.com/id/Arduino-Nano-DHT11-Temperature-and-Humidity-Visual/
Image Notes
1. Click here to compile and upload the code.
If you get error see the next step on how to fix
Step 11: If not installed: Install the The DHT sensor library from Adafruit
If you don't have the DHT sensor library from Adafruit already installed, follow these steps:
Image Notes
1. Click here to install
2. Type "DHT" here
http://www.instructables.com/id/Arduino-Nano-DHT11-Temperature-and-Humidity-Visual/
Image Notes
1. Click here to close
You can see the connected and running Humidity and Temperature sensor on Picture 5.
Congratulations! You have created a Temperature and Humidity measuring project in Arduino, with Visual Instrumentation.
Also attached is the Visuino project, that I created for this Instructable. You can download and open it in Visuino: https://www.visuino.com
http://www.instructables.com/id/Arduino-Nano-DHT11-Temperature-and-Humidity-Visual/
File Downloads
http://www.instructables.com/id/Arduino-Nano-DHT11-Temperature-and-Humidity-Visual/
Related Instructables
How to share
data of Arduino The Super
Arduino Nano: OLED Arduino "Talking" Temp
temperatura Simple Arduino
Temperature temperature and Greenhouse / Humidity on a
and Humidity humidity meter from DHT22 Control - Weather Web
over the Internet TFT LCD w/ Server by
DHT11/DHT21/DHT22
by kariaa Humidity and
with Xively by relays by sspence
Sensor Module Temperature by
jackbell16 sspence
with Visuino by RichardP4
BoianM
Advertisements
Comments
http://www.instructables.com/id/Arduino-Nano-DHT11-Temperature-and-Humidity-Visual/