Computer Science Grade 7 20 min

Lesson 4: How IoT Devices Communicate: Connecting to the Internet

Discuss different communication methods used by IoT devices (Wi-Fi, Bluetooth, cellular).

Tutorial Preview

1

Introduction & Learning Objectives

Learning Objectives Identify at least three different ways IoT devices connect to the internet (e.g., Wi-Fi, Cellular, Bluetooth). Explain the role of a router in connecting devices within a local network to the global internet. Describe the difference between a local area network (LAN) and the wide area network (WAN) that is the internet. Compare the advantages and disadvantages of using Wi-Fi versus a Cellular connection for a given IoT device. Define what an IP address is and explain why every internet-connected device needs one. Trace the basic path of a data request from an IoT device to a cloud server and back. Distinguish between a 'client' and a 'server' in an IoT communication scenario. How does your smart speaker instantly know the weather for...
2

Key Concepts & Vocabulary

TermDefinitionExample IP Address (Internet Protocol Address)A unique address for a device on the internet, just like a mailing address for a house. It tells other computers where to send information.A smart camera needs an IP address so the video feed can be sent to your phone's IP address. RouterA device that acts like a traffic cop for your home network. It directs internet traffic between all your devices and the outside world.Your laptop, phone, and smart TV all connect to your home router to get on the internet. Wi-FiA wireless technology that uses radio waves to connect devices to a local network and the internet over short distances.A smart light bulb in your bedroom uses Wi-Fi to connect to your home router. Cellular (4G/5G)A wireless technology that connects devices to the i...
3

Core Syntax & Patterns

The Client-Server Model Client asks (sends a request) -> Server answers (sends a response). This is the fundamental pattern for almost all internet communication. An IoT device (the client) needs something, so it sends a request over the internet to a powerful computer (the server) that has the information or ability to perform a task. The Data Packet Journey Device -> Router -> Internet -> Server -> Internet -> Router -> Device This shows the simplified path data takes. Information is broken into small pieces called packets. Each packet travels from the IoT device, through the local router, across the internet to the server, and the response travels all the way back. Connection Choice Logic IF (device is stationary and near a router) THEN use Wi-F...

4 more steps in this tutorial

Sign up free to access the complete tutorial with worked examples and practice.

Sign Up Free to Continue

Sample Practice Questions

Challenging
Your smart fridge can connect to your phone app when you are home and on the same Wi-Fi, but it cannot download new recipes from the internet. Your phone's internet is working fine. What is the most likely problem?
A.The fridge's Wi-Fi antenna is broken.
B.The router is not correctly routing the fridge's traffic to the internet, even though the local connection is fine.
C.Your phone app is out of date.
D.The cloud server for recipes is permanently offline.
Challenging
A company is designing a new wearable health tracker. They are deciding between Wi-Fi only and a Wi-Fi + Cellular model. The Cellular model will cost more and have a shorter battery life. Why would they still choose to make the Cellular model?
A.Because Cellular is a newer technology and looks better in advertisements.
B.To allow the tracker to send emergency alerts or real-time data even when the user is away from a Wi-Fi network, like when jogging.
C.Because a Cellular chip is cheaper to manufacture than a Wi-Fi chip.
D.To enable the device to make phone calls, which is its primary function.
Challenging
When you take your laptop from home to a coffee shop, it gets a new IP address. Why does this happen?
A.The laptop's IP address is designed to change every hour for security.
B.The IP address is assigned by the local network's router, so connecting to a new router means getting a new local address.
C.The coffee shop's internet is faster, which requires a different kind of IP address.
D.IP addresses are tied to the person, not the device, and the system knows you changed locations.

Want to practice and check your answers?

Sign up to access all questions with instant feedback, explanations, and progress tracking.

Start Practicing Free

More from Chapter 4: The Internet of Things (IoT): Connecting the World

Ready to find your learning gaps?

Take a free diagnostic test and get a personalized learning plan in minutes.