Connect the cloud to the world around you.
Arduino IoT Cloud is a powerful service, allowing anyone to create IoT applications with just a few simple steps. With a combination of smart technology, user-friendly interfaces and powerful features, our cloud is for everyone: students, makers, professionals alike.
The latest version of the Arduino IoT Cloud includes features such as:
You can find out more about the features in the Getting started with the Arduino IoT Cloud.
Getting started with Arduino IoT Cloud is quick and easy, and will require just two simple steps:
1. Create an Arduino account.
2. Go to Arduino IoT Cloud and start your journey through IoT!
The Arduino IoT Cloud is designed to help people create great things with ease. It is as simple as connecting a device, creating variables and a dashboard to monitor it. Whenever we create a Thing, a sketch is automatically generated, and updates with all changes we make in the cloud!
Based on what you want to achieve, an IoT application will require a few basic components:
But let's take a look at some essentials of the Arduino IoT cloud!
Devices are physical objects like a hardware board that can be contained inside a product (e.g., MKR WiFi 1010). They’re the hardware that runs the software, reads sensors, controls actuators and communicates with the Arduino IoT Cloud.
Take a look at the Arduino boards that are compatible with the cloud:
There's also a selection of popular third party boards that are compatible with the cloud. You can find out more about this in the Manager for Linux devices.
Things are the digital twin of our hardware. When we create a new Thing, there are a few configurations that we need to do to get started.
All of the configurations we make here are automatically generated into a sketch file. This means we don't have to enter any special tokens or passwords in the sketch at all, and we can start using the variables we create in the cloud straight in the code.
Variables are the qualities defining the characteristics of a system. A variable can be something like a 'read-only' (RO) setting to indicate the Arduino IoT Cloud can read the data, but cannot change the value of the variable. A variable might be designed as 'read and write' (RW) if the Arduino IoT Cloud can also remotely change the variable's value and send an event notification to the device. This can be configured by either selecting the Interaction option to ON or OFF inside the variable configuration.
For example, let's say we want to create a device that: can read a sensor, turn on or off something, and write an analog value to. The below table shows the needed information to create these variables.
|dimmer||int||0 - 255||Interaction: ON|
|sensor_data||int||0 - 1023||Interaction: OFF|
Creating a variable is super-easy, all we have to do is:
And this is how it looks like in the variable list once they have been created:
As mentioned previously, all the configurations we make are generated into a sketch. With our most recent update, we have also included the Web Editor and Serial Monitor directly in the Arduino IoT Cloud.
If we want to edit the sketch after a configuration, simply click on the Sketch tab to begin. Here you can also verify and upload your code. You can still edit your sketches in the Web Editor, and there's a link here that will take you there!
Dashboards are the center of attention in the cloud! It is here we build our very own control panels to monitor and control our devices. We can build a unique dashboard for a unique thing, but we also have the possibility of monitoring several different things in the same dashboard. If we for example have five active devices, each linked to a thing, we can create one dashboard to rule them all!
But what is probably most valuable inside the dashboards are the different widgets that we create. There are over 15 different widgets that we can use to represent the variables we create. Here, we can choose from gauges, switches, RGB controls, maps, sliders and much more, to create powerful dashboards.
Take at a look at this dashboard. The widgets are directly linked to the variables mentioned earlier.
The Arduino IoT Cloud becomes aware of events when it receives application messages that indicate something has happened. For example, it might be informed by a face-recognition application that someone is at a door, or it has received a request from another app that light has to be turned on.
Arduino boards usually require you to program them, to enter some code by way of an Arduino Sketch. The Arduino IoT Cloud will quickly and automatically generate a Sketch when setting up a new thing: this is one of its convenient features.
Take a look at the example below to see a sketch that was automatically generated from setting up the IoT Cloud:
We at Arduino take cyber-security very seriously. All of our cloud-compatible boards come with the ECC-508 crypto-chip, ensuring that all data transferred and stored in the cloud are secure. We do however support some third party boards that are not equipped with the ECC-508 crypto chip.
You can find a lot more inspiration to get started with the cloud in the articles below: