Closed mkoterski closed 3 years ago
Tests with DHT22 failed as well. Turns out that the Adafruit DHT library that I used, wasn't updated to support Raspberry Pi 4 revision 1.1.
Raspberry Pi 4 rev. 1.0 uses a BCM2835 (same as Raspberry Pi 3) Raspberry Pi 4 rev. 1.1 uses a BCM2711
platform_detect.py has a check for the Raspberry Pi version. Modifying the setup however still had failed to produce usable results. Since this repo is no longer maintained, I switched to CircuitPython (https://learn.adafruit.com/dht/dht-circuitpython-code). After installing this module, both sensors work properly on Raspberry Pi 4 rev. 1.1.
Tests with various scripts failed to read DHT11 humidity and temperature data. Exchange for DHT22 planned. Revisiting issue once replaced.