Temperature and Humidity measurement using DHT11 with Raspberry Pi

Call for Price

Temperature and Humidity measurement using DHT11 with Raspberry Pi

SKU: Temperature and Humidity using DHT11 with Raspberry Pi Category:

Description

ABSTRACT

The sensor DHT11 which is capable of sensing both Temperature and Humidity values. It should be decoded to splitting the two parameters from a single sensor, we are using Adafruit library for decoding values from DHT11 sensor. Sensor values can be read directly from the configured pin used in the program. From this system, we can reduce the hardware requirements, by using a single sensor you will be getting two parameters. It doesn’t require any ADC converters. By using these values any application can be done which requires both Temperature and Humidity.

HARDWARE REQUIRED

  • Raspberry Pi
  • SD card
  • Power supply
  • VGA to HDMI converter (Optional)
  • DHT11 sensor

SOFTWARE REQUIRED

  • Raspbian Stretch OS      
  • SD card Formatter
  • Win32DiskImager (or) Etcher

PYTHON LIBRARIES USED

  • Adafruit_DHT

CODE

import Adafruit_DHT
while True:
    humidity, temperature = Adafruit_DHT.read_retry(11, 26)
    print("Humid:{0},Temp:{1}".format(humidity,temperature))

Additional information

Weight 0.000000 kg

Reviews

There are no reviews yet.

Be the first to review “Temperature and Humidity measurement using DHT11 with Raspberry Pi”

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.