Skip to content
AL-803 (A) · Introduction to IOT/Quick Revision Short Notes

Introduction to IOT (AL-803 (A)) - Unit 1 Short Notes

Unit 1: Introduction to IoT


1. Fundamentals of IoT

  • Definition: The Internet of Things (IoT) is a system of interrelated computing devices, mechanical and digital machines, objects, animals, or people that are provided with unique identifiers (UIDs) and the ability to transfer data over a network without requiring human-to-human or human-to-computer interaction.

  • Key Characteristics:

    • Connectivity: Seamless communication between devices (things) and the internet/network.

    • Sensing/Actuation: Ability to gather data from the environment (sensors) and interact with it (actuators).

    • Intelligence: Embedded processing capability for data analysis and decision-making at the edge.

    • Scalability: Ability to connect a massive number of devices and handle growing data volumes.

    • Adaptability: Devices and systems can adjust to changing conditions.

    • Heterogeneity: Diverse hardware platforms, operating systems, and communication protocols.

    • Security: Critical need for data integrity, privacy, and protection against attacks.

[!TIP] Exam Focus: "Characteristics of IoT" is a very common 7-mark question. Be prepared to list and explain at least 5-6 points with brief examples.


2. IoT Architecture and Logical Design

  • Purpose of Logical Design: To define the functional components and their interactions within an IoT system without specifying physical hardware or implementation details. It provides a blueprint for data flow, service orchestration, and system boundaries.

  • Key Components in Logical Design (Layered Approach):

    1. Device Layer (Perception): Sensors, actuators, and edge devices that interact with the physical world.

    2. Network Layer (Transport): Enables communication between devices, gateways, and the cloud (e.g., Wi-Fi, Bluetooth, LPWAN).

    3. Platform/Processing Layer (Processing): Data ingestion, storage, processing, and device management (often cloud-based).

    4. Application Layer: End-user applications and services that present information and enable control.

    5. Business Layer: Rules, policies, and analytics that drive business models and decisions.

[!TIP] Common Pitfall: Do not confuse logical design (functional blocks) with physical design (specific hardware choices). Exams often ask for the purpose of logical design first.


3. IoT Ecosystem Components

The IoT ecosystem encompasses all stakeholders, technologies, and processes that enable IoT solutions.

  • Core Components:

    • Things (Devices): Physical objects with embedded sensors/software (e.g., smart thermostat, wearable).

    • Connectivity: Networks and protocols that link devices to the internet/platform (e.g., cellular, LoRaWAN).

    • Data Processing & Storage: Cloud platforms, edge computing, and databases for handling ingested data.

    • Applications & Analytics: Software that interprets data, provides insights, and automates actions.

    • Services & Security: Device management, identity management, and security frameworks.

    • Stakeholders: Device manufacturers, network providers, platform developers, application developers, integrators, and end-users.


4. Sensors in IoT

  • Types of Sensors:

    • By Measured Quantity: Temperature, pressure, humidity, motion (PIR), proximity, image (camera), gas/chemical.

    • By Output Signal:

      • Scalar Sensors: Measure a single quantity (magnitude only). Output is a single value (e.g., thermometer gives 25°C).

      • Vector Sensors: Measure multiple quantities (magnitude and direction). Output is a vector (e.g., accelerometer gives X, Y, Z acceleration values; magnetometer gives direction).

  • Challenges of Sensor Nodes:

    • Power Consumption: Often battery-powered; requires ultra-low power design.

    • Size & Cost: Must be small, inexpensive, and disposable for mass deployment.

    • Reliability & Robustness: Must operate in harsh environments (temperature, humidity, vibration).

    • Accuracy & Precision: Trade-offs with cost and power.

    • Security: Vulnerable to physical tampering and data spoofing.

    • Data Management: Handling high-frequency, noisy data streams.

[!TIP] Exam Focus: "Fundamental difference between scalar and vector sensors" and "Challenges of a sensor node" are direct past paper questions. Use the scalar (1 value) vs. vector (multiple values/direction) definition clearly.


