0% found this document useful (0 votes)
24 views

Module-1 IOT

The document outlines an Internet of Things course covering topics such as sensors, embedded platforms, networking, cloud computing, and IoT applications. The course aims to enable students to design IoT prototypes using platforms like Arduino and Raspberry Pi, connect devices to the cloud, and evaluate IoT case studies. Students will be evaluated through assignments, quizzes, presentations, prototypes, class performance, midterm and final exams.

Uploaded by

ankita81123singh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views

Module-1 IOT

The document outlines an Internet of Things course covering topics such as sensors, embedded platforms, networking, cloud computing, and IoT applications. The course aims to enable students to design IoT prototypes using platforms like Arduino and Raspberry Pi, connect devices to the cloud, and evaluate IoT case studies. Students will be evaluated through assignments, quizzes, presentations, prototypes, class performance, midterm and final exams.

Uploaded by

ankita81123singh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 112

Internet of Things

Course Instructor: Akshaya K pati


Modules
1. Introduction & Overview of IoT
2. Sensors, Actuators & Signal Conditioning
3. Embedded Platforms & Prototyping
4. Advanced Embedded Development Platforms
5. Data Communication & Networking
6. Cloud, Analytics & UI
7. IoT Applications
Course Outcomes

• CO1. Differentiate, compare and contrast various MPU and MCU based embedded development platform for
development of IoT prototypes and select suitable network interfaces for cloud connection.
• CO2. Identify application specific need of suitable sensors and actuators by analyzing the working of various
sensors. Further they can calculate the parameters related to sensors based on design requirements.
• CO3. Design application specific IoT prototypes based on Arduino platform by means of hardware interfaces like
Digital IO, Analog In, PWM, UART, SPI and I2C and develop software using Arduino IDE.
• CO4. Design application specific IoT prototypes based on Raspberry Pi Family development boards and develop
software using python in Linux environment.
• CO5. Select suitable TCP/IP protocols and networking standards for development of IoT projects. In addition to
that they can apply the concept of addressing: MAC, IP, Socket address to program and design suitable IoT &
cloud networks.
• CO6. Design IoT application based on Client Server Model, HTTP, ThingSpeak, AWS, CloudMQTT and evaluate
the design specifications and requirements from various case studies in the context of IoT product development
life-cycle
Evaluation Process
1. Assignment: 8 Marks( 2 Nos.)
2. Quiz: 8 Marks (2 Nos.)
3. Presentation with Simulation: 7 Marks
4. Prototype: 3 Marks
5. Class Performance: 4 Marks
6. MidSem: 20 Marks
7. EndSem: 50 Marks

School of Electronics ; KIIT Deemed to be University


Definition of IoT:
ITU-T Definition: A global infrastructure for the information society,
enabling advanced services by interconnecting (physical and virtual) things
based on existing and evolving interoperable information and
communication technologies.
IEEE definition: A network of items – each embedded with sensors – which
are connected to the Internet.

The Internet of Things (IoT) refers to the network of physical devices and
other objects that are embedded with sensors, software, and connectivity,
enabling them to collect and exchange data over the internet.
A smart Fridge can do it
• You are leaving the home (sense user)
• There’s no milk in fridge (sense object)
• Use this information to make a decision (process)
• Inform user of decision (communicate)
Definition of IoT:

Physical object (“thing”)


+
Controller (“brain”)
+
Sensors
+
Actuators
+
Networks (Internet)
History of IoT
• The year 1999 was easily one of the most significant for the IoT history, as Kevin
Ashton coined the term “the internet of things.” A visionary technologist, Ashton
was giving a presentation for Procter & Gamble where he described IoT as a
technology that connected several devices with the help of RFID tags for supply
chain management. He specifically used the word “internet” in the title of his
presentation in order to draw the audience’s attention since the internet was just
becoming a big deal that time. While his idea of RFID-based device connectivity
differs from today’s IP based IoT, Ashton’s breakthrough played an essential role in
the internet of things history and technological development overall

School of Electronics ; KIIT Deemed to be University


Scenario #1: IoT in your
home
• Imagine you wake up at 7am every day to go to work. Your alarm clock does the job of waking
you just fine. That is, until something goes wrong. Your train’s cancelled and you have to drive
to work instead. The only problem is that it takes longer to drive, and you would have needed
to get up at 6.45am to avoid being late. Oh, and it’s pouring with rain, so you’ll need to drive
slower than usual. A connected or IoT-enabled alarm clock would reset itself based on all
these factors, to ensure you got to work on time. It could recognize that your usual train is
cancelled, calculate the driving distance and travel time for your alternative route to work,
check the weather and factor in slower travelling speed because of heavy rain, and calculate
when it needs to wake you up so you’re not late. If it’s super-smart, if might even sync with
your IoT-enabled coffee maker, to ensure your morning caffeine’s ready to go when you get up.

