filmov
tv
Arduino Humidity Sensor using the DHT22

Показать описание
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.
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.
Комментарии