https://harizanov.com/2015/03/using-ds18b20dht22-temperature-sensor-with-internal-pull-up-resistors-rather-than-external-ones/
Using DS18B20/DHT22 temperature sensor with internal pull-up resistors rather than external ones