School of Electronics ; KIIT Deemed to be University


Scenario #2: IoT in transport
Having been woken by your smart alarm, you’re now driving to work. On comes the
engine light. You’d rather not head straight to the garage, but what if it’s something
urgent? In a connected car, the sensor that triggered the check engine light would
communicate with others in the car. A component called the diagnostic bus collects
data from these sensors and passes it to a gateway in the car, which sends the most
relevant information to the manufacturer’s platform. The manufacturer can use data
from the car to offer you an appointment to get the part fixed, send you directions to
the nearest dealer, and make sure the correct replacement part is ordered so it’s
ready for you when you show up.

School of Electronics ; KIIT Deemed to be University


• The basic idea of IoT can be conceived as a representation of various As and Cs, the As
reflect the concept of ubiquity or globalization (i.e. any device, anywhere, anytime, any
network etc.) and the Cs mirror the main characteristics of IoT (i.e. connectivity,
computing, convergence, etc.). IoT, in essence, can be seen as an addition of the third
dimension named “Thing” to the plane of ICT world, which is fundamentally based on
two dimensions of Place and Time

School of Electronics ; KIIT Deemed to be University


• Formally IoT was introduced by the International Telecommunication Union (ITU) in
the ITU Internet report in 2005 ).
• ITU-T Definition: A global infrastructure for the information society, enabling
advanced services by interconnecting (physical and virtual) things based on existing
and evolving interoperable information and communication technologies.
• IEEE definition: A network of items – each embedded with sensors – which are
connected to the Internet.
• European Commission: The IoT is the network of physical objects that contain
embedded technology to communicate and sense or interact with their internal
states or the external environment
School of Electronics ; KIIT Deemed to be University
School of Electronics ; KIIT Deemed to be University
Things: A real/physical or digital/virtual entity that exists and moves in space and time and is capable
of being identified. Things are commonly identified either by assigned identification numbers, names
and location addresses.
A thing in the internet of things can be a person with a heart monitor implant, a farm animal with a
biochip transponder, an automobile that has built-in sensors to alert the driver when tire pressure is
low or any other natural or man-made object that can be assigned an IP address and is able to
transfer data over a network.
Physical things exist in the physical world and are capable of being sensed, actuated and connected.
Examples of physical things include the surrounding environment, industrial robots, goods and
electrical equipment.
Virtual things exist in the information world and are capable of being stored, processed and accessed.
Examples of virtual things include multimedia content and application software
• Those object capable of connecting to the Internet will fall into the “Things” category

School of Electronics ; KIIT Deemed to be University


Definition:
• 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 virtual personalities and
use intelligent interfaces, and are seamlessly integrated into the information
network, often communicate data associated with users and their environments.
Characteristic of IoT
Features of IOT Device

School of Electronics ; KIIT Deemed to be University


Why IoT has high growth in today’s era

1. Growth of communication technology


2. Growth of computational infrastructure
3. Improvement of VLSI technology
4. Economical
5. Data analytics
6. Smartness

School of Electronics ; KIIT Deemed to be University


IoT Market Growth

School of Electronics ; KIIT Deemed to be University


Applications of IoT
School of Electronics ; KIIT Deemed to be University
Challenges in IoT

School of Electronics ; KIIT Deemed to be University


Pros and Cons of IoT

School of Electronics ; KIIT Deemed to be University


SWOT Analysis of IoT
Strength of IoT:
Portability
Scalability: real-time connectivity of billions of devices.
 Unlimited functionality.
Weakness of IoT
 Dependency on Internet (network outage).
Dependency on electricity (electricity outage).
Security.
Opportunities of IoT
 A new field for a startup company.
Business consulting.
Threats of IoT
Social isolation.
Dependency on machines may reduce human abilities
 Regulations.
School of Electronics ; KIIT Deemed to be University
Simple IOT Example
Sensors can monitor and track any changes. Arduino as a controller can analyze and take decisions which can
be sent using mobile 4G communications from place1 to place2, where another Arduino controllers can analyze
the commands and send actions to the actuators

Amazon Echo Dot

School of Electronics ; KIIT Deemed to be University


School of Electronics ; KIIT Deemed to be University
School of Electronics ; KIIT Deemed to be University
Things:
• These form the front end of the IoT devices. These are the so-called “Things” of
the system. Their main purpose is to collect data from its surroundings
(sensors) or give out data to its surrounding (actuators).
• These have to be uniquely identifiable devices with a unique IP address so that
they can be easily identifiable over a large network.
• These have to be active in nature which means that they should be able to
collect real-time data. These can either work on their own (autonomous in
nature) or can be made to work by the user depending on their needs (user-
controlled).
• Examples of sensors are gas sensor, water quality sensor, moisture sensor, etc.

