0% found this document useful (0 votes)
8 views41 pages

IoT: Definition, Characteristics, and Framework

Extra IOT notes

Uploaded by

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

IoT: Definition, Characteristics, and Framework

Extra IOT notes

Uploaded by

Vishal Mishra
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

UNIT – 1

Introduction: Definition, Characteristics of IOT

The Internet of Things (IoT) is a modern technological paradigm in which everyday physical objects are
connected to the internet and are able to collect, exchange, and process data. With the help of sensors,
embedded systems, communication modules, and cloud platforms, IoT enables devices to become “smart”
and interact with each other without human intervention.
IoT plays a major role in automation, remote monitoring, real-time decision making, and intelligent control in
various domains such as healthcare, smart homes, transportation, industries, and agriculture.

Definition of IoT

The Internet of Things (IoT) is defined as a network of interconnected physical devices (things) embedded
with sensors, actuators, software, and communication technologies that enable them to collect, exchange, and
act on data over the internet.

In simple terms:
IoT = Devices + Sensors + Connectivity + Data + Intelligence

Characteristics of IoT

Below are the important characteristics of IoT as per RGPV syllabus:

1. Connectivity

IoT devices must be connected to the internet or a local network using technologies like Wi-Fi, Bluetooth,
ZigBee, 4G/5G, LoRa, etc.
Connectivity enables seamless communication and data exchange.

2. Sensing

Sensors detect physical parameters such as temperature, motion, pressure, humidity, light, etc.
This sensing ability makes IoT devices capable of understanding their environment.

3. Intelligence & Data Processing

IoT devices process collected data using embedded processors and sometimes cloud platforms.
They can make decisions automatically (smart decision-making) using analytics or AI.

4. Heterogeneity

IoT supports a wide variety of devices, technologies, communication protocols, and platforms.
Different types of devices work together in one system.

5. Scalability

IoT networks can scale from a few devices (like a home) to billions of devices (smart cities).
It supports large deployments without performance degradation.

6. Dynamic Nature
IoT devices can change their status dynamically—for example, mobile devices moving from one network to
another or sensors turning on/off based on conditions.

7. Security

Since IoT devices handle sensitive data, security is essential.


Authentication, encryption, data protection, and secure communication are required.

8. Self-Configuration

IoT systems can automatically configure themselves with minimal human intervention.
Example: Smart bulbs connecting to home Wi-Fi without manual setup.

9. Real-Time Operation

Most IoT applications require real-time monitoring and response.


Example: Automatic accident alert systems, industrial automation sensors.

10. Energy Efficiency

IoT devices are designed to consume low power, especially battery-operated sensors, to ensure long
operational life.

IOT Conceptual framework

IoT Conceptual Framework (RGPV Notes)

The IoT Conceptual Framework provides a structured way to understand how IoT devices, networks, platforms, and
applications work together to form a complete IoT system.
It defines how data flows, how devices interact, and how services are delivered from the physical world to the digital
world.

It is used to:

 Simplify IoT system design


 Identify components and their roles
 Standardize IoT development
 Enable interoperability between different IoT devices and platforms

Major Components of IoT Conceptual Framework

The framework is typically divided into five major layers, which describe the complete operation of an IoT system:

1. Physical Layer (Device/Sensing Layer)

 This layer includes all sensors, actuators, RFID tags, microcontrollers, and smart objects.
 It is responsible for:
✔ Collecting raw data from the environment
✔ Converting physical parameters into digital signals
✔ Sending data to the network layer
Examples: temperature sensor, motion detector, heart-rate sensor, smart home devices.

2. Network & Communication Layer

 Provides communication between IoT devices and the cloud.


 Handles data transmission using technologies like:
✔ Wi-Fi, Bluetooth, ZigBee
✔ 3G/4G/5G, NB-IoT
✔ LoRaWAN, Ethernet

Responsibilities:

 Routing and addressing of data


 Transmission security
 Network management

3. Middleware / Processing Layer (Service Layer)

 Acts as the brain of the IoT framework.


 Stores and processes data using:
✔ Cloud computing
✔ Edge computing
✔ Big data analytics

Responsibilities:

 Data aggregation
 Data filtering and processing
 Intelligent decision making
 Authentication & authorization
 API management

Platform examples: AWS IoT, Google Cloud IoT, Azure IoT Hub.

4. Application Layer

 This layer defines specific IoT applications that provide services to end users.
 Converts processed data into meaningful output.

Examples:

 Smart homes
 Smart healthcare
 Smart agriculture
 Industrial IoT
 Smart cities

5. Business Layer

 Focuses on business models, revenue generation, and how IoT provides value.
 Defines:
✔ System management
✔ Application strategy
✔ Performance monitoring
✔ Cost analysis
Example:
Analyzing data from smart meters to reduce electricity consumption.

┌────────────────────────────┐

│ Business Layer │

└────────────────────────────┘

┌────────────────────────────┐

│ Application Layer │

└────────────────────────────┘

┌────────────────────────────┐

