While there are many traditional Arduino* libraries that are useful for microcontrollers, there is a lot of functionality to be had with Linux* based targets to take advantage of the additional processing and OS capabilities. This article will show you what libraries are available inside of Arduino Create for Intel®-based platforms running Linux.
MRAA (mraa.io) – pronounced ‘em rah’ is the hardware abstraction layer in Arduino Create* for Linux* based platforms. It is an open source project, and it supports multiple boards and programming languages. Using MRAA allows you to initialize and work with pins on a board with an easy-to-understand API.
This article explores a method for monitoring the environment using sensor data rules and issuing alerts for abnormal readings. To that end, we will setup a continuous MQTT communication for passing sensor data using the UP Squared* board and Grove* shield, the AWS Greengrass* group and device-to-cloud communication.