These applications are code sample exercises using the Intel IoT Developer Kit, sensors, actuators, cloud platforms, and APIs.
C++ C HTML Python JavaScript Java Other
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
access-control
air-quality-sensor Update README.md Sep 29, 2017
alarm-clock
ble-scan-bracelet
close-call-reporter Add files via upload Nov 13, 2017
color-match-game Update grovekit.hpp Sep 29, 2017
docs/cpp Add missing d3.js license info, and also add back hex2c.sh shell script Jul 28, 2016
doorbell Update README.md Sep 27, 2017
earthquake-detector Update README.md Sep 27, 2017
equipment-activity-monitor Add files via upload Nov 13, 2017
field-data-reporter Create foo.txt Aug 21, 2017
fire-alarm Merge pull request #95 from IanXSmith/patch-42 Oct 3, 2017
home-fall-tracker Merge pull request #312 from intel-iot-devkit/feature/js/sap May 12, 2017
images Add files via upload Aug 18, 2017
line-following-robot Update README.md Sep 27, 2017
plant-lighting-system Update README.md Sep 27, 2017
range-finder-scanner Update README.md Sep 27, 2017
robot-arm Update README.md Sep 27, 2017
setup updated UPM URL Sep 27, 2017
smart-stove-top
sound-detector Update README.md Sep 27, 2017
storage-unit-flood-detector
watering-system Update README.md Sep 27, 2017
.gitignore
README.md

README.md

How-to code samples

These applications are how-to code samples using the Intel® IoT Developer Kit and compatible Intel-based platforms, cloud platforms, APIs, and other technologies.

To clone this repository

To begin, clone the How-To Code Samples repository with Git* on your computer as follows:

$ git clone https://github.com/intel-iot-devkit/how-to-code-samples.git

To download a .zip file, in your web browser go to https://github.com/intel-iot-devkit/how-to-code-samples and click the Download ZIP button at the lower right. Once the .zip file is downloaded, uncompress it, and then use the files in the directory for this example.

Installing the program manually on the target system

Alternatively, you can set up the code manually on your system.

Clone the How-To Code Samples repository to your board:

$ git clone https://github.com/intel-iot-devkit/how-to-code-samples.git

Navigate to the directory with this example.

Setup

Hardware Compatibility

These samples are currently supported by the following platforms:

Intel IoT Gateway using Arduino 101 (https://software.intel.com/en-us/iot/hardware/gateways) Make sure your Intel® IoT Gateway is setup with an operating system, by following the directions on the web site here:

https://software.intel.com/en-us/getting-started-with-intel-iot-gateways-and-iotdk

Software Requirements

mraa

mraa.io

upm

upm.io

Integrated Development Environments (IDEs)

For Java or C/C++ development, use the Intel System Studio IoT Edition - https://software.intel.com/en-us/iot/tools-ide/ide/iss-iot-edition

For JavaScript development, use the Intel® XDK - https://software.intel.com/en-us/intel-xdk

Configuring the examples

Each example includes a configuration file to setup sensors and other application parameters.

For C++ look in cpp.json
For Java look in /src/config.properties
For JavaScript look in config.json
For Python look in config.py

Refer to each example for the specific configuration needed.

Cloud and datastore configuration

Specific instructions on setting up individual cloud services can be found here https://github.com/intel-iot-devkit/iot-samples-cloud-setup

Adding a Redis* datastore can be done by following instructions here https://github.com/intel-iot-devkit/intel-iot-examples-datastore