│ Middleware/Processing │

└────────────────────────────┘

┌────────────────────────────┐

│ Network/Communication Layer │

└────────────────────────────┘

┌────────────────────────────┐

│ Physical/Sensing Layer │

└────────────────────────────┘

Key Importance of IoT Conceptual Framework

 Supports interoperability among different IoT systems


 Ensures a standardized development approach
 Maintains scalability and security
 Helps in designing more efficient and modular IoT architectures
 Guides engineers for system-level thinking

IoT Architectural View


The IoT Architectural View describes how different components of an IoT system are organized and interact to perform
sensing, communication, processing, and service delivery.
It helps engineers understand the data flow, system integration, and functional roles of each part of an IoT ecosystem.

IoT architecture is commonly explained using three major models:

1. 3-Layer Architecture
2. 5-Layer Architecture
3. 7-Layer (IoT-A / ISO) Architecture

RGPV mostly focuses on 3-layer and 5-layer views.

1. Three-Layer IoT Architecture (Basic Model)

This is the simplest and most fundamental IoT architectural view.


It contains three main layers:

(a) Perception Layer (Sensing Layer)

 Acts as the physical layer of IoT


 Includes sensors, actuators, RFID tags, embedded devices
 Functions:
✔ Collect environmental data
✔ Perform local processing
✔ Convert physical signals → digital signals

Examples: temperature sensors, cameras, humidity sensors.

(b) Network Layer (Communication Layer)

 Transfers data from perception layer to the processing unit or cloud.


 Communication technologies:
✔ Wi-Fi, Bluetooth, ZigBee
✔ 3G/4G/5G, LoRaWAN
✔ Ethernet, NFC

Functions:

 Data routing & transmission


 Addressing
 Communication management
 Network security

(c) Application Layer

 Provides services to end users based on processed IoT data.


 Applications:
✔ Smart homes
✔ Healthcare
✔ Smart agriculture
✔ Industrial IoT
✔ Smart cities

Diagram (3-Layer Architecture)

┌───────────────────────┐
│ Application Layer │
└───────────────────────┘
┌───────────────────────┐
│ Network Layer │
└───────────────────────┘
┌───────────────────────┐
│ Perception Layer │
└───────────────────────┘

2. Five-Layer IoT Architecture (Advanced RGPV Model)

To make the architecture clearer, two additional layers are introduced:


Processing Layer and Business Layer.

The five layers are:

(a) Perception Layer

Same as 3-layer model: sensors and actuators gather data.

(b) Transport / Network Layer

Same as before: communication through Wi-Fi, cellular networks, etc.

(c) Processing / Middleware Layer

 Performs data storage, processing & analysis


 Uses cloud computing, big data, edge computing
 Responsibilities:
✔ Data filtering
✔ Aggregation
✔ Decision-making
✔ Device management
✔ Authentication
(d) Application Layer

 Produces smart services for different sectors


 Acts as interface to users

(e) Business Layer

 Defines the business models, service management, and system performance


 Provides:
✔ User privacy management
✔ Billing
✔ Application lifecycle management
✔ Business decisions

Diagram (5-Layer Architecture)

┌──────────────────────┐
│ Business Layer │
└──────────────────────┘
┌──────────────────────┐
│ Application Layer │
└──────────────────────┘
┌──────────────────────┐
│ Processing/Middleware │
└──────────────────────┘
┌──────────────────────┐
│ Transport Layer │
└──────────────────────┘
┌──────────────────────┐
│ Perception Layer │
└──────────────────────┘

3. Seven-Layer IoT Architecture (ISO/ETSI View – For Understanding)

(Not always required in exam but useful)

The seven layers are:

1. Physical Entities
2. Device Layer
3. Communication Layer
4. Data Layer
5. Service Layer
6. Application Layer
7. Business Layer

This model matches ISO/OSI philosophy and is used in IoT-A reference architecture.

Importance of IoT Architectural View


 Provides a systematic structure for IoT development
 Supports interoperability among devices
 Enhances scalability, security and performance
 Helps in identifying roles of sensors, networks, processing units, and user applications
 Simplifies design for engineers

Physical design of IOT

The Physical Design of IoT refers to the actual hardware components, devices, connectivity modules, and physical
objects that make up an IoT system.
It deals with what an IoT system looks like physically and how the real-world objects (things) are equipped with
sensors, actuators, and communication interfaces.

It describes:

 IoT devices
 IoT protocols
 Hardware components
 Communication technologies
 Physical objects and their interactions in the IoT ecosystem

1. IoT Things (Devices)

These are the core components of an IoT system.

Types of IoT Things:

a) Sensors

Collect data from the environment.


Examples:

 Temperature sensor
 Humidity sensor
 Motion sensor
 Gas sensor

b) Actuators

Perform physical actions based on commands.


Examples:

 Motors
 Relays
 Valves
 LED indicators

c) Smart Devices / Embedded Systems


Combine sensors + processors + wireless modules.
Examples:

 Raspberry Pi
 Arduino
 Smart meters
 Smart watches

