Introduction to IoT
Unit 6: Communication Protocols
From Bluetooth to LoRa โ master the wireless and wired protocols that let billions of IoT devices talk to each other across India and the world.
โฑ๏ธ Time to Complete: 6โ8 hours | ๐ก 7 Protocols Covered | ๐ 30 MCQs (Bloom's Mapped)
๐ผ Jobs this unlocks: Embedded IoT Engineer (โน4โ8 LPA) | IoT Solutions Architect (โน8โ15 LPA) | Smart City Developer (โน5โ10 LPA)
Opening Hook โ How 100 Crore Devices Talk Without Wires
๐ก The Invisible Symphony Behind Every FASTag Beep
You're driving on the MumbaiโPune Expressway. Without stopping, your car glides through the toll plaza at 80 km/h. A tiny RFID tag on your windshield exchanges data with the overhead reader in under 100 milliseconds โ your toll is deducted, a receipt is generated, and traffic keeps flowing. No human, no cash, no delay.
Meanwhile, on a farm in Telangana, a LoRa sensor buried in the soil measures moisture levels and sends data 12 km across fields to a gateway โ using less power than a wristwatch battery, lasting 5+ years without replacement. In Delhi, someone taps their phone on the Metro turnstile โ NFC transfers the ticket data in 0.1 seconds at a range of just 4 cm.
Each of these scenarios uses a different communication protocol โ different ranges, different power levels, different data rates. An IoT engineer's superpower is knowing which protocol to use when. Choose wrong, and your smart farm sensor drains its battery in 2 days instead of 5 years. Choose right, and you build systems that run for a decade untouched.
Learning Outcomes โ Bloom's Taxonomy Mapped
| Bloom's Level | Learning Outcome |
|---|---|
| ๐ต Remember | List the 7 IoT communication protocols (Bluetooth, Cellular, RFID, LoRa, CAN, WiFi, NFC) and recall their standard IEEE/industry designations |
| ๐ต Understand | Explain the tradeoffs between range, power consumption, and data rate for each protocol using Indian real-world examples |
| ๐ข Apply | Configure an ESP32 module to connect to WiFi and transmit sensor data using the Arduino IDE |
| ๐ข Analyze | Compare all 7 protocols across range, power, data rate, cost, and use case to determine the best fit for different IoT scenarios |
| ๐ Evaluate | Assess which communication protocol is optimal for a given Indian deployment scenario (smart farm, smart city, vehicle tracking) |
| ๐ Create | Design a multi-protocol IoT architecture for a smart village project integrating LoRa sensors, WiFi gateways, and cellular backhaul |
Concept Explanation โ IoT Communication Protocols from Scratch
1. IoT Communication Overview
Every IoT device needs to send data somewhere โ to another device, to a gateway, to the cloud. But unlike your laptop streaming Netflix over broadband, IoT devices face unique constraints. A soil moisture sensor in a village can't be plugged into a wall socket. A FASTag can't wait 5 seconds for a connection. A fitness band can't weigh 500 grams with a huge antenna. These constraints drive the choice of communication protocol.
๐ก Why Wireless? The IoT Communication Triangle
IoT communication is governed by a fundamental three-way tradeoff:
| Factor | What It Means | Example |
|---|---|---|
| Range | How far can the signal travel? | NFC: 4 cm vs LoRa: 15 km |
| Power | How much battery does it consume? | BLE: years on coin cell vs WiFi: needs wall power |
| Data Rate | How much data per second? | WiFi: 100+ Mbps vs LoRa: 0.3โ50 kbps |
The Golden Rule: You can optimise for any TWO, but the third will suffer. Long range + low power = very low data rate (LoRa). High data rate + long range = high power (Cellular/4G). Short range + low power = moderate data (BLE).
Analogy: Think of it like sending a message in college. Whispering to your benchmate (NFC) uses zero effort but works only at arm's length. Shouting across the playground (WiFi) reaches far but drains your energy. Sending a letter by post (LoRa) covers huge distances with minimal effort but takes time and carries limited content.
2. Bluetooth (IEEE 802.15.1)
Plain English: Bluetooth is the technology that connects your wireless earbuds to your phone. In IoT, a newer version called BLE (Bluetooth Low Energy) is used because it sips power so gently that a coin-cell battery can last 2โ5 years.
๐ต Bluetooth โ Key Technical Details
IEEE 802.15.1 โ a Wireless Personal Area Network (WPAN) standard
Frequency2.4 GHz ISM band (same as WiFi and microwave ovens)
Versions| Version | Type | Data Rate | Range | Power |
|---|---|---|---|---|
| Bluetooth Classic (v2.1/3.0) | Audio, file transfer | 1โ3 Mbps | 10โ100 m | Medium |
| BLE (v4.0+) | IoT sensors, beacons | 125 kbpsโ2 Mbps | 10โ100 m | Very Low |
| Bluetooth 5.0+ | Extended range IoT | 2 Mbps | Up to 400 m (open) | Low |
Piconet: 1 master + up to 7 active slaves. Scatternet: Multiple piconets interconnected.
IoT Use CasesFitness bands (Mi Band, Noise), wireless earbuds (boAt), health monitors, smart locks, indoor beacons (shopping malls), asset tracking.
3. Cellular Networks for IoT
Plain English: Your phone uses 4G/5G towers to access the internet. The same cellular towers can connect IoT devices โ but sending cat videos isn't the point. IoT cellular is optimised for tiny packets of data (temperature readings, GPS coordinates) sent infrequently, using special protocols like NB-IoT and LTE-M.
๐ถ Cellular IoT โ Generations & IoT-Specific Standards
| Generation | IoT Relevance | Speed | Indian Status |
|---|---|---|---|
| 2G (GSM) | Legacy IoT (M2M), being sunset | ~100 kbps | BSNL still operates; Jio never used 2G |
| 3G (UMTS) | Legacy fleet tracking, CCTV | ~2 Mbps | Shutting down in India |
| 4G LTE | Video surveillance, connected cars | ~100 Mbps | Primary network for Jio, Airtel, Vi |
| NB-IoT | Low-power sensors, smart meters | ~250 kbps | Jio deploying for smart cities |
| LTE-M | Wearables, asset tracking (supports mobility) | ~1 Mbps | Limited deployment in India |
| 5G | Autonomous vehicles, industrial IoT, AR/VR | ~1โ10 Gbps | Jio 5G in 700+ cities; Airtel expanding |
Regular SIM cards aren't suitable for IoT โ they expire, can't handle extreme temperatures, and aren't remotely manageable. IoT SIMs (M2M SIMs) are rugged, have long validity (10+ years), support remote provisioning (eSIM), and can be managed in bulk. Jio and Airtel offer dedicated IoT SIM plans starting at โน15/month.
4. RFID โ Radio Frequency Identification
Plain English: RFID is like a barcode that doesn't need to be scanned with a laser โ it communicates using radio waves. The tag doesn't even need a battery (passive RFID). Your FASTag, Delhi Metro card, library book tag, and Decathlon clothing tag all use RFID.
๐ท๏ธ RFID โ How It Works
RFID Tag: A tiny chip + antenna attached to the object. Contains a unique ID (like an Aadhaar number for things).
RFID Reader: Emits radio waves. When a tag enters the field, it powers up (passive) or responds (active) with its data.
Backend System: Receives the tag data, looks up the database, performs the action (deduct toll, open gate, log entry).
Active vs Passive Tags| Feature | Passive RFID | Active RFID |
|---|---|---|
| Battery | โ No โ powered by reader's RF energy | โ Yes โ has own battery |
| Range | 1 cm โ 12 m | 30 โ 100+ m |
| Cost per Tag | โน5 โ โน50 | โน500 โ โน2,000 |
| Lifespan | Virtually unlimited (no battery) | 3โ5 years (battery) |
| Use Case | FASTag, metro cards, inventory | Vehicle tracking, container tracking, mining |
| Band | Frequency | Range | Use |
|---|---|---|---|
| LF (Low Frequency) | 125โ134 kHz | ~10 cm | Animal tracking, access cards |
| HF (High Frequency) | 13.56 MHz | ~1 m | Library books, smart cards, NFC |
| UHF (Ultra High Freq) | 860โ960 MHz | 1โ12 m | FASTag, warehouse, retail |
5. LoRa (Long Range) & LoRaWAN
Plain English: Imagine you need to send a one-line SMS from a sensor on a farm in rural Bihar to a gateway 12 km away โ and the sensor must run on 2 AA batteries for 5 years. No WiFi range. No cellular coverage. This is exactly what LoRa was built for: Long Range, Low Power, Low Data Rate.
๐ป LoRa & LoRaWAN Architecture
LoRa = the physical radio modulation technique (Chirp Spread Spectrum). Think of it as the "language" the radio speaks.
LoRaWAN = the network protocol built on top of LoRa. Think of it as the "postal system" โ addressing, routing, security.
Key Specifications| Parameter | Value |
|---|---|
| Frequency (India) | 865โ867 MHz (ISM band, license-free) |
| Range (rural) | 5โ15 km (line-of-sight) |
| Range (urban) | 2โ5 km |
| Data Rate | 0.3โ50 kbps |
| Battery Life | 2โ10 years on AA batteries |
| Topology | Star-of-stars (Devices โ Gateways โ Network Server โ Application) |
| Max Payload | ~242 bytes per packet |
Class A (lowest power): Device initiates all communication. Listens briefly after transmitting. Best for sensors.
Class B (scheduled receive): Opens receive windows at scheduled times. Good for actuators.
Class C (always listening): Continuously listening. Highest power. Good for mains-powered actuators (streetlights).
6. CAN (Controller Area Network)
Plain English: Inside your car, dozens of electronic systems need to talk to each other โ the engine control unit, ABS brakes, airbag sensors, dashboard display, power windows. CAN bus is the "nervous system" of your car. Every modern vehicle โ from a Maruti Alto to a Tesla โ uses CAN.
๐ CAN Bus โ The Vehicle Communication Backbone
CAN is a wired, serial communication protocol developed by Bosch in 1986. It allows microcontrollers and ECUs (Electronic Control Units) to communicate without a central host computer.
Key Technical Features| Feature | Detail |
|---|---|
| Type | Wired, serial, multi-master bus |
| Data Rate | Up to 1 Mbps (CAN 2.0), up to 5 Mbps (CAN FD) |
| Wiring | Two-wire differential signaling (CAN_H, CAN_L) โ resistant to electromagnetic noise |
| Topology | Linear bus โ all nodes share the same two wires |
| Message Priority | Arbitration based on message ID โ lower ID = higher priority (critical messages like brakes win) |
| Max Nodes | Up to 127 on a single bus |
| Error Handling | Built-in CRC, acknowledgment, and fault confinement โ extremely reliable |
CAN uses two wires: CAN_H (high) and CAN_L (low). Data is encoded as the voltage difference between them. If electrical noise hits both wires equally (which it usually does), the difference stays the same โ so noise is cancelled out. This is why CAN works reliably even in electrically noisy car engines.
7. WiFi (Wireless Fidelity) โ IEEE 802.11
Plain English: You already know WiFi โ it's what connects your phone to the internet at home. In IoT, WiFi is used when devices need high data rates and are near a router (smart home devices, security cameras, voice assistants). The ESP8266 and ESP32 microcontrollers made WiFi-based IoT projects incredibly cheap (โน150โโน400).
๐ถ WiFi Standards for IoT
| Standard | Name | Frequency | Max Speed | IoT Relevance |
|---|---|---|---|---|
| 802.11b | WiFi 1 | 2.4 GHz | 11 Mbps | Legacy, obsolete |
| 802.11g | WiFi 3 | 2.4 GHz | 54 Mbps | Legacy |
| 802.11n | WiFi 4 | 2.4/5 GHz | 600 Mbps | Most IoT devices use this |
| 802.11ac | WiFi 5 | 5 GHz | 3.5 Gbps | IP cameras, smart TVs |
| 802.11ax | WiFi 6 | 2.4/5/6 GHz | 9.6 Gbps | Smart home hubs, dense IoT |
| 802.11ah | WiFi HaLow | Sub-1 GHz | ~150 kbps | Long-range IoT (1 km+), low power |
The ESP8266 (โน150) and ESP32 (โน350) by Espressif are WiFi-enabled microcontrollers that revolutionised IoT hobbyist and commercial projects. They have:
- Built-in WiFi (802.11 b/g/n) + Bluetooth (ESP32 only)
- GPIO pins for sensors and actuators
- Arduino IDE compatible โ program in C/C++ or MicroPython
- Over-the-Air (OTA) firmware updates via WiFi
- Used in: smart plugs, weather stations, home automation, industrial monitoring
Arduino C++ (ESP32) // ESP32 WiFi โ Connect to home router and send sensor data #include <WiFi.h> const char* ssid = "MyHomeWiFi"; const char* password = "password123"; void setup() { Serial.begin(115200); WiFi.begin(ssid, password); while (WiFi.status() != WL_CONNECTED) { delay(500); Serial.print("."); } Serial.println("Connected! IP: " + WiFi.localIP().toString()); } void loop() { // Read sensor, send to cloud every 30 seconds float temp = readTemperature(); sendToCloud(temp); delay(30000); }
8. NFC (Near Field Communication)
Plain English: NFC is like a very short whisper between two devices held nearly touching. When you tap your phone on a payment terminal (Google Pay), tap your Delhi Metro card, or share a contact by tapping two phones together โ that's NFC. Range is under 10 cm, which is actually a security feature, not a limitation.
๐ฑ NFC โ Ultra-Short-Range Communication
| Parameter | Value |
|---|---|
| Frequency | 13.56 MHz (HF band) |
| Range | โค 10 cm (typically 1โ4 cm) |
| Data Rate | 106, 212, or 424 kbps |
| Standard | ISO/IEC 14443, ISO/IEC 18092 |
| Power | Ultra-low (passive tags need no battery) |
| Mode | How It Works | Example |
|---|---|---|
| Reader/Writer | Phone reads data from an NFC tag | Reading a smart poster, museum exhibit info |
| Peer-to-Peer | Two NFC devices exchange data | Android Beam (deprecated), sharing WiFi credentials |
| Card Emulation | Phone acts as a contactless smart card | Google Pay, Apple Pay, Delhi Metro on phone |
NFC is technically a subset of HF RFID (both use 13.56 MHz). But NFC adds peer-to-peer communication and card emulation. RFID is one-way (reader โ tag). NFC can be two-way (device โ device). Think: RFID is a monologue; NFC is a conversation.
9. Protocol Comparison โ All 7 Protocols at a Glance
This is the most important table in this unit. Memorise it, bookmark it, and use it every time you design an IoT system.
| Protocol | Range | Power Consumption | Data Rate | Cost per Node | Best Use Case |
|---|---|---|---|---|---|
| Bluetooth (BLE) | 10โ100 m | Very Low | 125 kbps โ 2 Mbps | โน50โโน200 | Wearables, health monitors, smart locks |
| Cellular (4G/5G/NB-IoT) | 1โ35 km (tower range) | High (4G) / Medium (NB-IoT) | 250 kbps โ 1 Gbps | โน300โโน2,000 + SIM plan | Fleet tracking, smart meters, connected cars |
| RFID | 1 cm โ 12 m | None (passive) / Low (active) | 40โ640 kbps | โน5โโน2,000 | FASTag, inventory, access cards |
| LoRa | 2โ15 km | Very Low | 0.3โ50 kbps | โน300โโน800 | Agriculture, smart city sensors, water meters |
| CAN Bus | 40 m (1 Mbps) โ 500 m (125 kbps) | Low (wired) | Up to 1 Mbps (CAN FD: 5 Mbps) | โน20โโน100 (chip) | Vehicles, industrial automation, robotics |
| WiFi | 30โ100 m (indoor) | High | 11 Mbps โ 9.6 Gbps | โน150โโน500 (ESP module) | Smart home, IP cameras, voice assistants |
| NFC | โค 10 cm | Ultra-Low | 106โ424 kbps | โน2โโน30 (tag) | Payments, metro cards, smart posters |
10. Choosing the Right Protocol โ Decision Framework
The most valuable skill in IoT isn't knowing protocols โ it's knowing which one to pick. Here's a decision framework:
๐ Protocol Selection Decision Tree
Step 1: What's the Range?
| Range Needed | Protocol Options |
|---|---|
| Touch / < 10 cm | NFC |
| Short (10โ100 m) | Bluetooth (BLE), WiFi, Zigbee |
| Medium (100 m โ 1 km) | WiFi (outdoor), Bluetooth 5 (long range) |
| Long (1โ15 km) | LoRa, Cellular (NB-IoT) |
| Very Long (nationwide) | Cellular (4G/5G) |
Step 2: What's the Power Constraint?
| Power Source | Best Protocols |
|---|---|
| Mains powered (wall socket) | WiFi, Cellular, CAN (wired) |
| Battery (replace yearly) | BLE, WiFi (with deep sleep) |
| Battery (5+ years, no replace) | LoRa, NB-IoT |
| No battery (energy harvesting) | RFID (passive), NFC (passive tags) |
Step 3: What's the Data Requirement?
| Data Volume | Best Protocols |
|---|---|
| Video / high-bandwidth | WiFi, 4G/5G |
| Moderate (sensor data, GPS) | BLE, Cellular, WiFi |
| Tiny (temperature, ID, status) | LoRa, NB-IoT, RFID, NFC |
| Real-time vehicle data | CAN Bus (wired, reliable) |
Now YOU try it โ Pick 3 IoT scenarios from your daily life (gym, canteen, hostel) and choose the best protocol for each using the decision tree above.
Learn by Doing โ 3-Tier Lab Structure
๐ข Tier 1 โ GUIDED TASK: ESP32 WiFi Temperature Logger
Step 1: Set Up Arduino IDE for ESP32
- Install Arduino IDE from
arduino.cc - Go to File โ Preferences โ paste ESP32 board URL:
https://dl.espressif.com/dl/package_esp32_index.json - Tools โ Board Manager โ Search "ESP32" โ Install
- Select Board: "ESP32 Dev Module"
Step 2: Wire the DHT11 Sensor
Connect DHT11 pin 1 (VCC) โ 3.3V, pin 2 (Data) โ GPIO 4, pin 4 (GND) โ GND.
Step 3: Install Libraries
Sketch โ Include Library โ Manage Libraries โ Search and install: DHT sensor library by Adafruit and WiFi (built-in).
Step 4: Upload the Code
Arduino C++ #include <WiFi.h> #include <DHT.h> #define DHTPIN 4 #define DHTTYPE DHT11 DHT dht(DHTPIN, DHTTYPE); const char* ssid = "YourWiFi"; const char* pass = "YourPassword"; void setup() { Serial.begin(115200); dht.begin(); WiFi.begin(ssid, pass); while(WiFi.status() != WL_CONNECTED) delay(500); Serial.println("WiFi Connected!"); } void loop() { float t = dht.readTemperature(); float h = dht.readHumidity(); Serial.printf("Temp: %.1fยฐC Humidity: %.1f%%\n", t, h); // TODO: Send to ThingSpeak or Blynk cloud delay(5000); }
Step 5: View Output
Open Serial Monitor (115200 baud). You should see temperature and humidity readings every 5 seconds. ๐ You've built your first WiFi IoT device!
๐ก Tier 2 โ SEMI-GUIDED TASK: Bluetooth BLE Scanner with ESP32
Your Mission:
Program the ESP32 to scan for BLE devices nearby (phones, smartwatches, fitness bands) and display their names, MAC addresses, and RSSI (signal strength) on the Serial Monitor.
Hints:
- Use the
BLEScanlibrary (built into ESP32 Arduino core) - Include
<BLEDevice.h>,<BLEScan.h>,<BLEAdvertisedDevice.h> - Create a scan callback that prints: device name, MAC address, and RSSI (in dBm)
- RSSI closer to 0 = stronger signal. Typical: -30 (very close) to -90 (far)
- Set scan duration to 5 seconds, repeat every 10 seconds
distance โ 10^((TxPower - RSSI) / (10 ร n)) where TxPower โ -59 dBm and n โ 2 (free space). How many BLE devices are within 5 metres of your desk?
๐ด Tier 3 โ OPEN CHALLENGE: Multi-Protocol IoT Architecture Design
The Brief:
You have been hired by a Tier-2 Indian city (population ~5 lakh) to design the IoT communication architecture for a Smart City project covering:
- Smart Parking: 500 parking spots with occupancy sensors
- Air Quality: 50 PM2.5 monitors across the city
- Smart Streetlights: 2,000 LED lights with dimming control
- Toll Collection: 4 toll plazas on city entry points
- Public Transit: NFC-based ticketing for 100 city buses
Your Deliverable:
A 3โ5 page document with: (1) Protocol selection for each use case with justification, (2) Network architecture diagram (LoRa gateways, cellular backhaul, WiFi zones), (3) Cost estimate per node, (4) Battery/power plan, (5) Data flow: sensor โ gateway โ cloud โ dashboard.
Industry Spotlight โ A Day in the Life
๐จโ๐ป Arjun Mehta, 28 โ IoT Solutions Engineer at Bosch India, Bangalore
Background: B.Tech ECE from NIT Warangal. Did an internship at a smart agriculture startup in Hyderabad. Got placed at Bosch through off-campus referral after building a LoRa-based flood monitoring prototype for his final year project.
A Typical Day:
9:00 AM โ Standup with the Connected Mobility team. Review CAN bus diagnostics data from Tata Motors EV fleet testing.
10:00 AM โ Debug a CAN frame parsing issue โ the BMS (Battery Management System) ECU is sending inconsistent state-of-charge values. Use Vector CANalyzer tool to sniff bus traffic.
11:30 AM โ Design review for a new BLE-based tyre pressure monitoring system (TPMS) for a Mahindra SUV model. Discuss antenna placement, BLE advertising intervals, and battery life targets.
1:00 PM โ Lunch. Chat with the IoT Platform team about migrating sensor data from MQTT to Bosch IoT Suite.
2:30 PM โ Write firmware for an ESP32 gateway that bridges BLE sensors to WiFi for a factory monitoring POC (Proof of Concept).
4:00 PM โ Call with a Jio IoT team member about NB-IoT connectivity for a smart parking sensor deployment in Pune.
5:30 PM โ Online course on automotive Ethernet (replacement for CAN in next-gen vehicles). Career goal: move into autonomous vehicle communication systems.
| Detail | Info |
|---|---|
| Tools Used Daily | Vector CANalyzer, Arduino IDE, ESP-IDF, Wireshark, MQTT Explorer, Bosch IoT Suite |
| Entry Salary (2025) | โน5โ8 LPA + benefits |
| Mid-Level (3โ5 yrs) | โน10โ18 LPA |
| Senior (7+ yrs) | โน20โ40 LPA |
| Companies Hiring | Bosch India, Tata Elxsi, KPIT Technologies, L&T Technology Services, Wipro IoT, Infosys (Topaz IoT), HCL, Samsung R&D India, Intel India |
Earn With It โ Freelance & Income Roadmap
๐ฐ Your Earning Path After This Chapter
Portfolio Piece: "ESP32 WiFi Temperature Logger" + "Multi-Protocol Smart City Architecture" โ a working IoT device + a professional system design document.
Beginner Gig Ideas:
โข ESP32 WiFi-based home temperature/humidity monitor โ โน2,000โโน5,000 per unit (build and sell)
โข RFID attendance system for coaching centres โ โน8,000โโน15,000 per setup
โข BLE beacon-based indoor navigation POC for shops/malls โ โน10,000โโน25,000
โข LoRa sensor network proposal for farms โ โน5,000โโน15,000 (consulting)
| Platform | Best For | Typical Rate |
|---|---|---|
| Internshala | IoT internships & Indian project gigs | โน5,000โโน15,000/project |
| Fiverr | ESP32/Arduino freelance projects | $20โ$100/gig (โน1,600โโน8,000) |
| Upwork | IoT firmware & architecture consulting | $20โ$60/hour |
| Direct outreach to Indian IoT startups | โน10,000โโน30,000/project | |
| Local Hardware Shops | Build RFID/NFC systems for local businesses | โน5,000โโน20,000/project |
โฑ๏ธ Time to First Earning: 3โ4 weeks (complete Tier 1 lab, build an RFID attendance prototype, pitch to a local coaching centre)
MCQ Assessment Bank โ 30 Questions (Bloom's Mapped)
Remember / Identify (Q1โQ6)
Bluetooth operates on which IEEE standard?
- IEEE 802.11
- IEEE 802.15.1
- IEEE 802.15.4
- IEEE 802.3
FASTag in India uses which RFID frequency band?
- LF (125 kHz)
- HF (13.56 MHz)
- UHF (865โ867 MHz)
- Microwave (2.4 GHz)
LoRa stands for:
- Low Range
- Long Range
- Local Radio
- Logical Routing Architecture
CAN bus was originally developed by which company?
- Intel
- Bosch
- Siemens
- Texas Instruments
NFC operates at a frequency of:
- 2.4 GHz
- 125 kHz
- 13.56 MHz
- 868 MHz
Which ESP module supports both WiFi and Bluetooth?
- ESP8266
- ESP32
- Arduino Uno
- Raspberry Pi Pico
Understand / Explain (Q7โQ12)
Why does BLE (Bluetooth Low Energy) achieve longer battery life than classic Bluetooth?
- It uses a higher frequency band
- It transmits data in short bursts and sleeps between transmissions
- It has a larger antenna
- It uses wired connections for power
Why does CAN bus use differential signaling (two wires) instead of a single wire?
- To double the data speed
- To cancel out electromagnetic noise that affects both wires equally
- To reduce the cost of wiring
- To support wireless communication
Why is NFC considered more secure than Bluetooth for payment applications?
- NFC uses stronger encryption algorithms
- NFC has an ultra-short range (โค10 cm), making remote interception nearly impossible
- NFC is faster than Bluetooth
- NFC doesn't use radio waves
What is the primary tradeoff of using LoRa for IoT communication?
- Long range but very low data rate
- High data rate but short range
- Low power but requires wired connection
- High cost but long battery life
Why is NB-IoT preferred over regular 4G LTE for smart meter applications?
- NB-IoT has higher speeds
- NB-IoT uses less power, has better indoor penetration, and costs less per module
- NB-IoT doesn't require a SIM card
- NB-IoT works without cellular towers
A passive RFID tag works without a battery. How does it get power?
- It uses solar energy
- It harvests energy from the reader's RF field through electromagnetic induction
- It is connected to mains power
- It stores energy from ambient WiFi signals
Apply / Implement (Q13โQ18)
A hospital needs to track the real-time location of 200 medical equipment assets within a building (50 m range). Which protocol is BEST?
- LoRa
- BLE beacons
- NFC
- CAN bus
A farmer in rural Maharashtra wants to monitor soil moisture across 50 acres, 8 km from the nearest village with internet. Sensors must last 3+ years on batteries. Which protocol?
- WiFi
- Bluetooth
- LoRa
- NFC
An IoT developer writes this ESP32 code: WiFi.begin("SSID", "PASS"). What does this function do?
- Creates a WiFi hotspot
- Initiates a connection to the specified WiFi network
- Scans for nearby WiFi networks
- Disconnects from WiFi
A logistics company wants to track 5,000 delivery trucks across India in real-time, reporting GPS coordinates every 30 seconds. Which protocol?
- BLE
- LoRa
- Cellular (4G LTE)
- NFC
A shopping mall wants customers to tap their phone near a product display to get information and discount coupons. Which protocol?
- LoRa
- CAN bus
- NFC
- Cellular
An automotive engineer needs the ABS module, engine ECU, and airbag controller to communicate reliably inside a car with zero packet loss. Which protocol?
- WiFi
- Bluetooth
- CAN bus
- LoRa
Analyze / Compare (Q19โQ24)
Comparing BLE and WiFi for a smart home door sensor: the sensor detects open/close events and sends a 10-byte status update. It runs on a coin cell battery. Why is BLE a better choice than WiFi?
- BLE has longer range
- BLE has higher data throughput
- BLE's duty-cycling draws ~100ร less average power, enabling years of battery life
- BLE provides better internet connectivity
Why would a smart city project choose LoRa over cellular (NB-IoT) for deploying 10,000 environmental sensors, despite both having similar range?
- LoRa has higher data rates
- LoRa has no recurring subscription cost โ it operates on license-free ISM bands
- LoRa has better indoor penetration
- LoRa supports voice calls
In the IoT communication triangle (Range, Power, Data Rate), which protocol best optimises for Range + Low Power at the expense of Data Rate?
- WiFi
- BLE
- LoRa
- CAN bus
A company deploys passive RFID for warehouse inventory (read range: 5 m) and active RFID for shipping container tracking (read range: 80 m). Why is active RFID more expensive?
- Active RFID uses higher frequencies
- Active RFID tags contain their own battery and a more powerful transmitter
- Active RFID requires a license
- Active RFID uses NFC technology
A smart home has: (i) security camera, (ii) smart bulb, (iii) door lock sensor. Which protocol pairing makes the MOST sense?
- Camera: LoRa, Bulb: CAN, Lock: NFC
- Camera: WiFi, Bulb: WiFi, Lock: BLE
- Camera: NFC, Bulb: BLE, Lock: LoRa
- Camera: CAN, Bulb: LoRa, Lock: RFID
CAN FD (Flexible Data-rate) was introduced as an upgrade to CAN 2.0. What is the key improvement?
- Wireless communication support
- Higher data rate (up to 5 Mbps) and larger payload (64 bytes vs 8 bytes)
- Support for internet connectivity
- Reduced wiring from 2 wires to 1 wire
Evaluate / Justify (Q25โQ28)
An Indian state government wants to deploy smart water meters in 10 lakh homes across urban and rural areas. The meters should last 10 years without battery replacement and send daily readings. Which protocol is MOST appropriate?
- WiFi
- LoRa or NB-IoT
- Bluetooth
- NFC
A company proposes using LoRa for a factory's real-time machine monitoring system that requires 100 sensor readings per second from each of 50 machines. Evaluate this proposal.
- Excellent choice โ LoRa is perfect for industrial IoT
- Poor choice โ LoRa's low data rate and duty cycle limitations cannot handle 5,000 readings/second
- Good choice โ LoRa has sufficient bandwidth for this
- Acceptable โ LoRa can handle it with data compression
India's "One Nation One Card" initiative aims to use a single card for metro, bus, and rail across all cities. Why is NFC/HF RFID (13.56 MHz) the correct choice over UHF RFID?
- NFC is cheaper than UHF RFID
- NFC's short range prevents accidental reads of nearby cards, ensuring only the intended card is charged
- NFC has higher data rates than UHF RFID
- NFC works without a reader
An IoT startup claims their smart agriculture solution uses "WiFi sensors deployed across 500 acres with 2-year battery life." Evaluate this claim.
- Plausible โ WiFi is energy-efficient enough for this
- Misleading โ WiFi's range (30โ100 m) and high power consumption make this impractical for 500 acres with 2-year batteries
- Correct โ WiFi HaLow solves range and power issues
- True โ ESP8266 deep sleep enables multi-year operation
Create / Design (Q29โQ30)
You're designing an IoT-enabled parking system for a mall with 200 parking spots. Cars enter via RFID boom barrier. Each spot has an occupancy sensor. A display at the entrance shows available spots per floor. Which protocol combination is BEST?
- Entry: RFID, Sensors: LoRa, Display: Cellular
- Entry: UHF RFID, Sensors: BLE or WiFi, Display: WiFi (local network)
- Entry: NFC, Sensors: CAN bus, Display: LoRa
- Entry: WiFi, Sensors: NFC, Display: BLE
Design an IoT health monitoring wristband for elderly patients at home. It measures heart rate, temperature, and fall detection. Data must reach a family member's phone AND a cloud server. Which protocol architecture?
- LoRa from wristband โ cloud server directly
- BLE from wristband โ smartphone โ WiFi/Cellular โ cloud
- WiFi from wristband โ cloud directly
- NFC from wristband โ smartphone โ cloud
Short Answer Questions (8 Questions)
Q1. Explain the three-way tradeoff (Range, Power, Data Rate) in IoT communication with one example. [3 marks]
Answer: IoT protocols face a fundamental tradeoff โ optimising any two factors compromises the third.
- LoRa example: Long Range (15 km) + Low Power (5-year battery) = Very Low Data Rate (50 kbps max). It can send a temperature reading from a farm 12 km away on coin cells, but can't stream video.
- WiFi example: Medium Range (100 m) + High Data Rate (100+ Mbps) = High Power (needs wall power for continuous use). Great for smart home cameras but impractical for remote battery-powered sensors.
- BLE example: Short Range (100 m) + Low Power (coin cell) = Moderate Data Rate (2 Mbps). Perfect for wearables like fitness bands that sync periodically with a nearby phone.
Q2. Differentiate between Bluetooth Classic and Bluetooth Low Energy (BLE). [3 marks]
Answer:
| Feature | Bluetooth Classic | BLE (Bluetooth Low Energy) |
|---|---|---|
| Purpose | Continuous data streaming (audio, file transfer) | Periodic small data bursts (sensor readings) |
| Power | Medium โ constant connection | Very low โ sleeps between transmissions |
| Data Rate | 1โ3 Mbps | 125 kbps โ 2 Mbps |
| Connection | Always-on paired connection | Connectionless advertising + short connections |
| Battery Life | Hours to days | Months to years on coin cell |
| Use Case | Wireless earphones (boAt), car audio | Fitness bands (Mi Band), smart locks, beacons |
Q3. How does a passive RFID tag work without a battery? [3 marks]
Answer: A passive RFID tag has two components: a tiny microchip and an antenna coil, with NO battery. When an RFID reader emits radio frequency energy, the tag's antenna captures this electromagnetic energy through induction coupling (HF) or backscatter (UHF). This harvested energy powers the microchip, which then modulates the reflected RF signal to transmit its stored data (unique ID, EPC code) back to the reader. The entire process takes milliseconds. Example: FASTag on your car windshield has no battery โ the toll plaza reader's UHF signal at 865โ867 MHz energises it from ~6 metres away.
Q4. What is LoRaWAN and how does it differ from LoRa? [3 marks]
Answer:
- LoRa (Long Range) is the physical layer โ a radio modulation technique using Chirp Spread Spectrum (CSS). It defines how radio waves encode and transmit data. Think of it as the "language."
- LoRaWAN is the network protocol built on top of LoRa. It handles device addressing, security (AES-128 encryption), adaptive data rate, and network architecture (star-of-stars topology: devices โ gateways โ network server โ application server). Think of it as the "postal system."
- You can use LoRa without LoRaWAN (point-to-point), but LoRaWAN adds security, scalability, and interoperability for large-scale deployments like smart city sensor networks.
Q5. Why is CAN bus used in vehicles instead of WiFi or Bluetooth? [3 marks]
Answer: CAN bus is preferred in vehicles for three critical reasons:
- Electromagnetic noise immunity: Car engines generate massive electrical noise. CAN's differential signaling (CAN_H โ CAN_L) cancels noise. WiFi and Bluetooth are susceptible to interference in such environments.
- Deterministic priority: CAN uses message ID-based arbitration โ lower ID = higher priority. Brake messages (critical) always win over window control messages (non-critical). WiFi uses CSMA/CA with random backoff, which can introduce unpredictable delays.
- Reliability: CAN has built-in CRC error detection, acknowledgment, and automatic retransmission. It also has fault confinement โ a malfunctioning node is automatically isolated. This level of reliability is essential for safety-critical systems (brakes, airbags, steering).
Q6. List the three modes of NFC and give one Indian use case for each. [3 marks]
Answer:
| Mode | Description | Indian Use Case |
|---|---|---|
| Reader/Writer | NFC device reads data from a passive NFC tag | Tapping phone on a smart poster at a Reliance store to get product info and offers |
| Peer-to-Peer | Two NFC-enabled devices exchange data | Sharing WiFi credentials between two Android phones by tapping them together |
| Card Emulation | Phone emulates a contactless smart card | Google Pay "Tap to Pay" on NFC-enabled POS terminals; Delhi Metro phone-based entry |
Q7. Compare NB-IoT and LTE-M for IoT applications. [3 marks]
Answer:
| Feature | NB-IoT | LTE-M |
|---|---|---|
| Data Rate | ~250 kbps | ~1 Mbps |
| Mobility | Stationary devices only | Supports handover (mobile devices) |
| Voice | Not supported | Supports VoLTE |
| Power | Ultra-low (10+ year battery) | Low (5โ10 year battery) |
| Indoor Penetration | Excellent (20 dB gain over LTE) | Good |
| Best For | Smart meters, parking sensors (stationary) | Pet trackers, wearables, asset tracking (mobile) |
| India Deployment | Jio NB-IoT for smart cities | Limited deployment |
Q8. What are the three LoRaWAN device classes? Which class consumes the least power? [3 marks]
Answer:
- Class A (Lowest Power): Device transmits when it has data, then opens two short receive windows. Rest of the time it sleeps. The server can only send downlink data during these brief windows. Best for: battery-powered sensors (soil moisture, temperature).
- Class B (Scheduled Receive): In addition to Class A windows, the device opens receive windows at scheduled intervals (using beacon synchronization). Enables more predictable downlink at slightly higher power. Best for: actuators that need periodic commands.
- Class C (Continuous Listen): Device listens continuously except when transmitting. Lowest latency for downlink but highest power. Best for: mains-powered actuators (smart streetlights, industrial valves).
Class A consumes the least power because it sleeps most of the time and only wakes to transmit and briefly listen.
Long Answer Questions (3 Questions)
Q1. Explain RFID technology in detail. Discuss active vs passive RFID, frequency bands, and describe FASTag as a case study of RFID deployment in India. [10 marks]
Answer:
1. Introduction to RFID: Radio Frequency Identification (RFID) is a wireless technology that uses radio waves to automatically identify and track objects. An RFID system consists of three components: (a) RFID tag (transponder) attached to the object, (b) RFID reader (interrogator) that emits RF signals and reads tag data, and (c) backend software that processes the data.
2. Working Principle: The reader emits radio frequency energy. When a tag enters the reader's field, it either harvests this energy (passive) or uses its own battery (active) to power its chip. The chip modulates the RF signal and transmits its stored data (unique ID, EPC code) back to the reader via backscatter modulation (UHF) or inductive coupling (HF/LF).
3. Active vs Passive RFID:
Passive RFID: No battery. Powered by the reader's RF field. Range: 1 cmโ12 m. Cost: โน5โโน50 per tag. Lifespan: virtually unlimited (no battery to die). Advantages: ultra-cheap, maintenance-free, small form factor. Limitations: short range, requires powerful reader. Used in: FASTag, metro cards, library books, retail anti-theft tags.
Active RFID: Has an onboard battery and transmitter. Range: 30โ100+ metres. Cost: โน500โโน2,000 per tag. Lifespan: 3โ5 years (battery-limited). Advantages: long range, can initiate communication, can include sensors (temperature, GPS). Limitations: expensive, bulky, battery replacement. Used in: shipping container tracking, vehicle tracking in mines, high-value asset monitoring.
4. Frequency Bands:
LF (125โ134 kHz): Range ~10 cm. Used for animal identification (cattle tags), access control cards. Low data rate, works near metal and water.
HF (13.56 MHz): Range ~1 m. Used for smart cards (Delhi Metro), library books, NFC-compatible tags. Moderate data rate.
UHF (860โ960 MHz): Range 1โ12 m. Used for FASTag (865โ867 MHz in India), warehouse inventory, retail supply chain. High data rate, can read multiple tags simultaneously (anti-collision).
5. FASTag Case Study:
FASTag is India's electronic toll collection system mandated by NHAI since February 2021 for all vehicles. It uses UHF passive RFID at 865โ867 MHz (India-specific band). The FASTag sticker on the windshield contains a passive UHF RFID chip with a unique 96-bit EPC (Electronic Product Code) linked to the vehicle's registration and a prepaid wallet or bank account.
When a vehicle approaches a toll plaza, the overhead UHF reader energises the FASTag from ~6 metres and reads the EPC in under 100 ms โ even at 80 km/h. The backend system verifies the EPC against the database, deducts the toll amount, sends an SMS to the vehicle owner, and raises the boom barrier. As of 2025, over 8 crore FASTags are active, processing โน40,000+ crore in annual toll revenue. This has reduced toll plaza waiting time from 7โ10 minutes to 47 seconds on average, saving fuel worth โน20,000 crore annually (NHAI estimates).
Q2. Compare any FOUR IoT communication protocols (from Bluetooth, Cellular, RFID, LoRa, CAN, WiFi, NFC) across the following parameters: range, power consumption, data rate, cost, and typical use case. Present your answer in a tabular format and explain which protocol you would recommend for a smart agriculture project in rural India. [10 marks]
Answer:
Comparison Table:
| Parameter | BLE | LoRa | WiFi | Cellular (NB-IoT) |
|---|---|---|---|---|
| Range | 10โ100 m | 5โ15 km (rural) | 30โ100 m (indoor) | 1โ35 km (tower) |
| Power | Very Low (coin cell: 2โ5 yrs) | Very Low (AA: 5โ10 yrs) | High (~70 mA active) | Medium-Low (5โ10 yrs with PSM) |
| Data Rate | 125 kbpsโ2 Mbps | 0.3โ50 kbps | 11 Mbpsโ9.6 Gbps | ~250 kbps |
| Cost/Node | โน50โโน200 | โน300โโน800 | โน150โโน500 (ESP) | โน300โโน600 + SIM โน15/mo |
| Use Case | Wearables, indoor beacons | Agriculture, smart city | Smart home, cameras | Smart meters, fleet tracking |
Recommendation for Smart Agriculture in Rural India:
LoRa is the best choice for the following reasons:
- Range: Agricultural fields span hundreds of acres. LoRa's 5โ15 km range covers entire farms from a single gateway. WiFi (100 m) and BLE (100 m) would require impractically many access points.
- Power: Sensors deployed in remote fields cannot be accessed daily for battery changes. LoRa sensors on 2 AA batteries last 5โ10 years, transmitting soil moisture, temperature, and humidity readings every 30 minutes.
- Data requirement: Agricultural sensor data is tiny (10โ50 bytes per reading). LoRa's 50 kbps is more than sufficient. No need for WiFi's Gbps speeds.
- Cost at scale: For 500 sensors across 200 acres, LoRa requires only 1โ2 gateways (โน15,000 each) + sensors (โน500 each). Total: ~โน2.8 lakh. NB-IoT would add โน15/sensor/month ร 500 = โน7,500/month recurring.
- No cellular dependency: Many rural Indian areas have poor cellular coverage. LoRa operates on license-free ISM bands (865โ867 MHz in India) and doesn't require telecom infrastructure.
Architecture: LoRa sensors in fields โ LoRa gateway at farmhouse/village centre โ WiFi/cellular backhaul to cloud (ThingSpeak, AWS IoT) โ farmer's smartphone dashboard.
Q3. Explain the CAN (Controller Area Network) protocol. Describe its working principle, differential signaling, message priority arbitration, and discuss its role in automotive IoT with reference to Indian vehicle manufacturers. [10 marks]
Answer:
1. Introduction: CAN (Controller Area Network) is a robust, serial communication protocol developed by Robert Bosch GmbH in 1986 for in-vehicle networking. It enables multiple Electronic Control Units (ECUs) โ engine controller, ABS, airbag module, infotainment, dashboard โ to communicate over a shared two-wire bus without a central host computer.
2. Working Principle: CAN is a multi-master broadcast bus. Any node can transmit when the bus is free. Messages are identified by a unique Message ID (not sender/receiver addresses). All nodes receive all messages and filter for the ones they need. This is efficient โ the engine ECU broadcasts "RPM = 3000" once, and the dashboard, cruise control, and transmission ECU all read it simultaneously.
3. Differential Signaling: CAN uses two wires: CAN_H (High) and CAN_L (Low). Data is encoded as the voltage difference:
- Dominant bit (logic 0): CAN_H = 3.5V, CAN_L = 1.5V โ difference = 2V
- Recessive bit (logic 1): CAN_H = CAN_L = 2.5V โ difference = 0V
If electromagnetic interference (from engine, spark plugs, alternator) adds noise to both wires equally (e.g., +0.5V to both), the difference remains unchanged (3.5+0.5 โ 1.5+0.5 = 2V still). This makes CAN highly immune to electrical noise โ essential in vehicles.
4. Message Priority & Arbitration: When two nodes try to transmit simultaneously, CAN uses bitwise non-destructive arbitration. Each transmitter sends its Message ID bit by bit. A dominant bit (0) overwrites a recessive bit (1) on the bus. The node with the lower Message ID wins โ its dominant bits override the other's recessive bits. The losing node detects the mismatch, stops transmitting, and retries later. No data is lost, no time is wasted. Example: Brake ECU (ID: 0x001, highest priority) always wins over window motor ECU (ID: 0x3FF, lower priority). This ensures safety-critical messages are never delayed.
5. CAN Frame Structure: A CAN 2.0 frame contains: SOF (1 bit) โ Arbitration Field (11-bit ID) โ Control (6 bits, including DLC โ Data Length Code) โ Data (0โ8 bytes) โ CRC (15 bits) โ ACK (2 bits) โ EOF (7 bits). CAN FD extends the data field to 64 bytes and supports up to 5 Mbps.
6. Role in Automotive IoT โ Indian Context:
Tata Motors: The Tata Nexon EV has 30+ ECUs on CAN bus โ Battery Management System, Motor Controller, Regenerative Braking, Instrument Cluster, ADAS (Automatic Emergency Braking, Lane Departure Warning), and infotainment. All share two wires.
Maruti Suzuki: Even the entry-level Alto K10 uses CAN for engine management and diagnostics. The OBD-II diagnostic port (mandatory in India since BS-VI, April 2020) reads data from the CAN bus โ mechanics plug in a scanner to read fault codes.
Bosch India (Bangalore): Largest CAN controller chip supplier to Indian OEMs. Their CAN transceiver chips (TJA1050) are in virtually every Indian-made vehicle.
Connected Car IoT: Modern Indian vehicles (Hyundai Creta, MG Hector, Tata Harrier) use a CAN-to-cellular gateway โ an IoT module on the CAN bus reads vehicle data (speed, fuel, diagnostics) and transmits it via 4G to the cloud. The car owner sees this data on a smartphone app (Hyundai BlueLink, MG iSmart). This is automotive IoT: CAN for internal communication + cellular for external connectivity.
EV Charging: CAN bus is also used in DC fast charging (CCS2 standard, used by Tata, MG, Hyundai EVs in India). The charger and vehicle negotiate power levels and monitor battery state via CAN communication.
Case Studies โ Real-World Protocol Applications
๐ก Case Study 1: India's FASTag Revolution โ RFID at National Scale
Background: Before FASTag, Indian toll plazas were notorious for 10โ30 minute queues. Manual toll collection caused fuel wastage of ~โน20,000 crore/year, pollution, and driver frustration. NHAI mandated electronic toll collection using UHF RFID technology.
Technology Stack:
- Protocol: UHF Passive RFID (865โ867 MHz, India band)
- Tag: Windshield sticker with EPC Gen2 chip (96-bit ID)
- Reader: Overhead UHF reader at each toll lane (read range: 6โ10 m)
- Backend: NPCI (National Payments Corporation of India) for transaction processing
- Payment: Linked to prepaid wallet or bank account via NPCI NETC (National Electronic Toll Collection)
Impact (2025 data):
- 8+ crore active FASTags across India
- Average toll transaction time: 47 seconds (from 7โ10 minutes)
- โน40,000+ crore annual toll revenue collected electronically
- Estimated fuel savings: โน20,000 crore/year
- GPS-FASTag integration for distance-based tolling on new expressways
Lesson: The right protocol choice (UHF RFID over NFC or Bluetooth) was critical. UHF's 6โ10 m range enables high-speed reading without stopping. NFC (10 cm) would require drivers to stop and tap. Bluetooth pairing would add delays.
๐พ Case Study 2: LoRa-Powered Smart Agriculture in Telangana
Background: Indian agriculture loses โน50,000+ crore annually to inefficient water usage. Farmers in Telangana traditionally irrigated based on intuition, often over-watering (wasting water) or under-watering (losing crops). The state government partnered with IoT startups to deploy precision agriculture sensors.
Technology Stack:
- Protocol: LoRa (865 MHz ISM band) + LoRaWAN
- Sensors: Soil moisture, temperature, humidity, leaf wetness (each costing โน800โโน1,500)
- Gateway: LoRa gateway at village centre (solar-powered, cost: โน25,000)
- Backhaul: Gateway โ Jio 4G โ AWS IoT Core
- Dashboard: Farmer's smartphone app showing field conditions + automated SMS alerts in Telugu
Results:
- 30% reduction in water usage across pilot farms
- 15โ20% increase in crop yield due to optimal irrigation timing
- Sensor battery life: 4+ years (LoRa Class A, transmitting every 30 minutes)
- Single gateway covers 8 km radius โ serving 15 farms
- Total cost per farm: โน5,000โโน8,000 (one-time) vs โน50,000+ annual water savings
Why LoRa Won: WiFi couldn't reach across fields. Cellular had poor rural coverage and recurring SIM costs. BLE's 100 m range was insufficient. LoRa's 8+ km range, zero subscription cost, and 4+ year battery life made it the only practical choice.
๐ Case Study 3: NFC-Based Transit in Indian Metro Systems
Background: Indian metro systems (Delhi, Bangalore, Mumbai, Hyderabad) serve 50 lakh+ daily commuters. Traditional token systems are slow, require manual handling, and create queues. NFC-based smart cards and phone payments aim to make transit seamless.
Technology Stack:
- Protocol: NFC / HF RFID (13.56 MHz), ISO/IEC 14443 Type A
- Smart Card: MIFARE DESFire (encrypted, reloadable, stores fare balance)
- Readers: NFC readers at entry/exit gates (read time: <200 ms)
- Phone Entry: NFC card emulation โ Google Pay / PhonePe acts as virtual metro card
- Backend: AFCS (Automatic Fare Collection System) calculates distance-based fare
Why NFC, Not UHF RFID: In a crowded metro station, passengers stand shoulder-to-shoulder. UHF RFID (6โ10 m range) would accidentally read cards of people standing nearby, causing incorrect fare deductions. NFC's โค4 cm range ensures ONLY the card physically tapped on the reader is processed โ a critical requirement for payment systems.
"One Nation One Card" Vision: India's National Common Mobility Card (NCMC) initiative aims to create a single NFC smart card usable across all metros, buses, suburban rails, and even retail payments nationwide. Ahmedabad, Delhi, and Bangalore are early adopters. The card uses RuPay NCMC specifications by NPCI.
Chapter Summary โ Key Takeaways
๐ Unit 6 Summary โ IoT Communication Protocols
- IoT Communication Triangle: Every protocol trades off between Range, Power, and Data Rate โ optimise two, sacrifice one.
- Bluetooth/BLE (IEEE 802.15.1): Short range (10โ100 m), ultra-low power. Perfect for wearables, health monitors. India's boAt and Noise brands are BLE-powered.
- Cellular (2Gโ5G, NB-IoT, LTE-M): Nationwide range, moderate-high power. NB-IoT for static sensors (smart meters), LTE-M for mobile tracking. Jio IoT leads India.
- RFID: Passive (no battery, โน5โโน50, ~12 m) and Active (battery, โน500+, ~100 m). FASTag = UHF RFID. Metro card = HF RFID.
- LoRa/LoRaWAN: Long range (5โ15 km), ultra-low power, very low data rate. Ideal for smart agriculture and city sensors. License-free ISM band (865โ867 MHz in India).
- CAN Bus: Wired, reliable, noise-immune. The nervous system of every vehicle. Differential signaling + priority arbitration = safety-critical communication.
- WiFi (IEEE 802.11): High data rate (MbpsโGbps), medium range (30โ100 m), high power. Smart home, cameras. ESP8266/ESP32 made IoT WiFi affordable.
- NFC: Ultra-short range (โค10 cm), ultra-low power. Three modes: Reader/Writer, Peer-to-Peer, Card Emulation. Payments (Google Pay), transit (Delhi Metro).
- Protocol Selection: Use the decision framework โ Range โ Power โ Data Rate โ Cost โ Use Case.
Earning Checkpoint โ Skills vs. Earning Readiness
| Skill Learned | Tool Used | Portfolio Output | Earning Ready? |
|---|---|---|---|
| WiFi IoT (ESP32) | Arduino IDE, ESP32 | Temperature Logger Project | โ Yes โ sell as smart home product |
| BLE Scanning | ESP32 BLE libraries | BLE Device Scanner | โ Yes โ indoor asset tracking POC |
| RFID Concepts | Conceptual + hardware (optional) | RFID attendance system design | โ Yes โ โน8,000โโน15,000/project |
| Protocol Selection | Decision framework | Smart City Architecture Document | โ Yes โ consulting deliverable |
| LoRa Concepts | Conceptual | Smart agriculture proposal | โฌ Need hands-on with LoRa hardware |
| CAN Bus | Conceptual | โ | โฌ Need automotive domain experience |
| NFC Concepts | Conceptual | โ | โฌ Need NFC reader hardware |
What's Next
โ Unit 6 complete. You now speak the language of IoT protocols!
[QR: Link to EduArtha video tutorial โ IoT Communication Protocols]