5. Actuators in IoT

  • Types of Actuators:

    • Electrical Actuators: Convert electrical energy into motion/action (e.g., DC motors, stepper motors, solenoids, relays, piezoelectric actuators).

    • Mechanical Actuators: Convert mechanical energy (often via hydraulic/pneumatic means) into motion (e.g., hydraulic cylinders, pneumatic motors).

  • Comparison in IoT Deployments:

    | Feature | Electrical Actuators | Mechanical Actuators | | :--- | :--- | :--- | | Energy Efficiency | Generally higher (precise control, less waste). | Often lower (fluid losses, leaks). | | Control Flexibility | Very high (precise speed, position, torque control via electronics). | Lower (control is often ON/OFF or limited range). | | IoT Integration | Easier (direct interface with microcontrollers/GPIO). | Harder (requires additional drivers/valves). | | Size & Maintenance | Compact, solid-state, low maintenance. | Bulkier, more moving parts, higher maintenance. | | Typical IoT Use | Smart locks, valve control, robotic arms, vibration alerts. | Industrial heavy machinery, large-scale valve control. |

[!TIP] Exam Focus: The May 2024 paper specifically asked to "Differentiate between electrical actuators and mechanical actuators in terms of energy efficiency and control flexibility." Structure your answer using a comparison table or clear point-by-point contrast.


6. Enabling Technologies for IoT

  • Machine-to-Machine (M2M) Communication:

    • Concept: Direct communication between devices/machines without human intervention. The foundational, often point-to-point, precursor to IoT.

    • Architecture: Typically involves devices, a communication network (cellular, wired), and an application (often on a central server). Less layered than modern IoT.

    • Components: M2M devices (with embedded modules), communication network, M2M gateway (optional), and M2M application server.

  • Radio Frequency Identification (RFID):

    • Basic Working Principle: Uses electromagnetic fields to automatically identify and track tags attached to objects.

      1. Reader emits radio waves.

      2. Tag (with microchip & antenna) receives energy, modulates it, and sends back stored data (ID).

      3. Reader decodes the signal and sends data to a computer system.

    • Enables Wireless Communication: Provides contactless, automatic identification over short ranges (cm to meters). It's a "data capture" technology that feeds information into the IoT system.

  • Wireless Sensor Networks (WSN):

    • Evolution & Role: WSNs are networks of spatially distributed autonomous sensors that cooperatively monitor physical/environmental conditions. They evolved from military applications. WSNs are a core enabling technology for IoT because they provide the dense, autonomous, low-power sensing fabric that collects the raw data IoT systems process.

    • Key Contributions: Pioneered multi-hop routing, energy-efficient protocols (e.g., LEACH), and large-scale autonomous network management—all critical for scalable IoT deployments.

  • Near Field Communication (NFC):

    • Comparison with Bluetooth & Wi-Fi:

      | Feature | NFC | Bluetooth (BLE) | Wi-Fi | | :--- | :--- | :--- | :--- | | Range | Very Short (≤ 10 cm, typically 4 cm) | Short to Medium (10-100 m) | Medium (30-100 m indoor) | | Speed | Low (106-424 kbps) | Medium (1-2 Mbps) | High (150+ Mbps) | | Power | Very Low (passive tags powered by reader) | Low | High | | Setup | Instant (just bring close) | Pairing required | Authentication/association required | | Primary IoT Use Case| Payment, access control, configuration (tap-to-pair, tap-to-share). | Wearables, beacons, intermittent sensor data. | High-bandwidth devices (cameras, video streaming, bulk data transfer). |

[!TIP] Exam Focus: The May 2024 paper asked to "Explain the difference between NFC and other wireless communication technologies...". Be ready to contrast range, speed, power, and use case in a table format.


7. IoT Communication Protocols

  • Message Queuing Telemetry Transport (MQTT):

    • Primary Components:

      • Broker: Central server that receives all messages and routes them to subscribed clients.

      • Client: Any device/application that publishes or subscribes.

      • Topic: String-based "channel" or address to which messages are published and from which messages are received (e.g., home/livingroom/temperature).

      • Publish/Subscribe Model: Decoupled communication. Clients publish to a topic; clients interested in that topic subscribe to it. Broker handles routing.

    • Key Feature: Lightweight, designed for low-bandwidth, high-latency, or unreliable networks.

  • Constrained Application Protocol (CoAP):

    • Role of ACK & RST Messages:

      • ACK (Acknowledgement): Confirms reliable receipt of a confirmable (CON) message. Enables reliability similar to TCP but for UDP.

      • RST (Reset): Sent when a server cannot process a message or receives a message with a token it doesn't recognize. Terminates the transaction and signals an error, preventing retransmissions.

    • Purpose: ACK provides reliability; RST provides explicit error handling and resource cleanup in constrained environments.

  • Advanced Message Queuing Protocol (AMQP):

    • Main Frame Types (for IoT contexts):

      1. Method Frame: Carries commands (e.g., queue.declare, basic.publish). Defines what to do.

      2. Content Frame: Carries the actual application data (payload) and its properties (e.g., content type, encoding).

      3. Heartbeat Frame: Empty frames sent periodically to keep the connection alive and detect failures.

      4. Header Frame: Carries additional, standardized properties for a message (e.g., delivery-mode, priority).

      5. Body Frame: Carries the raw message data (often split from Content Frame in spec).


