Include Libraries in Arduino IDE

Hello Tech Freaks, Today I’m going to demonstrate how you can easily Include Libraries in Arduino IDE. Including libraries and compiling code seems to be easy for familiar users, but for newbies it can be troublesome. So let’s discuss this issue today for upcoming projects. So let’s start this.

Include using Library Manager:

Firstly, we’ll see how to import a library using library manager. Including via manager is rather very simple than including zip files. So now proceed the steps to open Library Manager. On Arduino IDE

HTML Image as link
Qries

Sketch menu > Include Library > Manage Libraries… OR simply press Keyboard Combination Ctrl + Shift +I.

1 1

As soon as you press combination or click Manage Libraries, a separate dialogue box will open. This is Library Manager. Now in search box type your library name. For example: ‘liquid crystal i2c’.

A  whole bunch of list will be available to you for downloading. From this search the repository you want and click Install to install it into Arduino IDE. You can also select various versions of the library published by the author.

2 2

Now you have successfully installed the library in IDE. But sometimes it causes some installing error. That all will be discussed later below.

Including Zip Libraries:

So let’s now see how can you install libraries using zip ones. So follow the steps:

Sketch menu > Include Library > Add .ZIP Library

Now a new dialogue box will pop up to select the zip file in your desired location.

Library Process 1

Select the location of you zip file.

Library Process 2edit

Toggle through various menu and select the file at location.

Library Process 3.. Select the library then click open edit

It will automatically open zip files and save it in DocumentsArduinoLibraries folder. All examples and header files will be automatically saved at that place.

Library Process 4

Troubleshooting:

Now we have successfully installed and include libraries in Arduino IDE. But sometimes it causes installation errors like Access Denied or Path not written. This is the common problem which you may face in Windows PC as App Data folder is now not given write permission for Arduino IDE. For this, just Run As Administrator the Arduino IDE. Now you’ll see that library is now successfully installed without any installation errors.

 

Related Posts

Air Pressure sensor HX710B with arduino

Air Pressure sensor HX710B with arduino

Hey guys, welcome back to the techatronic. In this article we are going to explain how can we interface Air Pressure sensor HX710B with Arduino. all the…

Sun Tracking Solar Panel using an Arduino

Sun Tracking Solar Panel using an Arduino

An energy source that is obtained from nature without harming the environment is called renewable energy. Solar energy is one of the most well-known forms of renewable…

Home Security Alarm

Home Security Alarm using Arduino

Hello Guys, Welcome back to Techatronic. Today we are going to build an another interesting project which is called ‘Home Security Alarm’ with the help of Arduino…

Prevention Of Railway Accidents

Prevention Of Railway Accidents Using Arduino Uno

Hey guys, welcome to TechaTronic. Before moving forward in this “Prevention Of Railway Accidents” project lets first discuss about the history of railways. Railways are very common…

Pong Game With Arduino

Pong Game With Arduino Uno and OLED Display

Hey guys, welcome back to Techatronic. Today we are back with another interesting project which you can make with the help of Arduino Uno and we are…

R307 Fingerprint Sensor With Arduino

Interfacing R307 Fingerprint Sensor With Arduino

Hello everyone, welcome back to Techatronic. Today we are going to Interfacing R307 Fingerprint Sensor With Arduino. In this era the importance of fingerprint is very important….

Leave a Reply

Your email address will not be published. Required fields are marked *