How to Set Up the DHT11 Humidity Sensor on the Raspberry Pi

preview_player
Показать описание
How to Set Up the DHT11 Humidity Sensor on the Raspberry Pi

In this video, I'll show you how to set up the DHT11 humidity and temperature sensor on Raspberry Pi, and output the sensor readings to an SSH terminal or to an LCD display. I'll also provide example code for programming it with C and Python, and show you how to change between Celsius and Fahrenheit.

Рекомендации по теме
Комментарии
Автор

Dude. This explanation is awesome. Nothing extra. Helped me a bunch. Thanks for uploading. Subscribed.

nicholasstaples
Автор

Very help full video for me a Raspberry Pi newbee like me. It helped me to find C and Python code to run different devices that I can use. Thanks again keep the video's coming have a good day..

keithoakes
Автор

Hi, thank you for the video. Personally, I feel that the response time for temperature measurement is slow compared to that of the TC74, thus making it kind of inaccurate. However, the response time and accuracy for humidity is spot on. If I had to measure both temperature and humidity simultaneously, I would use the TC74 for temperature and the DHT11 for humidity.

lettherebelightfixtures
Автор

great tutorial. could you make a follow up video on how to have the temperature sensor operate relays ect when given temperature set points and display the changes on lcd display

carlmartin
Автор

This is great. I hope you'll do more of these generic Chinese "Arduino" sensors.

DancesWithRobots
Автор

Great video. Have you considered setting up Apache so you can go to a page to see a graph of recent history or have it send alerts to email/SMS?

gnatsum
Автор

It works!! I love the video and I am interested as to how you use the delays. If I am not mistaken you use delays so you can read the input at the right time, but how did you calculate the amount of time you need to delay?(GPIO pins are digital pins where as you need to read analog. The timing allows you to read like an analogPin would.)

victorverdun
Автор

thanks! I wanna ask about "what if the DHT11 sensor device was on outdoor and RPi was few meters away will does that work when I have wireless internet usb?"

markdonadillo
Автор

make a video on automatic water level controller with LCD display measuring level . thank you in advance

madhukeshnp
Автор

Can you output the temp/humidity to a web page? would be great for my camper.. wanna use a couple rpi to monitor all systems

tornsoul
Автор

Can I use LCD w/ I2C modul so that only 2 wire goes to Raspberry?

romeosiera
Автор

is it necessary to have an additional smaller breadboard for this project?

TheAndroiD
Автор

so total noob question is there a way to hook up a second probe into this system and have it output its temp on the screen?

going to be setting this up for an octopi and setting this up in my garage/workshop and want one in the enclosure of my 3d printer and one outside and be able to see the difference in temperatures would be neat. I'm not great with code but can kind of read it so will just need to set up a second "deceleration"(i think) for the second probe. wiring the mess will be another project and getting it to look decent will be another and a half.

centernerds
Автор

Can you do a tutorial on how to put the temp/humidity sensor on a BLE board outside and transfer data back to the Pi?

MrPaulviles
Автор

I have a 3.2 inch Waveshare touch screen which uses 1-26 GPIO pins of the pi. How can I connect a DHT11 to it?

hashroot
Автор

can you do this without using outty or ssh...
direct through raspbian?

weinstienm.d.
Автор

THANK YOU SO MUCH! Quick question, is it possible to connect a small PC fan to the pi and have it turn on whenever the humidity hits above 69% for example? Also can a LED be programmed to turn on once the humidity goes below 62%?

dicso
Автор

Is there any way to output those readings in some txt file or something?

vinsan
Автор

Whenever I try to run it on ssh with Python it just comes up with the message:
Traceback (most recent call last):
File "temp.py", line 3, in <module>
import Adafruit_DHT
ImportError: No module named Adafruit_DHT

I have installed all the files you mentioned in the video for Python but whenever I try to run it, it just has this message.

camhart
Автор

Can you produce a video where the data for the weather is made to go over the internet as a webpage and use the Pi as a server?

WHNorthcote