Arduino Tutorial 51: DHT11 Temperature and Humidity Sensor with LCD Display

preview_player
Показать описание
You guys can help me out over at Patreon, and that will help me keep my gear updated, and help me keep this quality content coming:

In this lesson we are working towards a portable temperature and humidity sensor using the DHT11 sensor and an LCD display. In order to facilitate a more practical portable system, we are using an arduino nano, since it can be plugged directly into the breadboard.

You can get the kit I am using for this series at the following link:

I strongly suggest picking up an arduino nano, since it can plug directly into the breadboard, making a portable system more practical. You can pick one up here:

As projects get more complicated in these lessons, you guys really need to get a set of breadboard jumper wires which allow you to make neater connections on the board in your projects. You can pick a pack of these wires up here:

In addition as projects get more complicated, you are going to need a bigger breadboard. This is a reasonable one here:

Check out our WEB site:

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

I did this on my main board and will repeat it when my nano is delivered. Another top tutorial. I also did a bit of background work and added a degree symbol to the temperatures lcd.print((char)223) and rounded the values lcd.print(round(tempC). Thanks again Paul.

keithdavies
Автор

I did it on my own on both the UNO and NANO! Thank you Paul for teaching it the way I guess nobody else will. Love from India!

shigarfmashaam
Автор

This was a hard project for me because THIS beginner bought a clone without realizing it and had to figure out how to burn the bootloader on and hook the board up to the Uno directly (Master-Slave) because I couldn't get it recognized on the port! Fortunately, there are a TON of resources out there online that helped me figure it out. I'm so glad you did this build on the Nano because I need to learn to use those smaller boards (for my own art/jewelry projects) and I've been afraid to try them. Thanks for the push! ;)

HeatherJordanJewelry
Автор

Doing these projects gives me so much of joy including the immense learning that comes along. The most excellent channel indeed! Thank you Sir ❤️

laxmanrao
Автор

This project kept giving me issue after issue, and it was all because I was given a faulty kit! I'm doing this as an assignment for school and I've been practically tearing my hair out for the last three days trying to figure out what was wrong. The battery that came with the kit was dead and the sensor that came with the kit was broken. I got a new sensor from my dad and had a fresh battery on hand, but if I hadn't I would've been SOL. Your video definitely helped get me through the coding and wiring, so thanks Paul!!

AlphasOtherChannel
Автор

I did this lesson on my own. My components came in and I used the Nano for the first time. I had to trouble some minor issues like loose wires. I made it portable already. I still watched your video because you gave me a new idea to power my ardouino with the power bank. Thank you for that.

ottawakravmagaacademy
Автор

I did both, with the UNO i went portable and walked around, and the NANO got it to work thanks to your training.

rodneyhutchins
Автор

Already did this earlier, I anticipated the need to send output to the LCD display, also changed over to the Arduino Nano and swapped the Contrast pot to a 1K5 fixed Res and (because the backlight on these displays are failure prone) I replaced the Anode link with a 330R resistor. Fitted the PSU board and used the battery lead to power the project, then watched the end of Lesson 50 and realised I had done that lot of homework as well as this.
Yes I do watch through to the end but sometimes I try and improve on the circuit with the video paused.
For information I imported the DHT11 Serial.print version code into notepad (Windows) and used the Replace function to change them to lcd.print lines before adding the twiddly bits.
Great video as usual and having great fun

leebasham
Автор

As I only have an LCD with the I2C interface soldered onto it I had to figure out how to get that working before I tackled the DT11.
But I'm very happy to report that everything went very smoothly afterwards thanks to your excellent tuition.
Many thanks to you Paul for a very satisfying project/lesson.

airwavested
Автор

I made one of these, and put it in a box. I powered it with a 12-volt cigarette lighter and a buck converter. I placed it on my bus so I can see the temperature of the cab. Now I would like to Pace another one in the back of the bus so I could see temperatures in the front in the back.

gghutton
Автор

I appreciate you recommending other items but making clear your projects are still completable using the kit. Also, did it by myself!

libertyprime
Автор

Did this before I followed the lesson. Work with MEGA2560 - DHT11 and LCD-display with I2C-board. Due too my DHT-library I had to add the library "adafruit unified sensor".
Everything worked en I while follow all lessons because I am a beginner.
Thanks foor teaching us.

marcelsimons
Автор

Nailed the hw in 10 min! These things we are building are starting too look more like something you'd buy at Home Depot. Plugged this to a battery....stuck it in the freezer and the temp dropped. Humidity increased to 90 blowing on it, and formatted the text perfectly on the LCD updating every 5 sec.

PedroLuis-yped
Автор

While i made cursor(0, 0) static for humidity value displayed, i delayed cursor(0, 1) to display TempC and Temp F. I see GROWTH. Thank you Paul.

haastrupadebayoibukun
Автор

Thank you once again. I did purchase an Arduino Nano but I am having difficulty getting it recognized. I went ahead and completed the assignment with the Mega I have been using for the previous projects and I got it working quickly and correctly - very satisfying! I see in the comments below that getting the Nano recognized is a common problem so I will do more research and get that figured out. I was just too impatient to get to the next lesson to bother with the Nano but I will have it working correctly soon. Thank you, Steve.

pokerface
Автор

This was a great learning project, thank you. I did it the 1st time using my Uno R3 and a breadboard and got it working properly. I then used the ALL IN ONE SENSOR SHIELD V11 which took me a while to figure out the pin sequence between the LCD 1602 & the ALL IN ONE. I did manage to get it working perfect. Thanks for these amazing video's.

michaelgrahamjr-be
Автор

Did the homework! Added a variable to capture previous temperature and humidity to eliminate excessive LCD "Flicker" Only rewrites to the LCD when there is either a change of temperature or humidity from the previous read, 1-second prior. Powered by 9-volt battery, and/or 12-volt plug-in transformer.

markmarzinzik
Автор

Thanks for the detailed instructions. I am new at coding, but I was able to follow along. Everything seem to work fine using the serial monitor. When I connected the LCD and added the codes for it, the temperature and humidity were off by about 20C and 14% respectively...….and seem to work negatively, that is to say, when the sensor is exposed to increasing temp, it would actually decrease the values and vice-versa (I am currently in a room at 20C and 23% humidity, LCD is showing -0.5C at 8.8%). No changes were made to hardware or wiring. The only thing that was changed was the additional coding for the display. I would appreciate any feedback. Thank you for the most excellent teachings.

bt
Автор

I don’t have a nano YET but hooked the uno up with the power pcb with a 9volt battery and powered the arduino uno on the V in pin and GND. It all fits on the smaller breadboard. Also got a box of jumper. Makes it a LOT neater. Great tutorials Paul!

jabber
Автор

Worked through the process with Paul. Good outcome. After mangling a number of the small jumpers on my breadboard, I used the fine point of my multimeter to pre-open the correct holes on the board. Worked well and it takes a little longer to plug them in, but they go in easier and are still secure.

rcsatx