This blog introduces the Intel IoT Cloud-based Analytics capability. This cloud-based analytics tool includes resources for the collection and analysis of sensor data that the Intel® IoT Developer Kit provides. This service is targeted for Intel Galileo/Edison device developers who want to quickly acquire data and analysis without investing in large-scale storage and processing capacity.
- Get an account from the Intel IoT Analytics Site.
- Get and install the IoT Gateway Agent
- Register your Device(s) (instructions)
- Download and install the IoT Arduino Library and Samples
- Write your scripts and send the data to the cloud
Let's get started. First, if you haven't already, create a new user account on the IoT Analytics site. Once you have signed up, you will be asked to create an account:
(Don't use "GaelZilla" - that's my account!) When you sign in with your account information, you will see your Dashboard: (I don’t have any connected devices yet.)
From your dashboard, you can create and administer multiple accounts (Click on Account) and even invite additional users to participate (by
registering their email address). From here you may also view the available catalog of analytic tools and account details.
Now you may access and use the IoT Analytic Functionality. You will need the IoT Kit Agent. The IoT Kit/Gateway Agent abstracts the complexities of cloud connectivity. It allows developers to focus on their application development an logic for their sensors, actuator, tags, etc. The Agent implements the message formatting and security during device registration and subsequent data submission. You can get the Agent from the IoT GitHub site.
Once the agent is installed, you can activate your Device(s). In order to complete your Device Activiation you will need to supply the account activation code from the IoT Analytics account Details page:
This activation process creates the device record in the cloud and associates the device with the account.
Additionally, sensor data from a registered device is sent to the IoT Analytics site when you register each sensor to the appropriate component type from the Component Catalog. Access the Catalog from "My Account." There are three default components: humidity, power, and temperature.
The registration process is required only once for each new sensor.
Finally, you can now download and install the IoT Arduino Library and Samples.
Complete the following steps:
- From the Arduino development environment, click Sketch > Import Library > Add Library.
- Browse to the IoTkit.zip file.
- Click Open
Once the installation is complete, you will see IoTkit listed under File >Examples.
You are now ready to write Arduino scripts to send data to the cloud. Write your scripts on your computer, then download them to the board and run them. Give it a few minutes and then check "My Dashboard" to view the data.