# Grove IoT Developer Kit Microsoft Azure Edition

![](https://github.com/SeeedDocument/Grove_IoT_Developer_Kit-Microsoft_Azure_Edition/raw/master/img/Intel_Edison_for_Arduino_Microsoft-Azure-Edition_cover.jpg)

Grove IoT Developer Kit – Microsoft Azure Edition contains an **Intel® Edison module**, an **Intel® Edison for Arduino board**, a **Grove Base Shield**, a set of **Grove sensors** and **actuators** with build-in Grove ports for rapid prototyping. Simply plug in the modules and you are ready to create.

## Intel® Edison For Arduino

![](https://github.com/SeeedDocument/Grove_IoT_Developer_Kit-Microsoft_Azure_Edition/raw/master/img/Intel_Edison_for_Arduino_Microsoft_Azure_Edition_1.jpg)

The Intel® Edison compute module is designed for expert makers, entrepreneurs, and some industrial IoT applications, it provides ease-of-development for a range of prototyping projects or commercial ventures when performance matters. With an expansion board interfaces with a wide range of Arduino shields, Intel® Edison for Arduino allows quick and easy prototyping with open source hardware and a software development environment.

## Features

* A combination of the power Intel® Edison and rich featured Grove System
* Fast prototyping for IoT projects
* Support development with Arduino\* and C/C++, followed by Node.JS, Python, RTOS, and Visual Programming support in the near future
* It includes a device-to-device and device-to-cloud connectivity framework to enable cross-device communication and a cloud-based, multi-tenant, time-series analytics service.
* Has an SD card connector, micro USB or standard sized USB host Type-A connector(via mechanical switch), Micro USB device, 6 analog inputs, and 20 ditial input/output pins, 1x UART, 1x I2C, and 1x ICSP 6-pin header (SPI) Power jack with 7V-15V DC input.

## What's included

### Inter Edison For Arduino

* [![](https://github.com/SeeedDocument/Grove_IoT_Developer_Kit-Microsoft_Azure_Edition/raw/master/img/Intel_Edison_Compute_module.jpg)](http://www.seeedstudio.com/depot/Intel-Edison-p-2603.html)\</div>

Intel Edison Compute module

\</div> \</div>

* [![](https://github.com/SeeedDocument/Grove_IoT_Developer_Kit-Microsoft_Azure_Edition/raw/master/img/Intel_Edison_for_Arduino.jpg)](http://www.seeedstudio.com/depot/Intel-Edison-for-Arduino-p-2149.html)\</div>

Inter Edison For Arduino

\</div> \</div>

### Base Shield V2

* [![](https://github.com/SeeedDocument/Grove_IoT_Developer_Kit-Microsoft_Azure_Edition/raw/master/img/Base_Shield_v2-1.png)](http://www.seeedstudio.com/depot/Base-Shield-V2-p-1378.html)\</div>

Base Shield V2[(to Wiki)](https://app.gitbook.com/Base_shield_v2)

\</div> \</div>

### Sensors

* [![](https://github.com/SeeedDocument/Grove_IoT_Developer_Kit-Microsoft_Azure_Edition/raw/master/img/Button.jpg)](http://www.seeedstudio.com/depot/Grove-Button-p-766.html)\</div>

Grove - Button[(to Wiki)](https://app.gitbook.com/Grove-Button)

\</div> \</div>

* [![](https://github.com/SeeedDocument/Grove_IoT_Developer_Kit-Microsoft_Azure_Edition/raw/master/img/Wiki_soundsensor.jpg)](http://www.seeedstudio.com/depot/Grove-Sound-Sensor-p-752.html)\</div>

Grove - Sound Sensor[(to Wiki)](https://app.gitbook.com/Grove-Sound_Sensor)

\</div> \</div>

* [![](https://github.com/SeeedDocument/Grove_IoT_Developer_Kit-Microsoft_Azure_Edition/raw/master/img/3_aix_acc.jpg)](http://www.seeedstudio.com/depot/Grove-3Axis-Digital-Accelerometer15g-p-765.html)\</div>

Grove - 3-Axis Digital Accelerometer(±1.5g)\[[(to Wiki)](https://app.gitbook.com/Grove-3-Axis_Digital_Accelerometer-1.5g)

\</div> \</div>

* [![](https://github.com/SeeedDocument/Grove_IoT_Developer_Kit-Microsoft_Azure_Edition/raw/master/img/Touch_sensor.jpg)](http://www.seeedstudio.com/depot/Grove-Touch-Sensor-p-747.html)\</div>

Grove - Touch Sensor[(to Wiki)](https://app.gitbook.com/Grove-Touch_Sensor)

\</div> \</div>

* [![](https://github.com/SeeedDocument/Grove_IoT_Developer_Kit-Microsoft_Azure_Edition/raw/master/img/Grove-Light_Sensor_v1.2_product_view_700_.jpg)](https://app.gitbook.com/Grove-Light_Sensor_v1.2)

Grove - Light Sensor v1.2[(to Wiki)](https://app.gitbook.com/Grove-Light_Sensor_v1.2)

\</div> \</div>

* [![](https://github.com/SeeedDocument/Grove_IoT_Developer_Kit-Microsoft_Azure_Edition/raw/master/img/Grove_Temperature_Sensor_View.jpg)](http://www.seeedstudio.com/depot/Grove-Temperature-Sensor-p-774.html)\</div>

Grove - Temperature Sensor[(to Wiki)](https://app.gitbook.com/Grove-Temperature_Sensor_V1.2)

\</div> \</div>

* [![](https://github.com/SeeedDocument/Grove_IoT_Developer_Kit-Microsoft_Azure_Edition/raw/master/img/Potentiometer1.jpg)](http://www.seeedstudio.com/depot/Grove-Rotary-Angle-SensorP-p-1242.html)\</div>

Grove - Rotary Angle Sensor(P)[(to Wiki)](https://app.gitbook.com/Grove-Rotary_Angle_Sensor)

\</div> \</div>

* [![](https://github.com/SeeedDocument/Grove_IoT_Developer_Kit-Microsoft_Azure_Edition/raw/master/img/Piezo_Vibration_Sensor_01.jpg)](http://www.seeedstudio.com/depot/Grove-Piezo-Vibration-Sensor-p-1411.html)\</div>

Grove - Piezo Vibration Sensor[(to Wiki)](https://app.gitbook.com/Grove-Piezo_Vibration_Sensor)

\</div> \</div>

### Actuators

* [![](https://github.com/SeeedDocument/Grove_IoT_Developer_Kit-Microsoft_Azure_Edition/raw/master/img/Serial_LEC_RGB_Backlight_Lcd.jpg)](http://www.seeedstudio.com/depot/Grove-LCD-RGB-Backlight-p-1643.html)\</div>

Grove - LCD RGB Backlight[(to Wiki)](https://app.gitbook.com/Grove-LCD_RGB_Backlight)

\</div> \</div>

* [![](https://github.com/SeeedDocument/Grove_IoT_Developer_Kit-Microsoft_Azure_Edition/raw/master/img/Buzzer1.jpg)](http://www.seeedstudio.com/depot/Grove-Buzzer-p-768.html)\</div>

Grove - Buzzer[(to Wiki)](https://app.gitbook.com/Grove-Buzzer)

\</div> \</div>

* [![](https://github.com/SeeedDocument/Grove_IoT_Developer_Kit-Microsoft_Azure_Edition/raw/master/img/Red_LED.jpg)](http://www.seeedstudio.com/depot/Grove-Red-LED-p-1142.html)\</div>

Grove - Red LED[(to Wiki)](https://app.gitbook.com/Grove-LED)

\</div> \</div>

* [![](https://github.com/SeeedDocument/Grove_IoT_Developer_Kit-Microsoft_Azure_Edition/raw/master/img/Green_LED.jpg)](http://www.seeedstudio.com/depot/Grove-Green-LED-p-1144.html)\</div>

Grove - Green LED[(to Wiki)](https://app.gitbook.com/Grove-LED)

\</div> \</div>

* [![](https://github.com/SeeedDocument/Grove_IoT_Developer_Kit-Microsoft_Azure_Edition/raw/master/img/Blue_LED.jpg)](http://www.seeedstudio.com/depot/Grove-Green-LED-p-1144.html)\</div>

Grove - Blue LED[(to Wiki)](https://app.gitbook.com/Grove-LED)

\</div> \</div>

* [![](https://github.com/SeeedDocument/Grove_IoT_Developer_Kit-Microsoft_Azure_Edition/raw/master/img/Stepper_Motor_with_Driver.jpg)](http://www.seeedstudio.com/depot/Gear-Stepper-Motor-with-Driver-p-1685.html)\</div>

Gear Stepper Motor with Driver [(to Arduino Tutorial)](http://arduino.cc/en/Tutorial/MotorKnob)

\</div> \</div>

## Getting Started with the Intel® Edison Board

Before we work on any Grove modules, let's firstly get started with Intel® Edison Board, you can follow the detailed instructions on [**the official site of Intel® Edison**](https://software.intel.com/en-us/iot/library/edison-getting-started) to:

### Step 1: Assemble Your Board

Install the compute module, attach the legs, and plug in your cables.

![](https://github.com/SeeedDocument/Grove_IoT_Developer_Kit-Microsoft_Azure_Edition/raw/master/img/Intel_edison_assemble.png)

### Step 2: Choose Your Operating System

| \*\*Windows\*\* | The Windows 64-bit installer will install your drivers, update your firmware, and let you install your development environment (IDE) | \[Download 64-bit version]\(<https://downloadmirror.intel.com/25384/eng/w\\_iot\\_2015.0.031.exe>) |
| --------------- | ------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------- |
| \*\*OS X\*\*    | The Mac\* OS X\* installer will update your firmware, and let you install your development environment (IDE)                         | \[Download]\(<https://downloadmirror.intel.com/25384/eng/m\\_iot\\_dev\\_kit\\_2015.0.026.tar.gz>) |
| \*\*Linux\*\*   | The Linux\* installer will update your firmware, and let you install your development environment (IDE)                              | \[Download]\(<https://downloadmirror.intel.com/25384/eng/l\\_iot\\_dev\\_kit\\_2015.0.019.tar.gz>) |

If you are have a windows 32-bit system or having errors with the installer, Intel also provide manual process to install the drivers or update your firmware:

| \*\*Windows\*\* | \[Try Manual Process]\(<https://software.intel.com/en-us/get-started-edison-windows-32-step2>)                |
| --------------- | ------------------------------------------------------------------------------------------------------------- |
| \*\*OS X\*\*    | \[Try Manual Process]\(<https://software.intel.com/en-us/installing-firmware-with-flash-tool-mac>)            |
| \*\*Linux\*\*   | \[Try Manual Process]\(<https://software.intel.com/en-us/flashing-firmware-on-your-intel-edison-board-linux>) |

### Step 3: Set Up a Serial Terminal

You'll need a [**serial terminal connection**](https://software.intel.com/en-us/get-started-edison-windows-step3) to your board for flashing the firmware

### Step 4: Connect Your Board to the Internet

How can you build an IoT device without the "I"? Let's [**connect your board to the WiFi network**](https://software.intel.com/en-us/get-started-edison-windows-step4).

### Step 5: Try It Out with Arduino IDE

As we've already installed the development environment including Arduino IDE in Step 2 (if not, you can download the latest Arduino IDE [**here**](https://www.arduino.cc/en/Main/Software). ) now as your very first practice, let's try to [**blink an LED on Intel Edison Board with Ardunio IDE**](https://software.intel.com/en-us/get-started-arduino-blink).

![](https://github.com/SeeedDocument/Grove_IoT_Developer_Kit-Microsoft_Azure_Edition/raw/master/img/BLINK.gif)

## Getting Started with the Grove System

Connect the Grove - Base Shield to Intel Edison for Arduino via the pin connectors.

![](https://github.com/SeeedDocument/Grove_IoT_Developer_Kit-Microsoft_Azure_Edition/raw/master/img/Inteledison_baseshiled.jpg)

Using 26AWG Grove Cable making the following connections:

| Grove Modules                | Connected to |
| ---------------------------- | ------------ |
| Temperature\&Humidity Sensor | I2C          |
| Moisture Sensor              | A1           |
| Light Sensor                 | A2           |
| UV Sensor                    | A3           |
| PIR Motion Sensor            | D7           |
| Encoder                      | D2           |
| Button                       | UART(D1)     |
| LCD RGB Backlight            | I2C          |
| Relay                        | D5           |
| Servo                        | D6           |
| Buzzer                       | D4           |

![](https://github.com/SeeedDocument/Grove_IoT_Developer_Kit-Microsoft_Azure_Edition/raw/master/img/Edison_Indoor_Wire_Figure.png)

## Running Example

1. Open the web site: [Grove\_Indoor\_Environment\_Demo](https://github.com/Seeed-Studio/Grove_Indoor_Environment_Demo) to download the whole project.

![](https://github.com/SeeedDocument/Grove_IoT_Developer_Kit-Microsoft_Azure_Edition/raw/master/img/Indoor_Kit_Github_Demo.png)

1. Click **Tools > Serial Port** and select the Com # that the Intel Edison is connected to

![](https://github.com/SeeedDocument/Grove_IoT_Developer_Kit-Microsoft_Azure_Edition/raw/master/img/Import_Indoor_Kit_Demo.png)

1. Click Sketch>Import Library…>Add Library and import the library downloaded at **step 1**
2. Click **File>Examples> Grove\_Indoor\_Environment\_Demo** and select the demo Click **upload** icon

![](https://github.com/SeeedDocument/Grove_IoT_Developer_Kit-Microsoft_Azure_Edition/raw/master/img/Upload_Indoor_Kit_Demo.png)

1. Open **Serial Monitor**, it will print the sensors’ information:

![](https://github.com/SeeedDocument/Grove_IoT_Developer_Kit-Microsoft_Azure_Edition/raw/master/img/Indoor_Kit_Serial_Monitor.png)

1. Rotate the Encoder to check the sensor value on the LCD.

![](https://github.com/SeeedDocument/Grove_IoT_Developer_Kit-Microsoft_Azure_Edition/raw/master/img/Indoor_Kit_Rotate_Encoder.png)

1. In the **“Send TextBox”**, you can enter the following command to operate the sensors and actuators:

*set \[sensor]\[condition:>, < or =]\[ threshold],\[actuator]=\[action]*

| Example                         | Description                                                                                                                                                                                          |
| ------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| \_set temp>40, relay=1\_        | if temperature is higher than 40℃, the relay opens.                                                                                                                                                  |
| \_set temp>40, sleep=1\_        | if temperature is >40℃, nothing to do.                                                                                                                                                               |
| \_set humi>60, buzzer=1\_       | if humidity is >60%, the buzzer beeps.                                                                                                                                                               |
| \_set light>600, servo=90\_     | if light intensity is >600, the servo truns 90°.                                                                                                                                                     |
| \_set uv>80, relay=0\_          | if UV intensity is >80, the relay closes.                                                                                                                                                            |
| \_set pir=1, buzzer=1\_         | if people detected, the buzzer beeps.                                                                                                                                                                |
| \_set ms>40, relay=1\_          | if moisture is >40, the relay opens.                                                                                                                                                                 |
| \_set ssid=name, psw=password\_ | set the wifi SSID and Password.you can open a web browser, and go to the IP address displayed on the Serial Monitor or LCD. The default port is 88. he default port is 88. Such as: 192.168.1.101:88 |

Note:

* The command should be ended with ‘/n’, so **“NewLine”** (in the Serial Monitor) should be selected.
* A actuator can only be controlled by a sensor. If A sensor wants to control a actuator(has be controlled by B sensor), B sensor should be set sleep.

![](https://github.com/SeeedDocument/Grove_IoT_Developer_Kit-Microsoft_Azure_Edition/raw/master/img/Indoor_Kit_command.png)

1. WiFi connection. open the Serial Monitor, and set your ssid and password(as below). Check the local IP on the LCD or Serial Monitor. On a device connected on the same network, open a web browser, and go to the IP address above, you can see the sensor value.

***Note: When visiting the web server, a port number(88)should be added,such as: 172.20.10.2:88.***

![](https://github.com/SeeedDocument/Grove_IoT_Developer_Kit-Microsoft_Azure_Edition/raw/master/img/Indoor_Kit_SSID_PSW.png)

![](https://github.com/SeeedDocument/Grove_IoT_Developer_Kit-Microsoft_Azure_Edition/raw/master/img/Indoor_Kit_Local_IP.png)

![](https://github.com/SeeedDocument/Grove_IoT_Developer_Kit-Microsoft_Azure_Edition/raw/master/img/Indoor_Kit_Web_Server.png)

## Resource

* [Edison Getting Started Guide](https://communities.intel.com/community/makers/edison/getting-started)
* [Intel Edison Software & Documentation](https://communities.intel.com/community/makers/edison/documentation)
