How to interface Temperature & Humidity sensor with evive?

DHT Sensor
About This Tutorial
In this tutorial we will interface DHT11 temperature and humidity sensor with evive and display the data on the evive display screen.
Tutorial Info

Components Required

ImageComponentQuantityAvailable in Kit
evive1
USB A-B Cable1
Ice Cream Stick1
Temperature and Humidity Sensor1
Male to Female Jumper Cable 10cm3
  • None

Introduction

DHT 11 is a temperature and humidity sensor which uses a capacitive humidity sensor and a thermistor to measure the surrounding air and spits out a digital signal on the data pin (no analog input pins needed).

DHT Sensor

How does DHT11 sensor work?

The DHT11 Humidity and Temperature Sensor consists of 3 main components. A resistive type humidity sensor, an NTC (negative temperature coefficient) thermistor (to measure the temperature) and an 8-bit microcontroller, which converts the analog signals from both the sensors and send out single digital signal.

Circuit for DHT11

The connections between humidity and temperature  sensor are explained below

  • + Pin is connected with the female jumper wire and the male end to the 5V power supply on evive board. 
  • – Pin is connected with the female jumper wire and the male end to the ground on evive board.
  • OUT Pin is connected with the female jumper wire and the male end to the digital pin.

PictoBlox Program

In this example, we will display the temperature and humidity value on evive TFT Display:

  1. Open PictoBlox.
  2. Select the board as evive:
    Selecting Board
  3. Connect the evive.
    Select Port
  4. Create the following script using when evive starts up block:
    DHT11
  5. Upload the code onto evive:
    Upload Code

You can download the PictoBlox program from here: Temperature and Humidity Sensor

Output

The DHT 11 humidity and temperature sensor is shown below. When we blow on the humidity sensor the sensor detects the moisture that comes with the blow and changes the value on the evive TFT display.humidity sensor gif

Libraries

  • The DHT11 library can be downloaded from I2Cdev .

Share this Tutorial
Share on facebook
Facebook
Share on twitter
Twitter
Share on google
Google+
Share on pinterest
Pinterest
Share on reddit
Reddit
Share on print
Print
Related Projects & Tutorials
Interfacing GY-521 module with evive
In this tutorial we will interface the GY-521 module with evive. The GY-521 module contains a 3-axis accelerometer, a 3-axis gyroscope, a temperature sensor, and a digital motion processor. We will display the value of each sensor on the serial monitor.
soil pH scale comaprison
How to measure pH value of Soil?
Plants grow best in soil near neutral pH. Some plants prefer slightly acidic and others slightly alkaline soil. In this project you will get to find out the pH value of the soil.
All articles loaded
No more articles to load
Featured Projects
Space-Battle-Game on Scratch
Space Battle

This project will show you how to make a cool space battle game on your own in PictoBlox (Scratch-based programming) and play using your Smartphone!

All articles loaded
No more articles to load

Leave a Reply

Close Menu
×

Cart