Study smarter.
Write better answers.
A focused exam workspace covering architecture, embedded IoT, gateways, edge computing and the full IoT protocol stack.
🔴 Must-Know Topics
Long-answer topics • 4/7 marks
1. IoT Definition & Characteristics
Very HighDefinition: IoT is a system of interconnected physical objects embedded with sensors, actuators, processing capability and communication technologies that collect, exchange and act upon data through the Internet.
- Connectivity
- Sensing
- Intelligence
- Heterogeneity
- Dynamic nature
- Scalability
- Security
- Unique identity
2. End-to-End IoT Architecture
Very High- Sensors collect data.
- Gateway/Edge aggregates and preprocesses.
- Network transfers data.
- Cloud stores/processes data.
- Application delivers services.
Example: Soil sensor → NodeMCU → Wi-Fi → Cloud → Mobile App → Pump ON.
3. Physical Design of IoT
Very High- Things: objects being monitored/controlled.
- Sensors: physical quantity → electrical signal.
- Actuators: electrical signal → physical action.
4. Logical Design of IoT
Very HighExplains how the system functions and communicates rather than the hardware.
Functional blocks: Device, Communication, Services, Management, Security, Application.
- Request-Response
- Publish-Subscribe
- Exclusive Pair
5. IoT vs M2M
Very High| IoT | M2M |
|---|---|
| Internet-based ecosystem | Direct machine-to-machine communication |
| Humans, machines, cloud | Mainly machine-to-machine |
| IP/Internet technologies | Can use non-IP/private networks |
| Highly scalable | Usually smaller/local |
| Cloud integration common | Cloud not required |
6. IoT Levels / Deployment Templates
Very High- Device → Local Application
- Device → Cloud → Application
- Sensors → Gateway → Cloud → Application
- Multiple devices + cloud + analytics
- Multiple devices/gateways + large-scale processing
- Large-scale ecosystem
Key idea: complexity and scale increase from Level 1 to Level 6.
7. Sensors & Actuators
HighSensor: detects a physical quantity and converts it into an electrical signal.
| Sensor | Measures |
|---|---|
| Temperature | Temperature |
| PIR | Motion |
| LDR | Light |
| Ultrasonic | Distance |
| Gas sensor | Gas concentration |
Actuator: converts electrical/control signal into physical action. Examples: motor, relay, buzzer, LED, solenoid valve.
8. IoT Gateway
Very HighDefinition: an intermediate device connecting IoT sensors/devices to the Internet/cloud.
Functions: protocol conversion, aggregation, filtering, security, local processing, device management, Internet connectivity.
Types: hardware, software, cloud, edge gateway.
9. Edge Computing
HighCloud: Sensor → Internet → Cloud → Processing
Edge: Sensor → Edge Device → Local Processing → Decision
Advantages: low latency, reduced bandwidth, faster response, better privacy, limited-connectivity operation.
10. MQTT
Very High- Publisher sends data.
- Broker receives and routes messages.
- Subscriber receives data.
- Uses TCP and topics.
QoS: 0 = At most once • 1 = At least once • 2 = Exactly once
11. CoAP
Very HighConstrained Application Protocol is designed for constrained IoT devices, follows REST architecture and uses UDP.
Methods: GET, POST, PUT, DELETE.
Uses URI/resource-based addressing rather than topics.
12. MQTT vs CoAP
Very High| MQTT | CoAP |
|---|---|
| Publish/Subscribe | Request/Response |
| Broker required | No broker |
| TCP | UDP |
| Topic-based | Resource/URI-based |
| Messaging | RESTful IoT |
13. IoT Protocol Layers
Very High| Layer | Protocols |
|---|---|
| Application | HTTP, MQTT, CoAP, XMPP, DDS, AMQP |
| Transport | TCP, UDP |
| Network | IPv4, IPv6, 6LoWPAN, RPL |
| Link | Wi-Fi, BLE, Zigbee, Ethernet |
14. NodeMCU
High- Based on ESP8266.
- Wi-Fi enabled microcontroller board.
- GPIO pins for interfacing.
- Programmed via Arduino IDE.
- Used for lightweight IoT sensor nodes.
15. Raspberry Pi
High- Single-board computer.
- ARM processor and full OS.
- GPIO, USB, HDMI, Ethernet/Wi-Fi.
- Can run Python programs.
- Used for edge computing / gateway applications.
| NodeMCU | Raspberry Pi |
|---|---|
| Microcontroller | Full computer |
| Low power | Higher power |
| Sensor node | Gateway/edge/server |
🟠 Short Answers
Fast 2–3 mark revision
IoT + Cloud
Storage, processing, remote access, scalability, analytics and visualization.
HTTP
Client-server request-response protocol using GET/POST/PUT/DELETE.
WebSocket
Full-duplex, continuous two-way communication for real-time monitoring.
XMPP
XML-based messaging and presence protocol for real-time communication.
DDS
Real-time, data-centric publish-subscribe protocol.
AMQP
Producer → Exchange → Queue → Consumer; reliable enterprise messaging.
IoT Challenges
Security, scalability, interoperability, privacy, storage, standardization, reliability.
🎯 Probable Questions
Practice these before the exam
Architecture & Fundamentals
- Define IoT and explain characteristics.
- Explain End-to-End IoT Architecture with diagram.
- Explain Physical Design.
- Explain Logical Design.
- Differentiate IoT and M2M.
- Explain IoT Levels.
Embedded IoT
- Explain sensors and actuators.
- Explain IoT Gateway.
- Explain Edge Computing.
- Explain NodeMCU.
- Explain Raspberry Pi.
- Explain sensor-to-cloud flow.
Protocols
- Explain MQTT with architecture.
- Explain CoAP.
- Compare MQTT and CoAP.
- Explain IoT protocol layers.
- Explain HTTP/WebSocket.
- Explain XMPP, DDS, AMQP.
⚡ Fast Recall
Lock these one-line definitions into memory
✍️ 7-Mark Answer Formula
A structure you can reuse for almost every long answer
Write in this order
- Definition — about 1 mark.
- Diagram — clear blocks and arrows.
- Components / key points — bullet list.
- Working — step-by-step.
- Advantages / applications — finish strong.
Exam presentation
- Use headings.
- Underline key terms.
- Prefer diagrams over long paragraphs.
- Use comparison tables where possible.
- Never leave an answer blank.