What is IoT ? | blog.hackshade.com
Electronics Industry has considered “Telecommunication” as the best possible way of interactions between people till now. The only junction where problems meet with better solutions is today’s world of internet. We can advance our communication not only from man-to-man or man-to-machine, but also machine-to-machine.
Since the birth of a small child, It communicates with its mother by crying, smiling, etc. It is basically another example of man-to-man communication. The evolution of computers made it possible for mankind to communicate with machines by various technologies such as programming languages. However, the trending concept of “Internet of Things” gets us the power to establish & simplify the complex communication in machine-to-machine model.
WHAT IS INTERNET OF THINGS ?
IoT is a concept of establishing machine-to-machine network system using Internet as a channel of data transfer between the Broker & Clients. It works on the concept of “Subscribe and Publish” (SnP) model of MQTT Protocol. Broker is the brain (CPU) where all the data are stored, processed & published by communicating with sensors, gadgets & humans whereas the Clients are peripherals of CPU serve as input & output devices.
How it works ?
For establishing the network between broker & clients, Internet is used as the channel and medium for data exchange. Thus, in IoT all the clients & main broker is needed to have network connection for accessing Internet. The data structure of IoT is sent over “MQTT” (Message Query Telemetry Transport), a protocol which is also used in Facebook messenger. MQTT was developed by IBM for ease in transfer of data under IoT Platforms. As IoT is quite a bulky network of machine to machine & thus clock time of signals play a very important role in Real-Time-Operation of sensors with output modules.
MQTT defines methods to indicate the actions to be performed on a specific resource. In this model, Clients publish data at the broker & provides data access to all connected clients. However, the broker creates an subscribe & unsubscribe environment for all the clients. Thus, if a client wants access to a specific parameter category of data from the broker, it subscribes. In this way the undesired data communication is not established between them & only specific required data is exchanged between the clients & the broker. This is what makes the MQTT suitable for IoT Applications. It is simple, smart & light weight protocol for data transfer.
For example assume we have established IoT with a Raspberry Pi (Broker) by connecting it to list of Car Sensor “A” (Input) & an LED “B” (Output) respectively. Then, Raspberry Pi will serve as a broker and will be the main node of data transfer & communication between the clients A & B . Now, the sensors will publish various data to Broker (Pi) such as speed of car, the temperature inside car, fuel data, etc & the particular LED wanna show output. then, the LEDs will subscribe to a topic lets consider speed. in this way, the broker transfers only the speed data to the LED, rest all data will not be shared to output, but will be stored in broker. Therefore, when the client will unsubscribe to a topic, the broker will restrict the data transfer of that category. This concept can be compared to the newsletter of any website with the audience.
Hackshade promotes trending technologies & hope this article would have got you some basic knowledge about what actually IoT is… Like our blog & keep supporting us in moving forward because “Every View Counts…”