School of Electronics ; KIIT Deemed to be University


IOT Thing/ Device

• A typical node consists of seven basic modules


• The number of modules used by a node will depend
on the configuration of a node which depends on the
application requirements.
• The input module consists of a set of sensors used to
gather data from different physical environments.
• The electrical signal output of sensor module are
passed on to the signal conditioning module which
may contain different submodules such as the
amplifier, noise remover and signal conditioning
circuits.
• The conditioned signals are then fed to a A Generic Architecture of IoT
microcontroller through an A/D (analog to digital)
converter.
School of Electronics ; KIIT Deemed to be University
Sensors

• Application wise, the sensors can be five senses (visual, touch, smell, taste, auditory)

School of Electronics ; KIIT Deemed to be University


School of Electronics ; KIIT Deemed to be University
Generic block diagram of an IoT Device
• An IoT device may consist of
several interfaces for
connections to other devices,
both wired and wireless.
• I/O interfaces for sensors
• Interfaces for Internet
connectivity
• Memory and storage interfaces
• Audio/video interfaces.

School of Electronics ; KIIT Deemed to be University


• These devices are available in different forms:
• a. Microcontroller units (MCUs)
• b. Microcontroller development boards
• c. Single board computer (SBC)
Microcontroller units Microcontroller development boards Single board computer (SBC)

PIC16F886-I/SO from Microchip Arduino Uno Raspberry Pi 3b


ATMEGA328P-MU from Atmel Particle Photon Asus tinker board

STM32F103C8T6 from ST Adrafruit Flora Qualcomm Dragonboard


Microelectronics
MSP430G2402IN20 from Texas LightBlue Bean Raspberry Pi Zero W
Instruments
pcDuino Rock64 Media board
Beagle Bone ODROID-XU4
Intel Galileo Orange Pi PC 2
School of Electronics ; KIIT Deemed to be University
Gateway:
• An IoT Gateway is a solution for enabling IoT communication, usually device -to-device
communications or device-to-cloud communications. The gateway is typically a hardware
device housing application software that performs essential tasks. At its most basic level, the
gateway facilitates the connections between different data sources and destinations.
• IoT Gateway manages the bidirectional data traffic between different networks
and protocols.
• The gateway is used to translate different network protocols and make sure interoperability
of the connected devices and sensors.
• It perform pre-processing of the collected data from thousands of sensors locally before
transmitting it to the next stage.
• It acts as a middle layer between devices and cloud to protect the system from malicious
attacks and unauthorized access

School of Electronics ; KIIT Deemed to be University


IOT Gateway

Functions of Gateway:
1. Communication With The Cloud
2. Route the traffic
3. Support of multiple transfer protocols
4. Isolation of sensor nodes
5. Aggregation and preprocessing of the data
6. Security
7. Local storage of data

Source: https://sumatosoft.com/blog/what-is-an-internet-of-things-iot-gateway-functions-types-examples
School of Electronics ; KIIT Deemed to be University
Cloud: It is a sophisticated high performance network of servers optimized to
perform high speed data processing of billions of devices, traffic management and
deliver accurate analytics. It collect, process, manage and store huge amount of
data in real time.

Analytic: Analytics is the process of converting analog data from billions of smart
devices and sensors into useful insights which can be interpreted and used for
detailed analysis.
User interface: User interfaces are the visible, tangible part of the IoT system which
can be accessible by users. Designers will have to make sure a well designed user
interface for minimum effort for users and encourage more interactions.

School of Electronics ; KIIT Deemed to be University


Four pillars of iot
• Sensor and Actuators
• Processors/Controllers Development Boards
• Network/ Protocol
• Cloud & Data Analytics

School of Electronics ; KIIT Deemed to be University


School of Electronics ; KIIT Deemed to be University
School of Electronics ; KIIT Deemed to be University
• Suppose you reached your office and remembered that you may forget to turn off the
AC. So you can check on your smartphone, how much the room temperature.

• Now you want to turn off the Air conditioner and give command from your
smartphone. Now data will flow as per the below diagram. Here sensor does no work,
the actuator comes into the action. This actuator may be a Relay or contactor.

School of Electronics ; KIIT Deemed to be University


Some open source software for IOT
Several software tools and solutions are used to deploy low-level IoT
applications.
1. Ardublock is an open source visual block programming tool for
Arduino systems
2. Scratch is a visual programming tool, developed at MIT, for IoT code
generation and communication with Arduino-based IoT products
3. NetLab is an open source environment for developing embedded
systems

Source: IoT-Enabled Smart Cities: A Review of Concepts, Frameworks and Key Technologies

School of Electronics ; KIIT Deemed to be University


Block diagram of a smart home system.

Source: Internet of Things: Architectures, Protocols, and Applications


