© 2026 schoolict.net (Ruwan Mangala Suraweera)
11.2 Internet of Things (IoT)දේවල්වල අන්තර්ජාලය (IoT)
Grade 13 A/L ICT · Lesson 1113 ශ්රේණිය A/L ICT · පාඩම 11
In this videoමේ වීඩියෝවේ
- IoT connects sensing things to the Internet to act.IoT සංවේදන දේවල් අන්තර්ජාලයට සම්බන්ධ කර ක්රියා කරයි.
- Needs: remote control, monitoring, automation, saving, safety.අවශ්යතා: දුරස්ථ පාලනය, නිරීක්ෂණය, ස්වයංක්රීයකරණය.
- Applications: home, farm, health, transport, industry, environment.යෙදුම්: නිවස, ගොවිතැන, සෞඛ්ය,…
- Enablers: MDS, sensors, networks, cloud, apps.සක්රීයකරණ: MDS, සංවේදක, ජාල, cloud, apps.
- A remote switch: browser → HTTP → Wi-Fi board → relay.දුරස්ථ ස්විචය: බ්රව්සරය → HTTP → පුවරුව → relay.
Notesසටහන්
Syllabus 11.2. The Internet of Things (IoT) connects everyday things (sensors, appliances, meters) to the Internet so they can be monitored and controlled with little human help. You learn the definition, the needs it meets, typical applications, the enabling technologies, and you design a simple remote switch that turns a device such as a television ON or OFF through the Internet.විෂය නිර්දේශය 11.2. දේවල්වල අන්තර්ජාලය (IoT) එදිනෙදා දේවල් (සංවේදක, උපකරණ, මීටර) අන්තර්ජාලයට සම්බන්ධ කර මිනිස් උදව්ව අඩුවෙන් නිරීක්ෂණය සහ පාලනය කරයි. නිර්වචනය, අවශ්යතා, යෙදුම්, සක්රීයකරණ තාක්ෂණ ඉගෙන ගෙන රූපවාහිනියක් වැනි උපාංගයක් අන්තර්ජාලය හරහා ON/OFF කරන සරල දුරස්ථ ස්විචයක් සාදයි.
1. What is IoT?1. IoT යනු කුමක්ද?
- Definition: a network of physical objects (“things”) that sense, connect to the Internet and act – often automatically.නිර්වචනය: සංවේදනය කර, අන්තර්ජාලයට සම්බන්ධ වී, බොහෝ විට ස්වයංක්රීයව ක්රියා කරන භෞතික වස්තූන්ගේ ජාලය.
- Needs: remote control, continuous monitoring, automation, energy saving, safety and convenience.අවශ්යතා: දුරස්ථ පාලනය, නිරන්තර නිරීක්ෂණය, ස්වයංක්රීයකරණය, බලශක්ති ඉතිරිය, ආරක්ෂාව, පහසුව.
- Without IoT you must be next to the device; with IoT you use a phone or web page from anywhere.IoT නැතිව උපාංගය අසල සිටිය යුතුය; IoT සමඟ ඕනෑම තැනකින් දුරකථනයෙන් හෝ වෙබ් පිටුවකින්.
2. Applications2. යෙදුම්
3. Enabling technologies3. සක්රීයකරණ තාක්ෂණ
| Technologyතාක්ෂණය | Role in IoTIoT හි කාර්යභාරය |
|---|---|
| Microcontrollers / MDSක්රමලේඛක / MDS | Run the local sensing and control programස්ථානීය සංවේදන සහ පාලන වැඩසටහන |
| Sensors and actuatorsසංවේදක සහ ක්රියාකාරක | Measure the world and change itලෝකය මැන වෙනස් කිරීම |
| Connectivity (Wi-Fi, cellular, LPWAN)සම්බන්ධතාව | Link things to the Internetදේවල් අන්තර්ජාලයට |
| Cloud and databasesCloud සහ දත්ත සමුදා | Store readings and run logicකියවීම් ගබඩා කර තර්කය ධාවනය |
| Mobile / web appsජංගම / වෙබ් යෙදුම් | Human interface to watch and commandනිරීක්ෂණයට සහ විධානවලට |
4. Simple IoT application – remote ON/OFF switch4. සරල IoT යෙදුම – දුරස්ථ ON/OFF ස්විචය
🔌 Remote ON/OFF switch over the Internetඅන්තර්ජාලය හරහා දුරස්ථ ON/OFF ස්විචය
// Simple IoT remote switch (ESP8266 / WiFi board style) // Browser → http://device-ip/on or /off → relay on pin 5 #include#include const char* ssid = "SchoolWiFi"; const char* password = "secret123"; const int RELAY = 5; ESP8266WebServer server(80); void handleOn() { digitalWrite(RELAY, HIGH); server.send(200, "text/plain", "TV ON"); } void handleOff() { digitalWrite(RELAY, LOW); server.send(200, "text/plain", "TV OFF"); } void setup() { pinMode(RELAY, OUTPUT); digitalWrite(RELAY, LOW); WiFi.begin(ssid, password); while (WiFi.status() != WL_CONNECTED) { delay(500); } server.on("/on", handleOn); server.on("/off", handleOff); server.begin(); } void loop() { server.handleClient(); // wait for HTTP requests }
▶ Simulated runඅනුකරණ ධාවනය
WiFi connected Server listening on port 80 HTTP GET /on RELAY 5 = HIGH Reply: TV ON HTTP GET /off RELAY 5 = LOW Reply: TV OFF
The phone sends an HTTP GET /on over Wi-Fi/Internet. The board’s tiny web server runs handleOn(), drives the relay pin HIGH, and replies “TV ON”. The relay closes and the television (or lamp) receives power. /off does the opposite.දුරකථනය HTTP GET /on යවයි. පුවරුවේ web server handleOn() ධාවනය කර relay pin HIGH කර “TV ON” යවයි. relay වැසී TV ට බලය ලැබේ. /off අනෙක් අතට.
- Design: list the thing (TV), the actuator (relay), the MDS with Wi-Fi, the network and the user interface (browser links /on and /off).සැලසුම: දෙය (TV), ක්රියාකාරකය (relay), Wi-Fi සහිත MDS, ජාලය, පරිශීලක අතුරුමුහුණත (/on, /off).
- Security note (interest): use a password or HTTPS on a real deployment – open switches on a public network are unsafe.ආරක්ෂාව (උනන්දුවට): සැබෑ යෙදුමක මුරපදයක් හෝ HTTPS භාවිත කරන්න.
- The same idea works for a lamp, a fan or a school lab power socket.එකම අදහස විදුලි බුබුලක්, fan එකක් හෝ රසායනාගාර socket එකකටද වැඩ කරයි.
Key Wordsප්රධාන පද
Sample Q&Aආදර්ශ ප්රශ්න සහ පිළිතුරු
1Define IoT in one sentence.IoT නිර්වචනය?
2Name three needs that IoT meets.අවශ්යතා තුනක්?
3Give three IoT application areas.යෙදුම් ක්ෂේත්ර තුනක්?
4List three enabling technologies.සක්රීයකරණ තාක්ෂණ තුනක්?
5What does GET /on do in the remote switch?GET /on?
6Why test the relay with a lamp first?පළමුව බුබුල ඇයි?
MCQබහුවරණ ප්රශ්න
Choose the correct answer for each question.සෑම ප්රශ්නයකටම නිවැරදි පිළිතුර තෝරන්න.
1IoT stands forIoT
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A
Internet of Things.දේවල්වල අන්තර්ජාලය.
2Turning a TV on from a phone over the Internet is mainlyදුරකථනය
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B
Remote control.දුරස්ථ පාලනය.
3Soil-moisture pumps on a farm are an IoT application inගොවිතැන
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A
Smart farm.ස්මාර්ට් ගොවිතැන.
4Which is an enabling technology for IoT?සක්රීයකරණ
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C
Connectivity.සම්බන්ධතාව.
5In the remote-switch sketch the actuator is theactuator
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B
Relay.Relay.
6The browser command that turns the device on isbrowser
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D
GET /on.GET /on.
7The board program that answers /on and /off is aboard
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A
Tiny web server.web server.
8A need met by IoT isඅවශ්යතාව
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: E
Automation.ස්වයංක්රීයකරණය.
9Which term means: “Internet of Things – networked sensing and control of everyday objects”?“දේවල්වල අන්තර්ජාලය – එදිනෙදා වස්තූන්ගේ ජාලගත සංවේදනය සහ පාලනය” යන්නෙන් අදහස් වන පදය කුමක්ද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A
IoT – Internet of Things – networked sensing and control of everyday objects.IoT – දේවල්වල අන්තර්ජාලය – එදිනෙදා වස්තූන්ගේ ජාලගත සංවේදනය සහ පාලනය.
10Which term means: “Physical object with sensing and/or actuation”?“සංවේදනය සහ/හෝ ක්රියාකාරකත්වය සහිත භෞතික වස්තුව” යන්නෙන් අදහස් වන පදය කුමක්ද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B
Thing – Physical object with sensing and/or actuation.දෙය – සංවේදනය සහ/හෝ ක්රියාකාරකත්වය සහිත භෞතික වස්තුව.
11Which term means: “Operating a device from another place over a network”?“ජාලයක් හරහා වෙනත් තැනකින් උපාංගයක් ක්රියාත්මක කිරීම” යන්නෙන් අදහස් වන පදය කුමක්ද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D
Remote control – Operating a device from another place over a network.දුරස්ථ පාලනය – ජාලයක් හරහා වෙනත් තැනකින් උපාංගයක් ක්රියාත්මක කිරීම.
12Which term means: “Watching sensor readings continuously”?“සංවේදක කියවීම් නිරන්තරයෙන් බැලීම” යන්නෙන් අදහස් වන පදය කුමක්ද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: E
Monitoring – Watching sensor readings continuously.නිරීක්ෂණය – සංවේදක කියවීම් නිරන්තරයෙන් බැලීම.
13Which term means: “Acting on sensor data without a person each time”?“සෑම විටම මිනිසෙකු නොමැතිව සංවේදක දත්ත මත ක්රියා කිරීම” යන්නෙන් අදහස් වන පදය කුමක්ද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: E
Automation – Acting on sensor data without a person each time.ස්වයංක්රීයකරණය – සෑම විටම මිනිසෙකු නොමැතිව සංවේදක දත්ත මත ක්රියා කිරීම.
14Which term means: “Hardware or software that makes IoT possible”?“IoT කළ හැකි කරන දෘඪාංග හෝ මෘදුකාංග” යන්නෙන් අදහස් වන පදය කුමක්ද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B
Enabling technology – Hardware or software that makes IoT possible.සක්රීයකරණ තාක්ෂණය – IoT කළ හැකි කරන දෘඪාංග හෝ මෘදුකාංග.
15Which term means: “MDS with a wireless network interface (e.g. ESP8266)”?“රැහැන් රහිත ජාල අතුරුමුහුණත සහිත MDS” යන්නෙන් අදහස් වන පදය කුමක්ද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D
Wi-Fi board – MDS with a wireless network interface (e.g. ESP8266).Wi-Fi පුවරුව – රැහැන් රහිත ජාල අතුරුමුහුණත සහිත MDS.
16Which term means: “Message such as GET /on sent by a browser”?“බ්රව්සරයක් යවන GET /on වැනි පණිවිඩය” යන්නෙන් අදහස් වන පදය කුමක්ද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C
HTTP request – Message such as GET /on sent by a browser.HTTP ඉල්ලීම – බ්රව්සරයක් යවන GET /on වැනි පණිවිඩය.
17Which term means: “Tiny program on the board that answers HTTP”?“HTTP වලට උත්තර දෙන පුවරුවේ කුඩා වැඩසටහන” යන්නෙන් අදහස් වන පදය කුමක්ද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D
Web server (on device) – Tiny program on the board that answers HTTP.උපාංග web server – HTTP වලට උත්තර දෙන පුවරුවේ කුඩා වැඩසටහන.
18Which term means: “Electrically controlled switch that can drive a TV or lamp”?“TV හෝ විදුලි බුබුලක් පාලනය කළ හැකි විද්යුත් ස්විචය” යන්නෙන් අදහස් වන පදය කුමක්ද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C
Relay – Electrically controlled switch that can drive a TV or lamp.Relay – TV හෝ විදුලි බුබුලක් පාලනය කළ හැකි විද්යුත් ස්විචය.
19Which term means: “Home where appliances are monitored and controlled over a network”?“ජාලය හරහා උපකරණ නිරීක්ෂණය සහ පාලනය කරන නිවස” යන්නෙන් අදහස් වන පදය කුමක්ද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C
Smart home – Home where appliances are monitored and controlled over a network.ස්මාර්ට් නිවස – ජාලය හරහා උපකරණ නිරීක්ෂණය සහ පාලනය කරන නිවස.
20Which term means: “Remote servers that store IoT data and run logic”?“IoT දත්ත ගබඩා කර තර්කය ධාවනය කරන දුරස්ථ සේවාදායක” යන්නෙන් අදහස් වන පදය කුමක්ද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: E
Cloud – Remote servers that store IoT data and run logic.Cloud – IoT දත්ත ගබඩා කර තර්කය ධාවනය කරන දුරස්ථ සේවාදායක.
MCQ answer keyMCQ පිළිතුරු
- A – Internet of Things.දේවල්වල අන්තර්ජාලය.
- B – Remote control.දුරස්ථ පාලනය.
- A – Smart farm.ස්මාර්ට් ගොවිතැන.
- C – Connectivity.සම්බන්ධතාව.
- B – Relay.Relay.
- D – GET /on.GET /on.
- A – Tiny web server.web server.
- E – Automation.ස්වයංක්රීයකරණය.
- A – IoT – Internet of Things – networked sensing and control of everyday objects.IoT – දේවල්වල අන්තර්ජාලය – එදිනෙදා වස්තූන්ගේ ජාලගත සංවේදනය සහ පාලනය.
- B – Thing – Physical object with sensing and/or actuation.දෙය – සංවේදනය සහ/හෝ ක්රියාකාරකත්වය සහිත භෞතික වස්තුව.
- D – Remote control – Operating a device from another place over a network.දුරස්ථ පාලනය – ජාලයක් හරහා වෙනත් තැනකින් උපාංගයක් ක්රියාත්මක කිරීම.
- E – Monitoring – Watching sensor readings continuously.නිරීක්ෂණය – සංවේදක කියවීම් නිරන්තරයෙන් බැලීම.
- E – Automation – Acting on sensor data without a person each time.ස්වයංක්රීයකරණය – සෑම විටම මිනිසෙකු නොමැතිව සංවේදක දත්ත මත ක්රියා කිරීම.
- B – Enabling technology – Hardware or software that makes IoT possible.සක්රීයකරණ තාක්ෂණය – IoT කළ හැකි කරන දෘඪාංග හෝ මෘදුකාංග.
- D – Wi-Fi board – MDS with a wireless network interface (e.g. ESP8266).Wi-Fi පුවරුව – රැහැන් රහිත ජාල අතුරුමුහුණත සහිත MDS.
- C – HTTP request – Message such as GET /on sent by a browser.HTTP ඉල්ලීම – බ්රව්සරයක් යවන GET /on වැනි පණිවිඩය.
- D – Web server (on device) – Tiny program on the board that answers HTTP.උපාංග web server – HTTP වලට උත්තර දෙන පුවරුවේ කුඩා වැඩසටහන.
- C – Relay – Electrically controlled switch that can drive a TV or lamp.Relay – TV හෝ විදුලි බුබුලක් පාලනය කළ හැකි විද්යුත් ස්විචය.
- C – Smart home – Home where appliances are monitored and controlled over a network.ස්මාර්ට් නිවස – ජාලය හරහා උපකරණ නිරීක්ෂණය සහ පාලනය කරන නිවස.
- E – Cloud – Remote servers that store IoT data and run logic.Cloud – IoT දත්ත ගබඩා කර තර්කය ධාවනය කරන දුරස්ථ සේවාදායක.
Structured Questionsව්යුහගත ප්රශ්න
1Define IoT and state three needs it addresses.නිර්වචනය සහ අවශ්යතා. (2 marksලකුණු 2)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
2Describe four IoT application areas with one example each.යෙදුම් හතර. (2 marksලකුණු 2)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
3Explain five enabling technologies for IoT.සක්රීයකරණ තාක්ෂණ. (5 marksලකුණු 5)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
4Design a remote ON/OFF switch for a classroom lamp.දුරස්ථ ස්විචය. (4 marksලකුණු 4)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
5Trace what happens when a user opens /off in a browser./off අනුරේඛනය. (5 marksලකුණු 5)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
🎮 Game🎮 ක්රීඩා
Summary & Downloadsසාරාංශය සහ බාගත කිරීම්
Key pointsප්රධාන කරුණු
- IoT connects sensing things to the Internet to act.IoT සංවේදන දේවල් අන්තර්ජාලයට සම්බන්ධ කර ක්රියා කරයි.
- Needs: remote control, monitoring, automation, saving, safety.අවශ්යතා: දුරස්ථ පාලනය, නිරීක්ෂණය, ස්වයංක්රීයකරණය.
- Applications: home, farm, health, transport, industry, environment.යෙදුම්: නිවස, ගොවිතැන, සෞඛ්ය,…
- Enablers: MDS, sensors, networks, cloud, apps.සක්රීයකරණ: MDS, සංවේදක, ජාල, cloud, apps.
- A remote switch: browser → HTTP → Wi-Fi board → relay.දුරස්ථ ස්විචය: බ්රව්සරය → HTTP → පුවරුව → relay.
Downloadsබාගත කිරීම්
Full Lesson 11 PDFසම්පූර්ණ පාඩම 11 PDF: English · සිංහල
Next: Lesson 11 A/L Exam Practiceඊළඟට: පාඩම 11 A/L විභාග පුහුණුව →
