Introduction to internet of things(IoT)
Introduction to internet of things(IoT)
of things(IoT)
• IoT stands for Internet of Things, which means accessing and
controlling daily usable equipment's and devices using Internet.
• What is an Internet of Things (IoT)
• Let's us look closely at our mobile device which contains GPS
Tracking, Mobile Gyroscope, Adaptive brightness, Voice
detection, Face detection etc.
• These components have their own individual features, but what
about if these all communicate with each other to provide a
better environment?
• For example, the phone brightness is adjusted based on my
GPS location or my direction.
• Connecting everyday things embedded with electronics,
software, and sensors to internet enabling to collect and
exchange data without human interaction called as the
Internet of Things (IoT).
• The term "Things" in the Internet of Things refers to anything
and everything in day to day life which is accessed or
connected through the internet.
• IoT is an advanced automation and analytics system which
deals with artificial intelligence, sensor, networking, electronic,
cloud messaging etc. to deliver complete systems for the
product or services. The system created by IoT has greater
transparency, control, and performance.
• As we have a platform such as a cloud that contains all
the data through which we connect all the things
around us.
• For example, a house, where we can connect our home
appliances such as air conditioner, light, etc. through
each other and all these things are managed at the
same platform.
• Since we have a platform, we can connect our car, track
its fuel meter, speed level, and also track the location of
the car.
• If there is a common platform where all these things can
connect to each other would be great because based on
my preference, I can set the room temperature.
• For example, if I love the room temperature to to be set
at 25 or 26-degree Celsius when I reach back home
from my office, then according to my car location, my
AC would start before 10 minutes I arrive at home. This
can be done through the Internet of Things (IoT).
• Definition:-
• IoT is network of interconnected computing
devices which are embedded in everyday objects,
enabling them to send and receive data.
• How does Internet of Thing (IoT) Work?
• The working of IoT is different for different IoT echo system
(architecture).
• However, the key concept of there working are similar.
• The entire working process of IoT starts with the device
themselves, such as smartphones, digital watches, electronic
appliances, which securely communicate with the IoT platform.
• The platforms collect and analyze the data from all multiple
devices and platforms and transfer the most valuable data with
applications to devices.
• Characteristics of IoT:
• Massively scalable and efficient
• IP-based addressing will no longer be suitable in the upcoming
future.
• Devices typically consume less power. When not in use, they
should be automatically programmed to sleep.
• A device that is connected to another device right now may not be
connected in another instant of time.
• Intermittent connectivity – IoT devices aren’t always connected. In
order to save bandwidth and battery consumption, devices will be
powered off periodically when not in use. Otherwise, connections
might turn unreliable and thus prove to be inefficient.
Advantages of IoT
•
The Internet of Things plays a vital role in the field of
energy management and regulation.
• The term used for that is Smart Energy System.
• IoT applications monitor a wide variety of energy
control function to residential and commercial use.
• Residential Energy
• As technology is increasing day by day, it also raises the
cost of energy.
• Consumers search the way through which they can
reduce and control the energy cost.
• IoT provides a mature way to analyze and optimize the
use of the device as well as the entire system of a
home.
• It may be changing the device setting, simply switching
on/off or dimming lights to optimize energy use.
• Commercial Energy
• Wastage of energy widely impacts any business
enterprises in their cost of production.
• IoT provides a specific way for monitoring and
maintaining a low cost and high level of care.
• IoT system provides a strong means of managing the
consumption cost of energy and optimize the output of
enterprises.
• It discovers energy issues in the same way as
functional issues in a complex business network and
provides solutions.
IoT Biometrics Domain
• Implementing IoT system in home and city leads them to become as smart
home and smart city. Smart home or smart city make life quite easier and
smarter.
• A smart home system can be something that makes our life quite easy.
Starting from energy management where the power controls system in the
AC appliances where we use the thermostat, all this is managed to cut
down the power consumption that's taking place.
• A door management system, security management system, water
management system are the part of this as well. Still, these are vital things
that stand out in the smart home system.
• The limitation of IoT in smart home application stops where our
imagination stops.
• Anything that we wish to automate or want to make our life easier can be
a part of smart home, a smartphone system as well.
• Now, a smart home usually is going to be a base of a smart city.
• The smart city is an evolution of a smart home. Here, it is not just
the sensors of a single home that is connected, here its correlation
or a network or a connection between various organizations, various
domains as well as multiple segments of that city as a whole.
• In the smart city, the life of every single dependent becomes more
comfortable and in tune really help to develop that city to greater
extends as such.
• Now, the key factor for a smart city is government support as well,
and if the governments are willing to take this step, then we hope
we would see a smart city completely build on the Internet of
Things.
IoT Smart Agriculture Domain
• One of the parts of smart agriculture using IoT is smart irrigation system.
In the smart irrigation system, IoT checks the moisture level in the
environment or in the water lanes that the farmer has created.
• Now, let's understand the working process of this smart irrigation system.
• Usually, the two main IoT devices that used here is the Arduino board and
the Raspberry Pi.
• The Raspberry Pi becomes the main processing unit, and an Arduino
board is placed from each of water channels.
• These Arduino boards themselves connect to multiple sensors which are
part of this water channel so what these sensors check the moisture
present in these lanes as such.
• So, let's say a specific lane does not meet the minimum required moisture
then the Arduino board would send a signal to the Raspberry Pi.
• Again all these devices are connected on the same wireless router
network, and the Raspberry Pi would identify the lack of moisture and
pass a signal to the relay.
• The relay, in turn, would initiate the water pump and the water would
be parked now to ensure that water is not wasted.
• The smart irrigation system would be a gate control system and only
that gate will open where the moister is less.
• Once the sensors detect that the moisture level has gone beyond the
required limit, it would again transmit another signal to the Raspberry Pi
asking it to stop the pump as well.
• So, this helps a farmer to save a lot of water and also makes life quite
easier as well. So, after this, the farmer only task is to either setting up
new plans or creating new water channels.
Internet of Things (IoT) in
Healthcare
• IoT technology brings numerous applications in
healthcare, from remote monitoring to smart sensors to
medical device integration.
• It keeps the patients safe and healthy as well as
improves the physician delivers care towards the
patients.
• Healthcare devices collect diverse data from a large set
of real-world cases that increases the accuracy and the
size of medical data.
Factor affecting IoT Healthcare
Application
• Continuous Research: It requires continuous research
in every field (smart devices, fast communication
channel, etc.) of healthcare to provide a fast and better
facility for patients.
• Processor
• A processor like a CPU and other units are used to
process the data. these data are further used to
improve the decision quality of an IoT system.
• Audio/Video Interfaces
• An interface like HDMI and RCA devices is used to
record audio and videos in a system.
• Input/Output interface
• To give input and output signals to sensors,
and actuators we use things like UART, SPI, CAN, etc.
• Storage Interfaces
• Things like SD, MMC, and SDIO are used to store the data generated
from an IoT device.
• Other things like DDR and GPU are used to control the activity of an
IoT system.
IoT Protocols
• MQTT
• It is a machine-to-machine connectivity protocol that was designed as a
publish/subscribe messaging transport. and it is used for remote locations
where a small code footprint is required.
• UDP
• a user datagram protocol is a part of an internet protocol
called the connectionless protocol. this protocol is not
required to establish the connection to transfer data.
• Network Layer
• This layer is used to send datagrams from the source
network to the destination network. we use IPv4 and IPv6
protocols as host identification that transfers data in
packets.
• Transport Layer
• This layer is used to control the flow of data segments and
handle the error control. also, these layer protocols provide
end-to-end message transfer capability independent of the
underlying network.
• TCP
• The transmission control protocol is a protocol that defines
how to establish and maintain a network that can exchange
data in a proper manner using the internet protocol.
• IPv4
• This is a protocol address that is a unique and numerical
label assigned to each device connected to the network.
an IP address performs two main functions host and
location addressing. IPv4 is an IP address that is 32-bit
long.
• IPv6
• It is a successor of IPv4 that uses 128 bits for an IP
address. it is developed by the IETF task force to deal with
long-anticipated problems
• Link Layer
• Link-layer protocols are used to send data over the network's
physical layer. it also determines how the packets are coded
and signaled by the devices.
• Ethernet
• It is a set of technologies and protocols that are used
primarily in LANs. it defines the physical layer and the
medium access control for wired ethernet networks.
• WiFi
• It is a set of LAN protocols and specifies the set of
media access control and physical layer protocols for
implementing wireless local area networks.
Logical Design of IoT
• Management
• This functional block provides various functions that are used to manage an
IoT system.
• Services
• This functional block provides some services like monitoring and controlling
a device and publishing and deleting the data and restoring the system.
• Communication
• This block handles the communication between the client and the cloud-
based server and sends/receives the data using protocols.
• Security
• This block is used to secure an IoT system using some functions like
authorization, data security, authentication, 2-step verification, etc.
• Device
• These devices are used to provide sensing and monitoring control
functions that collect data from the outer environment.
• IoT Communication Models
• There are several different types of models available in
an IoT system that is used to communicate between the
system and server like the request-response model,
publish-subscribe model, push-pull model, exclusive pair
model, etc.
Request-Response Communication Model
• It is a bidirectional
fully duplex communication model that uses a
persistent connection between the client and server.
• here first set up a connection between the client and
the server and remain open until the client sends a
close connection request to the server
IoT communication APIs
• These APIs like REST and WebSocket are used to
communicate between the server and system in IoT.
• REST-based communication APIs
• Representational state transfer(REST) API uses a set of architectural
principles that used to design web services. these APIs focus on the
systems' resources that how resource states are transferred using the
request-response communication model. this API uses some
architectural constraints.
• Client-server
• Here the client is not aware of the storage of data
because it is concerned about the server and similarly
the server should not be concerned about the user
interface because it is a concern of the client. and this
separation is needed for independent development and
updating of server and client. no matter how the client
is using the response of the server and no matter how
the server is using the request of the client.
• Stateless
• It means each request from the client to the server must contain all
the necessary information to understand by the server. because if the
server can't understand the request of the client then it can't fetch
the request data in a proper manner.
• Cacheable
• In response, if the cache constraints are given then a
client can reuse that response in a later request. it
improves the efficiency and scalability of the system
without loading the extra data.
• A RESTful web APIs is implemented using HTTP and
REST principles.
• this type of API reduces the traffic and latency of data
and makes sure that each time when we request new
data it cannot terminate the request.
• WebSocket based communication API
• This type of API allows bi-directional full-
duplex communication between server and client using the
exclusive pair communication model.
• this API uses full-duplex communication so it does not require
a new connection setup every time when it requests new data.
• WebSocket API begins with a connection setup between the
server and client and if the WebSocket is supported by the
server then it responds back to the client with the successful
response after the setup of a connection server and the client
can send data to each other in full-duplex mode.