Basics of Networking and Communication Protocols, Sensor Networks,Introduction to IoT Security and Privacy Fundamentals.
Explore IoT basics, communication protocols like MQTT, CoAP, ZigBee, HTTP, sensor network types and topologies, plus essential IoT security and privacy principles for protecting devices and data.
Basics of Networking and Communication Protocols, Sensor Networks,Introduction to IoT Security and Privacy Fundamentals.
1.
Internet of Things(IOT)
Basicsof Networking and Communication
Protocols, Sensor Networks, Introduction to
IoT Security and Privacy Fundamentals.
2.
UNIT – I
Introductionto IoT and Sensor Networks
Introduction to Internet of Things (IoT), Characteristics and
Applications of IoT, IoT Architecture and Reference Models
(IETF, ITU-T)
Physical Design of IoT: Devices, Gateways, and Data Centers
Functional Blocks of IoT: Sensing, Actuation, Communication,
Enabling Technologies: RFID, Wireless Sensor Networks,
Nanotechnology
Basics of Networking and Communication Protocols: MQTT,
CoAP, ZigBee, HTTP Sensor Networks: Types, Topologies, and
Protocols Introduction to IoT Security and Privacy
Fundamentals.
3.
Basics of Networkingand Communication Protocols: MQTT,
CoAP, ZigBee, HTTP
Communication protocols define the rules that allow IoT
devices to exchange data reliably and efficiently. Different
protocols are designed for different purposes, such as low
power consumption, high speed, or web communication.
Networking Basics in IoT
IoT networking enables communication between sensors,
devices, gateways, cloud servers, and user applications.
Basic IoT Communication Model
+--------------+ +--------------+ +-------------+ +---------------+
| Sensors & | --> | Gateway / | --> | Cloud / | --> | User |
| Actuators | | Router | | Server | | Application|
+--------------+ +--------------+ +------------+ +---------------+
4.
Types of Communication
Device-to-Device(D2D):
– Devices communicate directly.
– Example: Bluetooth between a phone and a smartwatch.
Device-to-Cloud (D2C):
– Devices send data directly to the cloud.
– Example: Smart thermostat sending temperature data.
Device-to-Gateway (D2G):
– Devices communicate through a gateway.
– Example: ZigBee sensors connected to a home gateway.
Back-End Data Sharing:
– Cloud services share IoT data with other applications.
– Example: Smart city traffic data shared with navigation apps.
5.
1. MQTT (MessageQueuing Telemetry Transport)
MQTT is a lightweight messaging protocol designed for low-
bandwidth and low-power IoT devices. It follows the
Publish/Subscribe communication model.
MQTT Architecture
+------------------+
| MQTT Broker |
+------------------+
/ |
/ |
Publisher Publisher Subscriber
(Sensor) (Camera) (Mobile App)
6.
Working
Publisher sends datato a topic.
Broker receives the message.
Broker forwards the message to all subscribers of that
topic.
Applications
Smart homes
Healthcare monitoring
Agriculture
Industrial IoT
Vehicle tracking
7.
Advantages
Fast communication
Low powerconsumption
Scalable
Easy implementation
Suitable for remote monitoring
Disadvantages
Requires a broker
Not suitable for large file transfer
8.
2. CoAP (ConstrainedApplication Protocol)
CoAP is a lightweight web transfer protocol developed for
constrained devices and low-power networks. It works over
UDP and follows a Client/Server (Request/Response) model.
CoAP Architecture
+-------------+ Request +----------------+
| CoAP | --------------------> | CoAP |
| Client | | Server |
| (Sensor) | <-------------------- | (Gateway) |
+------------+ Response +---------------+
9.
Methods
GET – Readdata
POST – Create data
PUT – Update data
DELETE – Remove data
Applications
Smart lighting
Smart meters
Environmental monitoring
Home automation
10.
Advantages
Low power consumption
Smallmessage size
Fast communication
Suitable for sensor networks
Disadvantages
Less reliable than TCP-based protocols
Limited security compared to HTTP
11.
3. ZigBee
ZigBee isa low-power wireless communication protocol
based on the IEEE 802.15.4 standard. It is designed for short-
range communication in IoT networks.
ZigBee Network
Coordinator
|
-----------------------------
| | |
Router Router Router
| | |
End Dev End Dev End Dev
12.
Device Types
Coordinator
– Startsand manages the network.
– Only one coordinator in a ZigBee network.
Router
– Extends network coverage.
– Forwards data between devices.
End Device
– Sensor or actuator.
– Communicates through a router or coordinator.
Applications
Home automation
Smart lighting
Industrial monitoring
Smart energy meters
13.
4. HTTP (HyperTextTransfer Protocol)
HTTP is the standard protocol used for communication
between web browsers, servers, and IoT devices. It follows a
Client/Server (Request/Response) model and works over
TCP.
HTTP Communication
+----------------+ HTTP Request +-----------------+
| Client | ----------------------> | Web Server |
| (Browser / | | |
| IoT Device) | <---------------------- | |
+-----------------+ HTTP Response +------------------+
14.
HTTP Methods
GET –Retrieve data
POST – Send data
PUT – Update data
DELETE – Delete data
Applications
Web-based IoT dashboards
Smart home control via browser
Cloud communication
REST APIs
Real-World Examples
Protocol Example
MQTT
Temperaturesensor publishing data to a cloud
dashboard
CoAP Smart light controlled from a mobile app
ZigBee
Smart bulbs and home automation devices
communicating in a mesh network
HTTP
Weather station sending data to a web server
using a REST API
17.
Sensor Networks: Types,Topologies, and Protocols
A Sensor Network is a collection of interconnected sensor
nodes that monitor physical or environmental conditions
(such as temperature, humidity, pressure, light, or motion)
and transmit the collected data to a central location for
processing and analysis.
Sensor networks are a fundamental part of Internet of Things
(IoT) systems and are widely used in smart homes,
healthcare, agriculture, industrial automation, and
environmental monitoring.
2. Wired SensorNetwork
Uses cables for communication.
Provides high reliability and speed.
Applications
Industrial automation
Factory monitoring
Advantages
Reliable communication
High data transfer rate
Disadvantages
Expensive installation
Limited flexibility
21.
3. Mobile SensorNetwork
Sensor nodes can move from one place to another.
Applications
Military surveillance
Disaster management
Wildlife monitoring
4. Underground Sensor Network
Sensors are deployed underground.
Applications
Soil monitoring
Mining
Pipeline monitoring
22.
5. Underwater SensorNetwork
Sensors are placed underwater.
Applications
Ocean monitoring
Water quality analysis
Marine research
6. Multimedia Sensor Network
Uses cameras and microphones along with traditional
sensors.
Applications
Video surveillance
Traffic monitoring
Smart security systems
23.
Sensor Network Topologies
Anetwork topology defines how sensor nodes are
connected.
1. Star Topology
Features
All sensor nodes communicate directly with the gateway.
Advantages
Easy to install
Simple management
Failure of one node does not affect others
Disadvantages
Gateway failure stops the entire network
Limited communication range
24.
2. Bus Topology
Features
Alldevices share a common communication line.
Advantages
Low cost
Simple design
Disadvantages
Cable failure affects the network
Difficult troubleshooting
25.
3. Ring Topology
Features
Eachnode connects to two neighboring nodes.
Advantages
Equal communication opportunity
Disadvantages
Failure of one node may affect communication
26.
4. Mesh Topology
Features
Everynode communicates with multiple nodes.
Advantages
Highly reliable
Self-healing
No single point of failure
Disadvantages
Higher cost
Complex implementation
27.
5. Tree Topology
Features
Hierarchicalstructure.
Advantages
Easy expansion
Suitable for large networks
Disadvantages
Parent node failure affects child nodes
28.
Sensor Network CommunicationProtocols
Protocol Range Data Rate
Power
Consumption
Applications
ZigBee 10–100 m 250 kbps Low Home automation
Bluetooth Low
Energy (BLE)
10–100 m
Up to 2
Mbps
Very Low Wearables
Wi-Fi 50–100 m High High Smart homes
LoRaWAN Up to 15 km Low Very Low Smart agriculture
NB-IoT Long range Moderate Low Smart cities
MQTT Internet Moderate Low Cloud messaging
CoAP Internet Moderate Very Low Sensor communication
29.
Introduction to IoTSecurity and Privacy Fundamentals
As IoT devices collect and exchange sensitive information,
security and privacy are essential to protect devices, users,
and data from cyber threats.
IoT Security: Protecting IoT devices, networks, and data
from unauthorized access, attacks, and misuse.
IoT Privacy: Ensuring that users' personal and sensitive
information is collected, stored, and shared only with proper
authorization.
30.
Security Requirements
1. Confidentiality
Ensuresonly authorized users can access data.
Example: Encrypting health records.
2. Integrity
Ensures data is not altered during transmission.
3. Availability
Ensures systems remain operational whenever needed.
4. Authentication
Verifies the identity of users and devices.
5. Authorization
Grants appropriate permissions after authentication.