Arduino IDE: Installation of a Library

You want to install a new library on your Arduino desktop IDE? Here is a guide for you how to install a library and also I show you the most used libraries to will need for a lot of projects.

Let’s start by open the Arduino desktop IDE.

Arduino Logo

Table of Contents

Where to Manage Arduino IDE Libraries?

On the navigation bar at the top of the IDE you see at the third position “Sketch”. When you mouse-over the Sketch button you find in the drop down menu “Include Library”. On the right side a new window expands with the current libraries and the first entry is “Manage Libraries…”. Click on it.

Arduino IDE library 1
Now the Library Manger opens in a new window which is the main part of the Arduino desktop IDE to install, update and uninstall libraries. Also the Library Manager has a hand search field from which you can search the library you want to install.
Arduino IDE library 2

How to Install an Arudino IDE Library?

If you want to install a library just type the name of the library in the search field and select the newest version. After you selected the version just click on the “Install” button.

After the successful installation you see after the name of the library that the installation was successful.

Arduino IDE library 3
Arduino IDE library 4

How to Update an Arudino IDE Library?

If you want to update a library you may become a popup at the main Arduino IDE. I would recommend to update a library when a newer version is available to ensure stability, security and access new functions. To update a library you can filter by libraries which are updatable. Filter after that type in the Library Manager and update the library with a click on the button “Update”.

Arduino IDE library update

Microcontroller Datasheet eBook

The 35 pages Microcontroller Datasheet Playbook contains the most useful information of 14 Arduino, ESP8266 and ESP32 microcontroller boards.

List of Most Used Arudino IDE Libraries

Adafruit GFX LibraryThis is the core graphics library for all Adafruit displays, providing a common set of graphics primitives (points, lines, circles, etc.). It needs to be paired with a hardware-specific library for each display device we carry (to handle the lower-level functions).
Adafruit NeoPixel Adafruit NeoPXL8Arduino library for controlling single-wire-based LED pixels and strip such as the Adafruit 60 LED/meter Digital LED strip, the Adafruit FLORA RGB Smart Pixel, the Adafruit Breadboard-friendly RGB Smart Pixel, the Adafruit NeoPixel Stick, and the Adafruit NeoPixel Shield.
Adafruit Unified SensorMany small embedded systems exist to collect data from sensors, analyse the data, and either take an appropriate action or send that sensor data to another system for processing.
Bounce2Debouncing library for Arduino
DallasTemperatureArduino library for Dallas temperature ICs. This library supports the following devices : DS18B20 DS18S20 - Please note there appears to be an issue with this series. DS1822 DS1820 MAX31820 You will need a pull-up resistor of about 5 KOhm between the 1-Wire data line and your 5V power. If you are using the DS18B20, ground pins 1 and 3. The centre pin is the data line '1-wire'.
DHTAn Arduino library for the DHT series of low cost temperature/humidity sensors such as DHT11, DHT22, etc. You must have the following Arduino libraries installed to use this class: Adafruit Unified Sensor Library
FastLEDThis is a library for easily & efficiently controlling a wide variety of LED chipsets, like the ones sold by adafruit (Neopixel, DotStar, LPD8806), Sparkfun (WS2801), and aliexpress. In addition to writing to the leds, this library also includes a number of functions for high-performing 8bit math for manipulating your RGB values, as well as low level classes for abstracting out access to pins and SPI hardware, while still keeping things as fast as possible.
IRremoteThis library enables you to send and receive using infra-red signals on an Arduino.
LiquidCrystal, LiquidCrystal I2CThis library allows an Arduino board to control LiquidCrystal displays (LCDs) based on the Hitachi HD44780 (or a compatible) chipset, which is found on most text-based LCDs. The library works with in either 4- or 8-bit mode (i.e. using 4 or 8 data lines in addition to the rs, enable, and, optionally, the rw control lines).x
MAX6675 libraryArduino library for interfacing with MAX6675 thermocouple amplifier
MFRC522Arduino library for MFRC522 and other RFID RC522 based modules. Read and write different types of Radio-Frequency IDentification (RFID) cards on your Arduino using a RC522 based reader connected via the Serial Peripheral Interface (SPI) interface.
OneWirreOneWire lets you access 1-wire devices made by Maxim/Dallas, such as temperature sensors and ibutton secure memory. For temperature sensors, the DallasTemperature library can be used with this library.
PubSubClientThis library provides a client for doing simple publish/subscribe messaging with a server that supports MQTT
ServoThis library allows an Arduino board to control RC (hobby) servo motors. Servos have integrated gears and a shaft that can be precisely controlled. Standard servos allow the shaft to be positioned at various angles, usually between 0 and 180 degrees. Continuous rotation servos allow the rotation of the shaft to be set to various speeds.x
StepperThis library allows you to control unipolar or bipolar stepper motors.x
WiFiWith the Arduino WiFi Shield, this library allows an Arduino board to connect to the internet. It can serve as either a server accepting incoming connections or a client making outgoing ones. The library supports WEP and WPA2 Personal encryption, but not WPA2 Enterprise. Also note, if the SSID is not broadcast, the shield cannot connect.x
WiFiManagerESP8266 WiFi Connection manager with fallback web configuration portal

1 thought on “How to install a library in the Arduino IDE?”

  1. Do you have info on how to install a library that came with a kit that had no instructions? The library in question (elab.h) can be downloaded from the web and I can see it on the hard drive but the compiler says it can’t be found. (It worked instantly on my Windows PC but not on a student’s Mac)


Leave a Comment