School of Electronics ; KIIT Deemed to be University
Source: IoT-Enabled Smart Cities: A Review of Concepts, Frameworks and Key Technologies
School of Electronics ; KIIT Deemed to be University
Source: Internet of Things: Architectures, Protocols, and Applications
School of Electronics ; KIIT Deemed to be University
IoT System Architecture
• Every IoT device follows a generic architecture.
• It can be considered to be a multi-technology system
encompassing electrical, electronic, communications
and software engineering techniques
• The communication network acts as a glue which
binds different sub-systems, allowing
implementation of information collection and
processing capabilities.
• IoT communication network differ from standard
industrial network as:
IoT networks need to serve a large number of
devices distributed over wide geographical areas
nodes will generally generate short bursts of
information where the information generation
pattern could be quite diverse.

School of Electronics ; KIIT Deemed to be University


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, or
Perform some tasks locally and other tasks within the IoT infrastructure, based on
temporal and space constraints(i.e. memory, processing capabilities, communication
latency etc.)

School of Electronics ; KIIT Deemed to be University


• To design the IoT following points to be considered
1. How to serve a large number of devices over large geographical areas where the
end devices are energy constrained devices.
2. How all IoT sensor information could be delivered to the destinations by
maintaining their necessary quality of service(QoS) requirements.
3. Interoperable, so that devices from different vendors can cooperate to achieve
common goals;
4. Secure so as not to allow unauthorized access.
• In an IoT network, the information generated by the source nodes will transmit the
material using appropriate protocols, communication links and network
infrastructure

School of Electronics ; KIIT Deemed to be University


• The microcontroller/processor module implements partly or full IoT algorithms which
work on the collected data to generate output data which is either stored in the
storage module or transmitted to another network entity using the wireless interface.
• An IoT node can also act as an actuator where it may receive data from another
network entity or a cloud server using the wireless interface.
• The received data is passed through the necessary algorithm using the local processor
and then passed to the signal conditioning module through a D/A (digital-to-analog)
converter
• The signal conditioning module, after applying necessary modifications, pass the signal
to the actuator module to control the connected devices.
• The energy source used in the node power all the modules.

School of Electronics ; KIIT Deemed to be University


IoT Architecture Layer
• In the Internet, communication is based on a layering stack of TCP/IP protocols.
Similarly, the IoT paradigm is a multilayer technology that supports meaningful
communication of billions of smart things equipped with a processor, sensor/actuator,
and communicator.
• A number of IoT architectures have been proposed in the literature. These architectures
are varied not only with each other’s functionalities but also in technical terminologies.
• Such layered architectures are:
Three‐layer IoT architecture
Four-Layer IOT Architecture
Five‐layer IoT architecture
Six‐layer IoT architecture
Seven‐layer architecture

School of Electronics ; KIIT Deemed to be University


Its main feature is to deliver the specific service based on the application
type to the user

The feature of the layer is to enable the transmission and processing of the
information with internet connectivity of the various devices.

The features of this layer would be the sensing capability, it collects and gathers the
information about the environment where smart objects are available

Three Layer

School of Electronics ; KIIT Deemed to be University


Perception Layer: The perception layer at the bottom of IoT architecture is responsible for the
collection of various types of information through physical sensors or components of smart
things (i.e. RFID, sensors, objects with RFID tags or sensors, etc.). Moreover, the perception
layer transmits the processed information to the upper network layer via service interfaces

the perception layer may have the


following features:
• Communication
• Identification
• Addressibilty
• Sensing and Actuation
• Embedded information processing
• Localization
• User Interface

School of Electronics ; KIIT Deemed to be University


• Network Layer: The middle layer in three‐layer IoT architecture is Network (also
known as transmission) layer. The network layer accepts processed information from
the perception layer and forward the received data to distant application interface(s)
by using integrated networks, the Internet and other communication technologies.
• Application Layer: The application layer at the top of the three‐layer IoT architecture
is responsible for the provisioning of services requested by the users, e.g.
temperature, moisture, humidity, air pressure, light intensity measurements, etc. In
addition to the user‐requested services, the application layer provides data services
(i.e. Data warehousing, BigData storage, data mining, etc.) to perform semantic data
analysis.
• This layer includes all the software necessary to offer a specific service

School of Electronics ; KIIT Deemed to be University


Service-Oriented Based Architecture or Four Layer Architecture:

• It is extending the three-layer architecture, adding a new layer


between network layer and application layer, called service layer,
which provide services to support the application layer
• The service layer consists of service discovery, service
composition, service management, and service interfaces.
• Service discovery is used to discover the service requests;
• service composition is used to interact with the connected
objects and integrate services to get the requests in an efficient
way;
• service management is used to manage and determine the trust
mechanisms to understand the service requests;
• service interfaces are used to support interactions among all
provided services.

