Installing a new library in Arduino

In the new Arduino software, it’s now easier than ever to install new libraries with the Library Manager. To use this, open up the software and find the menu at the top of the window. Select Sketch > Library > Manage Libraries.

A window will then open – this is the Library Manager. From here, you can view the libraries that you have already installed and also look for new ones. You can scroll through the list to see what’s available, or you can use the search bar in the top-right corner to find something more specific.

To install a library that you have found, simply click on the library and then an ‘Install’ button should appear. You may be required to select a version of the library in a drop-down menu, but if not, you can just hit install.

Opening the Arduino Library Manager on Macintosh

What are libraries, anyway?

Libraries are basically add-ons, or extensions, for the Arduino software. They are collections of pre-written code that make it super easy to do all sorts of tasks, including adding different kinds of sensors, motors and displays. Many of our projects and tutorials on Edukits use Arduino libraries, so it’s always helpful to know how to add and include them in your projects.