Skip to content

These applications are code sample exercises using the Intel IoT Developer Kit, sensors, actuators, cloud platforms, and APIs.

Notifications You must be signed in to change notification settings

mkwilbux/how-to-code-samples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

These applications are code sample exercises using the Intel IoT Developer Kit, sensors, actuators, cloud platforms, and APIs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 47.0%
  • C 40.5%
  • HTML 4.8%
  • Python 3.8%
  • JavaScript 2.6%
  • Java 1.1%
  • Other 0.2%