School of Electronics ; KIIT Deemed to be University


School of Electronics ; KIIT Deemed to be University
Five-Layer Architecture or Middleware Architecture
• Object (Perception), Object Abstraction (Network), Service
Management (middleware), Application, and Business are the names
of the five layers in five‐layer IoT architecture
• Service Management (Middleware) Layer: The smart things in IoT
implement a diverse range of services, and each smart thing is
connected and capable to communicate with smart objects that have
implemented the same type of services. The service management
layer provides pairing of services with its requesters’ applications and
enables IoT application programmers to deal with heterogeneous
data created by smart things with different hardware specifications.
This layer includes the processing of received data before
transmitting to the application layer.
• Business Layer: The business layer is responsible to manage overall
activities/services of the IoT system through the creation of
flowcharts, business models, and graphs on received processed data
from the application layer. In addition, based on BigData analysis, this
layer supports automatic decision‐making as well as the making of
smart business strategies

School of Electronics ; KIIT Deemed to be University


Complete IoT Module

Source: https://www.hindawi.com/journals/jece/2017/9324035/ School of Electronics ; KIIT Deemed to be University


School of Electronics ; KIIT Deemed to be University
Smart Objects(SO) :
• An SO is an autonomous, physical digital object augmented with
sensing/actuating, processing, storing, and networking capabilities.
• SOs are able to sense/actuate, store, and interpret information created
within themselves and around the neighboring external world where they
are situated, act on their own, cooperate with each other, and exchange
information with other kinds of electronic devices and human users.
• Their importance resides in the capabilities they have to make physical
environments ‘‘smart’’ so as to provide novel cyber-physical services to
people.

School of Electronics ; KIIT Deemed to be University


Smart Objects
• Smart objects are the fundamental blocks on which the IoT is equipped with sensors
and computing capabilities. In general, smart objects are equipped with the following
essential properties:
Communication: objects can connect to each other and to resources on the Internet to
use data and services, update their status, and cooperate to achieve common goals;
Identification: objects must be uniquely identified
Addressability: objects can be directly reachable, i.e., addressed, to be interrogated
and/or configured remotely
Sensing and actuation: objects can collect information about the surrounding world
and manipulate it through the use of sensors and actuators
Embedded information processing: the smart objects are equipped with calculation
capabilities to process the results of the sensors and drive the actuators
Localization: objects are aware of their physical location or can be located;
User interface: objects can communicate appropriately with users via displays or other
interfaces.
School of Electronics ; KIIT Deemed to be University
Components of Smart Object

School of Electronics ; KIIT Deemed to be University


School of Electronics ; KIIT Deemed to be University
Trends in Smart Object:

• Size is decreasing
• Power consumption is decreasing
• Processing power is increasing
• Communication capabilities are improving
• Communication is being increasingly standardized

School of Electronics ; KIIT Deemed to be University


Over-view of Embedded System:
“An embedded system is also a system that has embedded software and
computer-hardware which makes a system dedicated for an application or
specific part of application or product or part of larger system”
“It is device that includes a programmable computer but it itself is not
intended to a general purpose computer”
“Embedded system are electronic system that contains microprocessor or
microcontroller, but don’t think them as computer, the computer is hidden
or embedded to the system”
“An embedded system is a microcontroller based, software driven, reliable,
real-time control system, autonomous, or human or network interactive,
operating on diverse physical variable and diverse environment, and sold
into competitive and cost conscious market.”

02/25/2024 School of Electronics Engineering, KIIT DU, Bhubaneswar-24


• An embedded system is everywhere around us like remote controls, washing
machines, microwave ovens, RFID tags, sensors, actuators, and thermostats used in
various applications, networking hardware such as switches, routers, modems, mobile
phones, PDAs, etc.
• Because of their extraordinary characteristics and features such as real-time
computing, low power consumption, low maintenance, and high availability are
becoming the key enabler of IoT.
• To increase the role of embedded systems in IoT, it demands a different set of
microprocessors, drivers, peripherals, batteries, and operating systems than
conventional Embedded System utilized in general-purpose computing systems.
• Conventional Embedded Systems are not equipped well enough to deliver what the
IoT is expecting from an embedded device networked in IoT and it brings great
challenges to develop or transform the contemporary embedded systems into an IoT
enabled smart embedded system.

School of Electronics ; KIIT Deemed to be University


• Embedded systems are a subset of the Internet of Things (IoT)
• IoT is an integration that can have many connectivity options and
devices; however, IoT has nothing to do with technical specifications.
• IoT includes embedded technology, network technology, and
information technology.
• Embedded systems can become part of the IoT infrastructure when you
connect them to network technology and information technology
infrastructure.
• IoT can be constantly programmatically updated according to the
environment.
• Embedded systems do not introduce privacy and security concerns into
devices because they are not able to transmit data on their own.

