[Solved] How To Add DHT Sensor Library In Arduino IDE | DHT.h such file or Directory not found / included

January 22, 2022



INTRODUCTION

Hello, guys Welcome back to "Techno-E-Solution", In this quick tutorial I'll show you How To Add the DHT Sensor library in Arduino in a few steps. The DHT.h sensor library requires when you use DHT11 or DHT22 sensor in your projects. If this library isn't included in your Arduino IDE you get errors while uploading code to Arduino or other modules. The error you will get like DHT.h: Such File or directory not found or included, So to solve this type of errors in your Arduino IDE then follow the following steps. So in this tutorial, we will use the Zip file method to add the DHT sensor library in Arduino IDE.

Watch out the following tutorial video, If reading bores you.

If you got this tutorial helpful then make sure to Subscribe to our YouTube channel for more Tech videos.

Library

Download the following ZIP file of the DHT Sensor Library

>> DOWNLOAD<<

Step 1

Open your Arduino IDE software on your PC.

Step 2

Go to Sketch option >> Include Library >> Add.Zip Library.

Step 3

The new window will open, Now select the downloaded ZIP file.

Step 4

Now click on the Open button on the window.

Done

By following the above steps you have successfully included the DHT.h sensor library in your Arduino IDE.


You can Buy me a coffee If you got this article helpful.