Physical design of IoT: Things in IoT; IoT protocols (Ethernet, WiFi, WIMAX, LR-WPAN, 2G/3G/4G mobile communication, IPV6, 6LoWPAN, MQTT, WebSocket)

Physical design = things plus उनकी protocol wardrobe, role के हिसाब से organised: link protocols bits move करते हैं (Ethernet, WiFi, WiMAX, LR-WPAN, cellular), network protocols address करते हैं (IPv6, 6LoWPAN), और application protocols converse करते हैं (MQTT, WebSocket)।

12 min read · 10 cards · 2 checks

Read in: English · हिन्दी · ગુજરાતી


Theory

एक Exam Line पर नौ Names

इस topic की syllabus line acronyms की एक spilled drawer जैसी पढ़ती है: Ethernet, WiFi, WiMAX, LR-WPAN, 2G/3G/4G, IPv6, 6LoWPAN, MQTT, WebSocket।

Flat memorised, वे Friday तक blur हो जाते हैं। ROLE से organised, वे 3 small families बन जाते हैं हर एक के साथ एक question: bits कैसे move करते हैं? devices कैसे addressed होते हैं? conversation कैसे structured है?

वह organisation ही है जिसका असल में मतलब है "physical design of IoT": things, और protocols की layered wardrobe जो वे पहनते हैं।

Theory

पहले, Things

Physical-design language में, एक thing कोई भी device है जिसकी एक unique identity है जो sense, actuate और communicate कर सकती है: SmartHostel का tank sensor, gas detector, smart gate, energy meter।

हर thing इनका कुछ mix owns करती है: sensing hardware, actuation hardware, एक processor, एक communication interface, और एक power source (mains या battery: इसे याद रखिए; यह नीचे आधी protocol choices decide करती है)।

Thing noun है। Protocols इसका grammar हैं।

At a glance

Family 1: LINK Protocols (एक Hop में Bits Move करना)

ProtocolNatureSmartHostel Fit
Ethernet (802.3)Wired, fast, reliableHostel server और router, cabled
WiFi (802.11)Wireless LAN, good speed, hungryMains-powered devices: cameras, gate
WiMAX (802.16)एक city area के आर-पार wireless broadbandएक far-off annexe को बिना cables link करना
LR-WPAN (802.15.4)Low-Rate WPAN: tiny power, short range, small dataहर room में battery sensors (ZigBee का base)
2G/3G/4G cellularWide-area mobile networksWiFi की reach से परे water pump house

Theory

Family 2: NETWORK: हर Thing को एक Address देना

एक बार bits move कर सकें, हर device को एक findable address चाहिए।

IPv6 exist करता है क्योंकि IPv4 के लगभग 4 billion addresses उस world को cover नहीं कर सकते जहाँ हर bulb और tank को एक चाहिए। IPv6 के 128-bit addresses effectively inexhaustible हैं: धरती के हर hostel का हर sensor individually addressable हो सकता है: unique identity characteristic, delivered।

6LoWPAN (IPv6 over Low-power WPAN) follow-up problem solve करता है: पूरे IPv6 packets LR-WPAN के tiny frames के लिए heavy हैं, तो 6LoWPAN IPv6 को compress करता है fit होने के लिए: यहाँ तक कि एक coin-cell room sensor को एक proper internet citizen होने देते हुए।

At a glance

Family 3: APPLICATION Protocols (Conversation Structure करना)

ProtocolConversation ShapeSmartHostel Fit
MQTTएक BROKER के ज़रिए lightweight publish-subscribe: senders topics को publish करते हैं, receivers subscribe करते हैंहर sensor hostel/tank/level publish करता है; dashboard subscribe करता है: constrained devices के लिए बनाया गया
WebSocketएक persistent, full-duplex connection: दोनों sides कभी भी भेज सकते हैंWarden का live dashboard: readings बिना re-asking stream होती हैं (AJAX के ask-answer-hang-up के contrast में)

Quiz

एक battery-powered room sensor को एक coin cell पर एक साल चलना है, हर 5 minutes में 10 metres के आर-पार एक tiny reading भेजते हुए। कौन सी LINK protocol family fit होती है?

  1. WiFi: यह table का fastest wireless option है
  2. LR-WPAN (802.15.4): low power, short range, small data: exactly इस job के लिए बना
  3. WiMAX: wireless तो wireless है
  4. 4G cellular: maximum coverage हमेशा safest है
Show the answer

LR-WPAN (802.15.4): low power, short range, small data: exactly इस job के लिए बना

