Q.1
14 MarksAlso asked in Winter 2025 Q1b
Internet of Things (IoT) is a network of physical objects (things) fitted with sensors, actuators, software and network connectivity, which collect and exchange data over the Internet and act on it, with little or no human help.
Four characteristics:
- Connectivity: every device is connected to the Internet or a local network.
- Sensing: devices sense the physical world (temperature, motion, light) and produce data.
- Unique identity: each thing has a unique address, such as an IP or MAC address.
- Intelligence and automation: data is analysed, and devices act on their own, for example turning on a fan when it gets hot.
Others: scalability and heterogeneity.
Also asked in Winter 2025 Q1a
| Point | M2M (Machine to Machine) | IoT (Internet of Things) |
|---|---|---|
| Meaning | Direct communication between two machines | A network of many things connected through the Internet and the cloud |
| Connection | Point to point, often over cellular or wired links | Through IP networks and the Internet |
| Protocols | Mostly proprietary, non-IP | Standard IP-based protocols (MQTT, CoAP, HTTP) |
| Data storage | Stored locally or in the machine | Stored and analysed in the cloud |
| Scale | Limited number of devices | Billions of devices, very scalable |
| Integration | Works in isolation, one application | Integrates many applications and services |
| Human interaction | Very little | Users interact through apps and dashboards |
| Example | ATM talking to a bank server, vending machine sending a refill alert | Smart home, smart city, connected cars |
So M2M is a subset of IoT: IoT extends M2M with the Internet, the cloud and analytics.
Also asked in Winter 2025 Q1c
End-to-end IoT architecture shows how data travels from a physical thing to the user and how commands travel back. It is commonly described in four layers (stages).
1. Perception (device) layer
- Has the sensors that measure physical quantities (temperature, humidity, motion, light) and the actuators that act (motors, relays, valves).
- A microcontroller (Arduino, ESP8266, ESP32) reads the sensors, converts the analog signals to digital data and drives the actuators.
2. Network (gateway) layer
- Carries data from the devices to the cloud.
- Short-range links: Wi-Fi, Bluetooth Low Energy, Zigbee. Long-range links: LoRaWAN, NB-IoT, LTE, 5G.
- An IoT gateway collects data from many local devices, converts protocols, filters data and forwards it securely over the Internet. It can also do edge computing, processing data close to the source to cut delay.
3. Processing (cloud and middleware) layer
- The cloud platform (AWS IoT, Azure IoT, ThingSpeak, Firebase) stores the data in databases.
- It processes and analyses the data, runs rules and machine learning, and sends commands back.
- It manages devices: registration, authentication and firmware updates.
4. Application layer
- Gives the user a service: a mobile app, web dashboard, alerts and reports.
- Examples: smart home control, smart agriculture, health monitoring, smart city.
Security across all layers
Authentication, encryption (TLS), access control and secure updates are needed at every layer, because an attack at any point can affect the whole system.
Example flow
A soil moisture sensor sends a reading through Wi-Fi to the cloud. The cloud sees the soil is dry and sends a command. The gateway forwards it, and a relay switches on the water pump. The farmer sees the status on a phone app.
End-to-end IoT architecture has a perception layer (sensors and actuators), a network layer (gateways and links), a processing layer (cloud storage and analytics) and an application layer (apps and dashboards), with security at every layer.