Who coined the term "Internet of Things", and when?
Answer
Kevin Ashton, in 1999, while working on RFID.
Ask a student to answer aloud, then click the card to check.
Today's plan
By the end of today, you can…
1️⃣ Define M2M and give two examples
2️⃣ Give five differences between IoT and M2M
3️⃣ Explain what an IoT architecture is and why we need one
4️⃣ Draw and explain the three-layer architecture
5️⃣ Draw and explain the five-layer architecture
🎯 Course outcome OC 1: design and architecture of IoT systems
Syllabus link: Module 1 → Introduction to IoT: IoT vs M2M, IoT Architectures (Three-layer, Five-layer).
Hook story
Raju's ATM and Riya's smart bulb both "talk". Are both IoT?
🏧 Raju withdraws ₹500. The ATM sends his card and PIN to one bank server over a private line. The server says "OK". The ATM gives cash. That is all it ever does.
💡 Riya is in college. From her phone she switches off the bulb at home. Its data goes to the cloud; a voice assistant, an energy app and her mother's phone can all use it.
🤔 Think: both are machines sending data. What is different?
The ATM is M2M: one machine, one partner, one job. The bulb is IoT: many things, the internet and cloud, many apps and people. Today: the difference, and how IoT systems are built in layers.
Part A · M2M
M2M: two machines talk directly, without a person
M2M (machine-to-machine) means one machine sends data straight to another machine to do one fixed job.
Usually point-to-point: device talks to one server.
Links: SMS, cellular, wired lines or private networks.
Built for one purpose, often by one company.
Data stays inside that system.
Lift alarm: when a lift in your building stops between floors, its controller sends an automatic SMS to the maintenance company's server.
M2M is older than IoT. Companies have long fitted machines with a SIM card or a wired modem so they could report to one central computer: vending machines reporting stock, electricity meters reporting readings, lifts reporting faults, trucks reporting their position.
An M2M system is usually a closed system: the device, the network and the software are designed together for one job, and the data is not shared with other applications.
Q1. A vending machine sends an SMS to the supplier when it runs out of chips. Is this M2M? Why?
Yes. One machine sends data directly to one other machine (the supplier's server) for one fixed job, with no person involved.
Q2. What does "point-to-point" mean in M2M?
The device talks to one fixed partner, usually one server, over a direct link — not to many apps over the open internet.
Part A · M2M
IoT grew out of M2M by adding the internet and the cloud
M2M is the older, narrower idea. IoT keeps M2M links but adds the internet, cloud and many apps.
M2M: one device → one server, one job.
IoT: many things → cloud → many apps and people.
Most books treat M2M as a subset of IoT.
Electricity meter, then and now: an old meter only sent monthly readings to the power company (M2M). A smart meter also feeds your app, live usage graphs and outage alerts (IoT).
Think of M2M as the communication between machines, and IoT as the whole ecosystem built around it: internet connectivity, cloud storage, analytics, apps and people.
Inside an IoT system there is still a lot of M2M: a sensor talking to a gateway, or a gateway talking to a server. What IoT adds is openness — the same data can serve many applications, and things from different makers can work together.
Q1. "Every IoT system contains some M2M communication." True or false?
True. Devices still talk to gateways and servers machine-to-machine; IoT adds the internet, cloud and apps around those links.
Part A · IoT vs M2M
IoT vs M2M: seven differences for the exam
M2M is a private phone line between two machines; IoT is a WhatsApp group of things, apps and people.
Basis
M2M
IoT
Communication
Point-to-point, device to one server
Many things to the cloud and many apps
Internet
Often not needed (SMS, private lines)
Usually needed (internet and IP)
Protocols
Often non-IP or company-specific
Open IP-based: HTTP, MQTT, CoAP
Scale
Limited number of devices
Very large: millions of things
Data use
One application uses it
Shared by many apps via the cloud
Integration
Closed "silo" for one job
Open; different makers work together
Focus
Hardware and the device link
Software, data and services for people
In the exam, "Differentiate IoT and M2M" usually carries 5 marks: write five rows of this table, each with a clear "basis".
Do not write that M2M "never" uses the internet — some M2M systems do. The real difference is openness and scale: M2M is closed and built for one job; IoT is open, shares data and grows to millions of things.
Q1. Pick the basis that best separates an ATM (M2M) from a smart bulb (IoT).
Data use / integration: the ATM's data serves only the bank's system; the bulb's data is shared with several apps and people through the cloud.
Q2. Why does IoT need open protocols more than M2M?
IoT joins devices from many makers and many apps. Without common open protocols they could not understand each other; an M2M silo can use its own private protocol.
Activity · Sort it
M2M or IoT? Sort these eight systems
Ask: one machine, one partner, one job → M2M. Internet + cloud + many apps or people → IoT. Click an item, then a box (or drag).
🏧 ATM ↔ bank server
💡 Bulb controlled from a phone app
🥤 Vending machine SMSes the supplier
⌚ Fitness band → cloud dashboard
🛗 Lift sends a fault SMS
🅿️ City parking app with live free slots
🚛 Old truck tracker texts its GPS to the depot
🏠 Voice assistant runs bulbs of three brands
🔁 M2M
🌐 IoT
☕ Interactive break
Myth or fact? Vote with your hands, then flip
Myth or fact?
"M2M is dead — IoT has replaced it."
Myth ❌
M2M is still everywhere: ATMs, lifts, meters. IoT builds on M2M links.
Myth or fact?
"An IoT system can contain M2M communication."
Fact ✅
A sensor talking to its gateway is M2M. IoT adds the internet, cloud and apps around it.
Myth or fact?
"If it uses a SIM card, it must be IoT."
Myth ❌
A SIM is just a link. An old truck tracker with a SIM that texts one depot is M2M.
Click a card to flip it. Who got all three right?
Part B · IoT architecture
An architecture is the floor plan of an IoT system
An architecture splits an IoT system into layers. Each layer has one job and passes its work to the next.
Architecture: the overall plan of parts and links.
Layer: a group of parts doing one job.
Layers let teams build, fix and upgrade separately.
Data usually flows bottom to top; commands flow down.
College canteen: the counter takes your order, a runner carries the slip, the kitchen cooks and serves. Each "layer" does one job.
If the dosa is late, you can check one layer at a time: was the order taken? carried? cooked?
🧾 Counter — takes in what customers want (collect)
🏃 Runner — carries the order slip to the kitchen (carry)
🍳 Kitchen & serving — cooks and gives you the dish (use)
Real IoT systems have many parts: sensors, radios, gateways, servers, databases, apps. An architecture groups them into layers so that everyone — engineers, managers, examiners — can talk about the system clearly.
Layers also make troubleshooting easy: you check each layer in turn. And they allow upgrades: you can switch from Wi-Fi to 5G in one layer without rewriting the app in another.
Q1. Give one benefit of designing IoT systems in layers.
Any one: each layer can be built or upgraded separately; faults are easier to find; different teams can work on different layers.
Part C · Three-layer architecture
Three layers: perception, network, application
The simplest IoT plan: sense things (perception), carry the data (network), use it (application).
Perception: sensors and actuators touch the real world.
Network: moves data using Wi-Fi, 4G/5G, gateways.
Application: apps and services people actually use.
Data rises bottom → top; commands come back down.
Smart farm: a soil sensor reads "dry" (perception), a 4G gateway sends it (network), the farmer's app shows "Water field 3" (application).
The three-layer architecture was the earliest and simplest model of IoT.
Perception layer (also called the sensing or physical layer): sensors that measure, actuators that act, RFID tags and readers that identify things. Network layer: carries data between the perception layer and the application layer — routers, gateways, mobile networks, Wi-Fi. Application layer: delivers a useful service to the user — smart home, smart health, smart farming.
It is easy to draw and remember, which is why exams ask it often.
Q1. In a smart home, which layer is the Wi-Fi router?
The network layer — it carries data between the devices and the app.
Q2. The app sends "switch pump ON". Which way does this travel through the layers?
Top to bottom: application → network → perception, where an actuator (relay) switches the pump on.
Part C · Layer 1
Perception layer: the eyes, ears and hands of IoT
The perception layer is where IoT touches the real world: it measures, identifies and acts.
Identifiers name things: RFID tags, barcodes, QR codes.
Also called the sensing or physical layer.
FASTag lane: the RFID tag on the windscreen and the reader above the lane form the perception layer; the barrier motor is the actuator.
🌡️ Sense Temperature, humidity, light, gas sensors
🏷️ Identify RFID tags and readers, barcodes, QR
⚙️ Act Motors, relays, valves, buzzers
📷 Capture Cameras, microphones, GPS receivers
Rule of thumb: if you can touch it in the field, it is usually perception.
Everything starts here. Without the perception layer there is no data, and without actuators there is no action.
Devices in this layer are usually small, cheap and low-power, often running on batteries for months. That is why later lectures spend time on sensors (Lectures 8–9) and boards like Arduino and NodeMCU (Lecture 6).
Q1. Is a relay that switches a water pump part of the perception layer?
Yes. Actuators that act on the physical world belong to the perception (physical) layer.
Q2. List three perception-layer devices in a smart classroom.
Sample: motion sensor for lights, temperature sensor for the AC, RFID/ID-card reader for attendance.
Part C · Layers 2 & 3
Network carries the data; application makes it useful
The network layer is the road for data; the application layer is the shop where people get the service.
🛣️ Same road, many shops: one city network can carry data for parking, street lights and bins.
The network layer connects perception devices to servers and apps. Short-range links (Bluetooth, Zigbee) save power; long-range links (4G/5G) cover cities and farms. A gateway is a box that translates between a local network of sensors and the internet.
The application layer is what the user sees and pays for: the smart-home app, the hospital dashboard, the SMS alert. It decides how data is presented and which services are offered.
Q1. What does a gateway do?
It connects a local network of devices (for example Zigbee or Bluetooth sensors) to the internet, translating between the two.
Q2. A hospital dashboard shows patients' heart rates. Which layer is the dashboard?
The application layer.
📊 Poll · Quick check
Which layer does this belong to?
🌡️ A temperature sensor in a cold-storage room for vegetables measures the air every minute.
Think for 20 seconds, vote with fingers (1–4), then click an option.
Activity · Build the stack
Put each part into its layer
Ask: does it touch the world (perception), carry data (network) or serve a person (application)?
🌱 Soil moisture sensor
📶 Wi-Fi router
📱 Farmer's mobile app
🏷️ RFID reader
📡 4G gateway
📊 Smart-home dashboard
⚙️ Relay switching a pump
🔵 Bluetooth link
🔔 SMS alert service
1 · Perception
2 · Network
3 · Application
☕ Interactive break · What would you do?
The parking app says "slot free", but a car is parked there
You run the mall's smart parking. A technician checks on site: the slot's sensor correctly reads "occupied". Where do you look next? Click one.
Part D · Five-layer architecture
Three layers hide two big jobs: processing and business
The five-layer model splits out data processing and adds a business layer on top.
Three-layer: good for basics, too simple for products.
Who stores and analyses the data? → processing.
Who earns money and sets rules? → business.
"Network" is renamed transport.
Food-delivery app: GPS and the network are not enough — servers must process lakhs of orders, and the company must decide pricing. Those are the extra layers.
As IoT systems grew, engineers needed to talk separately about processing (storing, analysing and deciding on huge amounts of data — databases, cloud computing, big-data tools) and about the business side (profit models, user privacy, management of the whole system).
So the five-layer model keeps perception and application, renames network as transport, and adds processing (also called the middleware layer) and business. Some books use the names Perception, Network, Middleware, Application, Business — the ideas are the same.
Q1. Which two layers does the five-layer model add to the three-layer model?
The processing (middleware) layer and the business layer. The network layer is renamed transport.
Part D · Five-layer architecture
Five layers, bottom to top: one job each
Sense → carry → process → serve → manage. Remember: "Please Take Pizza And Biryani".
Smart electricity meter: meter measures units → mobile link carries them → company servers calculate the bill → your app shows it → managers plan tariffs.
1 · Perception — sensors, actuators, RFID: collect data
2 · Transport — Wi-Fi, 4G/5G, Bluetooth: carry data
3 · Processing — databases, cloud: store & analyse
4 · Application — apps, dashboards: serve users
5 · Business — profit, privacy, strategy: manage it all
Perception: physical devices that sense, identify and act. Transport: moves data from perception to processing and back, through networks such as 4G/5G, Wi-Fi, Bluetooth, RFID and NFC. Processing (middleware): stores, analyses and processes large amounts of data using databases, cloud computing and big-data tools.
Application: delivers the service to the user — smart home, smart health, smart city. Business: manages the whole IoT system — the business model, profit, user privacy, and reports and graphs that help managers decide.
The mnemonic is just a memory aid: Please Take Pizza And Biryani = Perception, Transport, Processing, Application, Business.
Q1. Which layer would run a machine-learning model that predicts tomorrow's electricity demand?
The processing layer — it stores and analyses data.
Q2. Which layer decides whether to charge users a monthly fee for the app?
The business layer.
Part D · Layers 2 & 3
Transport moves the data; processing makes sense of it
Transport is the delivery van for data; processing is the office that files, checks and analyses it.
Processing: stores, filters, analyses huge data volumes.
Uses databases, cloud computing and big-data tools.
Google Maps traffic: phones send speed data over mobile networks (transport); servers combine it to find jams (processing).
The transport layer is the same idea as the network layer of the three-layer model: it carries data between the perception layer and the processing layer, using wired or wireless links.
The processing layer (middleware) receives raw data in huge amounts — think of lakhs of meters sending readings every 15 minutes. It stores it in databases, removes errors, combines it, analyses it and produces results that applications can use. Cloud computing and big-data tools live here.
Q1. Why is the processing layer also called "middleware"?
It sits in the middle, between the transport layer (raw data coming in) and the application layer (services going out), hiding the details of devices from the apps.
Q2. Name two tools that belong to the processing layer.
👤 Application = for the user · 💼 Business = for the company
The application layer is defined by the service: the same sensor data can power a smart-home app, an insurance app or an energy-saving app. Its job is to present data in a useful way and let users give commands.
The business layer sits on top and manages the entire IoT system: how it makes money (sale, subscription, advertising), how it protects user privacy, and how managers use reports, graphs and flowcharts built from the lower layers to make decisions.
Q1. A smart-meter company decides to offer cheaper night-time rates. Which layer made this decision?
The business layer — it is a pricing and strategy decision based on reports from the lower layers.
Q2. Why is user privacy listed under the business layer?
Deciding what data to collect, keep and share is a company policy decision that affects trust, law and profit — so it is managed at the business level.
Part D · One system, five layers
Follow one car through a mall's smart parking
One event — a car parks — passes up all five layers, each adding something.
Smart parking is common in large malls and airports: green and red lights above each slot guide drivers to a free space.
Perception — 🚗 A car parks; the slot's sensor detects it and the light turns red.
Transport — 📡 The sensor's message goes through a gateway to the server.
Processing — 🗄️ Server updates the count: Level 2 now has 14 free slots.
Application — 📱 Entry display and app show "Level 2: 14 free".
Business — 💼 Manager sees weekend peaks and adds a premium valet option.
This walk-through is the best way to answer "Explain the five-layer architecture with an example". Draw the five boxes, then write one line per layer for the same system.
Notice that information gets richer as it climbs: a raw "occupied" signal becomes a count, then a message for drivers, then a business insight. The numbers here (14 slots) are just an example.
Q1. Redo the walk-through for a smart water meter in a housing society.
Perception: meter measures litres used. Transport: reading sent over the society Wi-Fi/LoRa gateway. Processing: server totals usage per flat, spots leaks. Application: residents see usage and leak alerts in an app. Business: committee sets water charges and plans new tanks.
☕ Interactive break · 1-minute brain teaser
A fitness company is stuck. Which layer is missing?
⌚ The band counts steps → the phone sends them to the cloud → servers store and analyse them → the app shows charts. Everything works, but the company cannot decide whether a paid plan would make money, and has no privacy policy. Which layer is missing?
The business layer. The lower four layers run the product; the business layer decides profit, plans and privacy.
Discussion timer
1:00
Part D · Compare
Three-layer vs five-layer: when to use which
Three layers explain how IoT works; five layers explain how an IoT product is run.
Basis
Three-layer
Five-layer
Layers
Perception, Network, Application
Perception, Transport, Processing, Application, Business
Data processing
Hidden inside network or application
Own layer: processing (middleware)
Business view
Not covered
Business layer: profit, privacy, strategy
Detail
Simple, easy to draw
More complete, closer to real products
Best for
Basic understanding, small systems
Large, commercial IoT systems
Analogy: a 3-layer plan is a hostel room sketch; a 5-layer plan is the full building plan with the office and the accounts room.
Neither model is "wrong". The three-layer model is the clearest way to explain the idea of IoT. The five-layer model is better when you must design, build and run a real system, because it separates data processing and business management.
For a 10-mark question, draw both stacks side by side and write this table under them.
Q1. A startup is planning a city-wide bike-sharing system. Which model should they use to plan it, and why?
The five-layer model: they must plan heavy data processing (bike locations, billing) and the business side (pricing, privacy), which the three-layer model does not show separately.
Activity · Put it in order
Smart irrigation: order the events from layer 1 to layer 5
Click the events bottom layer first (perception) up to the top (business). A wrong click shakes.
Your stack (layer 1 first)
Common mistakes
Four mistakes students make in this topic
❌ "M2M never uses the internet." ✅ It often doesn't; the real difference is closed vs open, one job vs many apps.
❌ Drawing layers top-down with perception on top. ✅ Perception at the bottom, business (or application) at the top.
❌ Putting the cloud in the network layer. ✅ The network carries; the cloud stores and analyses → processing layer.
❌ Listing layer names without jobs. ✅ Write each layer's job + one example from the same system.
Group activity · 12 minutes
Map a smart parking system onto five layers
Form groups of 4. Choose: college parking or railway station parking.
Draw the five-layer stack, perception at the bottom.
Write two devices or tasks in each layer.
Mark which parts are M2M links.
Speaker presents the business layer idea in 30 seconds.
Five-layer Perception → Transport → Processing → Application → Business. "Please Take Pizza And Biryani".
Exam tip Draw the stack bottom-up; write job + example per layer from one system.
What's next
Next class: physical and logical design of IoT
🔜 Lecture 3 • What is inside a generic IoT device? • IoT protocols layer by layer • Communication models: request–response, publish–subscribe
📝 Homework 1. Draw the five-layer architecture for a smart hostel, one example per layer. 2. Write five IoT vs M2M differences from memory. 3. Read your textbook's sections on IoT vs M2M and architectures.
Exit question · exam style
Differentiate IoT and M2M. Explain the five-layer architecture.
✍️ (a) Any five differences. (b) Diagram + each layer's job. Write for 8 minutes.(5 + 5 marks)
(a) 1 mark × 5: any five of communication (point-to-point vs cloud), internet (often not needed vs needed), protocols (proprietary vs open IP), scale (limited vs huge), data use (one app vs many), integration (closed vs open), focus (hardware vs services).
(b) 1 mark for the diagram (perception at the bottom, business on top) + 4 marks for the jobs: perception (sense/identify), transport (carry), processing (store/analyse), application (serve users), business (manage, profit, privacy).
Marker's note: each difference needs a basis and both sides. Full marks in (b) need one example — the same system through all layers is best.
IoT Technologies · Lecture 2
Thank you! Questions?
Remember: Please Take Pizza And Biryani — perception to business
Room code IOT2 · Next: physical and logical design of IoT