Be careful when using the DHT11 sensor when reversing the polarity (it is very easy to get the wrong polarity causing irreversible damage to the module)

At the time of prototyping use good cables or better as in my case to assemble a welded Protoshield. I mention all this because it is susceptible to generating errors.

Also, do not forget in the code to place the reading check line

 

if (isnan (h) || isnan (t) || isnan (f))

   {

     Serial.println (F ("Failed to read from DHT sensor!"));

     return;

   }

 

 

As for the analog sensor, set A Vref to 3.3 V in my case, I also used 12-bit resolution throughout the application for all analog sensors.

To take care of the details on the display, also create a custom character for the ° C (so it looks cool)