2. IoT Device Categories

a) Low-Power Embedded Devices

Used in wearable or battery-operated IoT systems.


Examples: Fitness trackers, BLE sensors.

b) Medium-Power Edge Devices

Perform preprocessing and analytics.


Examples: Raspberry Pi, edge gateways.

c) High-Power Devices

Industrial controllers, embedded PCs.

3. IoT Protocols (Physical Layer & Link Layer)

Physical design includes selecting suitable communication protocols.

Short-range communication:

 Bluetooth
 ZigBee
 Wi-Fi
 NFC

Long-range communication:

 4G/5G
 LoRaWAN
 NB-IoT

Wired communication:

 Ethernet
 CAN bus
 Modbus

4. IoT Communication Models


Physical design includes how devices communicate.
There are four IoT communication models:

a) Device-to-Device (D2D)

Two sensors or devices communicate directly.


Example: A smoke detector sending alert to a sprinkler.

b) Device-to-Cloud (D2C)

Device sends data directly to cloud servers.


Example: Weather station data uploaded to AWS IoT.

c) Device-to-Gateway

Device sends data to a local gateway, which then communicates to cloud.


Example: Smart home hub controlling lights.

d) Back-End Data Sharing Model

Cloud shares data with another cloud or application.


Example: Health monitoring cloud sharing data with hospital system.

5. IoT Functional Blocks (Physical Components)

The physical design includes the following functional blocks:

a) Device (Sensors & Actuators)

Collect and act on data.

b) Communication Block

Handles wireless/wired connectivity.

c) Gateway / Edge Device

Preprocesses data, performs local decisions.

d) Cloud / Data Center

Stores and processes large data.


e) Application Interface

Displays data to the user (mobile app, dashboard).

6. Components of IoT Physical Design

a) Hardware Components

 Sensors
 Microcontrollers (Arduino, ESP32)
 Microprocessors (Raspberry Pi)
 Communication modules (Wi-Fi, BLE, ZigBee modules)

b) Power Sources

 Batteries
 Solar cells
 Mains supply

c) Physical Environment

 Homes
 Industries
 Vehicles
 Agriculture fields

7. IoT Physical Design Challenges

 Power limitations
 Hardware cost
 Environmental durability
 Security of physical devices
 Interoperability of hardware
 Range and connectivity issues

Logical design of IOT

The Logical Design of IoT describes the abstract representation of an IoT system—how data flows, how devices
interact logically, communication models, and the functional blocks involved.

Unlike physical design, which deals with hardware components,


Logical Design focuses on:
 Communication models
 Communication APIs
 IoT functional blocks
 Logical interaction between devices and cloud

It explains how IoT works conceptually, not physically.

1. IoT Communication Models (Logical View)

These models describe how data moves between devices, gateways, and cloud systems.

There are four main IoT communication models:

(a) Device-to-Device (D2D)

Two IoT devices communicate directly.


Example: A sensor triggering an actuator.

(b) Device-to-Cloud (D2C)

Device sends data directly to cloud services.


Example: Smart meters uploading data to cloud servers.

(c) Device-to-Gateway

Device communicates with a local gateway (router/hub), which sends data to cloud.
Example: Smart home devices connecting to a central hub (Alexa/Google Home).

(d) Back-End Data Sharing Model

Cloud systems share data with other clouds or applications.


Example: Health monitoring cloud sharing data with hospital system.

2. IoT Communication APIs

APIs are logical interfaces that allow devices and applications to communicate.

Most commonly used APIs:


(a) RESTful APIs

 Use HTTP methods (GET, POST, PUT, DELETE)


 Lightweight and widely used
 Ideal for web-based IoT communication

(b) WebSocket APIs

 Support full-duplex (two-way) communication


 Suitable for real-time applications (live monitoring)

(c) CoAP (Constrained Application Protocol)

 Designed for low-power devices


 Works over UDP
 Lightweight compared to HTTP

(d) MQTT (Message Queuing Telemetry Transport)

 Publish–subscribe protocol
 Very lightweight
 Ideal for sensor networks with low power and bandwidth

3. IoT Functional Blocks (Logical Components)

Logical design includes six functional blocks:

(a) Device (Sensors & Actuators)

Collect data and perform actions.


Logically represent the interaction between objects.

(b) Communication Block

Handles protocols, messaging, addressing, and routing.

(c) Services Block

Provides necessary operations like:

 Data collection
 Data analysis
 Device monitoring
 Security services

(d) Cloud / Data Processing Block

Performs:

 Data storage
 Analytics
 Machine learning
 Processing

(e) Application Block

Provides user interfaces and dashboards.


Examples: Mobile apps, web apps.

(f) Security Block

Ensures:

 Authentication
 Access control
 Data integrity
 Privacy

4. Logical Design Elements

Logical design mainly describes the following aspects:

(a) Device Abstraction

Defines devices by their capabilities (e.g., sensing, actuation), not by hardware.

