![]() 10k ohm resistor (Brown, Black, Orange, Gold).Equipmentīelow is all the equipment that you will need for connect the DHT22 Humidity Sensor to your Raspberry Pi. While this tutorial covers connecting the DHT22 to the Raspberry Pi, it will also work with the DHT11 and AM2302 humidity sensors as they all use the same pinouts. You can also use the DHT22 with the Arduino, so be sure to check that tutorial if you would rather use an Arduino board. ![]() They have a sampling rate of once every second for the DHT11 and once every 2 seconds for the DHT22. The biggest downside to the DHT11 and DHT22 sensors is that they are quite slow sensors. ![]() The converter makes it a lot easier to connect the sensor to the Raspberry Pi as you do not need to deal with any additional chips. This sensor has a relatively long transmission distance, allowing the sensor to transmit data through wires up to 20m away from the Raspberry Pi.Īs a bonus, the DHT22 is a digital sensor with an inbuilt analog to digital converter. The DHT22 is a versatile and low-cost humidity sensor that can also calculate the temperature of an area. In this Raspberry Pi humidity sensor tutorial, we will show you how to connect the DHT22 sensor to the Raspberry Pi and how you can use Python to read data from the sensor.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |