1. Introduction

raymondxie edited this page Feb 20, 2018 · 10 revisions

IoT Workshop Refreshed for 2018

We had a successful year of running IoT Workshop, at Oracle Code 2017 events and other conferences, based on Arduino/NodeMCU devices, communicating sensor data and messages to Oracle IoT Cloud Service. Now we are back for IoT Workshop v2.0, for Oracle Code 2018 events.

While we focused on device side programming last year, such as hardware board, pin connection, Arduino IDE programming, etc, we will focus "inter-connected-ness" of things, such as collecting data from virtualized sensor, which is a reflection of physical sensor, and feeding meaningful sensor reading into IoT cloud service.

We will utilize Wio Node, which is the popular ESP8266 chip with Grove connector, so it will simplify the wiring for us, and we can really focus on building out the functional use scenarios.

Wio Node connectors

Instead of programming Arduino board in the workshops last year, we will be developing Javascript (Node.js) program on your computer, which can read the sensor data or send actuator signals on Wio-Node through the Wio virtualization server in the Cloud.

Components

Each participant will receive a package consists of a Wio Node board, and 4 grove parts. The grove parts include two sensors as input: light sensor, temperature & humidity sensor; and two output components: buzzer, LED bar. grove components

Diagram

The following overall diagram explains how all the pieces come together for IoT Workshop. diagram

  1. Grove sensors (input) and actuators (output) are connected to Wio Node;
  2. Wio virtualization server, where Wio Node is registered, then virtualizes the connected sensors/actuators as REST endpoints;
  3. On cellphone (Wio App), or computer (Node.js programs) can access the REST endpoints to read data or control an output;
  4. On computer, Node.js program with Oracle IoTCS client, communicates with Oracle IoTCS, to record sensor data or receive control command.

Oracle IoT Asset Monitor

After you complete exercise #4, please ask host instructor to show an interaction between your device and IoT Cloud service. You should see something like these:

Here is a snapshot inside of IoT Asset Monitor, showing your live sensor data feed in a chart:

Sensor data chart

Here is a screenshot showing that we can trigger a buzzer sound by manual action within IoT Asset Monitor:

Control buzzer sound

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.