Since you are new here, you may not yet be familiar with the community's search function. If you search for DHT11, you will find plenty of discussions about it, e.g. here, there or even there.
Hope that helps?
Good luck!
Regards
/Peter
In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.