A very basic circuit including an arduino nano clone and DHT11 temperature and humidity sensor.

A very basic circuit including an arduino nano clone and DHT11 temperature and humidity sensor.

 

Connect pin 8, and use DHT11 library uncommenting the DHT11 include state and commenting the DHT22.