An Introduction to IBM Watson Cloud and Node-RED

The article is ONLY an introduction that how can we make our Android Mobile set to be an IoT device . A IoT device can collect data from other THINGS ( IoT Devices ) and make that data valuable . The collection of data is based on API Connections with other IoT devices .

PDF DOWNLOAD 

Although there are many other open source resources to connect the devices but we are discussing here about Node-RED . It is a programming tool for connecting hardware devices, APIs and online services in new and interesting ways.

It provides a browser-based editor that makes it easy to wire together flows using the wide range of nodes in the palette that can be deployed to its runtime in a single-click.

Node-RED is operable in multiple ways , either we can run it locally ( i.e Node-RED on Raspberry Pi ) or using it on cloud ( i.e Node-RED running on an Azure Virtual Machine instance ).

Our objective here is to configure Node-RED flow editor with a securely connected android device through Bluemix account on IBM Watson IoT Platform .

The IBM Watson IoT Platform can communicate our applications with data aggregation, collected by our connected devices, sensors, and gateways. The Watson APIs can make it super easy to get devices connected to IBM  cloud. We can use our applications in real-time and Watson REST APIs can communicate with our devices and consume the data we have received.

Let’s start the set-up , first we need to choose platform , here we are choosing Internet of Things Platform Starter

 

Now we set up and configure our first Watson IoT Platform instance from the dashboard. To open the dashboard, go to Internet of things Cloud Foundry App , which we have been  created , mentioned above in IBM Cloud,  click Launch

After Launching following screen will display the status of boards ;

Now first we have to add device types , Go to Browse Devices ;

Add Device Types

This becomes

Now It’s time to create interface ; – add property

The device add summary;

IBM Watson IoT platform is now being created to add device ;

The Board Status now ;

Connecting the device

The IBM Watson Cloud Dashboard after connecting the android Mobile

Now it’s time to connect with the devices through API

We can use our own custom API or we can try default API

 

The Call Operation ;

Node-RED Flow chart ;

TECHEXE.

Leave a Reply

Your email address will not be published. Required fields are marked *

Latest Posts By ahson

Category

Network Virtualization

Tags

, , , , , ,