IoT Fundamentals · Study deck
IoT Architecture Planner
Picture a farm owner who needs a dry-soil warning before a pump is damaged.
Physics Phoebe is your guide for this deck.

After studying this chapter
Learning objectives
You will be able to:
- Design a complete five-layer IoT architecture from sensing through application delivery
- Evaluate edge-versus-cloud processing trade-offs for a given latency and bandwidth budget
- Estimate hardware and recurring costs for different architectural approaches
- Diagnose potential bottlenecks in data flow, gateway capacity, and processing pipelines
Major section
In 60 Seconds
A diagram with five boxes is not yet an architecture.
- The owner needs to know where the reading begins, where a safe local action can happen, how the warning travels, and who notices a broken path.
- Latency means the time a result takes to travel through the system.
- A protocol means the agreed rules used to exchange messages.
Major section
Step 1: Define Your Application
where Dmonth is monthly data volume in MB, Nsensors is sensor count, fday is messages per sensor per day, and Bmsg is bytes per message.
- If edge filtering removes 70% of non-actionable records, cloud ingest becomes about 13.2 MB/month.
- That reduction directly affects backhaul usage, storage cost, and query latency.
- Problem: Assuming one gateway can cover an entire deployment area.
Major section
Deep Dive: Place Computation Where the Constraint Lives
An IoT architecture spans sensing, networking, processing, cloud, and application layers, but the decision that shapes cost and behavior most is where computation runs.
- The same analytics can execute on the device, at the edge through a nearby gateway, or in the cloud.
- The edge sits between those extremes.
Major section
Deep Dive: Place Computation Where the Constraint Lives (continued)
The cloud still aggregates events and retrains models, but it should not sit in the real-time inference path.
- Below it, the fog layer handles local processing and caching, while the edge/device layer contains sensors and actuators.
- A supermarket cold-room monitor shows the split.
- The hidden mechanism is ownership of state.
Major section
Deep Dive: Place Computation Where the Constraint Lives (continued)
It may read DS18B20 or SHT31 probes every few seconds, trigger a local buzzer when temperature crosses a food-safety threshold, and publish summaries to a cloud dashboard.
- The hourly trend, cross-site comparison, and maintenance report can live in the cloud because they need storage and fleet context more than millisecond timing.
- Streaming raw 1080p video to the cloud for hazard detection costs large amounts of bandwidth, adds latency, and ships sensitive footage off-site.
- The on-device tier is not one category of hardware, and treating it as one is a common planning mistake.
Major section
Deep Dive: Place Computation Where the Constraint Lives (continued)
Running the detection model on a gateway or camera means only a compact event travels upstream: timestamp, camera ID, confidence score, and a short retained clip when policy allows.
- That purpose-built nature is also why application domain changes the architecture more than the five-layer diagram alone suggests.
- The device-vs-edge-vs-cloud choice is rarely all-or-nothing.
- Each tier does the job it is suited for, and the architecture degrades gracefully instead of failing when the cloud link drops.
- Each handoff should name message schema, retry behavior, timestamp source, and stale-data rules.
Major section
Summary
Secure by design: Security is not an afterthought.
- Optimize data flow: Process at the edge when possible to reduce costs.
- Temperature Terry is excited! "I want to build the BIGGEST IoT system ever!" he shouts.
- Building a great IoT system is like planning an awesome school project.
Deck summary
Key takeaways
A diagram with five boxes is not yet an architecture.
- where Dmonth is monthly data volume in MB, Nsensors is sensor count, fday is messages per sensor per day, and Bmsg is bytes per message.
- An IoT architecture spans sensing, networking, processing, cloud, and application layers, but the decision that shapes cost and behavior most is where computation runs.
- The cloud still aggregates events and retrains models, but it should not sit in the real-time inference path.
- Secure by design: Security is not an afterthought.
Retrieval practice
Recall check 1 of 4

Physics Phoebe says: answer from memory, then check your reasoning.
Q1Which sequence covers all five layers of a basic IoT architecture?
Show answer
Answer: C Each layer carries data toward an application decision.
Q2Why should the planner estimate data volume before choosing cloud storage?
Show answer
Answer: B Data volume affects gateway capacity, bandwidth cost, storage cost, and processing location.
Retrieval practice
Recall check 2 of 4

Physics Phoebe says: answer from memory, then check your reasoning.
Q3A vineyard deploys 500 battery-powered soil-moisture sensors spread across 50 hectares with no Wi-Fi infrastructure. Which connectivity approach is most appropriate?
Show answer
Answer: C Wide outdoor coverage with battery-powered, low-rate sensors is a classic LoRaWAN gateway fit.
Retrieval practice
Recall check 3 of 4

Physics Phoebe says: answer from memory, then check your reasoning.
Q4A gateway has enough sensor links, but its backhaul saturates on raw readings; what should the team inspect next?
Show answer
Answer: A The bottleneck is the flow leaving the gateway.
Retrieval practice
Recall check 4 of 4

Physics Phoebe says: answer from memory, then check your reasoning.
Q5A pump must react locally within one second when its cloud link fails; which placement best fits?
Show answer
Answer: B Local processing can meet the timing and offline requirement.
Q6Complete the IoT architecture configuration in JSON:
Show answer
Answer: A IoT architectures are often configured as JSON objects with layers.
Print reference
Answers
Answer key.
- C · Each layer carries data toward an application decision.
- B · Data volume affects gateway capacity, bandwidth cost, storage cost, and processing location.
- C · Wide outdoor coverage with battery-powered, low-rate sensors is a classic LoRaWAN gateway fit.
- A · The bottleneck is the flow leaving the gateway.
- B · Local processing can meet the timing and offline requirement.
- A · IoT architectures are often configured as JSON objects with layers.