Iot 1
Iot 1
The term “Internet of Things” (IoT) was first introduced by Kevin Ashton in
1999. It has gained widespread significance in recent years due to the
advancements in mobile devices, embedded systems, cloud computing,
and data analytics.
Definition of IoT
Conclusion
IoT devices, also called “Things”, have unique identities and can perform:
• Sensing – Collecting data (e.g., temperature sensors, motion
detectors).
• Actuation – Controlling other devices (e.g., smart switches, motors).
• Monitoring – Tracking data over time (e.g., smartwatches, health
monitors).
Types of IoT Devices:
• Sensing Devices (e.g., temperature, humidity, motion sensors).
• Smart Wearables (e.g., smartwatches, fitness bands).
• Smart Home Appliances (e.g., smart TVs, smart refrigerators).
• Industrial IoT Machines (e.g., automated robotic arms, predictive
maintenance systems).
• Automobiles (e.g., connected cars with GPS and remote
diagnostics).
Conclusion
The Physical Design of IoT consists of various devices (Things) that sense,
monitor, and control processes. These devices connect to other devices or
cloud servers using wired or wireless communication protocols, forming a
complete IoT system.
IoT Protocols
IoT protocols help devices communicate over the Internet by sending and
receiving data between IoT devices (Node Devices) and cloud servers. These
protocols operate at different network layers.
1. Link Layer
The Link Layer defines how data is physically transmitted over wired (e.g.,
coaxial cables) or wireless (e.g., radio waves) mediums.
2. Network Layer
The Network Layer is responsible for sending data between devices and cloud
servers. It ensures data reaches the correct destination using IP addressing
and routing.
3. Transport Layer
The Transport Layer ensures data is sent reliably and efficiently between
devices. It provides error control, flow control, and congestion control.
4. Application Layer
The Application Layer defines how IoT devices communicate with cloud
servers and applications.
Conclusion
IoT protocols enable efficient communication between smart devices and cloud
servers. They operate at different network layers to ensure secure, fast, and
reliable data transmission. Choosing the right protocol depends on factors
like speed, power consumption, and reliability.
Conclusion
The Logical Design of IoT helps to understand how IoT systems function by
organizing different components into functional blocks. It ensures smooth
communication, security, and management of devices, making IoT systems
efficient and user-friendly.
1. Request-Response Model
How it Works:
• The client sends a request to the server.
• The server processes the request and sends back a response.
• Each request-response transaction is independent (stateless).
Example:
• HTTP protocol in web applications.
• A web browser (client) sends an HTTP request to a website
(server).
• The server fetches the web page and sends it back as a response
to the browser.
Use Cases:
• Retrieving sensor data from an IoT device.
• Requesting device status updates.
⸻
2. Publish-Subscribe Model
How it Works:
• Involves three components:
• Publisher: Generates and sends data.
• Broker: Manages topics and delivers data.
• Consumer: Subscribes to topics and receives data.
• Publishers don’t know who the consumers are.
• The broker ensures efficient data distribution to multiple
subscribers.
Example:
• MQTT (Message Queuing Telemetry Transport) protocol.
• A weather sensor (publisher) sends temperature updates to a
“weather updates” topic.
• A mobile app (consumer) subscribed to the topic receives real-time
weather updates.
Use Cases:
• Real-time messaging in smart homes, industrial automation, and
stock markets.
• IoT device communication in large networks (e.g., smart city
applications).
3. Push-Pull Model
How it Works:
• Producers (IoT devices) push data into a queue.
• Consumers (applications) pull data from the queue when needed.
• The queue buffers data, preventing data loss if consumers process
data at different speeds.
Example:
• Apache Kafka or RabbitMQ message queues.
• A smart meter (producer) records electricity usage and pushes it to
a queue.
• A billing system (consumer) pulls the data to generate electricity
bills.
Use Cases:
• IoT applications with fluctuating workloads (e.g., smart grid data
processing).
• Traffic monitoring systems (real-time & batch processing).
How it Works:
• A bidirectional, full-duplex communication model.
• Once the client and server establish a connection, it remains open
until the client requests to close it.
• Both the client and server can send messages anytime.
• It is a stateful model, meaning the server remembers active
connections.
Example:
• WebSockets for real-time applications.
• A video call application maintains a persistent connection between
two users.
Use Cases:
• IoT applications requiring continuous two-way communication,
like:
• Remote patient monitoring in healthcare.
• Real-time vehicle tracking in fleet management.
Conclusion
REST APIs are best suited for applications where devices only need to
communicate periodically, rather than continuously.
Conclusion
Both REST APIs and WebSocket APIs play an important role in IoT
communication. The choice between them depends on the use case:
For IoT applications that need both periodic updates and real-time interaction,
a hybrid approach using both REST and WebSockets can be beneficial.
Definition of a Sensor
⸻
Structure of a Sensor
A transducer is a broader term that refers to any device that converts energy
from one form to another.
• Sensor – A transducer that detects physical quantities (e.g.,
temperature, pressure).
• Actuator – A transducer that converts electrical signals into
mechanical motion (e.g., motors, solenoids).
Example:
• A microphone (sensor) converts sound waves into electrical signals.
• A speaker (actuator) converts electrical signals back into sound
waves.
2. Digital Sensors
• Provide discrete binary output (ON/OFF or 0/1).
3. Scalar Sensors
• Measure only magnitude (no direction).
• Used for temperature, pressure, and color sensing.
Example: A pressure sensor detects air pressure in a vehicle’s tires.
4. Vector Sensors
• Measure magnitude and direction of a physical property.
• Used for velocity, acceleration, and orientation sensing.
Example: An accelerometer measures a smartphone’s screen orientation.
Characteristics of Sensors
1. Resolution – Minimum step size a sensor can detect.
2. Sensitivity – Change in output per unit change in input.
3. Linearity – Proportional relationship between input and output.
4. Range – Difference between the lowest and highest measurable
values.
5. Response Time – Time taken for a sensor to react to a change.
6. Frequency Response – The range of frequencies over which a
sensor can operate.
7. Reliability – How consistently a sensor provides accurate data.
8. Repeatability – Ability to provide the same output for the same input
multiple times.
9. Interfacing – The ease of connecting a sensor with a microcontroller
or processor.
10. Size, Weight, and Volume – Important in robotics and mobile
devices.
11. Cost – A key factor in large-scale IoT deployments.
Actuators in IoT
1. Hydraulic Actuators
2. Pneumatic Actuators
3. Electrical Actuators
4. Thermal/Magnetic Actuators
5. Mechanical Actuators
6. Soft Actuators
Use shape-memory polymers or light-activated materials for flexible
applications.
Uses: Wearable technology, biomedical devices.
1. Industrial Applications
• Smart Manufacturing – Robotic arms, conveyor systems.
• Predictive Maintenance – Automated system monitoring.
• Energy Efficiency – Optimized power usage.
2. Commercial Applications
• Smart Buildings – HVAC, lighting, security automation.
• Retail Automation – Vending machines, robotic checkout.
3. Domestic Applications
• Home Automation – Smart locks, curtains, temperature control.
• Healthcare Devices – Prosthetics, automated beds.
• Smart Appliances – Dishwashers, coffee machines.
Conclusion
Actuators bridge the gap between digital intelligence and real-world action
in IoT. As IoT continues to evolve, smarter, energy-efficient, and cost-
effective actuators will be integrated into various industries, making
automation more accessible and intelligent.
A WSN is a network of multiple sensor nodes that collect data about the
environment (like temperature, light, pressure) and send it to a base station.
These networks are crucial for IoT applications.
1. Sensing Unit
• Includes sensors and Analog-to-Digital Converters (ADC).
• The sensor detects physical parameters (temperature, pressure,
motion, etc.).
• The ADC converts analog signals into digital data for processing.
2. Processing Unit
• Includes a microcontroller or microprocessor for managing data.
• Functions:
• Collects and processes sensor data.
• Controls power consumption.
• Interfaces with the radio for communication.
• Implements network protocols.
3. Transceiver Unit
• Handles wireless communication (sending and receiving data).
• Can operate in different modes to save power (sleep, idle, active).
4. Power Unit
• Supplies energy to the sensor node.
• Power sources can include batteries, solar cells, or energy
harvesting units.
• Power consumption is managed carefully to extend the battery life.
⸻
Basics of Networking
Networking is the foundation of modern communication systems. It allows
devices to share data, access the internet, and connect to various networks.
The essential networking components include switches, routers, and wireless
access points.
1. Networking Devices
Switches
• Function: Connects devices (computers, printers, servers) within a
local network, enabling communication and resource sharing.
• Types of Switches:
1. Managed On-Premises Switch: Allows network configuration,
monitoring, and traffic control.
2. Cloud-Managed Switch: Simplifies network management with
cloud-based control and automatic updates.
Routers
• Function: Connects multiple networks and directs data between
them. Routers also link devices to the internet.
• Key Features:
• Analyzes network traffic and selects the best path for data.
• Enhances security by including firewalls, VPNs, and IP-based
communication systems.
• Prioritizes specific devices or applications for bandwidth allocation.
1. Centralized Deployment
• Used in campuses or close-proximity buildings.
2. Converged Deployment
• Suitable for small campuses or branch offices.
• Combines wired and wireless networking on a single device (access
switch).
3. Cloud-Based Deployment
• Uses cloud technology for managing network devices across different
locations.
• Cisco Meraki cloud-managed devices allow remote monitoring
through dashboards.
3. Types of Networks
Conclusion
Networking forms the backbone of modern digital communication. Whether
through wired or wireless networks, devices rely on switches, routers, and
access points to share resources efficiently. Understanding network types and
deployment methods helps optimize connectivity, security, and scalability in
both personal and enterprise environments.