Speeds नहीं, constraints match कीजिए: एक coin cell पर एक साल WiFi की power appetite forbid करता है (option A: वह speed जो sensor को कभी नहीं चाहिए, battery में paid), और 10 metres की range WiMAX के city-scale radios और 4G के tower budget को mock करती है (options C और D: coverage और cost जो job ने कभी नहीं माँगे)। LR-WPAN exactly इस job तक DESIGNED है: low rate, low power, personal-area range: यही वजह है यह ZigBee sensor networks को underlie करता है। Exam pattern: हर choose-a-protocol question एक constraints checklist है: power, range, data size: इसे run कीजिए और answer खुद अपना नाम रखता है।

Think first

Machines के लिए MQTT क्यों, और 6LoWPAN असल में क्या खरीदता है?

एक में दो think-first questions: (a) HTTP ने पूरे web को serve किया: IoT ने अपने devices के लिए इसके बजाय MQTT क्यों चाहा? (b) एक sentence में: 6LoWPAN plain IPv6 पर exactly क्या add करता है? Answers commit कीजिए, फिर tap कीजिए।

Show the answer

(a) HTTP comparatively heavy है: verbose headers, per exchange ask-and-answer: browsers के लिए fine, एक coin-cell sensor के लिए expensive जो 20 bytes बोलता है। MQTT design से minimal है और nature से publish-subscribe: sensor अपना topic publish करता है और सो जाता है; जिसे परवाह हो broker पर subscribe करता है: कम power, कम traffic, कोई sensor कभी track नहीं करता कौन सुन रहा है। (b) 6LoWPAN IPv6 packets को compress करता है low-power WPAN frames में fit होने के लिए: उन devices के लिए internet citizenship जो पूरा IPv6 carry करने के लिए बहुत small हैं। दोनों answers same theme हैं: IoT protocols ordinary internet ideas हैं, tiny devices के लिए slimmed।

Watch out

Protocol-Zoo Slips

Flat-List Answers: बिना उनके 3 roles के 9 names memorisation की तरह पढ़ता है; family से group कीजिए (link, network, application) और हर name अपना why पाता है।

WiFi बनाम WiMAX: local area बनाम metro area: M missing kilometres के लिए है।

Link Protocol की तरह MQTT: यह MESSAGES को application layer पर structure करता है और जो भी link exist करे उस पर ride करता है: layers, alternatives नहीं।

"IPv6 IPv4 से faster है": win ADDRESS SPACE है (128-bit), speed नहीं: addresses लिखिए, mark collect कीजिए।

Theory

एक Decision, तीन Questions

एक नया SmartHostel device fit करना हमेशा same interview है: power और range budget क्या है? (link family pick करता है) : क्या इसे कहीं से भी individually addressable होना चाहिए? (IPv6/6LoWPAN) : क्या conversation publish-and-forget है या एक live two-way stream? (MQTT बनाम WebSocket)। अगला lesson hardware छोड़कर LOGICAL design पर जाता है: IoT के functional blocks, और 4 communication models: जहाँ MQTT का publish-subscribe idea अपना formal seat पाता है।

Summary

Key takeaways

  • Physical design = things (identifiable sense-act-communicate devices) + उनके protocols, role से organised।
  • Link family bits move करता है: Ethernet (wired), WiFi (WLAN), WiMAX (metro), LR-WPAN 802.15.4 (low-power sensors), 2G/3G/4G (wide area)।
  • Network family address करता है: IPv6 का 128-bit space हर thing cover करता है; 6LoWPAN tiny devices के लिए IPv6 compress करता है।
  • Application family conversation करता है: MQTT (एक broker के ज़रिए lightweight publish-subscribe), WebSocket (persistent full-duplex stream)।
  • Constraints से choose कीजिए: links के लिए power + range + data size; application protocols के लिए conversation shape।
  • Layers stack होती हैं: MQTT एक link पर ride करता है, कभी replace नहीं करता।
  • Memory hook: move, address, converse: तीन families, एक wardrobe।

Study this properly

This page is the lesson to read. In Gri-Learn the same topic is a graded deck: the self-checks are scored and your weak topics are tracked. Free to start.

Start this topic

Already have an account? Sign in

More from Introduction to Internet of Things

Gri-Learn · syllabus-mapped B.C.A. lessons in English, Hindi and Gujarati

Physical design of IoT: Things in IoT; IoT protocols (Ethernet, WiFi, WIMAX, LR-WPAN, 2G/3G/4G mobile communication, IPV6, 6LoWPAN, MQTT, WebSocket) · Internet of Things (IoT) (Minor option A) · Gri-Learn