mp-se / kegmon

DIY scale for beer keg monitoring
MIT License
10 stars 4 forks source link

DHT22 sensor not working with ESP32S2 #12

Closed mp-se closed 1 year ago

mp-se commented 1 year ago

The DHT22 sensor is not detected when using an ESP32S2 board. Works fine on ESP8266.

Adding pull-up resistor does not help. Connecting the DHT22 power directly to +3.3V works but if the sensor stops working then you need to power on/off the device.

For the ESP32S2 I currently recommend to use the DS18B20 sensor instead.

mp-se commented 1 year ago

Change the schema to drive the DHT22 on 5V via a transistor to ensure we have enough power.

mp-se commented 1 year ago

Verified that this works as expected, Will close once the schema is updated, align with #7