School of Electronics ; KIIT Deemed to be University


• The Internet of Things products can be used for home automation, and the embedded systems
are within the products networked together to automate and control air conditioning, heating,
etc. So the embedded system as any electronic device that assists to solve a specific problem:
• mobile phones
• microwaves
• coffee machines
• fridges
• air conditioning
• traffic lights
• remote controls
• Electronic Voting Machine
• Embedded systems are usually small software programs with few functions, embedded into the
item, and that can not be changed once the item leaves the factory. An embedded system can
be linked to the Internet of Things if it has been programmed to connect to the internet.

School of Electronics ; KIIT Deemed to be University


Features of Embedded System:
 Dependability
 Single-functioned (dedicated System)
 Executes a single program, repeatedly
 Tightly-constrained (Efficient)
 Low cost, low power, small, fast, etc.
 Reactive and real-time
 Continually reacts to changes in the system’s environment
 Must compute certain results in real-time without delay

School of Electronics ; KIIT Deemed to be University


• A typical embedded system that includes a microcontroller, inputs/outputs,
and communication interfaces.

Microcontroller: It is brain of an embedded system, which performs


all the operations. A microcontroller is a computer processor with
memory and all input/output peripherals on it.

Inputs: An embedded system interacts with the outside world


through its inputs and outputs. Inputs can be digital inputs or
analog inputs. Inputs are typically used for reading data from
sensors (temperature sensor, light sensor, ultrasound sensor, etc.)
or other types of input devices (keys, buttons, etc.).
A Typical Embedded System
Communication Interface: An embedded system communicates
with other devices using communication interfaces, which includes
Ethernet, USB (Universal Serial Bus), CAN (Controller Area
Network), Infrared, ZigBee, WiFi and Bluetooth
School of Electronics ; KIIT Deemed to be University
Microcontrollers and Microprocessors
• The heart of embedded systems are microcontrollers. Although there are embedded
systems built on microprocessors, modern embedded systems are largely based on
microcontrollers.
• A typical microcontroller contains a central processing unit (CPU), interrupts,
timer/counter, memory, and other peripherals, all in a single integrated circuit (IC).
• A microcontroller is a true computer on a chip or system‐on‐a‐chip (SoC).

School of Electronics ; KIIT Deemed to be University


• Microcontrollers are designed for control applications and are generally used in
embedded systems.
• They have relatively low computational capacity and can perform single or very
few tasks.
• Microcontrollers have relatively low clock frequency, usually in the order of
megahertz.
• Microcontrollers consume less power and have no need for a cooling system.

School of Electronics ; KIIT Deemed to be University


Embedded processors (MicroControllers )
• Programmed once by manufacturer of system
• Executes a single program (or a limited suite) with few parameters
• Task-specific
• can be optimized for specific application
• Interacts with environment in many ways
• direct sensing and control of signal wires
• communication protocols to environment and other devices
• real-time interactions and constraints
Difference between Microprocessor and Microcontroller
• A microprocessor is a single IC with only a central processing unit (CPU) on it. In order
to make it functional, you will need to add external memory and other peripheral
devices.
• Microprocessors are mainly used in general‐purpose systems like personal computers.
They have relatively high computational capacity and can perform numerous tasks.
• Microprocessors have relatively high clock frequency, usually in the order of gigahertz.
It generally consume more power and often require external cooling system.

School of Electronics ; KIIT Deemed to be University


Advantage and Disadvantages of ES
• Advantages:
• Smaller Size
• Smaller Weight
• Lower Power Consumption
• Lower Electromagnetic Interference
• Lower Price
• Disadvantages:
• Lower Mean Time Between Failure
• Repair and Maintenance is not possible
• Faster Obsolesce
• Unmanageable Heat Loss
• Difficult to Design

School of Electronics ; KIIT Deemed to be University


Difference between IOT and Embedded System

School of Electronics ; KIIT Deemed to be University


School of Electronics ; KIIT Deemed to be University
System on Chip
• It is typically applied to more complex chips. Smartphone processors are a
classic example of an SoC but complex platforms are built for a range of
applications, including multimedia and automotive.
• The NXP S32V234 is an SoC—a vision processor for automotive
applications. It includes four ARM Cortex-A53 CPUs with SIMD instructions,
two ARM Cortex-M4 CPUs, a vision accelerator, GPU, image sensor
processor, image sensor interfaces, and support for safety and security.

School of Electronics ; KIIT Deemed to be University


