Introduction: How to Wire+Code a DHT11 Sensor

About: I am a middle school student. I like slime and dogs. (So original amirite) Sarcasm was not my first language. #foodsquad4ever

In this instructables you will learn how to wire and code a DHT11 sensor. There are videos, photos, and words to make this easier for you. I hope that this will be easy for you to do!

Step 1: Video's

Video 1- This video is the video of wiring your board.

Video 2- This video is the video of the things you need to do on the computer.

Step 2: What You Will Need to Begin.

1: A DHT11 Temperature, Humidity, and Soil Moisture Sensor.

2: A Arduino/Uno wiring board.

3: Connection wires.

4: A Arduino USB wire.

5: A computer with the Arduino/Uno app on it.

6: Ms.Craddock's thumb drive. (Get from her)

Step 3: Wiring Your Board.

1- PLEASE LOOK AT ALL THE PHOTOS TO KNOW WHERE THE WIRES GO BEFORE YOU BEGIN!!!!

2- Get your board and put the USB cord into the large plug at the end of your board.

3- Plug the other end of the cord into your computer.

4- Put all the wires on the DHT11.

5- Plug GND cord into the GND port on the right side of the board.

6- Plug the DATA cord into the 2 port on the left side of the board.

7- Plug the UCC cord into the 5V port on the right side of the board.

8- If you click on the last photo and scroll you can see the other photo's I've added.

Step 4: Getting What You Need From Mrs.Craddock's Hard Drive.

1- Ask Ms.Craddock for the thumb drive.

2- Plug it into your computer.

3- Open it and copy the folder labeled 37 SENSOR KIT TUTORIAL FOR UNO into your desktop. (It should be the first thing on the top.)

Step 5: Getting the Library Into Your Arduino/UNO App.

1- Open the Arduino/UNO app.

2- Go to sketch and click on it.

3- Scroll down and click on the add libraries tab.

4- Scroll directly to the right and click on the add .zip libraries tab.

5- It will open in your browser, so click desktop on the bar on the left side.

6- Open the Arduino Coding folder.

7- Click on the first folder, 37 SENSOR KIT TUTORIAL FOR UNO, and double click on the folder labeled libraries.

8- Click on the folder SimpleDHT.

9- Go to the bottom right corner and click open.

Step 6: Getting the Code Into Your Arduino/UNO App.

1- Go to sketch.

2- Go to the bottom and click add file.

3- Go to Desktop.

4- Open the folder labeled 37 SENSOR KIT TUTORIAL FOR UNO

5- Click on the folder at the top labeled code.

6- Click on the folder at the top of that folder labeled Lesson 2 TEMP AND HUMIDITY MODULE.

7- Go to the bottom of that folder and click on the folder labeled DHT11WithRawBits.

8- In the bottom right corner click on the tab labeled Open, or double click it.

9- Go back to your Arduino/UNO app and click the upload button in the top left corner.

Step 7: Making Sure Your "talking" to the Right Board.

1- Go to tools at the top of the file.

2- Go to ports.

3- Click on the COMB (Arduino/ Genuine UNO) tab.

4- Sometimes it will have a number next to it and you want to click on that one. If it doesn't have a number still use it. The number depends on what board your using.

Step 8: Seeing Your Tempature.

1- Go to the Arduino app and open the tools folder at the top.

2- Scroll down to Serial Monitor and open it.

3- The C is the temperature in Celsius.

4- The % is the moisture in the air/ground/ where ever you put it.