(b) Data Abstraction

Data is represented by type, format, frequency, size, etc.

(c) Service Abstraction

Logical representation of functions: sensing, control, alerting, monitoring.


(d) Protocol Abstraction

Shows what communication protocols are used and how.

5. Logical Architecture Diagram (Simple)

┌────────────────────────┐
│ Applications │
└────────────────────────┘
┌────────────────────────┐
│ Cloud Services │
└────────────────────────┘
┌────────────────────────┐
│ Communication Protocols │
└────────────────────────┘
┌────────────────────────┐
│ Devices │
└────────────────────────┘

6. Difference Between Physical & Logical Design

Physical Design Logical Design

Deals with hardware components (sensors, actuators, modules).


Deals with functional flow and communication models.

Focuses on devices and physical communication technologies.


Focuses on APIs, protocols, and data flow.

Concerned with wiring, power, hardware setup. Concerned with logical behavior and architecture.

Real-world system. Abstract representation.

Application of IOT

Applications of IoT (RGPV Notes)

The Internet of Things (IoT) has applications across almost every sector because it enables automation, monitoring,
smart decision-making, and remote control using connected devices and sensors.

1. Smart Homes

IoT transforms homes into intelligent spaces.

Examples:
 Smart lighting (automatic ON/OFF based on motion)
 Smart thermostats (temperature control)
 Smart locks and security cameras
 Voice assistants (Alexa, Google Home)

Benefits:
Energy saving, security improvements, comfort, remote control.

2. Smart Cities

IoT is widely used for improving city infrastructure.

Examples:

 Smart street lights


 Smart parking systems
 Traffic monitoring
 Waste management sensors
 Air quality monitoring

Benefits:
Reduced pollution, better traffic control, resource optimization.

3. Industrial IoT (IIoT) / Industry 4.0

IoT enables automation and intelligence in industries.

Applications:

 Predictive maintenance of machines


 Monitoring temperature, vibration, pressure
 Robotics and automation
 Real-time production monitoring

Benefits:
Higher efficiency, cost reduction, fewer breakdowns.

4. Healthcare (Smart Health / IoT-Health)

IoT enables real-time monitoring of patient health.

Examples:

 Smart wearable devices (heart rate, oxygen, BP)


 Remote patient monitoring
 Smart hospital equipment
 Medicine dispensing systems
Benefits:
Immediate medical help, reduced hospital visits, better patient care.

5. Smart Agriculture

IoT helps farmers increase productivity through automation.

Examples:

 Soil moisture sensors


 Automated irrigation systems
 Weather monitoring
 Livestock tracking
 Crop health monitoring using drones

Benefits:
Water saving, better crop yield, reduced labor.

6. Smart Transportation

IoT brings intelligence to transportation systems.

Examples:

 GPS vehicle tracking


 Smart traffic signals
 Fleet management systems
 Vehicle-to-vehicle communication (V2V)
 Automated toll collection (FASTag)

Benefits:
Reduced accidents, faster travel, route optimization.

7. Smart Grid

IoT improves energy generation, transmission, and consumption.

Examples:

 Smart meters
 Load monitoring
 Automatic fault detection
 Renewable energy integration

Benefits:
Energy saving, reliability, reduced outages.
8. Retail & Supply Chain

IoT automates shopping and supply chain processes.

Examples:

 Smart shelves
 RFID-based inventory tracking
 Cold chain temperature monitoring
 Automated checkout systems (Amazon Go)

Benefits:
Less human error, better stock management, efficiency.

9. Environmental Monitoring

IoT sensors monitor environmental conditions.

Examples:

 Forest fire detection


 Earthquake or flood warning systems
 Pollution detection
 Weather monitoring stations

Benefits:
Disaster management, public safety.

10. Smart Wearables

Devices worn by users to track health and activity.

Examples:

 Smart watches
 Fitness trackers
 Smart glasses (AR/VR)
 IoT-enabled clothing

Benefits:
Real-time monitoring, improved personal safety.

UNIT-2

Machine-to-machine (M2M)
Introduction

Machine-to-Machine (M2M) communication refers to the direct exchange of information between devices or
machines without human involvement. It forms the foundation of IoT, enabling devices to automatically
collect data, make decisions, and perform actions.

Definition

Machine-to-Machine (M2M) is a communication technology that allows two or more machines to exchange
data and perform actions automatically using wired or wireless networks without human intervention.

In simple words:
M2M = Device ↔ Device automatic communication

Key Features of M2M

 Automatic communication between devices


 No human involvement required
 Remote monitoring and control
 Real-time data exchange
 Uses sensors, actuators, and communication modules
 Wireless/wired connectivity

Components of an M2M System

1. Sensors/Devices – collect data


2. Communication Network – Wi-Fi, Bluetooth, GSM, 4G/5G, ZigBee
3. Gateway – connects devices to backend servers
4. Backend / Server – processes and stores data
5. Actuators – perform physical actions

M2M Communication Technologies

1. Wired Technologies

 Ethernet
 RS-232
 CAN bus