8. Hardware Platforms for IoT Development

  • Raspberry Pi:

    • Connectivity Options for IoT:

      • GPIO Pins (40-pin header): Primary interface for direct connection to sensors (via ADC/DAC if needed), actuators (relays, motors via driver boards), and simple displays.

      • USB Ports (2-4x): Connect USB-based sensors (e.g., webcams, GPS dongles), Wi-Fi/Bluetooth adapters, or cellular modems.

      • Ethernet Port: Wired network connection for stable, high-bandwidth data transfer.

      • Built-in Wi-Fi (on most models) & Bluetooth: Standard wireless connectivity for local networks and device pairing.

      • CSI & DSI Ports: Dedicated high-speed interfaces for official Raspberry Pi Camera and Display.

      • Audio Jack & HDMI: For audio/video output (less common in headless IoT nodes).

[!TIP] Exam Focus: "Describe the connectivity options..." is a direct past question. List GPIO, USB, Ethernet, Wi-Fi, Bluetooth and give one specific IoT use case for each (e.g., GPIO for reading a DHT11 sensor, USB for a 4G dongle).


9. IoT Applications: Smart Home Automation Systems

  • Components & IoT Integration:

    • Sensors/Actuators: Smart lights (actuator), thermostats (sensor+actuator), door/window sensors, motion detectors, smart plugs.

    • Gateway/Hub: Central controller (could be a smart speaker, dedicated hub, or Raspberry Pi) that connects local devices (using Zigbee, Z-Wave, Wi-Fi, Bluetooth) to the internet.

    • Cloud Platform: Processes data, stores history, runs automation rules.

    • Mobile/Web Application: User interface for remote monitoring and control.

    • Communication Protocols: Devices use MQTT or CoAP to talk to the gateway/cloud. Local protocols like Zigbee or Z-Wave for low-power mesh networking.

  • Example Use Cases & Architecture:

    • Use Case: "Away Mode" security.

    • Architecture Flow:

      1. Sense: Door contact sensor (Zigbee) detects door open.

      2. Communicate: Sends message via Zigbee to Hub.

      3. Process: Hub (running rule engine) checks "Away Mode" status (from cloud/user app). Condition is TRUE.

      4. Act: Hub sends command via Zigbee to smart light (turn on) and smart plug (turn on siren).

      5. Notify: Cloud sends push notification to user's phone.


10. Challenges and Security in IoT

  • General Challenges:

    • Scalability: Managing millions of devices, their data, and connections.

    • Interoperability: Lack of universal standards; devices from different vendors often don't communicate.

    • Security & Privacy: Inherently vulnerable devices (limited compute for crypto); massive data collection creates privacy risks.

    • Data Management & Analytics: Volume, velocity, and variety of data; need for edge vs. cloud processing.

    • Power & Resource Constraints: Many devices are battery-powered with limited CPU/RAM.

    • Regulation & Compliance: Evolving legal frameworks (GDPR, data sovereignty).

  • Common Attacks on IoT Systems:

    • Device/Physical Attacks: Tampering, side-channel attacks (power analysis), firmware reverse engineering.

    • Network Attacks: DDoS (Distributed Denial of Service) – Compromised IoT devices form botnets (e.g., Mirai) to flood targets. Man-in-the-Middle (MitM) – Eavesdropping or altering communication.

    • Software/Application Attacks: Malware injection, exploiting software vulnerabilities in device firmware or cloud apps.

    • Data Attacks: Data interception (unencrypted traffic), data tampering, privacy breaches.

    • Identity & Access Attacks: Device hijacking (taking over device credentials), weak/default passwords, lack of secure onboarding.

[!TIP] Exam Focus: "Common attacks on IoT systems" is a direct past paper question. Link attacks to the challenges (e.g., DDoS exploits scalability and security challenges; data interception exploits resource constraints preventing strong encryption). Mention Mirai botnet as a classic example.

Go to where you left off?

Quick Add to Notes

Save questions, your own notes and screenshots into notes filed by unit. It takes a free account.

Create free account

Have an account? Log in