What is IoT?IoT Stands for Internet of Things, which is a network of internet-connected hardware devices that give some insightful information about things such as a car, bike, truck, factory, etc.
What is the use of IoT?
You might have heard the word digital and smart multiple times such as digital services or smart cities etc. A real-world example is Indian prime minister Narendra Modi who always talks about digital India and smart cities.
So, what does digital mean? Simply the access of the services to an individual over the internet in the form of web applications, mobile applications, etc. which helps to minimize the presence of humans at particular facilities in order to get work done from the location where the person resides with the help of mobile apps or web applications.
A smart city is also a part of a digital service in which citizens can see the temperature and humidity of their cities and it automatically generates alerts to their citizens regarding sudden changes in the environment and specific precautions to take. Citizens can even track the live location of specific bus routes so he or she can plan accordingly. Streetlight management is another example of a smart city service in which streetlights are automatically managed by a digital service that is responsible for turning on or off lights based on surrounding visibility and generates alerts if any light bulb has a problem, so servicemen can fix it immediately.Benefits of IoT
Consider just one of the scenarios which I have explained in the preceding paragraphs, let’s assume we have implemented smart streetlight management using IoT, the benefits are:
- Monitor the network of streetlights at one place using the web application or mobile application.
- Turn the lights on or off automatically based on the surrounding visibility such as sunrise and sunset which help to save a huge amount of electricity consumption.
- Consider some lights are turned off due to some problem, then IoT generates an alert with details which helps servicemen to fix it immediately without going in person at sites.
How IoT worksTo understand how IoT works, understand the following basic terminology of IoT:
- IoT Gateway
- Communication Protocol
- Temperature and humidity sensor
- Pressure sensor
- Visibility sensor
- Magnetometer sensor
- Accelerometer sensor
The communication protocols are the medium that is responsible to establish the communication between IoT devices and IoT gateways to send and receive the messages between them.
Examples of the most common protocols are:
- AMQP Over WebSockets
- MQTT Over WebSockets
What is Microsoft Azure IoT?Azure IoT is the IoT gateway for IoT devices which allows bi-directional communication between IoT devices to cloud and cloud to IoT devices. Azure IoT can process the millions of IoT devices and route the messages to specific data storage platforms.
Azure IoT Hub can be created using:
- Azure CLI
- Azure portal
PrerequisitesTo create any Azure service, we need an active Azure subscription, whether it’s a paid or trial subscription. I am assuming you have an active Azure subscription