How to Install Libraries Arduino IDE

Arduino Library

When we make a code on the Arduino IDE, we will often find that the program will need a library to facilitate our programming. In this article, I will guide you on how to install libraries into the Arduino IDE.

To do that by default there are 2 ways, first install the library using the “Manage Libraries” and “Manual“.

Now, let’s see how to do it. For example, this article uses a DHT library.

Using Manage Libraries

This is the simplest and easiest way to do it. You just need to follow these steps:

  • Open your Arduino IDE
  • Click the Sketch menu
  • Click the Include Library
  • Click the Manage Libraries
  • then in the search form, type “dht”
  • In the results list, you will see a lot of DHT sensor libraries. Choose one made by Adafruit Industries
  • then click install:
How to include libraries into Arduino IDE
  • After installation is finished, Now, you are ready to use it.

Using Manual Way

To do the installation manually, we must have the library file itself. For example, the DHT sensor has been provided by Adafruit Industries and is shared on Github here.

  • Now we first download the .zip file.
  • Open your Arduino IDE
  • Click sketch menu
  • Click Include library menu
  • Click the add .ZIP library menu
  • Done.

If you have completed one of the steps above, then the library can be used. Hopefully this include libraries into Arduino IDE article is useful.

May be you like:
> How to using DHT11 Sensor Arduino Uno Code & Wiring
> How to use AMG8833 ESP8266 NodeMCU Arduino Basic Code
> How to using ATtiny Serial UART and Computer
> How to control 3 Stepper Motor Serial Arduino At Same Time
> How to Install SimulIDE On Ubuntu Using Terminal (tar.gz)

Similar Posts