2. Wireless Technologies

 GSM / GPRS
 3G/4G/5G
 Wi-Fi
 Bluetooth
 ZigBee
 LoRaWAN
 NB-IoT

Working of M2M Communication

1. Sensors collect data from the environment.


2. Data is sent to the communication module.
3. The module sends data to the gateway or directly to the cloud.
4. Backend server analyzes the data.
5. Commands are sent back to the actuator to perform an action.

Applications of M2M

1. Smart Homes

 Smart lights
 Smart appliances

2. Industrial Automation (Industry 4.0)

 Machine monitoring
 Predictive maintenance

3. Smart Metering

 Electricity smart meters


 Water and gas meters

4. Healthcare

 Remote patient monitoring


 Medical equipment automation

5. Smart Transportation

 Vehicle tracking
 Fleet management

6. Retail

 Vending machine automation


 POS systems

Difference Between M2M and IoT

M2M IoT

Device-to-device communication Device-to-cloud, device-to-app communication

Less scalable Highly scalable


M2M IoT

Often uses cellular/SMS Uses internet protocols

No cloud dependency Highly cloud-based

Limited intelligence Data analytics + automation

Advantages

 Reduces human effort


 Enables automation
 Fast decision making
 Increases operational efficiency
 Real-time monitoring

Disadvantages

 Security risks
 Network dependency
 High initial cost
 Limited scalability (compared to IoT)

SDN (software defined networking) and NFV(network function virtualization) for IOT

1. Software Defined Networking (SDN) for IoT

Definition

Software Defined Networking (SDN) is a networking approach where the control plane (decision-making) is separated
from the data plane (actual forwarding of data).
Network intelligence is centralized in a software-based SDN controller, making the network programmable and easier
to manage.

Key Idea:

Centralized programmable control of IoT networks.

How SDN Works in IoT

 IoT devices send data to SDN-enabled switches/routers.


 The SDN controller decides how packets should flow.
 The network becomes flexible and can adapt to IoT traffic changes.
SDN Architecture

1. Application Layer
IoT applications request network services.
2. Control Layer (SDN Controller)
o Centralized controller
o Uses protocols like OpenFlow
o Manages network rules
3. Infrastructure Layer
o Physical switches, routers, gateways
o Forward data based on controller instructions

Benefits of SDN in IoT

a) Centralized Control

All IoT devices and traffic are managed from a single controller.

b) Scalability

Can handle millions of heterogeneous devices.

c) Security

Controller can apply security policies and detect threats.

d) Network Programmability

Easy to configure and update without manual hardware changes.

e) Efficient Traffic Management

Supports real-time data routing for smart cities, healthcare, etc.

Applications of SDN in IoT

 Smart cities (traffic and sensor network control)


 Smart grids
 Industrial IoT (automation)
 Data centers for IoT cloud management
 Smart healthcare

2. Network Function Virtualization (NFV) for IoT


Definition

Network Function Virtualization (NFV) virtualizes traditional network hardware functions—such as firewalls, routers,
load balancers—into software-based virtual functions that run on general-purpose servers.

Key Idea:

Replace dedicated hardware with virtualized network functions (VNFs).

How NFV Works in IoT

 IoT gateway functions (routing, security, firewall, analytics) run as virtual machines or containers.
 No need for special-purpose hardware.
 Virtual functions can be scaled easily based on IoT traffic.

NFV Architecture

1. NFV Infrastructure (NFVI)


o Servers, storage, virtualization layers
o Hosts virtual functions
2. Virtual Network Functions (VNFs)
o Virtual firewalls
o Virtual routers
o Virtual load balancers
3. NFV Management and Orchestration (MANO)
o Controls deployment and scaling of VNFs

Benefits of NFV in IoT

a) Cost Reduction

No need for expensive network hardware.

b) Scalability

VNF resources can expand with rising IoT traffic.

c) Flexibility

Easily update or replace network functions.

d) Faster Deployment

Deploy virtual firewall/firewall in minutes, not days.

e) Energy Efficiency

Shared servers reduce power consumption.


Applications of NFV in IoT

 Cloud-based IoT security


 Virtual IoT gateways
 Smart healthcare and remote monitoring
 Dynamic load balancing in smart cities
 Industrial automation

3. SDN vs NFV (Comparison Table)

SDN NFV

Separates control and data plane Virtualizes network functions

Focus: Network management Focus: Network services

Uses SDN controller Uses VNFs (software modules)

Improves programmability Reduces hardware dependency

Better traffic routing Flexible service deployment

4. Why SDN & NFV Are Important for IoT

 Handle huge numbers of IoT devices


 Enable quick network reconfiguration
 Improve security using programmable rules
 Reduce hardware cost in IoT deployment
 Allow dynamic and flexible IoT architecture
 Support real-time data analytics and services

data storage in IOT

IoT systems generate huge volumes of data from sensors, devices, and applications.
Data storage in IoT refers to the methods and technologies used to store, manage, and retrieve this sensor data
efficiently.

