24 lines
334 B
Markdown
24 lines
334 B
Markdown
# DHT22 Demo
|
|
|
|
Vollständige Anleitung: https://randomnerdtutorials.com/raspberry-pi-dht11-dht22-python/
|
|
|
|
## Requirements
|
|
|
|
```bash
|
|
pip install adafruit-circuitpython-dht
|
|
```
|
|
|
|
## Connection
|
|
|
|
- DHT22 + -> RPI 3.3V
|
|
- DHT22 - -> RPI GND
|
|
- DHT22 out -> RPI GPIO 2
|
|
|
|

|
|
|
|
## Run
|
|
|
|
```bash
|
|
python3 dht22.py
|
|
```
|