What are libraries?
The Arduino Integrated Development Environment or Arduino IDE software provides a simple interface to write code, compile it, and upload it to your Arduino compatible microcontroller. While the functions for many basic tasks such as turning pins on and off, simple communication, etc. are included in the “stock” libraries, many sensors have custom libraries available to make using them a snap. Installing these libraries takes just a minute and can save hours or even days of development time. Many companies selling breakout boards like Adafruit and Sparkfun have excellent libraries for many of their products.
- Adding via the Library Manager tab within the IDE
- Using a zip file
- Manual Installation of a Library Folder via the file browser
1. Using the Library Manager
This method is the fastest and easiest, but the library you are looking for must be listed in the Arduino package list to be found. Many are, but many more are not. This is the first place to look before using a more complex method though!
- Start by opening the Arduino IDE software. Then navigate to the library Manager window via the following path:
Sketch –> Include Library –> Manage Libraries
#include <Your_library.h>


2. Adding a .ZIP File Library
- Open the Arduino IDE software and navigate the the .Zip File Selector window via the following path:
Sketch –> Include Libraries –> Add .ZIP Library
3. Select the ZIP file and click open.
#include <Your_library.h>


3. Manual Installation
- As you would with the ZIP file installation, the correct library file must be located and download from an external source.
2. Using an unzip utility such as the built in OS extractor, unzip the file into a temporary location.
3. Copy the extracted folder into the libraries folder in the Arduino File Structure.
Documents –> Arduino –> libraries
Restart the Arduino IDE and your new library should be available!
#include <Your_library.h>


Still looking to learn more about Arduino Programming? Checkout our Arduino Learning Shield, which comes with its very own library to help you get stareted bringin your ideas to life! For even more help sign up for one of our online or in-person training courses!
- Expand Your Arduino Toolkit: 3 Easy Ways to Add New Libraries - May 30, 2023
- How to Fix Messy Solder Paste Stencil Results - October 23, 2022
- Introduction to Through Hole Soldering - February 1, 2022