IoT data can be:

 Real-time
 Continuous
 Large in volume
 Unstructured or semi-structured

Hence, IoT requires scalable, distributed, and efficient storage solutions.


Types of Data Generated in IoT

IoT produces different kinds of data:

1. Device Data

Sensor readings like temperature, humidity, pressure, motion.

2. Network Data

Connectivity details, device status.

3. Processed Data

Aggregated, filtered, or analysed data.

4. Metadata

Device ID, timestamps, location info.

Levels of Data Storage in IoT

IoT data is stored at three main levels:

1. Local Storage (Edge/Fog Storage)

Storage done at the device or gateway level.

Examples:

 Microcontroller memory
 Raspberry Pi storage
 Edge server storage
 Smart gateway storage

Used for:

 Real-time processing
 Low-latency applications
 Reducing cloud traffic

Advantages:

 Fast access
 Low latency
 Works even with internet failure

Disadvantages:
 Limited capacity
 Not suitable for very large data

2. Cloud Storage (Centralized Storage)

IoT data is stored in cloud platforms like:

 AWS IoT Core


 Microsoft Azure IoT Hub
 Google Cloud IoT
 IBM Watson IoT

Used for:

 Large-scale data storage


 Data analytics
 Machine learning
 Long-term storage

Advantages:

 Highly scalable
 On-demand storage
 Remote access

Disadvantages:

 Needs stable internet


 Data privacy and security issues

3. Distributed Storage (Fog Computing + Cloud Hybrid)

Data is split between local fog nodes and cloud storage.

Used for:

 Smart cities
 Industrial IoT
 Autonomous vehicles

Advantages:

 High performance
 Reduced cloud load
 Balanced data handling

Disadvantages:

 Complex architecture
 Requires synchronization
Technologies Used for IoT Data Storage

1. Relational Databases

 MySQL
 PostgreSQL
Used for structured data.

2. NoSQL Databases (Most important for IoT)

 MongoDB
 Cassandra
 DynamoDB

Used for large, unstructured, high-speed IoT data.

3. Time-Series Databases

 InfluxDB
 OpenTSDB

Used for sensor data that changes with time.

4. File Storage / Object Storage

 Amazon S3
 Google Cloud Storage
Used for storing media, logs, images, sensor files.

5. Edge Storage Technologies

 SQLite
 Local SSD/HDD
 On-board flash memory

Data Storage Requirements for IoT

A good IoT storage solution must support:

1. Scalability

Because IoT devices generate huge data.

2. Low Latency

Required for real-time applications.

3. Security

Data encryption and access control.


4. Reliability

No data loss even if a node fails.

5. High Throughput

Should handle fast data ingestion rates.

6. Cost Efficiency

Cloud-based pay-per-use storage helps reduce cost.

** add applications

IOT Cloud Based Services

IoT devices generate huge amounts of data that require storage, processing, analytics, and management.
Cloud computing provides scalable, reliable, and on-demand services to support IoT applications.
Therefore, IoT + Cloud = Smart, scalable, real-time systems.

Cloud platforms such as AWS IoT, Google Cloud IoT, and Microsoft Azure IoT Hub enable device connectivity, data
storage, analytics, machine learning, and application development.

What Are IoT Cloud-Based Services?

IoT Cloud-Based Services are cloud-provided resources—such as storage, computing power, networking, analytics,
and application hosting—that support IoT device management and data processing over the internet.

These services allow IoT systems to process data efficiently without depending on local hardware.

Key IoT Cloud-Based Services

1. Infrastructure as a Service (IaaS)

Provides virtual computing infrastructure.

Features:

 Virtual machines (VMs)


 Storage servers
 Network resources
 Pay-as-you-use

Use in IoT:

Host IoT gateways, manage IoT traffic, store large datasets.

Examples:
AWS EC2, Google Compute Engine, Microsoft Azure VM

2. Platform as a Service (PaaS)

Provides a platform for IoT application development.

Features:

 Databases
 Development platforms
 Middleware
 Analytics tools

Use in IoT:

Build IoT dashboards, analytics apps, and device management systems.

Examples:

AWS IoT Core, Azure IoT Hub, Google Cloud IoT Platform

3. Software as a Service (SaaS)

Provides ready-to-use cloud applications.

Features:

 No installation needed
 Internet-based access
 Subscription model

Use in IoT:

Monitoring dashboards, cloud-based analytics tools, IoT mobile apps.

Examples:

Smart home apps, smart meter portals, IoT monitoring platforms.

Core Functional Cloud Services for IoT

1. Device Connectivity & Management

Cloud connects and manages thousands of IoT devices.

Functions:

 Authentication
 Remote monitoring
 Firmware updates
 Device shadow (digital twin)

2. Data Ingestion & Storage

Cloud receives and stores massive IoT data streams.

Storage types:

 Object storage
 Time-series storage
 NoSQL databases
 Big data storage

3. Data Processing & Analytics

Cloud platforms analyze IoT data for real-time decisions.

