Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

Intel® IoT: Getting Analytics from the Cloud

17 Oct 2014 1  
This cloud-based analytics tool includes resources for the collection and analysis of sensor data that the Intel® IoT Developer Kit provides.

This article is in the Product Showcase section for our sponsors at CodeProject. These articles are intended to provide you with information on products and services that we consider useful and of value to developers.

Introduction

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.

  1. Get an account from the Intel IoT Analytics Site.
  2. Get and install the IoT Gateway Agent
  3. Register your Device(s) (instructions)
  4. Download and install the IoT Arduino Library and Samples
  5. 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:

  1. From the Arduino development environment, click Sketch > Import Library > Add Library.
  2. Browse to the IoTkit.zip file.
  3. 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.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here