Unit I Notes
Unit I Notes
Department of
Electronics and Communication Engineering
(NBA Accredited)
Y. JEEVAN
Assistant Professor
JEEVAN YANDA 1
Fundamentals of Internet of Things
JEEVAN YANDA 2
Fundamentals of Internet of Things
UNIT-I
Introduction to Internet of Things:
JEEVAN YANDA 3
Fundamentals of Internet of Things
Definition of IoT:
The Internet of Things (IoT) is the network of physical objects—devices,
instruments, vehicles, buildings and other items embedded with electronics, circuits , software,
sensors and network connectivity that enables these objects to collect and exchange data. The
Internet of Things allows objects to be sensed and controlled remotely across
existing network infrastructure, creating opportunities for more direct integration of the
physical world into computer-based systems, and resulting in improved efficiency and accuracy.
JEEVAN YANDA 4
Fundamentals of Internet of Things
IoT refers to the interconnection via the internet of computing devices embedded
in everyday objects, enabled them to send and receive the data.
A dynamic global network infrastructure with self- configuring capabilities based on
standard and interoperable communication protocols, where physical and virtual “things”
have identities, physical attributes, and use intelligent interfaces, and are seamlessly integrated
into information network that communicate data with users and environments.
➢ The Internet of Things represents the whole way from collecting data, processing it,
taking an action corresponding to the signification of this data to storing everything in the
cloud. All this is made possible by the internet
➢ The Internet of things has become a very widely spread concept in the last few years. The
reason for this is mainly the need to computerize and control most of the surrounding objects
and have access to data in real time.
➢ Example: Parking sensors, about phones which can check the weather and so on
1.2 Characteristics of IoT :
1. Dynamic & Self-Adapting: IoT device and system may have the capability to
dynamically adapt with the changing contexts and take actions based on their operating
conditions, user’s context, or sensed environment. For example, consider a surveillance adpt
their modes based on the weather it is day or night, cameras could switch from lower
resolution to higher resolution modes when any motion is detected and alert nearby cameras
to do the same.
2. Self-Configuring: IoT devices may have self-configuring capability, allowing a large
number of devices to work together to provide certain functionality (such as weather
monitoring). These devices have the ability configure themselves, setup the networking and
fetch latest software upgrades with minimal manual or user intervention.
3. Interoperable Communication Protocols: IoT devices may support a number of
interoperable communication protocols and can communicate with other devices and also
with the infrastructure.
4. Unique Identity: Each IoT device has a unique identity and a unique identifier (such as
an IP address). IoT systems may have intelligent interface which adapt based on the context,
allow communicating with user and the environmental contexts, IoT device interfaces allow
users to query the devices, monitor their status and control them remotely.
5. Integrated into Information Network: IoT devices are usually integrated into the
information network that allows them to communicate and exchange data with ot her
devices and systems, IoT dvices can be dynamically discovered in the network, by other
devices and/or the network, and have the capability to describe themselves to other devices
or user applications.
Applications of IoT:
1) Home
2) Cities
JEEVAN YANDA 5
Fundamentals of Internet of Things
3) Environment
4) Energy
5) Retail
6) Logistics
7) Agriculture
8) Industry
9) Health &LifeStyle
JEEVAN YANDA 6
Fundamentals of Internet of Things
c) Smart Roads: Equipped with sensors can provide information on driving condition,
travel time estimating and alert in case of poor driving conditions, traffic condition and
accidents.
d) Structural Health Monitoring: uses a network of sensors to monitor the vibration levels
in the structures such as bridges and buildings.
e) Surveillance: The video feeds from surveillance cameras can be aggregated in cloud
based scalable storage solution.
f) Emergency Response: IoT systems for fire detection, gas and water leakage
detection can help in generating alerts and minimizing their effects on the critical
infrastructures.
3) Environment:
a) Weather Monitoring: Systems collect data from a no. of sensors attached and send
the data to cloud based applications and storage back ends. The data collected in cloud
can then be analyzed and visualized by cloud based applications.
b) Air Pollution Monitoring: System can monitor emission of harmful gases (CO2, CO,
NO, NO2 etc.,) by factories and automobiles using gaseous and meteorological
sensors. The collected data can be analyzed to make informed decisions on pollutions
control approaches.
c) Noise Pollution Monitoring: Due to growing urban development, noise levels in
cities have increased and even become alarmingly high in some cities. IoT based
noise pollution monitoring systems use a no. of noise monitoring systems that are
deployed at different places in a city. The data on noise levels from the station is collected
on servers or in the cloud. The collected data is then aggregated to generate noise maps.
d) Forest Fire Detection: Forest fire can cause damage to natural resources, property
and human life. Early detection of forest fire can help in minimizing damage.
e) River Flood Detection: River floods can cause damage to natural and human resources
and human life. Early warnings of floods can be given by monitoring the water level and
flow rate. IoT based river flood monitoring system uses a no. of sensor nodes that
monitor the water level and flow rate sensors.
4) Energy:
a) Smart Grids: is a data communication network integrated with the electrical grids that
collects and analyze data captured in near-real-time about power transmission, distribution
and consumption. Smart grid technology provides predictive information and
recommendations to utilities, their suppliers, and their customers on how best to manage
power. By using IoT based sensing and measurement technologies, the health of equipment
and integrity of the grid can be evaluated.
b) Renewable Energy Systems: IoT based systems integrated with the transformers at the point
of interconnection measure the electrical variables and how much power is fed into the grid.
For wind energy systems, closed-loop controls can be used to regulate the voltage at point
of interconnection which coordinate wind turbine outputs and provides power support
c) Prognostics: In systems such as power grids, real-time information is collected using
specialized electrical sensors called Phasor Measurment Units(PMUs) at the substations. The
JEEVAN YANDA 7
Fundamentals of Internet of Things
information received from PMUs must be monitored in real-time for estimating the state of
the system and for predicting failures.
5) Retail:
a) Inventory Management: IoT systems enable remote monitoring of inventory using data
collected by RFIDreaders.
b) Smart Payments: Solutions such as contact-less payments powered by technologies such
as Near Field Communication (NFC) and Bluetooth.
c) Smart Vending Machines: Sensors in a smart vending machine monitors its operations
and send the data to cloud which can be used for predictive maintenance.
6) Logistics:
a) Route generation & scheduling: IoT based system backed by cloud can provide first
response to the route generation queries and can be scaled upto serve a large transportation
network.
b) Fleet Tracking: Use GPS to track locations of vehicles inreal-time.
c) Shipment Monitoring: IoT based shipment monitoring systems use sensors such as temp,
humidity, to monitor the conditions and send data to cloud, where it can be analyzed to detect
foods poilage.
d) Remote Vehicle Diagnostics: Systems use on-board IoT devices for collecting data
on Vehicle operations(speed, RPMetc.,) and status of various vehicle subsystems.
7) Agriculture:
a) Smart Irrigation: to determine moisture amount in the soil.
b) Green House Control: to improve productivity.
8) Industry:
a) Machine diagnosis and prognosis
b) Indoor Air Quality Monitoring
9) Health and Lifestyle:
a) Health & Fitness Monitoring
b) Wearable Electronics
1.3 Physical Design of IoT :
The "Things" in IoT usually refers to IoT devices which have unique identities and can
perform remote sensing, actuating and monitoring capabilities.
IoT devices can:
➢ Exchange data with other connected devices and applications (directly or indirectly), or
➢ Collect data from other devices and process the data locally or
➢ Send the data to centralized servers or cloud-based application back-ends for processing the
data,
➢ Perform some tasks locally and other tasks within the IoT infrastructure, based on
temporal and space constraints
➢ Refers to IoT devices which have unique identities that can perform sensing, actuating
and monitoring capabilities.
JEEVAN YANDA 8
Fundamentals of Internet of Things
JEEVAN YANDA 9
Fundamentals of Internet of Things
The process of creating physical actions based on the information gathered by sensors. Actuators
are transducers that convert electrical signals into physical actions.
Types of actuators
Some examples of actuators include hydraulic actuators, pneumatic actuators,
and servo motors
Here are some more details about sensing and actuation in IoT:
Transduction
The process of converting one form of energy into another. Sensors and actuators are both
transducers.
Control center
In an IoT system, a sensor collects information and sends it to a control center. The control
center uses logic to decide on a command, which is then sent to an actuator.
Applications
IoT sensors and actuators can be used for a variety of applications, such as monitoring crop
health, measuring greenhouse gas emissions, and powering smart supply chains.
1.5.1 Sensors
Generally, sensors are used in the architecture of IOT devices.
Sensors are used for sensing things and devices etc.
A device that provides a usable output in response to a specified measurement.
The sensor attains a physical parameter and converts it into a signal suitable for processing (e.g.
electrical, mechanical, optical) the characteristics of any device or material to detect the presence
of a particular physical quantity.
The output of the sensor is a signal which is converted to a human-readable form like changes in
characteristics, changes in resistance, capacitance, impedance, etc.
JEEVAN YANDA 11
Fundamentals of Internet of Things
➢ First-order system: When the output approaches its final value gradually.
Consists of an energy storage and dissipation element.
➢ Second-order system: Complex output response. The output response of the sensor oscillates
before steady state.
Sensor Classification :
Passive & Active
Analog & digital
Scalar & vector
1. Passive Sensor
Can not independently sense the input. Ex- Accelerometer, soil moisture, water level and
temperature sensors.
2. Active Sensor
Independently sense the input. Example- Radar, sounder and laser altimeter sensors.
3. Analog Sensor
The response or output of the sensor is some continuous function of its input parameter. Ex-
Temperature sensor, LDR, analog pressure sensor and analog hall effect.
4. Digital sensor
Response in binary nature. Design to overcome the disadvantages of analog sensors. Along
with the analog sensor, it also comprises extra electronics for bit conversion. Example –
Passive infrared (PIR) sensor and digital temperature sensor(DS1620).
5. Scalar sensor
Detects the input parameter only based on its magnitude. The answer for the sensor is a
function of magnitude of some input parameter. Not affected by the direction of input
parameters.
Example – temperature, gas, strain, color and smoke sensor.
6. Vector sensor
The response of the sensor depends on the magnitude of the direction and orientation of input
parameter. Example – Accelerometer, gyroscope, magnetic field and motion detector sensors.
Types of sensors
Electrical sensor:
Electrical proximity sensors may be contact or non-contact. Simple contact sensors operate
by making the sensor and the component complete an electrical circuit.
Non- contact electrical proximity sensors rely on the electrical principles of either induction
for detecting metals or capacitance for detecting non-metals as well.
Light sensor:
Light sensor is also known as photo sensors and one of the important sensor.
Light dependent resistor or LDR is a simple light sensor available today.
The property of LDR is that its resistance is inversely proportional to the intensity of the
ambient light i.e when the intensity of light increases, it’s resistance decreases and vise
versa.
JEEVAN YANDA 12
Fundamentals of Internet of Things
Touch sensor:
Detection of something like a touch of finger or a stylus is known as touch sensor.
It’s name suggests that detection of something.
They are classified into two types:
1. Resistive type
2. Capacitive type
Today almost all modern touch sensors are of capacitive types.
Because they are more accurate and have better signal to noise ratio.
Range sensing:
Range sensing concerns detecting how near or far a component is from the sensing position,
although they can also be used as proximity sensors.
Distance or range sensors use non-contact analog techniques. Short range sensing, between
a few millimetres and a few hundred millimetres is carried out using electrical capacitance,
inductance and magnetic technique. Longer range sensing is carried out using transmitted
energy waves of various types eg radio waves, sound waves and lasers.
Mechanical sensor:
Any suitable mechanical / electrical switch may be adopted but because a certain amount
of force is required to operate a mechanical switch it is common to use micro-switches.
Pneumatic sensor:
These proximity sensors operate by breaking or disturbing an air flow.
The pneumatic proximity sensor is an example of a contact type sensor. These cannot be
used where light components may be blown away.
Optical sensor:
In there simplest form, optical proximity sensors operate by breaking a light beam which
falls onto a light sensitive device such as a photocell. These are examples of non contact
sensors. Care must be exercised with the lighting environment of these sensors for example
optical sensors can be blinded by flashes from arc welding processes, airborne dust and
smoke clouds may impede light transmission etc.
Speed Sensor:
Sensor used for detecting the speed of any object or vehicle which is in motion is known as
speed sensor .For example – Wind Speed Sensors, Speedometer ,UDAR ,Ground Speed
Radar .
Temperature Sensor:
Devices which monitors and tracks the temperature and gives temperature’s measurement
as an electrical signal are termed as temperature sensors .These electrical signals will be in
the form of voltage and is directly proportional to the temperature measurement .
PIR Sensor:
PIR stands for passive infrared sensor and it is an electronic sensor that is used for the
tracking and measurement of infrared (IR) light radiating from objects in its field of view
and is also known as Pyroelectric sensor .It is mainly used for detecting human motion and
movement detection .
Ultrasonic Sensor:
JEEVAN YANDA 13
Fundamentals of Internet of Things
The principle of ultrasonic sensor is similar to the working principle of SONAR or RADAR
in which the interpretation of echoes from radio or sound waves to evaluate the attributes
of a target by generating the high frequency sound waves .
1.5.2 Actuator
An IoT device is made up of a Physical object (“thing”) + Controller (“brain”) + Sensors +
Actuators + Networks (Internet). An actuator is a machine component or system that moves or
controls the mechanism of the system. Sensors in the device sense the environment, then control
signals are generated for the actuators according to the actions needed to perform.
A servo motor is an example of an actuator. They are linear or rotatory actuators, can move to a
given specified angular or linear position. We can use servo motors for IoT applications and
make the motor rotate to 90 degrees, 180 degrees, etc., as per our need.
The following diagram shows what actuators do, the controller directs the actuator based on the
sensor data to do the work.
JEEVAN YANDA 15
Fundamentals of Internet of Things
devices while the range is not a problem. On the other hand, non-IP networks demand
comparatively less power and memory but have a range limitation.
As far as the IoT communication protocols or technologies are concerned, a mix of both IP
and non-IP networks can be considered depending on usage.
Fig 1.5 shows Four Layer of IoT Protocol
1. Link Layer
2. Network Layer
3. Transport Layer
4. Application Layer
1. Link Layer:
In computer networking, the link layer is the lowest layer in the Internet protocol suite, the
networking architecture of the Internet.
The link layer is the group of methods and communications protocols confined to the link that a host
is physically connected to. The link is the physical and logical network component used to
interconnect hosts or nodes in the network and a link protocol is a suite of methods and standards
that operate only between adjacent network nodes of a network segment.
JEEVAN YANDA 16
Fundamentals of Internet of Things
Ethernet Standard
WiFi Standard
WiMax Standard
S.No Standard Data Rate
1 2G GSM-CDMA
3 4G LTE
The above Table 1.1 shows the different method of link layer with different standards.
For Ethernet method Data Rates are provided from 10Gbit/s to 40Gb/s and higher. Collection
of Wireless LAN Data Rates from 1Mb/s to 6.75 Gb/s. Collection of Wireless Broadband
standards Data Rates from 1.5Mb/s to 1 Gb/s. LR-WPAN: Collection of standards for
low-rate wireless personal area networks, Basis for high level communication protocols such
as Zigbee, Data Rates from 40Kb/s to 250Kb/s. 2G/3G/4G
Mobile Communication: Data Rates from 9.6Kb/s (for 2G) to up to 100Mb/s (for 4G).
JEEVAN YANDA 17
Fundamentals of Internet of Things
2. Network/Internet Layer:
The internet layer is a group of internetworking methods, protocols, and specifications in
the Internet protocol suite that are used to transport network packets from the originating host
across network boundaries; if necessary, to the destination host specified by an IP address. The
internet layer derives its name from its function facilitating internetworking, which is the
concept of connecting multiple networks with each other through gateways.
➢ Responsible for sending of IP datagrams from source to destination network
➢ Performs the host addressing and packet routing
➢ Host identification is done using hierarchical IP addressing schemes such as
IPV4 or IPV6
3. Transport Layer:
In computer networking, the transport layer is a conceptual division of methods in the
layered architecture of protocols in the network stack in the Internet protocol suite and the OSI
model. The protocols of this layer provide host-to-host communication services for
applications. It provides services such as connection-oriented communication, reliability, flow
control, and multiplexing.
The best-known transport protocol of the Internet protocol suite is the Transmission
Control Protocol (TCP). It is used for connection-oriented transmissions, whereas the
connectionless User Datagram Protocol (UDP) is used for simpler messaging transmissions.
➢ Provide end-to-end message transfer capability independent of the underlying network
➢ It provides functions such as error control, segmentation, flow-control and
congestion control
Transmission Control Protocol (TCP):
➢ Connection Oriented
➢ Ensures Reliable transmission
➢ Provides Error Detection Capability to ensure no duplicacy of packets and retransmit
lost packets
➢ Flow Control capability to ensure the sending data rate is not too high for the
receiver process
➢ Congestion control capability helps in avoiding congestion which leads to degradation
of n/w performance
4. Application Layer:
An application layer is an abstraction layer that specifies the shared communications protocols
and interface methods used by hosts in a communications network. The application layer
abstraction is used in both of the standard models of computer networking: the Internet
Protocol Suite (TCP/IP) and the OSI model. Although both models use the same term for their
respective highest level layer,
User Datagram Protocol (UDP):
➢ Connectionless
➢ Does not ensures Reliable transmission
➢ Does not do connection before transmitting
JEEVAN YANDA 18
Fundamentals of Internet of Things
➢ Does not provide proper ordering of messages
➢ Transaction oriented and stateless
the detailed definitions and purposes are different.
Hyper Transfer Protocol:
➢ Forms foundation of World Wide Web(WWW)
➢ Includes commands such as GET,PUT, POST, HEAD, OPTIONS, TRACE..etc
➢ Follows a request-response model
➢ Uses Universal Resource Identifiers(URIs) to identify HTTP
Web transfer protocol for IoT and uses request-response model
Uses client –server architecture
XMPP:
➢ Extensible messaging and presence protocol, For R e a l - t i m e communication and
streaming XML data between n/w entities, Used for Applications such as Multi-
party chat and voice/video calls.
JEEVAN YANDA 20
Fundamentals of Internet of Things
JEEVAN YANDA 21