Technologies Used:

 Stream processing
 Batch analytics
 Machine learning
 AI models

Applications:

Predictive maintenance, anomaly detection, real-time alerts.

4. Security Services

Cloud provides secure communication and data protection.

Includes:

 Encryption
 Access control
 Authentication
 Key management

5. Application Hosting

IoT applications such as dashboards, monitoring systems, mobile apps can be hosted on cloud servers.

Examples of IoT Cloud Platforms


1. Amazon Web Services (AWS IoT)

 AWS IoT Core


 AWS Lambda
 S3
 DynamoDB
 CloudWatch

2. Microsoft Azure IoT

 Azure IoT Hub


 Azure Stream Analytics
 Azure Digital Twins

3. Google Cloud IoT

 IoT Core
 BigQuery
 Cloud Functions

4. IBM Watson IoT

 IoT Platform
 Machine learning & analytics

Advantages of Cloud-Based IoT

1. Scalability

Handles millions of IoT devices and huge data.

2. Cost-Effective

Pay only for the resources used.

3. Reliability

Cloud ensures availability, backups, and fault tolerance.

4. Security

Strong data protection, encryption, secure access.

5. Global Access

IoT data can be accessed from anywhere.

6. Fast Deployment

Services can be deployed and updated quickly.


Disadvantages

 Dependent on internet connectivity


 Security risks if misconfigured
 Data privacy concerns
 Latency for time-sensitive applications

UNIT – 3
Design Principles for Web Connectivity: Web Communication Protocols for connected devices, Message
Communication Protocols for connected devices, MQTT, CoAP, SOAP, REST, HTTP Restful and Web Sockets.
Design Principles for Web Connectivity in IoT (RGPV Notes)

Web connectivity is essential for IoT devices because they must communicate with cloud servers, applications, and other
devices over the internet.
To achieve efficient communication, certain design principles and protocols are used.

1. Design Principles for Web Connectivity

1.1 Lightweight Communication

IoT devices are resource-constrained (low power, low memory).


Protocols used should be:

 Lightweight
 Low overhead
 Fast and energy-efficient

Examples: MQTT, CoAP

1.2 Interoperability

Different devices and platforms must be able to communicate.


Standards like HTTP, REST, JSON ensure interoperability.

1.3 Scalability

The system should support millions of devices.


Cloud-based REST APIs and MQTT broker architectures enable large-scale deployments.

1.4 Security

IoT data must be secure during communication.

 Encryption (TLS/DTLS)
 Authentication
 Access control

1.5 Reliability & Fault Tolerance

Messages should not be lost even if the network is unstable.


MQTT QoS levels ensure reliable delivery.
1.6 Event-Driven and Real-Time Operation

IoT systems must send and receive data instantly.


Protocols like WebSockets and MQTT support real-time updates.

2. Web Communication Protocols for Connected Devices

These protocols allow IoT devices to interact with web services.

Common Web Protocols:

 HTTP
 REST
 SOAP
 WebSockets

These ensure that IoT devices can communicate using standard web technologies.

3. Message Communication Protocols for Connected Devices

Message-oriented protocols are optimized for IoT communication.

Examples:

 MQTT
 CoAP
 AMQP

These support lightweight, low-latency, publish–subscribe messaging.

4. Detailed IoT Protocols (MQTT, CoAP, SOAP, REST, HTTP, WebSockets)

A. MQTT (Message Queuing Telemetry Transport)

Definition

MQTT is a lightweight publish–subscribe messaging protocol designed for low-power IoT devices.

Key Features

 Very low bandwidth


 Works on TCP/IP
 Reliable communication using QoS
 Uses broker and topics
Architecture

 Publisher → sends messages


 Broker → receives & forwards
 Subscriber → receives messages

Use Cases

 Smart homes
 Industrial IoT
 Sensors with limited power

B. CoAP (Constrained Application Protocol)

Definition

CoAP is a lightweight web transfer protocol designed for constrained IoT devices using UDP.

Features

 Faster than HTTP


 Low overhead
 Supports request–response like HTTP
 Ideal for battery-powered devices

Use Cases

 Smart agriculture
 Wireless sensor networks

C. SOAP (Simple Object Access Protocol)

Definition

SOAP is a protocol using XML-based messaging for communication between applications.

Features

 Highly secure
 Strict standards
 Heavyweight
 Suitable for enterprise systems

Use Cases

 Banking
 Enterprise IoT systems

D. REST (Representational State Transfer)


Definition

REST is an architectural style using HTTP methods for communication.

HTTP Methods Used

 GET
 POST
 PUT
 DELETE

Features

 Stateless
 Simple
 Uses JSON or XML
 Lightweight compared to SOAP

Use Cases

 Web APIs
 Cloud-based IoT applications

E. HTTP (Hypertext Transfer Protocol)

Definition

HTTP is a client–server protocol used for transferring web data.

Features

 Human-readable
 Widely supported
 Not lightweight, but commonly used

