Internet Of Things(IoT) with Node-Red and Azure: Part 1

node14

In my upcoming series of posts, I will explain how to create IOT hub in Azure, how to create an IOT device using the Azure code and how to integrate our IOT Azure with Node-Red.

First of all, let us see what is IOT?

As per Wikipedia:

The Internet of things (IoT) is the network of physical devices, vehicles, and other items embedded with electronics, software, sensors, actuators, and network connectivity which enable these objects to collect and exchange data.

what is Node red?
Node-RED is a programming tool for wiring together 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.

It is basically used for Internet of things(IOT) as it is a flow-based programming.

node12

It is browser based flow editing and it is built on Node.js

In this post, I will explain how to create IoT Hub in Azure.

Let us go step by step:

Make sure you have an account in Azure. You can create a free account which has the validity for a month.

First of all, we will create IOT Hub in Azure:

node4

Give some useful name and click on Create:

NODE5

It will take some time and once the process is complete, it will show below message:

node6

Once it is done, you can search newly create IOT hub from resource groups as below:

node8

Click on Shared Access policy and then click on iothubowner to get the connection string of your IOT:

node10

Save the connection string as shown below:

node11

You have just created your first IOT Hub.

In my next post, I will show how to create your IOT device(We will use Azure’s sample code for that) and then will integrate it with Node-red.

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s