1. IoT Core Architecture (The 4-Layer Model)
The Internet of Things (IoT) architecture is systematically divided into four functional layers: 1. Sensing/Perception Layer: Consists of sensors (e.g., DHT11, PIR, LDR) and actuators that interact with physical phenomena. 2. Network/Connectivity Layer: Transmits gathered sensor data to gateway brokers via protocols like IEEE 802.15.4 (Zigbee), BLE, or Wi-Fi. 3. Data Processing/Service Layer: Stores, analyzes, and manages sensor telemetry using cloud or edge computing engines. 4. Application Layer: Delivers user-facing services (Smart Cities, Precision Agriculture, Health Telemetry).
सरल हिंदी व्याख्याIoT आर्किटेक्चर को मुख्य रूप से 4 लेयर्स में विभाजित किया गया है: 1. सेंसिंग लेयर: भौतिक डेटा (जैसे तापमान, प्रकाश) को सेंसर्स द्वारा कैप्चर करता है। 2. नेटवर्क लेयर: इस डेटा को इंटरनेट या गेटवे तक सुरक्षित रूप से भेजता है (जैसे Wi-Fi, Zigbee, LoRa)। 3. डेटा प्रोसेसिंग लेयर: क्लाउड/सर्वर पर डेटा का विश्लेषण और स्टोरेज करता है। 4. एप्लिकेशन लेयर: अंतिम उपयोगकर्ता को मोबाइल ऐप या वेब डैशबोर्ड पर परिणाम दिखाता है।
2. High-Yield Protocol Comparison (Exam Essential)
| Protocol | Transport Layer | Architecture | Overhead / Payload | Default Port |
|---|---|---|---|---|
| MQTT (v3.1.1) | TCP (Reliable) | Publish / Subscribe (Broker-based) | Extremely Low (2-byte header) | 1883 (Unsecured) / 8883 (TLS) |
| CoAP (RFC 7252) | UDP (Connectionless) | Request / Response (Client / Server) | 4-byte fixed header (Compact) | 5683 (Standard) / 5684 (DTLS) |
| HTTP / REST | TCP (Reliable) | Request / Response | Heavy (String headers ~1KB) | 80 (HTTP) / 443 (HTTPS) |
Watch out: NIELIT frequently asks which protocol runs over UDP. Students often mistakenly choose MQTT. MQTT strictly runs over TCP, while CoAP is designed specifically for constrained sensor nodes and runs over UDP!
3. Microcontroller Register Programming (ATmega328P)
Direct port manipulation is faster than Arduino's digitalWrite(). The ATmega328P controls its digital I/O pins using three primary 8-bit registers:
| Register | Bit Value 0 | Bit Value 1 | Core Function |
|---|---|---|---|
| DDRx (Data Direction) | Input Mode | Output Mode | Defines whether the physical pin reads or outputs signal. |
| PORTx (Data Register) | Logic LOW (0V) | Logic HIGH (5V) | Sets the output state (or activates internal pull-up if DDRx=0). |
| PINx (Input Pin Register) | Read Pin LOW | Read Pin HIGH | Read-only register capturing the current physical state of the pin. |
4. 10-Bit ADC Voltage Step-by-Step Calculation
Example Question:
An analog sensor connected to pin A0 of an Arduino Uno (operating at $V_{ref} = 5.0\text{ V}$) outputs an integer reading of 512 from analogRead(A0). What is the calculated input voltage?
5. Sample Questions with Explanations
Ready to Study the Entire Curriculum?
This sample represents a fraction of our comprehensive M4-R5 preparation suite. Choose the tier that matches your study plan:
Starter Pack
CBT Engine
Master Bundle
Authorized Academic Publication
Verified against NIELIT O-Level (M4-R5) Syllabus & Exam Standards.
Access Full Course Portal: novusrisedigital.com