Showing posts with label inernet of things. Show all posts
Showing posts with label inernet of things. Show all posts

Thursday, 4 February 2016

Internet Of Things - Beginners Learning - Part 2 - The MQTT

Hey Guys, In the previous post I just gave an overview about IoT and its Development Tools. Let us narrow down the discussion to a simple MQTT Sub-Pub mechanism.

An MQTT protocol is similar to a Google Alerts mechanism where you go to google alerts page and you subscribe for a topic and the message is delivered whenever there is any information on the topic you have subscribed.

Fine !! sound and clear I hope. 

First of all to work with MQTT you need three hardware components in the MQTT verbose it is 

  1. Broker
  2. Publisher
  3. Subscriber
Let us take facebook as an example and understand this concept.
  1. Broker - Facebook server
  2. Publisher - Is your Crush in facebook. 
  3. Subscriber - Is you
Still creepy !!? Lemme explain Let us say you want to know all the activities of your crush in facebook like their like, post, tags etc. what you will do? you just visit their profile and mark them as your favorites. Ultimately the facebook server sends you the notification on your phone whenever your crush do any post or likes some one photos.

Here you have subscribed for your crush activities and the facebook server, the broker is sending the data whenever your  crush does any activities . Simple right ? that is MQTT

Who can be the publisher, the broker ,the subscriber?
Well anyone who is capable of holding huge number of requests can be a broker 
Apart from this any device which can be both subscriber and publisher of data.

The image below will clearly explain 



  1. The shoe will tell you how much kilometers you have covered by foot.
  2. The light may tell you how much electricity it has consumed.
  3. The Temperature sensor might tell you when to switch of the AC or it might take control of the AC or whatever.
  4. Your delivery truck may send you timely updates on its position.
  5. Your wrist band may tell you how fast your hear beats. or you can set alarm in a wristband so when the correct time ticks in your phone it sends the message to wrist band to vibrate. 

Cool to hear Right !!!??  

I will explain you how to start programming these devices from my next post.... 

Think Iot!!!!!!!!!!!!!


Sunday, 17 January 2016

Internet of Things - Beginners learning Part - I


Salut les gens !!!, Its been a long time since the last post.

Hope every one are updated with the latest tech. Well this time I am going to publish a series of post regarding the so called buzz INTERNET OF THINGS. I am not going to screw you by saying the definition that, by this time you could have seen at least in 1000 places. Though the concept of connected device exists now the techno geeks are boosting the concept with the new name IoT.

Fine !!, lemme start with a very small classification on various hardware and software platform to implement IoT and then begin with my methods, assuming that you know what is IoT bla bla !!!!
I came across the following tools across various platforms

IoT Development Tools:

Development Tool here I mean is IDE, basically.
  1. Arduino
  2. Eclipse IOT -  Mihini , Koneki and paho
  3. Node - RED

IoT Hardware:

The device which can be used to plan a IoT architecture

  1. Arduino - the development board
  2. Beagle Board
  3. Raspberry PI

IoT OS:

Basically I am not going to restrict you to use a particular Operating System, coz that could contradict the use of IoT . Any OS can be used. But to be more specific
  1. Raspbian
  2. Alljoyn
  3. Android
  4. Linux and its distribution
  5. Windows
  6. Macintosh
and the list goes on.....

Apart from this we have many other platform to work with.

This series of post is going to be with Arduino, Raspberry, Raspbian, Linux and stuffs

Stay tuned for Part II we shall start with implementing the subscriber and publisher code. 
Subscriber????? Publisher??? looking alien for beginners ??? Stay tuned!!!