OSI Layer
• The intercommunication between hosts in any computer network, be it a large-
scale or a small-scale one, is built upon the premise of various task-specific
layers. Two of the most commonly accepted and used traditional layered
network models are the open systems interconnection developed by the
International Organization of Standardization (ISO-OSI) reference model and
the Internet protocol suite.
• OSI Reference Model - internationally standardised network architecture.
• OSI = Open Systems Interconnection: deals with open systems, i.e. systems
open for communications with other systems.
• The model is based on proposal developed by ISO
• The OSI model describes the method of receiving and transmitting
information in a network
• This model has 7 layers.
7-Layer OSI Model
Layer 7 Application Layer • Layers 1-4 relate to
communications technology.
Layer 6 Presentation Layer
• Layers 5-7 relate to user
Layer 5 Session Layer applications.
Layer 4 Transport Layer

Layer 3 Network Layer

Layer 2 Data Link Layer

Layer 1 Physical Layer

Communications subnet boundary


School of Electronics ; KIIT Deemed to be University
Layer 7: Application Layer
• It is directly accessible by an end-user through software APIs (application program
interfaces) and terminals.
• Applications such as file transfers, FTP (file transfer protocol), e-mails, and other such
operations are initiated from this layer.
• The application layer deals with user authentication, identification of communication
hosts, quality of service, and privacy.
• The protocol data unit associated with this layer is referred to as data.
Layer 6: Presentation Layer
• This layer is a host layer and layer 6 of the OSI model.
• It is mainly responsible for data format conversions and encryption tasks such that the
syntactic compatibility of the data is maintained across the network, for which it is also
referred to as the syntax layer.
• Translates different data representations from the Application layer into uniform
standard format
• It solves compatibility issues in the communication between the application and the
network.
Layer 5: Session Layer
• This is the OSI model’s layer 5 and is a host layer.
• It is responsible for establishing, controlling, and terminating of
communication between networked hosts.
• The session layer sees full utilization during operations such as
remote procedure calls and remote sessions.
• The protocol data unit associated with this layer is referred to as
data.
Layer 4: Transport Layer
• This is layer 4 of the OSI model and is a host layer.
• The transport layer is tasked with end-to-end error recovery and flow control to
achieve a transparent transfer of data between hosts.
• This layer is responsible for keeping track of acknowledgments during variable-length
data transfer between hosts.
• In case of loss of data, or when no acknowledgment is received, the transport layer
ensures that the particular erroneous data segment is re-sent to the receiving host.
• The protocol data unit associated with this layer is referred to as a segment or
datagram.
Layer 3: Network Layer
• This layer is a media layer and layer 3 of the OSI model.
• It provides a means of routing data to various hosts connected to different networks
through logical paths called virtual circuits.
• These logical paths may pass through other intermediate hosts (nodes) before
reaching the actual destination host.
• The primary tasks of this layer include addressing, sequencing of packets, congestion
control, error handling, and Internetworking.
• The protocol data unit associated with this layer is referred to as a packet.
Layer 2: Data Link Layer
• This is a media layer and layer 2 of the OSI model.
• The data link layer is mainly concerned with the establishment and termination of the
connection between two hosts, and the detection and correction of errors during
communication between two or more connected hosts.
• IEEE 802 divides the OSI layer 2 further into two sub-layers: Medium access control
(MAC) and logical link control (LLC).
• MAC is responsible for access control and permissions for connecting networked
devices; whereas LLC is mainly tasked with error checking, flow control, and frame
synchronization.
• The protocol data unit associated with this layer is referred to as a frame.
Layer 1: Physical Layer
• This is a media layer and is also referred to as layer 1 of the OSI model.
• The physical layer is responsible for taking care of the electrical and mechanical
operations of the host at the actual physical level.
• These operations include or deal with issues relating to signal generation, signal
transfer, voltages, the layout of cables, physical port layout, line impedances, and
signal loss.
• This layer is responsible for the topological layout of the network (star, mesh, bus, or
ring), communication mode (simplex, duplex, full duplex), and bit rate control
operations.
• The protocol data unit associated with this layer is referred to as a symbol.
PDU: Protocol Data Unit
School of Electronics ; KIIT Deemed to be University
School of Electronics ; KIIT Deemed to be University
TCP/IP Layer
• The Internet protocol (IP) suite provides only four levels of abstraction:
1) Link layer,
2) Internet layer,
3) transport layer,
4) application layer.

School of Electronics ; KIIT Deemed to be University


Internet Protocols vs OSI

Application
• Explicit Presentation
and session layers
Presentation Application missing in Internet
Protocols
Session
• Data Link and
Transport TCP Network Layers
IP redesigned
Network

Data Link Network Interface

Physical Hardware
• Link Layer: The first and base layer of the TCP/IP protocol suite is also
known as the network interface layer. This layer is synonymous with
the collective physical and data link layer of the OSI model. It enables
the transmission of TCP/IP packets over the physical medium.
• According to its design principles, the link layer is independent of the
medium in use, frame format, and network access, enabling it to be
used with a wide range of technologies such as the Ethernet, wireless
LAN, and the asynchronous transfer mode (ATM).

