Adafruit IO Arduino v2.0 Beta Release. This is the #AdafruitIO Weekly Update


First, a quick update on the state of IO:

* 37.6 million inserts of logged data in the last 7 days
* 14,701 users
* 10,713 online feeds (36,320 feeds total)
* ~60 inserts per second via MQTT
* ~10 inserts per second via REST API

The big news this week is the release of the Adafruit IO Arduino v2.0 beta library. This library has been completely reworked to make it incredibly easy to connect your Adafruit WiFi boards to AIO. Todd has a lot more information about the update on the Adafruit IO Blog.

We have been working hard on a new version of the Adafruit IO Arduino Library. We are releasing it in ‘beta’ form today for existing IO users to try, and we will be adding and updating existing tutorials with usage examples very soon.

Device Independence

v2.0.0 of the library provides a simple device independent interface for interacting with Adafruit IO. This allows you to switch beween WiFi (ESP8266, M0 WINC1500, & WICED), Cellular (32u4 FONA), and Ethernet (Ethernet FeatherWing) with only a two line change in your sketch. No changes are required to the sketch to switch between any of the supported Feather WiFi boards.

The included examples focus on specific concepts without extra boilerplate related to setting up the specific WiFi, cell, or ethernet hardware being used. This will allow you to prototype your sketch on WiFi hardware, and easily move to cellular or ethernet with a very small change to your config file.


The library makes it simple to publish GPS location info with your data. For example, if you wanted to publish your location with your current speed, you would send it like this:

car->save(speed, lat, lon, ele);

You could then use the map block on io.adafruit.com to display your location info. The includedadafruitio_04_location example demonstrates how to send and receive location info.

Type Conversion

The library adds type conversion helpers for both publishing and receiving data. You can publish any data type to the save(value) method of your feed, and you can use helpers like toInt()toBool(), & toFloat() to easily convert received messages to the appropriate data type. The included adafruitio_05_type_conversion example demonstrates converting to and from all available types.

Head over to the Adafruit IO blog for more information, including how to update the existing library to v2.0.

AIO_Logo_150x150Here at Adafruit, we sell all of these amazing components, but we couldn’t find a good way to interact with them over the internet. There are certainly a lot of great services out there for datalogging, or communicating with your microcontroller over the web, but these services are either too complicated to get started, or they aren’t particularly fun to use. So, we decided to experiment with our own system, and that is how Adafruit IO got started.

To start, please visit https://io.adafruit.com, and take a look around. You can also visit our comprehensive tutorial located on the Adafruit Learning System.

We also have a blog/changelog specifically for Adafruit IO to keep you updated with the latest changes.

To make it easy for people to get started using Arduino or ESP8266 we have starter packs with just about everything you may want to connect to the internet, with known-working WiFi modules!
ESP8266 Huzzah Kit

Make a robot friend with Adafruit’s CRICKIT – A Creative Robotics & Interactive Construction Kit. It’s an add-on to our popular Circuit Playground Express, FEATHER and other platforms to make and program robots with CircuitPython, MakeCode, and Arduino. Start controlling motors, servos, solenoids. You also get signal pins, capacitive touch sensors, a NeoPixel driver and amplified speaker output. It complements & extends your boards so you can still use all the goodies on the microcontroller, now you have a robotics playground as well.

Join 7,500+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

CircuitPython in 2018 – Python on Microcontrollers is here!

Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Follow Adafruit on Instagram for top secret new products, behinds the scenes and more https://www.instagram.com/adafruit/

Maker Business — Despite multiple bankruptcies, RadioShack continues to find ways to keep the lights on

Wearables — Tape, meet 3D printing

Electronics — A few words on inductor resistance

Biohacking — Running Blades

Python for Microcontrollers — CircuitPython is officially awesome!

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !

No Comments

No comments yet.

Sorry, the comment form is closed at this time.