Arduino IO Library

Adafruit IO Arduino is NOT compatible with AVR boards like the Metro 328p

If you're using a non-SAMD board (such as an Adafruit Metro or Arduino Uno) with an AirLift Co-Processor, you will not be able to use Adafruit IO Arduino with an AirLift Breakout/Shield/FeatherWing (it's a large library and will not fit on these boards).

For using these boards securely with Adafruit IO, we suggest the Adafruit MQTT Library instead of Adafruit IO Arduino. We've added a usage example for AirLift Co-Processors here.

Installation

Installing Adafruit IO on Arduino requires four libraries: Adafruit's WiFiNINAAdafruit IO, Adafruit MQTT, and ArduinoHttpClient.

If you have these libraries already installed - you will need to update them to the versions listed on this page for use with AirLift.

To install the Adafruit WiFiNINA library, click the link below to download the library as a zip file:

To install this library, navigate to the Add .ZIP Library option in the Sketch -> Include Library menu and select the zip file from the file browser.

Enter Arduino HTTP into the search box, and click Install on the ArduinoHttpClient library option to install version 0.4.0 or higher.

You are going to install the next few libraries using the Arduino Library Manager. Navigate to the Manage Libraries... option in the Sketch -> Include Library menu.

adafruit_io_library_menu.png

Enter Arduino HTTP into the search box, and click Install on the ArduinoHttpClient library option to install version 0.4.0 or higher.

adafruit_io_Library_Manager.png

Enter Adafruit MQTT into the search box, and click Install on the Adafruit MQTT library option to install version 1.0.0 or higher.

adafruit_io_Library_Manager.png

Enter Adafruit IO Arduino into the search box, and click Install on the Adafruit IO Arduino library option to install version 3.1.0 or higher.

This guide was first published on Apr 30, 2019. It was last updated on Apr 30, 2019. This page (Arduino IO Library) was last updated on Nov 11, 2019.