Click here to Skip to main content
15,885,278 members
Articles / Internet of Things
Article

Intel® IoT: Getting Analytics from the Cloud

17 Oct 2014CPOL2 min read 14.7K   4  
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:

Image 1

(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.)

Image 2

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.

Image 3

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:

Image 4

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.

Image 5

Finally, you can now download and install the IoT Arduino Library and Samples.

Image 6

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, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
-- There are no messages in this forum --