nCube-Thyme-Arduino Application with Co2 sensor, RGB-LED, Power Relay
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
nCube-Mint-Application initial commit Jul 19, 2017
README.md Update README.md Jul 22, 2017

README.md

nCube-Thyme-Arduino-Application

Introduction

nCube:Thyme for Arduino is ADN(Application Dedicated Node) of oneM2M global IoT standard. If you want to know about oneM2M, please reference this(oneM2M). This nCube:Thyme for Arduino Application is written in C language supporting Arduino sketchs. Also this application using nCube:Thyme for Arduino source code provided by KETI(Korea Electronics Technology Institute).

Connectivity structure

nCube:Thyme for Arduino Application is just ADN-AE. So, if you want to use this application's full function, first setup Mobius IoT Platform. This application connect to Mobius IoT Platform using MCA reference point and Connection protocol is MQTT.

Software structure

nCube:Thyme for Arduino Application use WiFi for using MQTT connection providing publish and subscribe functions. Co2 sensor connected using digital Pin on Adafruit Feather M0 measure and upload Co2 concentration using MQTT. Also RGB-LED and Power Relay connected with Adafruit Feather M0 is controlled depending on MQTT packets.

Hardware Composition

  • Adafuit Feather M0
  • CM1106 Co2 Sensor
  • RGB-LED
  • Adafruit Power Relay FeatherWing
Connect theese things like figure above.

Pre-requirement

  • Install Arduino IDE
  • In the Arduino IDE, add Board manager URL provided by Adafruit.
  • Install Board managers. One is Arduino SAMD board manager, the other is Adafruit SAMD board manager.
  • Download nCube:Thyme for Arduino, and move libraries to the Arduino IDE's libraries directory.

Running nCube:Thyme for Arduino Application

  1. Open nCube-Mint.ino file with Arduino IDE.
  2. Upload the sketch to Adafruit Feather M0.
  3. nCube:Thyme for Arduino Application will enter WiFi provisioning mode.
  4. Connect to the nCube:Thyme for Arduino Application's WiFi provisioning page using smart phone or laptop.
  5. Input WiFi AP SSID and Password in the provisioning page.
  6. Then, nCube:Thyme for Arduino Application will create ae, cnt, sub on Mobius according to configurarion in the nCube-Mint sketch.