School of Electronics ; KIIT Deemed to be University


Internet Layer:
• Layer 2 of the TCP/IP protocol suite is somewhat synonymous to the
network layer of the OSI model.
• It is responsible for addressing, address translation, data packaging, data
disassembly and assembly, routing, and packet delivery tracking
operations.
• Some core protocols associated with this layer are address resolution
protocol (ARP), Internet protocol (IP), Internet control message protocol
(ICMP), and Internet group management protocol (IGMP).
• Traditionally, this layer was built upon IPv4, which is gradually shifting to
IPv6, enabling the accommodation of a much more significant number of
addresses and security measures.

School of Electronics ; KIIT Deemed to be University


• Transport Layer: Layer 3 of the TCP/IP protocol suite is functionally
synonymous with the transport layer of the OSI model.
• This layer is tasked with the functions of error control, flow control,
congestion control, segmentation, and addressing in an end-to-end manner;
it is also independent of the underlying network.
• Transmission control protocol (TCP) and user datagram protocol (UDP) are
the core protocols upon which this layer is built, which in turn enables it to
have the choice of providing connection-oriented or connectionless services
between two or more hosts or networked devices.

School of Electronics ; KIIT Deemed to be University


Application Layer:
• The functionalities of the application layer, layer 4, of the TCP/IP protocol
suite are synonymous with the collective functionalities of the OSI model’s
session, presentation, and application layers.
• This layer enables an end-user to access the services of the underlying
layers and defines the protocols for the transfer of data.
• Hypertext transfer protocol (HTTP), file transfer protocol (FTP), simple mail
transfer protocol (SMTP), domain name system (DNS), routing information
protocol (RIP), and simple network management protocol (SNMP) are
some of the core protocols associated with this layer.

School of Electronics ; KIIT Deemed to be University


School of Electronics ; KIIT Deemed to be University
School of Electronics ; KIIT Deemed to be University
Types of IoT
Broadly it is classified into two categories:
1. Industrial IoT; 2. Consumer IoT
• Industrial IOT(IIoT): If the sensors of factory equipment is connected to the internet
through a global network or IP network by following industry specifications
• It generates massive amount of data, so for data analytics as big data, cloud
computing. Machine learning part are required.
• e.g. Efficient management of supply chain
• Consumer IoT: IoT devices are connected to local network like Bluetooth or WiFi

School of Electronics ; KIIT Deemed to be University


Baseline Technologies in IoT
• Machine-to-Machine (M2M) refers to networking of machines/devices for the
purpose of remote monitoring and control and data exchange. Such interactions
occur using cloud infrastructure. M2M offers means for managing devices and device
interactions.

School of Electronics ; KIIT Deemed to be University


Difference between Machine 2 Machine(M2M) and IoT

School of Electronics ; KIIT Deemed to be University


Web of Things(WoT):
• Web of Things refers software architectural styles and programming
patterns that allows real life objects to be a part of world wide web. IoT
integrated with web is known as WoT.
• Web is one of the general applications of internet. Similarly an
application layer is provided by WoT which simplifies the way we deal
with IoT devices.
• It uses the existing web in a better and faster way for the betterment of
humanity.

School of Electronics ; KIIT Deemed to be University


Cyber-Physical System:
Cyber-Physical Systems (CPS) are integrations of computation,
networking, and physical processes. Embedded computers and
networks monitor and control the physical processes, with feedback
loops where physical processes affect computations and vice versa.

School of Electronics ; KIIT Deemed to be University


Difference between Cyber Physical System(CPS) and IoT

School of Electronics ; KIIT Deemed to be University


Applications of IoT:
IoT application in Transport

School of Electronics ; KIIT Deemed to be University


• Improve the traveler experience
• Increase safety
• Reduce congestion and energy use
• Improve operational performance

School of Electronics ; KIIT Deemed to be University


1. Agricultural Drones
2. Livestock Monitoring
3. Smart Greenhouses
4. Soil moisture
5. Weather stations

School of Electronics ; KIIT Deemed to be University


IoT application in Industry
• New product and service
introductions faster
• Increasing production, quality,
uptime
• Mitigating unplanned downtime
• Protecting from cyber threats
• Worker productivity and safety

School of Electronics ; KIIT Deemed to be University


IoT in Home

School of Electronics ; KIIT Deemed to be University


IOT in City

• Smart Surveillance
• Automated transportation
• Smarter energy management
system
• Water distribution
• Urban Security
• Environmental Monitoring

School of Electronics ; KIIT Deemed to be University


IoT application electric grid

School of Electronics ; KIIT Deemed to be University

You might also like