📑 Table of Contents — किसी भी topic पर सीधे जाएँ
Things and Connections — IoT में "Things" और उनके Connections
📦 Examples of IoT Things
| श्रेणी | उदाहरण |
|---|---|
| Personal Devices | Smartphone, Smartwatch, Fitness Band |
| Smart Home | Smart Light, Fan, Refrigerator, AC |
| Industrial Machines | Pressure Sensor, Robot Arm, CNC Machine |
| Smart Vehicles | GPS Tracker, Fuel Sensor, Parking Sensor |
| Medical Devices | Heart Rate Monitor, Glucose Sensor |
🧾 Characteristics of IoT Things
- Identifiable: हर IoT device का unique identity या IP address होता है।
- Connected: Wi-Fi, Bluetooth या ZigBee जैसी network technologies से जुड़े रहते हैं।
- Autonomous: बिना human input के भी automatic actions कर सकते हैं।
- Scalable: हजारों devices एक ही ecosystem में काम कर सकते हैं।
- Interactive: User व अन्य systems के साथ data exchange करते हैं।
🔗 Types of IoT Connections
| Connection Type | Description | Example |
|---|---|---|
| Device-to-Device (D2D) | दो devices के बीच direct communication | Smart Light ↔ Motion Sensor |
| Device-to-Cloud (D2C) | Device सीधे cloud server से जुड़कर data भेजता है | Smart Watch → Cloud पर health data |
| Device-to-Gateway (D2G) | Devices पहले gateway से, फिर gateway cloud से जुड़ता है | Smart Home Hub → Cloud |
| Cloud-to-Cloud (C2C) | अलग-अलग IoT platforms के बीच data sharing | Alexa ↔ Google Home integration |
📡 Communication Technologies
- Wi-Fi: Short range, high speed — Smart Home systems।
- Bluetooth/BLE: Short range, low power — Wearables।
- ZigBee/Z-Wave: Mesh networking — Home Automation।
- LoRaWAN: Long range, low power — Smart City/Agriculture।
- Cellular (4G/5G): Large-scale, high mobility — Connected Vehicles।
⭐ Importance व ⚠️ Challenges
- Importance: Real-time monitoring, remote control व data-driven decision making का base।
- Challenges: Data security/privacy, interoperability issues, bandwidth व latency limitations, power consumption।
Controlled Systems — नियंत्रित प्रणालियों की कार्यप्रणाली
🧩 Components of a Controlled System
- Input Signal (Set Point): Desired value — जैसे desired temperature।
- Controller: Decision-making unit जो feedback के आधार पर action देता है।
- Actuator: Physical device जो controller के signal पर काम करता है (motor, relay)।
- Sensor/Feedback Element: Actual output measure करके controller को भेजता है।
⚙️ Feedback Control Loop (Diagram)
Closed-Loop Feedback Control System
🪜 Step-by-Step Working
- Step 1: Sensor output measure करता है (जैसे room temperature)।
- Step 2: Measured value controller को भेजी जाती है।
- Step 3: Controller desired value व actual value compare करके error calculate करता है।
- Step 4: Error मिलने पर controller actuator को signal भेजता है।
- Step 5: यह process लगातार repeat होती है जब तक output desired range में न आ जाए।
🔀 Types of Controlled Systems
| Type | विवरण | उदाहरण |
|---|---|---|
| Open-Loop System | Feedback का उपयोग नहीं करता — output desired value से अलग हो सकता है | Fixed timer वाली Washing Machine |
| Closed-Loop System | Feedback के आधार पर output adjust होता है | Temperature sensor से चलने वाला AC |
✔️ Advantages व 🌍 Applications
- Advantages: High accuracy, automatic adjustment, कम human intervention, energy saving, real-time monitoring।
- Applications: Smart Home (AC, Refrigerator, Fan), Industrial Automation (temperature/pressure control), Smart Agriculture (automatic irrigation), Health Monitoring devices।
Real-time Systems — Feedback Loop के साथ
🔀 Types of Real-time Systems
| Type | विवरण | उदाहरण |
|---|---|---|
| Hard Real-time | Deadline miss होना बिल्कुल acceptable नहीं | Airbag deployment, Pacemaker |
| Soft Real-time | कुछ delay सहन किया जा सकता है | Video streaming, Temperature control |
| Firm Real-time | Occasional delay tolerable, लेकिन बहुत ज़्यादा delay = failure | Online transaction processing |
🔁 Feedback Loop क्या है?
Feedback Loop एक control mechanism है जिसमें system अपने output को continuously monitor करता है और received feedback के आधार पर input/control signal को adjust करता है — इससे system stable व accurate रहता है।
🧩 Components of Feedback Loop
- Sensor: Environment से actual data collect करता है।
- Controller: Data analyze करके corrective action निर्धारित करता है।
- Actuator: Controller के command पर physical action करता है।
- Process: वह system/environment जहाँ control लागू होता है।
⚙️ Working of Feedback Loop
- 1. Sensor system का current state measure करता है।
- 2. Controller desired value व measured value compare करता है।
- 3. Error मिलने पर controller actuator को signal भेजता है।
- 4. Actuator system state में बदलाव करता है (fan speed, temperature)।
- 5. New state फिर से sensor द्वारा measure होती है — loop दोहराया जाता है।
🌍 Real-time Feedback Examples in IoT
- Smart Home: Temperature feedback से automatic AC control।
- Smart Traffic: Sensors के data से traffic lights की timing auto adjust।
- Smart Agriculture: Soil moisture feedback से water pump control।
- Smart Health: Heart rate sensor feedback से dosage control।
✔️ Advantages व ⚠️ Challenges
- Advantages: Immediate response, accurate control, automation, energy efficiency, reliability व safety।
- Challenges: High processing power व low latency चाहिए, sensor failure से loop प्रभावित, communication delay से accuracy घटती है, malicious feedback से security risks।
Connectivity Models — TCP/IP vs OSI
🗼 OSI vs TCP/IP Layer Mapping (Diagram)
OSI की 7 Layers vs TCP/IP की 4 Layers
🗂️ OSI Model की 7 Layers
| Layer | कार्य | उदाहरण |
|---|---|---|
| 7. Application | User interface व services | HTTP, FTP, SMTP |
| 6. Presentation | Data translation, encryption, compression | SSL, JPEG |
| 5. Session | Connection establish, maintain, terminate | Session management |
| 4. Transport | Reliable data transfer | TCP, UDP |
| 3. Network | Routing व addressing | IP |
| 2. Data Link | Frames व MAC addressing | Ethernet frames |
| 1. Physical | Bits transmission | Cables, signals, hardware |
🌐 TCP/IP Model की 4 Layers
| Layer | कार्य | Protocols |
|---|---|---|
| 4. Application | User level protocols | HTTP, FTP, SMTP, DNS |
| 3. Transport | End-to-end communication व reliability | TCP, UDP |
| 2. Internet | Logical addressing व routing | IP, ICMP |
| 1. Network Access | Physical transmission व framing | Ethernet, Wi-Fi |
⚖️ OSI vs TCP/IP — मुख्य अंतर
| Feature | OSI Model | TCP/IP Model |
|---|---|---|
| Layers | 7 Layers | 4 Layers |
| Developed By | ISO (International Standard) | DoD (Department of Defense, USA) |
| Approach | Theoretical/Reference model | Practical/Implementation model |
| Reliability | Protocol dependent नहीं | Protocol-driven (TCP, IP) |
| Flexibility | Complex but detailed | Simpler and faster |
📡 IoT में Connectivity Models का उपयोग
- IoT devices (sensors, gateways) TCP/IP protocol stack का उपयोग करते हैं।
- OSI model network troubleshooting व design के लिए reference देता है।
- TCP/IP की वजह से IoT devices Internet से globally communicate कर पाते हैं।
- IoT gateways अक्सर Transport (TCP/UDP) व Network (IP) layers handle करते हैं।
Wired & Wireless Connectivity
🔌 Wired Connectivity
Devices को physical cables (Ethernet, USB, Serial) से जोड़ा जाता है — signal loss कम व transmission अधिक secure।
| Technology | उपयोग |
|---|---|
| Ethernet (LAN) | सबसे common — IoT gateways व routers में |
| RS-232 / RS-485 | Industrial IoT में sensor communication |
| USB | Short-range wired connectivity |
| Fiber Optic | High-speed transmission (IoT surveillance) |
- Advantages: High speed, low latency, less interference, high reliability, more secure।
- Disadvantages: Limited mobility, cabling cost व maintenance ज़्यादा, large networks में wiring complex।
📶 Wireless Connectivity
Devices radio waves, infrared या satellite links से communicate करते हैं — IoT का सबसे ज़्यादा उपयोग होने वाला तरीका (flexibility + scalability)।
| Technology | Range/Power | उपयोग |
|---|---|---|
| Wi-Fi | Short range, high speed | Smart homes, offices |
| Bluetooth/BLE | Short range, low power | Wearables, Smartwatches |
| ZigBee/Z-Wave | Mesh topology | Home automation, sensor networks |
| LoRaWAN | Long range, low power | Smart cities, agriculture |
| Cellular (4G/5G) | Wide-area, high mobility | Smart vehicles, logistics |
| NFC | Very short, secure | Payment systems, access cards |
- Advantages: Easy installation (no cables), high scalability, mobility।
- Disadvantages: Signal interference व latency, security risks (hacking, eavesdropping), battery devices में power consumption।
⚖️ Wired vs Wireless — तुलना
| Feature | Wired | Wireless |
|---|---|---|
| Mobility | Limited | High (portable devices) |
| Speed | Very High | Moderate to High |
| Reliability | High | Signal quality पर निर्भर |
| Security | More secure | Encryption/authentication ज़रूरी |
| Cost | High setup cost | Low installation cost |
Process Flow — IoT Application की कार्यप्रणाली
🔄 IoT Process Flow (Diagram)
Data की Journey — Sensor से Actuator तक
🪜 Main Steps विस्तार से
| Step | विवरण | उदाहरण |
|---|---|---|
| 1. Sensing | Sensors physical data measure करते हैं | Temperature sensor कमरे का तापमान detect करता है |
| 2. Data Acquisition | Analog signals digital form में convert (ADC) | Arduino/Raspberry Pi का ADC |
| 3. Data Processing | Data को meaningful information में बदलना | Temperature limit से ज़्यादा → AC ON |
| 4. Communication | Data Internet/network से cloud तक | Wi-Fi, Bluetooth, ZigBee, LoRaWAN |
| 5. Cloud Storage & Analysis | Data store व patterns detect | AWS IoT, Google Cloud IoT |
| 6. Decision Making | Automatic decisions या user alerts | Soil data देखकर pump ON |
| 7. Actuation | Actuators physical changes लाते हैं | Motor ON/OFF, Light control, Door lock |
| 8. Visualization | App/dashboard पर live data व control | Blynk, ThingSpeak, Adafruit IO |
✔️ Advantages व ⚠️ Challenges
- Advantages: Fast response, efficient automation, data consistency, real-time monitoring, scalable architecture, easy debugging।
- Challenges: Network latency व connectivity failure, security (encryption ज़रूरी), power consumption व device management।
Example — Smart Agriculture IoT System का Process Flow
🧰 Components Used
- Sensors: Soil Moisture Sensor, Temperature Sensor (DHT11), Light Sensor (LDR)।
- Microcontroller: NodeMCU / Arduino UNO।
- Communication Module: Wi-Fi (ESP8266)।
- Actuator: Water Pump (Relay Module के ज़रिए)।
- Cloud Platform: ThingSpeak / Blynk (data visualization)।
- Power Supply: Solar Panel या Adapter।
💧 Smart Agriculture Flow (Diagram)
Soil Sensor से Water Pump तक — Complete Loop
🪜 Step-by-Step Process Flow
- 1. Data Sensing: Soil Moisture Sensor मिट्टी की नमी मापता है; DHT11 temperature/humidity data collect करता है।
- 2. Data Conversion: Analog signals को microcontroller digital data में convert करता है।
- 3. Data Transmission: NodeMCU Wi-Fi से data cloud platform (ThingSpeak) पर भेजता है।
- 4. Data Analysis: Cloud real-time graphs बनाता है व threshold compare करता है — moisture कम होने पर irrigation command trigger।
- 5. Control Action: Command microcontroller तक जाती है, Relay से water pump ON।
- 6. Feedback & Monitoring: Moisture normal होते ही sensor फिर data भेजता है — pump automatically OFF।
- 7. Visualization: User app/dashboard पर real-time graphs व alerts देखता है।
✔️ Advantages, ⚠️ Challenges व 🌍 अन्य Examples
- Advantages: Water saving, energy-efficient irrigation, automatic control, smartphone से real-time monitoring, scalable।
- Challenges: Rural areas में Internet dependency, sensor calibration/maintenance, data encryption की ज़रूरत।
- अन्य Examples: Smart Home (mobile से lighting/AC control), Smart Traffic (vehicle density से signal timing), Smart Health (wearables से heart rate/oxygen monitoring)।
Summary — Quick Revision
- Things: Sensing, communication व processing क्षमता वाले real-world objects — Identifiable, Connected, Autonomous, Scalable, Interactive।
- Connections (4 types): D2D (direct), D2C (सीधे cloud), D2G (gateway के ज़रिए), C2C (cloud-to-cloud)।
- Controlled System: Feedback से output regulate — Components: Set Point, Controller, Actuator, Sensor। Open-Loop (बिना feedback) vs Closed-Loop (feedback के साथ)।
- Real-time Systems: Deadline के भीतर response — Hard (Airbag), Soft (Video streaming), Firm। Feedback Loop: Sensor → Controller → Actuator → Process → (repeat)।
- OSI Model: 7 layers, ISO, theoretical। TCP/IP Model: 4 layers, DoD, practical — Internet व IoT का base।
- Wired (Ethernet, RS-485) = speed + reliability; Wireless (Wi-Fi, BLE, ZigBee, LoRaWAN, 5G, NFC) = flexibility + scalability।
- Process Flow (8 steps): Sensing → Acquisition (ADC) → Processing → Communication → Cloud → Decision → Actuation → Visualization।
- Smart Agriculture Example: Soil sensor + NodeMCU + Wi-Fi + Cloud + Relay/Pump — "Sense → Process → Communicate → Actuate"।
Model Questions — 50 Important MCQs + 15 Theory Questions
❓ A. Multiple Choice Questions (50 Important Questions)
| प्रश्न | Options | Ans |
|---|---|---|
| 1. IoT में "Things" से क्या तात्पर्य है? | a) सिर्फ computers b) Sensing/communication क्षमता वाले smart objects c) सिर्फ software d) सिर्फ cables | b |
| 2. हर IoT device की पहचान किससे होती है? | a) Color से b) Unique identity/IP address से c) Size से d) Price से | b |
| 3. निम्न में से कौन IoT "Thing" का उदाहरण नहीं है? | a) Smartwatch b) Smart Bulb c) सादा कागज़ d) GPS Tracker | c |
| 4. IoT devices का बिना human input के action करना क्या कहलाता है? | a) Scalability b) Autonomy c) Mobility d) Latency | b |
| 5. Glucose Sensor किस श्रेणी का IoT device है? | a) Smart Home b) Industrial c) Medical d) Vehicle | c |
| 6. Smart Light और Motion Sensor का direct communication कौन-सा connection है? | a) D2C b) D2D c) D2G d) C2C | b |
| 7. Smart Watch का health data सीधे cloud पर upload करना कौन-सा connection है? | a) D2D b) D2G c) D2C d) C2C | c |
| 8. Smart Home Hub किस connection model का उदाहरण है? | a) D2D b) Device-to-Gateway (D2G) c) C2C d) D2C | b |
| 9. Alexa और Google Home का integration किस connection का उदाहरण है? | a) D2D b) D2G c) Cloud-to-Cloud (C2C) d) D2C | c |
| 10. Mesh networking किस technology की विशेषता है? | a) NFC b) ZigBee/Z-Wave c) USB d) Ethernet | b |
| 11. Connected Vehicles के लिए कौन-सी communication technology उपयुक्त है? | a) NFC b) Bluetooth c) Cellular (4G/5G) d) USB | c |
| 12. Wearables के लिए कौन-सी low-power technology उपयोग होती है? | a) Ethernet b) Bluetooth/BLE c) Fiber Optic d) RS-232 | b |
| 13. Controlled System में desired value को क्या कहते हैं? | a) Error b) Feedback c) Set Point d) Output | c |
| 14. Controlled System में decision-making unit कौन है? | a) Sensor b) Actuator c) Controller d) Relay | c |
| 15. Controller के signal पर physical काम कौन करता है? | a) Sensor b) Actuator c) Cloud d) Gateway | b |
| 16. Actual output को measure करके controller को कौन भेजता है? | a) Actuator b) Relay c) Sensor/Feedback Element d) Set Point | c |
| 17. Feedback का उपयोग न करने वाला system क्या कहलाता है? | a) Closed-Loop b) Open-Loop c) Real-time d) Hybrid | b |
| 18. Fixed timer वाली washing machine किसका उदाहरण है? | a) Closed-Loop System b) Open-Loop System c) Hard Real-time d) Feedback System | b |
| 19. Temperature sensor से feedback लेकर compressor ON/OFF करने वाला AC किसका उदाहरण है? | a) Open-Loop b) Closed-Loop System c) Manual System d) C2C | b |
| 20. Controller में desired value और actual value के अंतर को क्या कहते हैं? | a) Signal b) Noise c) Error d) Feedback | c |
| 21. Refrigerator का temperature maintain करना किस mechanism पर आधारित है? | a) Open loop b) Feedback control loop c) Manual control d) Random control | b |
| 22. Real-time System की correctness किस पर निर्भर करती है? | a) सिर्फ output पर b) Output और timing दोनों पर c) सिर्फ hardware पर d) सिर्फ cost पर | b |
| 23. Airbag deployment system किस प्रकार का real-time system है? | a) Soft b) Firm c) Hard d) Open | c |
| 24. Pacemaker किस श्रेणी का real-time system है? | a) Soft Real-time b) Hard Real-time c) Firm Real-time d) Non Real-time | b |
| 25. Video streaming किस प्रकार का real-time system है? | a) Hard b) Soft c) Firm d) Closed | b |
| 26. जहाँ occasional delay tolerable हो पर ज़्यादा delay failure हो, वह कौन-सा system है? | a) Hard Real-time b) Soft Real-time c) Firm Real-time d) Open-Loop | c |
| 27. Self-driving car का milliseconds में brake apply करना किसका उदाहरण है? | a) Open-Loop System b) Real-time System c) Batch System d) Offline System | b |
| 28. Feedback Loop में corrective action कौन निर्धारित करता है? | a) Sensor b) Controller c) Actuator d) Process | b |
| 29. OSI Model में कितनी layers होती हैं? | a) 4 b) 5 c) 6 d) 7 | d |
| 30. TCP/IP Model में कितनी layers होती हैं? | a) 7 b) 5 c) 4 d) 3 | c |
| 31. OSI Model किसने develop किया? | a) DoD b) ISO c) IEEE d) W3C | b |
| 32. TCP/IP Model किसने develop किया? | a) ISO b) DoD (USA) c) IEEE d) NIELIT | b |
| 33. OSI की कौन-सी layer routing व IP addressing करती है? | a) Transport b) Network c) Session d) Physical | b |
| 34. Data encryption व compression OSI की किस layer में होती है? | a) Application b) Session c) Presentation d) Data Link | c |
| 35. Connection establish, maintain और terminate करने का काम कौन-सी layer करती है? | a) Session Layer b) Transport Layer c) Network Layer d) Physical Layer | a |
| 36. TCP और UDP protocols किस layer पर काम करते हैं? | a) Network b) Transport c) Application d) Data Link | b |
| 37. MAC addressing OSI की किस layer में होती है? | a) Physical b) Network c) Data Link d) Session | c |
| 38. Bits का transmission (cables, signals) किस layer में होता है? | a) Data Link b) Physical c) Network d) Transport | b |
| 39. HTTP, FTP, SMTP protocols किस layer के हैं? | a) Transport b) Application c) Internet d) Network Access | b |
| 40. TCP/IP की Internet Layer में कौन-सा protocol काम करता है? | a) TCP b) HTTP c) IP, ICMP d) FTP | c |
| 41. OSI की Presentation और Session layers TCP/IP की किस layer में merge होती हैं? | a) Transport b) Internet c) Application d) Network Access | c |
| 42. Industrial IoT में sensor communication के लिए कौन-सी wired technology उपयोग होती है? | a) NFC b) RS-485 c) BLE d) LoRaWAN | b |
| 43. Payment systems में short distance secure data exchange के लिए क्या उपयोग होता है? | a) LoRaWAN b) ZigBee c) NFC d) Ethernet | c |
| 44. निम्न में से Wired connectivity का लाभ कौन-सा है? | a) High mobility b) High speed व low latency c) कोई cable नहीं d) कम security | b |
| 45. Wireless connectivity की सबसे बड़ी कमी क्या है? | a) High speed b) Signal interference व security risks c) Easy installation d) Mobility | b |
| 46. Analog signals को digital में कौन convert करता है? | a) DAC b) ADC c) Relay d) Router | b |
| 47. IoT Process Flow का पहला step क्या है? | a) Actuation b) Visualization c) Sensing d) Cloud Storage | c |
| 48. Blynk और ThingSpeak किस काम के platforms हैं? | a) Wired connectivity b) Data Visualization/Monitoring c) Sensor manufacturing d) Cable testing | b |
| 49. Smart Agriculture System में water pump को कौन ON/OFF करता है? | a) LDR b) DHT11 c) Relay Module d) ADC | c |
| 50. IoT का मूल सिद्धांत (sequence) क्या है? | a) Actuate → Sense → Process b) Sense → Process → Communicate → Actuate c) Communicate → Sense → Actuate d) Process → Sense → Store | b |
🧩 B. Theory Questions (15 Important One-Liners)
- IoT में "Things" क्या होते हैं?वे real-world objects जिनमें sensing, communication व processing की क्षमता होती है — जैसे smartwatch, smart bulb, GPS tracker, glucose sensor।
- IoT Things की कोई चार characteristics बताइए।Identifiable (unique IP), Connected (network से जुड़े), Autonomous (बिना human input action), Scalable (हजारों devices)।
- IoT Connections के चार प्रकार बताइए।Device-to-Device (D2D), Device-to-Cloud (D2C), Device-to-Gateway (D2G) और Cloud-to-Cloud (C2C)।
- Controlled System क्या है?वह system जो output को लगातार monitor करके feedback के अनुसार input/process बदलता है ताकि desired output मिले — जैसे Refrigerator।
- Controlled System के चार components बताइए।Input Signal (Set Point), Controller, Actuator और Sensor/Feedback Element।
- Open-Loop और Closed-Loop System में अंतर बताइए।Open-Loop feedback उपयोग नहीं करता (fixed timer washing machine); Closed-Loop feedback से output adjust करता है (temperature sensor वाला AC)।
- Real-time System क्या है?वह system जो event के घटने पर निश्चित deadline के भीतर response देता है — correctness output के साथ-साथ timing पर भी निर्भर करती है।
- Hard और Soft Real-time System में अंतर बताइए।Hard में deadline miss acceptable नहीं (Airbag, Pacemaker); Soft में कुछ delay सहनीय है (Video streaming)।
- Feedback Loop की working बताइए।Sensor current state मापता है → Controller desired व actual value compare कर error निकालता है → Actuator को signal → system state बदलता है → loop repeat।
- OSI Model की 7 layers क्रम से बताइए।Application → Presentation → Session → Transport → Network → Data Link → Physical।
- TCP/IP Model की 4 layers बताइए।Application → Transport (TCP/UDP) → Internet (IP, ICMP) → Network Access (Ethernet, Wi-Fi)।
- OSI और TCP/IP में तीन अंतर बताइए।OSI में 7 layers, TCP/IP में 4; OSI ISO ने बनाया, TCP/IP DoD ने; OSI theoretical/reference model है, TCP/IP practical/implementation model।
- Wired और Wireless Connectivity में अंतर बताइए।Wired (Ethernet, RS-485) में high speed/reliability/security पर limited mobility; Wireless (Wi-Fi, BLE, LoRaWAN) में mobility/scalability पर interference व security risks।
- IoT Application के Process Flow के 8 steps बताइए।Sensing → Data Acquisition (ADC) → Processing → Communication → Cloud Storage & Analysis → Decision Making → Actuation → Visualization।
- Smart Agriculture IoT System कैसे काम करता है?Soil moisture sensor data NodeMCU से Wi-Fi द्वारा cloud पर जाता है; moisture threshold से कम होने पर cloud command से relay water pump ON करता है, normal होते ही OFF — "Sense → Process → Communicate → Actuate"।