IO1: How embedded and IoT systems are different

Lesson 3 of 5 · reading 15–25 minutes; practice and project time is on the module page

From sensor to dashboard

🎯You'll be able to

Trace a reading from the physical world to the person who acts on it, and name what can go wrong at each step.

🏠The everyday picture

A letter goes from a village post box to a sorting office, onto a bus, and to a city desk. At each step it can be delayed, lost or delivered twice, so important letters carry a number and get a receipt.

📘What it really is

📝A worked example

Input: a JalSetu reading at 21:00 shows the tank at 47%.

Steps:

  1. The LV-20 measures 1,060 mm to the water; the firmware works out 940 mm of water, 47% of the 2,000 mm tank.
  2. The reading gets sequence number 312 and waits in flash; on the hourly send it goes to the broker with QoS 1.
  3. The server stores it once, even if it arrives twice, and the dashboard shows 47% with the time it was measured.

Expected output: a step-by-step trace with one possible failure named at each step.

🌍Where it's used

📝Case scenario

A cold-storage company's dashboard showed temperatures from three hours earlier as if they were current, because it used the time the message arrived, not when it was measured. Adding the measurement time to each message fixed the confusion.

🖱️Try it

Trace one JalSetu reading through the parts above and name one thing that could go wrong at each. Success: six steps, six failures.

⚠️Common mistakes

🛠️For your project

Project 2's messages carry seq and ts for exactly these reasons.

✅Quick check

Why does each reading carry the time it was measured?

Show the answer

So readings delivered late aren't mistaken for current ones.

Why does each reading carry a sequence number?

Show the answer

So the server can spot duplicates and gaps.

← PreviousMicrocontrollers are not small laptops
ProLearners Assist