Arduino Partners with Elastic to Bring Elastic Cloud, Elasticsearch Support to Arduino IoT Boards

Send data to the Elastic Cloud and carry out queries directly from your Arduino using a "very simple" library.

ghalfacree
almost 2 years ago Internet of Things

Arduino has announced a partnership with Elastic to bring Elasticsearch to the company's Internet of Things (IoT) development boards — using a "very simple library" to make development easier.

"Recently, we collaborated with [Elastic] on a Portenta H7-based R&D [Research & Development] project to provide a simple Elasticsearch client library (written in C++) that runs on Arduino modules," the Arduino team explains in its announcement of the partnership. "That's right: you can now communicate with an Elasticsearch server directly from an Arduino board."

To demonstrate the potential, the Arduino team has put together a tutorial whereby multiple independent Arduino Portenta C33 and Portenta H7 devices communicate temperature readings through to the Elastic Cloud for analysis — including geospatial searches, vector searches, semantic searches, aggregation, filtering, and machine learning data processing.

Elasticsearch is now available on your Arduino boards, thanks to a "very simple" new library. (📷: Arduino)

As well as simply sending data to Elastic Cloud, though, the new Arduino library allows Arduino boards to make use of Elasticsearch directly — in the case of the Arduino team's demo project, querying the cloud for average temperature reported by devices within a 50km (around 31 mile) radius of the querying device.

"Thanks to the collaboration with Elastic, we developed a very simple library that allows the usage of Elasticsearch directly from an Arduino board," the team explains. "In a few lines of code we can send data to Elasticsearch and execute complex elaborations, using geolocation and more."

The full tutorial is now available on the Arduino blog, while the library source code and examples can be found on GitHub under the permissive Apache 2.0 license.

ghalfacree

Freelance journalist, technical author, hacker, tinkerer, erstwhile sysadmin. For hire: freelance@halfacree.co.uk.

Latest Articles