Use Cases

 IoT dashboards
 REST API communication

F. HTTP RESTful Services

Definition

RESTful services use HTTP to exchange resources using URLs.

Characteristics

 Stateless
 Resource-based
 Uses JSON
Advantages

 Easy to implement
 Highly scalable

G. WebSockets

Definition

WebSockets provide full-duplex, real-time communication between client and server over a single TCP connection.

Features

 Instant updates
 Low latency
 Bidirectional communication

Use Cases

 Live sensor monitoring


 Chat applications
 Real-time IoT dashboards

5. Comparison Table (Important for Exams)

Protocol Type Transport Lightweight Use Case


MQTT Messaging TCP Yes Sensors, publish–subscribe
CoAP Web transfer UDP Yes Low-power devices
REST/HTTP Web API TCP Medium Cloud services
SOAP Web messaging TCP No Enterprise IoT
WebSockets Real-time TCP Medium Live dashboards

UNIT – 4
Sensor Technology , Participatory Sensing, Industrial IOT and Automotive IOT , Actuator, Sensor data
Communication Protocols ,Radio Frequency Identification Technology, Wireless Sensor Network Technology.

1. Sensor Technology
Definition

Sensor technology involves devices that detect physical, chemical or biological parameters and convert them into electrical signals
for processing in IoT systems.

Types of Sensors

 Temperature sensors – LM35, DHT11


 Humidity sensors – DHT22
 Pressure sensors – BMP180
 Proximity sensors – IR Sensor
 Gas sensors – MQ series
 Light sensors – LDR, Photodiode
 Motion sensors – PIR, Accelerometer

Characteristics of Sensors

 Accuracy
 Linearity
 Range
 Sensitivity
 Response time
 Power consumption

Role in IoT

 Collects real-time data


 Enables automation
 Forms the physical layer of IoT

2. Participatory Sensing

Definition

Participatory sensing (or crowd sensing) is a data collection method where people use their mobile devices (smartphones,
wearables) to voluntarily collect and share data about their surroundings.

Examples

 Google Maps traffic updates (crowdsourced location data)


 Air quality apps using citizen sensors
 Self-reported health data in fitness apps

Advantages

 Low cost
 Large-scale sensing
 Real-time information

Applications

 Environment monitoring
 Urban planning
 Transportation monitoring
3. Industrial IoT (IIoT)

Definition

Industrial IoT refers to applying IoT technologies in industries to enable automation, predictive maintenance, and real-time machine
monitoring.

Features

 High reliability
 Low latency communication
 Remote operation
 Predictive analytics

Applications

 Automated manufacturing
 Robotics
 Machine health monitoring
 Smart supply chains

4. Automotive IoT

Definition

Automotive IoT refers to connecting vehicles with sensors, cloud, and communication networks to create intelligent, safe, and
automated transportation systems.

Features

 Vehicle-to-Vehicle (V2V) communication


 Vehicle-to-Infrastructure (V2I) communication
 Real-time navigation & diagnostics

Applications

 Autonomous driving
 Smart traffic management
 Fleet tracking
 In-vehicle infotainment

5. Actuators

Definition

An actuator converts electrical signals into physical movement or action.

Types of Actuators

 Electrical: Motors, solenoids


 Mechanical: Springs
 Pneumatic: Air pressure actuators
 Hydraulic: Oil pressure actuators
Examples in IoT

 Opening/closing valves
 Moving robotic arms
 Switching relays
 Adjusting temperature control

6. Sensor Data Communication Protocols

These protocols help sensors send data to microcontrollers, gateways, or cloud.

Common Protocols

1. I2C (Inter-Integrated Circuit)

 2-wire protocol
 Used for short-distance communication
 Example: connecting sensors to Arduino

2. SPI (Serial Peripheral Interface)

 High-speed full duplex


 Used in displays, SD cards

3. UART (Universal Asynchronous Receiver/Transmitter)

 Simple serial communication


 Used for GPS, GSM, Bluetooth modules

4. Modbus

 Industrial communication protocol


 Used in PLCs and industrial sensors

5. CAN (Controller Area Network)

 Used in automotive applications

7. Radio Frequency Identification (RFID) Technology

Definition

RFID uses radio waves to automatically identify and track objects using RFID tags and readers.

Components

 RFID Tag (Active or Passive)


 RFID Reader
 Antenna
 Backend database
Applications

 Toll collection
 Inventory tracking
 Access control
 Supply chain automation

8. Wireless Sensor Network (WSN) Technology

Definition

A Wireless Sensor Network is a system of small, low-power sensor nodes communicating wirelessly to monitor environmental
conditions.

Components

 Sensor nodes
 Sink/Gateway
 Base station
 Power supply

Communication Technologies

 ZigBee
 Bluetooth
 LoRa
 Wi-Fi
 6LoWPAN

Applications

 Forest fire detection


 Smart agriculture
 Industrial monitoring
 Health monitoring

Features

 Distributed sensing
 Self-organizing network
 Energy-efficient

You might also like