Code Monkey home page Code Monkey logo

intel-edison-qiot-indoor's Introduction

Intel-Edison-QIot-Indoor

Table of Contents

  1. Description
  2. Setup - The basics of getting start
  3. Usage - Configuration options and additional functionality

Description

Connect Grove Indoor Environment Kit for Intel Edison to QNAP NAS via QIoT Suite Lite.

Setup

Setup Requirements

  • An Intel Edison board
  • Grove Indoor Environment Kit for Intel Edison
  • 1 Micro B to Type A USB cables
  • A power supply with 7-15V DC and 1500mA at least
  • A Wifi AP

Installation

  1. Download Intel Edison drivers based on your host PC:
  1. Configure and test your device
  • Assemble the Intel Edison board
  • Assemble the Indoor Environment Kit
    • 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 D8
      LCD RGB Backlight I2C
      Relay D4
      Servo D6
      Buzzer D5
  • Run setup tools: Use the setup tool to flash the latest firmware on the Intel® Edison development board via a convenient wizard. The setup tool also lets you enable SSH and Wi-Fi* connectivity to your board, as described in the steps to follow.
  1. Install Nodejs and required libraries
echo "src intel-iotdk https://iotdk.intel.com/repos/3.5/intelgalactic/opkg/i586/" > /etc/opkg/intel-iotdk.conf
opkg update
opkg upgrade mraa upm
opkg install nodejs

Usage

Import sample application (iot_inbox.json) in QIoT

  • Import the iot_inbox.json file in the IoT Application Panel.
  • Go to "Thing" panel and click "Connect a Device" in the action section.
  • Choose MQTTS protocol
  • Download certificates file and put in Edison_side/ssl folder
  • Download resource info file and put in Edison_side/res folder

Upload sample code to your Edison

  • Upload Edison_side/ folder by Filezilla or WinSCP

Run sample code on Intel Edison and connect to QIoT

cd Edison_side/
npm install
  • Run sample code in foreground mode
node boot.js
  • Run sample code in non-stop mode
sh autostart.sh

intel-edison-qiot-indoor's People

Contributors

blackmesataiwan avatar starrlingo avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.