https://electronicslovers.com/2017/11/dht11-interfacing-with-arduino.html
Interfacing of DHT11 Temperature and Humidity Sensor with Arduino Nano