Arduino Humidity Sensor using the DHT22

preview_player
Показать описание
In this video, I go through the process of setting up an Arduino humidity sensor. We make use of the DHT22 for this tutorial.

This tutorial is relatively easy, and you should have a humidity sensor up and running in no time at all. I will just quickly highlight some of the essential things to know.

To be able to complete this tutorial, you will need the following bits of equipment.

Arduino Uno
Breadboard
Breadboard wire
DHT22 Humidity Sensor
10k ohm resistor (Brown, Black, Orange, Gold)

Even though you should be able to use the DHT11 or DHT21, we still recommend using the DHT22. We haven't tested any of the other sensors, so we can't guarantee they will work flawlessly.

The circuit of this sensor is pretty straightforward and shouldn't take you long to complete. If you're having trouble, we have a full diagram over at the website.

For the code, we make use of a couple of libraries as they drastically reduce the amount of coding required, which is great for beginners.

We go into more detail about the code over at the website. It's also super easy to copy and paste the code, which will help reduce the number of errors you may run into.

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

I like it, but which pin has the number ONE ? on the right ? on the left ?

batticha
Автор

if the distance of the sensor is 20 meters with the arduino, can the sensor work?

jrsbrothers
Автор

Can u teach me how to create motion sensor 🙏🙏

NwankwoChinecherem-omdk
Автор

@pimylifeup Hello, I have a specific question regarding an application for Raspberry Pi. Is there any way I can contact you directly? Thanks!

MudOilnGears
Автор

My one says T: NAN-C H: NAN-% What do i do

menikfernando
welcome to shbcf.ru