Internet of Things (IoT): Definition, Characteristics, and Conceptual Framework
Overview: A thermometer on the wall becomes part of an IoT system when another device can receive and use its reading.
What is the Internet of Things (IoT)?
- In the regular Internet, people connect to websites and apps using computers and smartphones to chat, watch videos, or read notes.
- Sense data from their surroundings (like temperature, light, or motion).
- Send this data over the Internet to the cloud or a mobile app.
- Act automatically without needing any human to press a button!
- Think of a smart farm in Madhya Pradesh:
-
- Soil moisture sensors buried in a wheat field detect that the soil has dried up.
-
- The sensor automatically sends a signal over Wi-Fi/cellular network to the electric tube-well pump.
-
- The pump turns on automatically, waters the field for 30 minutes, turns off, and sends a WhatsApp or SMS alert to the farmer!
Key Characteristics of IoT Systems
- For your DAVV exams, remember these 8 core characteristics of any IoT system:
- 1. Dynamic & Self-Adapting Devices automatically change their mode when conditions change (e.g., a CCTV camera switches to night-vision when it gets…
- 2. Self-Configuring New devices join the network, get an IP address, and set up software updates automatically without manual configuration.
- 3. Interoperable Communication Devices made by different companies (Samsung, Philips, Xiaomi) can communicate smoothly using common standard protocols.
- 4. Unique Identity Every connected thing has a unique address (IP address or MAC address), just like every student has a unique roll number.
- Integrated into Information Network: IoT devices do not work alone.
- Enormous Scale: While the world human population is around 8 billion, connected IoT devices already exceed 30+ billion devices worldwide…
- Heterogeneity (Diverse Devices): IoT connects very different kinds of hardware — from a tiny ₹150 temperature sensor powered by a small coin cell to massive…
View diagram · Core Characteristics of the Internet of Things
The IoT Conceptual Framework
- How do we understand what makes up an IoT system?
- Conceptual Equation:
Physical Object + Embedded Controller + Sensor / Actuator + Network Protocol = IoT Entity - Perception (Sensing): Sensors detect physical signals (heat, motion, moisture, light) and convert them into electrical signals.
- Transmission (Networking): Network chips send the data using Wi-Fi, Bluetooth, Zigbee, LoRa, or 4G/5G.
- Computation & Storage (Processing): A microcontroller (like ESP32/Arduino) or cloud server processes and stores the data.
- Action (Actuation): Actuators (relays, motors, buzzers, valves) perform a physical action in the real world (e.g.
IoT Architecture: 3-Layer and 5-Layer Architectural Views
Overview: In the three-layer view, sensing, communication and application cover the journey from soil reading to irrigation advice.
Introduction: Why Do We Need a Layered Architecture in IoT?
- Just like we study the OSI 7-Layer Model in Computer Networks to understand how data moves across computers, IoT also uses a **Layered…
- The Basic 3-Layer IoT Architecture
- The Extended 5-Layer IoT Architecture
The Basic 3-Layer IoT Architecture
- This is the simplest and most fundamental model of IoT:
- 1. Perception Layer (The “Eyes & Ears” of IoT): Main Job: Interacts directly with the physical environment to collect raw data or take physical action.
- Hardware Components:
- Sensors: Temperature (DHT11), light (LDR), humidity, ultrasonic distance sensor, smoke sensor.
- Actuators: Relays, water pump motors, buzzer alarms, servo motors.
- Identification: RFID tags (like FASTag on cars), QR codes, barcode stickers.
- Challenges: Devices have small batteries, tiny memory, and must survive outdoor heat, rain, and dust.
- 2. Network Layer (The “Nervous System” of IoT): Main Job: Acts as the courier.
View diagram · Basic 3-Layer IoT Architecture
The Extended 5-Layer IoT Architecture
- When IoT networks grew to connect millions of sensors at once, the basic 3-layer model was not enough to explain cloud processing, big data, and…
- 4. Application Layer User-facing interfaces: Mobile apps, alert notifications, and web dashboards.
- 2. Transport Layer (Network) Transmits sensor packets across 4G/5G, LoRaWAN, Wi-Fi, and Internet routers.
- 1. Perception Layer (Physical) Physical hardware nodes: Sensors, RFID tags, microcontrollers, and actuators.
- A. Processing Layer (Middleware): Sits right between the Network layer and the Application layer.
- Key Responsibilities:
- Data Cleaning & Filtering: Removes repeated or faulty readings (e.g.
- Storage: Stores millions of sensor readings in databases like MongoDB, MySQL, or Amazon DynamoDB.
View diagram · Enterprise 5-Layer IoT Architecture
Comparison: 3-Layer vs. 5-Layer Architecture
- Complexity: Simple, easy to learn
- Best Suited For: Small college projects, simple home automation
- Data Processing: Basic (simple if-else rules)
- Business Strategy: Not included
- Middle Layer: Direct connection from network to app
Physical Design of IoT: Things and Network Protocols Stack
Overview: Follow a temperature reading from the probe to the dashboard.
What is the Physical Design of IoT?
- The Physical Design of an IoT System describes the actual hardware components you can touch and the communication rules they use to talk to…
- The Physical “Things” (Hardware Devices): What hardware goes inside an IoT device (microcontroller, memory, sensors, actuators, and power supply).
- The IoT Protocols (Network Stack): The wired and wireless networking protocols used to transfer data between the device, local routers, and cloud servers.
Anatomy of “Things” in IoT
- In simple terms, a “Thing” is any real-world object fitted with an electronic board, a unique ID, and sensors/actuators so it can collect…
- 1. Processing Unit (MCU / SoC) The “brain” of the device (such as ATmega328P on Arduino, ESP32, or ARM Cortex) that runs the firmware code.
- 2. Sensors & Actuators Sensors act as eyes and ears (detecting temperature, light, motion).
- 3. Communication Interface Wireless modules that give connectivity: Wi-Fi (802.11), BLE, Zigbee (802.15.4), LoRa, or 4G/GSM.
- 4. Memory & Power Unit RAM and Flash memory to store code and data; powered by batteries, solar cells, or DC adapters.
- Hardware Interfaces on an IoT Device: An IoT microcontroller connects with external sensors and parts using standard pins and communication buses:
- I/O Interfaces for Sensors:
- GPIO (General Purpose Input/Output): Digital pins that can be set as INPUT (reading a button or motion sensor as HIGH/LOW) or OUTPUT (turning an LED or relay…
View diagram · Internal Hardware Architecture of an IoT Node
The IoT Protocols Stack (4-Layer Network Architecture)
- Because IoT devices have limited battery power, small memory, and slow processors, they use a streamlined 4-layer protocol stack:
- 4. Application Layer MQTT, CoAP, AMQP, XMPP, HTTP / REST, WebSockets
- 3. Transport Layer TCP (Reliable, connection-oriented) and UDP (Fast, lightweight, connectionless)
- 2. Network / Internet Layer IPv4, IPv6, 6LoWPAN (IPv6 over Low-Power Wireless PAN), RPL Routing
- 1. Link / Physical Layer IEEE 802.15.4, Bluetooth Low Energy (BLE), Wi-Fi (802.11), LoRaWAN, Cellular (NB-IoT)
- 1. Link Layer Protocols: Handles how data bits are sent over radio waves or wires in the immediate physical area:
- IEEE 802.15.4: A low-power wireless standard designed specifically for battery-operated sensor nodes (speed: 250 kbps, 2.4 GHz band).
- Bluetooth Low Energy (BLE): Designed for very short-range, ultra-low power devices like fitness bands, smart tags, and medical monitors.
Logical Design of IoT: Functional Blocks and Communication APIs
Overview: In a bus tracker, the GPS module supplies a position, communication carries it and an application shows the next arrival.
What is the Logical Design of IoT?
- While the Physical Design deals with tangible hardware chips, wires, and radio frequencies, the Logical Design is all about the…
- Which software modules are needed to make the system work?
- How do apps, servers, and devices talk to each other?
- IoT Functional Blocks: The 6 software building blocks of any IoT system.
- IoT Communication APIs: The two main ways apps communicate with devices — REST-based APIs and WebSocket-based APIs.
The Six Core IoT Functional Blocks
- Every complete IoT system has six functional building blocks:
- 1. Device Block The software running on the hardware to read sensors, trigger actuators, and monitor device health.
- 2. Communication Block Handles network connections and sends/receives packets using Wi-Fi, Bluetooth, or cellular networks.
- 3. Services Block Provides essential services like data storage, analytics, device discovery, and message routing.
- 4. Management Block Administrative tools to configure devices, install remote firmware updates, and check device status.
- 5. Security Block Protects the system using user logins, password authentication, access rights, and data encryption.
- 6. Application Block The user interface: mobile apps and web dashboards with buttons, charts, and alert notifications.
View diagram · The Six IoT Functional Blocks
IoT Communication APIs: REST vs. WebSocket
- How does an Android app or a web dashboard exchange data with an IoT device or server?
- REST-Based APIs (Stateless Request-Response) Client sends a request, server sends a reply, then connection closes.
- WebSocket-Based APIs (Persistent Full-Duplex) Single connection stays open like a phone call.
- A. REST-Based Communication APIs (Representational State Transfer): Based on the standard HTTP protocol used by the World Wide Web.
- Client-Server & Stateless: Every request is independent.
- Uses standard HTTP methods:
GET: Fetch sensor data (e.g.,GET /sensors/temperatureto read current room temperature).POST: Send new readings or register a new device on the server.
View diagram · RESTful vs. WebSocket API Comparison
Quick Comparison Table: REST vs. WebSocket
- Communication Style: Request - Response (Half-Duplex)
- Connection State: Stateless (Closes after each reply)
- Who Can Start Talking?: Only the Client can start
- Header Overhead: High (500+ bytes per HTTP request)
- Real-Time Data: Poor (requires continuous polling)
- Best Used For: Daily battery logs, configuration settings
IoT Communication Models: Request-Response, Pub-Sub, Push-Pull, and Exclusive Pair
Overview: A phone asking for today’s temperature uses request-response.
Introduction: How Do IoT Devices Talk to Each Other?
- In an IoT system, thousands of smart devices need to exchange data with cloud servers, mobile apps, and control systems.
- 1. Request - Response Client asks for data; server answers and closes the connection.
- 2. Publish - Subscribe Publishers send data to a Topic on a Broker; Subscribers automatically receive it.
- 3. Push - Pull Producers push messages into a Queue; Consumers pull and process them at their own speed.
- 4. Exclusive Pair A persistent, two-way (full-duplex) open channel between two devices.
View diagram · The Four IoT Communication Models
Request - Response Model
- How it Works: The client sends an explicit request packet to the server.
- Key Points:
- Stateless: Each request is completely independent.
- Client-Driven: Only the client can initiate communication.
- Protocols Used: HTTP / HTTPS, standard REST APIs.
- Real-Life Example: You open a weather app on your mobile.
Publish - Subscribe (Pub-Sub) Model
- The Publish-Subscribe model is the most widely used pattern in modern IoT because devices do not need to know each other directly:
- Publishers: Devices that produce data (e.g., a temperature sensor).
- Subscribers: Apps or devices that want the data (e.g., your smartphone app or AC controller).
- Broker: The central server that sits in the middle.
- Why is Pub-Sub Great for IoT?
- Decoupled: If the temperature sensor’s battery dies, your phone app does not crash — it just waits for the next message.
- High Scalability: One sensor reading can be sent to 10,000 users at the same time through the broker.
- Protocols Used: MQTT, AMQP, XMPP.
View diagram · Publish-Subscribe Architecture (MQTT Pattern)
Push - Pull Model
- How it Works:
- Devices that generate data (Producers) push messages into a central Message Queue (FIFO Buffer).
- Worker servers (Consumers) pull messages from the queue one by one and process them.
- Why Use Queues? (Time Decoupling):
- Suppose a cloud analytics server becomes slow or restarts for maintenance.
- No data is lost!
- Technologies Used: RabbitMQ, Apache Kafka, Amazon SQS.
Exclusive Pair Model
- How it Works:
- A client connects to the server and sets up a dedicated, persistent channel.
- The connection stays open continuously until one side decides to close it.
- Both client and server can send messages to each other at the exact same time (Full-Duplex).
- Key Points:
- Minimal overhead because there is no need to repeat connection handshakes.
- Low latency (instant data transfer).
- Protocols Used: WebSockets.
Summary Comparison Table
- Request - Response: Client asks; Server answers
- Publish - Subscribe: Messages sent to Topics via a central Broker
- Push - Pull: Messages stored in a FIFO Queue
- Exclusive Pair: Permanent open two-way channel
Applications of IoT: Smart Homes, Smart Cities, Healthcare, and Agriculture
Overview: A soil sensor sends a reading, but a watering system also needs a rule and an actuator.
Overview: How IoT is Changing the World Around Us
- The real power of IoT comes alive when sensors, internet connectivity, and mobile apps work together to make everyday life easier, safer, and…
- 1. Smart Homes Automatic lights, smart AC control, video doorbells, and gas leak alarms.
- 2. Smart Cities Smart streetlights, smart dustbins, automatic traffic signals, and water management.
- 3. Smart Agriculture Soil moisture tracking, automatic drip irrigation, and greenhouse climate control.
- 4. Smart Healthcare Remote patient tracking, wearable heart rate bands, and smart ambulances.
View diagram · Major Domains of IoT Applications
Smart Homes (Home Automation)
- Smart Lighting & Fans: Lights and fans automatically turn OFF when motion sensors (PIR) detect nobody is in the room, saving electricity.
- Smart AC Control: Smart thermostats adjust cooling based on room temperature and user routine, reducing monthly power bills.
- Home Security & Video Doorbells: Devices like smart doorbells send live video to your phone whenever someone rings the bell.
- LPG Gas Leak Alerts: An MQ-2 gas sensor detects cooking gas leaks, automatically shuts off the safety valve, and triggers a buzzer alarm.
Smart Cities (Urban Infrastructure)
- Smart Street Lighting: Streetlights stay at 20% brightness late at night and instantly jump to 100% brightness only when a car or person approaches.
- Smart Waste Management: Ultrasonic sensors installed inside municipal garbage bins measure how full the bin is.
- Smart Parking: Sensors embedded in parking spaces detect whether a car is parked or not.
- FASTag Toll Plazas: RFID scanners read tags on vehicle windshields and automatically deduct toll fees from digital wallets without stopping the…
Smart Agriculture (Precision Farming)
- In India, farming is essential, and IoT helps farmers increase crop yield while saving water:
- Soil Moisture Monitoring: Moisture and pH sensors placed in the soil send real-time soil health data to the farmer’s mobile phone.
- Automated Drip Irrigation: The water pump automatically turns ON when soil gets dry and turns OFF when enough water is delivered, saving millions of…
- Smart Greenhouses: Microcontrollers measure temperature and humidity, automatically turning on misting sprays and ventilation fans when it gets…
- Livestock Health Tracking: Wearable collar tags monitor cattle body temperature and location to detect sickness early.
Smart Healthcare (Internet of Medical Things - IoMT)
- Remote Patient Monitoring: Wearable smart bands track pulse, blood oxygen (SpO2), and body temperature.
- Fall Detection for the Elderly: Accelerometer sensors inside wearable pendants detect sudden falls and send immediate GPS emergency alerts.
- Smart Hospital Beds: Beds detect patient movements and vital signs without uncomfortable wires.
Industrial IoT (IIoT - Industry 4.0)
- Predictive Maintenance: Vibration and temperature sensors placed on large factory motors detect abnormal friction weeks before a machine breaks,…
- Cold-Chain Logistics: Temperature sensors inside medicine/vaccine delivery trucks ensure vaccines stay cold during long highway travel.