![]() ![]() The library for the sensors can now be loaded. Sudo apt - get install build - essential python - dev python - openssl git Raspberry Pi Humidity Software Installation and Testingįirst of all, some packages have to be installed: sudo apt - get update The structure is identical for DHT11 or DHT22 since the pins are assigned the same way. The second pin from the right of the sensor remains free. The left pin of the sensor is connected to 3V3 of Pi (pin1), the second sensor pin via a pull-up resistor (4.7k – 10kΩ) with a free GPIO of the raspberry (GPIO4, pin7) and the right senior pin comes at GND (Pin6) from the Pi. ![]() In general, the 11er model should also be enough. For example, I have a DHT22 sensor in my fridge to measure and log temperature and humidity. For applications in “extreme” areas (0-20% or 80-100% humidity), the DHT22 should be used, as it also supports these areas in contrast to the DHT11. As a result, the DHT11 (blue) is cheaper, but the DHT22 (white) is more precise and lasts longer. You can see the difference between DHT11 and DHT22 here. Sensors such as the DHT11 and DHT22 are not only available for a few euros, but they can also measure the temperature as well as the humidity.Īs the sensors already carry (almost) everything, apart from a resistor, not many additional accessories are required. In addition, however, the humidity in certain situations or projects (such as a weather station) can be enlightening. With the Raspberry Pi and some sensors, it is easy to measure the temperature without much effort. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |