Easier to read with cream paper, a tint, more contrast or larger text? Choose your colours and text, once, for every page.

Free lesson

OS 1.5 (2 of 2): Smart devices, robots, cloud and 5G

The whole lesson, free. Read it and have a go at the activities. To work the tasks and labs in the real lesson, press Start lab, with no account needed.

50 minutes

A quick check that you are not a bot, then your own lab opens on the interactive lesson.

Already have an account? Sign in

A fridge that orders milk

Your fridge notices there is no milk. It orders some. A drone drops it at your door. The bill is paid on its own.

This is not magic. It is sensors (devices that measure things), internet links, the cloud and software. Somebody had to build each part. This lesson looks at the technology behind it.

Key words

WordWhat it meansExample
Internet of ThingsEveryday objects with sensors and an internet link.a smart thermostat
SensorA device that measures something in the world.a temperature sensor
Operational technologyComputers that control physical machines.factory machines, traffic lights
RoboticsMachines that move and act, controlled by software.a robot that packs boxes
AutomationA job done by machines or software, without a person.an automatic ticket gate
Cloud computingUsing faraway computers over the internet.storing photos online
DroneA flying machine without a pilot on board.a delivery drone
3D printingMaking a solid object from a computer design, layer by layer.a plastic phone case
5GThe fifth generation of mobile network, faster and with less delay.streaming video on a phone
NetworkDevices joined together to share data.a mobile network or home Wi-Fi
PrototypeAn early, simple version you can try.a 3D-printed model of a part

The cells students fill in are left blank in this preview.

How a smart home works

flowchart LR
  s[Sensor measures the room] --> n[Network sends the reading]
  n --> c[Cloud service stores and checks it]
  c --> a[App shows it to you]
  c --> d[Command sent back to the device]
  d --> h[Heating turns on]

Check: read the diagram

Have a go

Check: read the diagram

3 questions
Have a go: your answers are marked here and then forgotten. Sign in if you would like your score kept, and to pick up where you left off.Sign in to keep your score

Eight technologies and their effect on developers

TechnologyExampleWhat developers must think about
Operational technologyTraffic lights, factory linesSafety, reliability. A bug can hurt people.
Internet of ThingsSmart doorbell, thermostatMany small devices, weak security, updates
Robotics and automationWarehouse robots, ticket gatesTesting in the real world, safety, jobs that change
Cloud services and platformsOnline storage, hostingCosts, security, using more or fewer computers when needed
DronesDelivery, farm checksRules for flying, battery, safe control
3D printingParts, models, prototypesDesign files, material limits, quality checks
5G and faster networksVideo, connected carsMore devices at once, less delay
Broadband for more peopleHome working, online learningMore users who want fast internet

The cells students fill in are left blank in this preview.

Match the example to the technology

Have a go

Loading…

Your answers are marked here and are not kept. A college account keeps every student’s marks.

A thermostat decides on or off

Code: python
target = 20
readings = [17, 19, 20, 22, 18]

for reading in readings:
    if reading < target:
        print(reading, "is cold: heating on")
    else:
        print(reading, "is warm enough: heating off")

# Change the target to 18 and run it again.

Make a free account to save your work and track your progress.

Write the thermostat functions

Write two small functions for a smart heating system. The first gives back "on" if the room is colder than the target, or "off" if it is the same or warmer. The second works through a list of readings and gives back a list of commands. Press Run Tests when you are ready.

Code: python
def heating_command(temperature, target):
    # A smart heating system. Give back the word "on" if the room is colder
    # than the target, and "off" if it is the same or warmer.
    return None


def commands_for(readings, target):
    # readings is a list of temperatures taken during the day.
    # Give back a list with one command ("on" or "off") for each reading.
    return None

Make a free account to save your work, or press Start lab to work through the whole lesson.

When code controls real machines

Warning

Many people think a bug is only an annoyance. In a game, a bug costs a life in the game. In a traffic light or a medical machine, a bug can hurt a person. So operational technology needs extra care, testing and security.

Cloud and fast networks change the design

Cloud computing lets a small team rent big computers by the hour. They do not have to buy their own machines.

Faster networks like 5G and broadband (fast home internet) let more devices and more people connect at the same time. Developers must plan for many more users, and for devices that sometimes lose their link.

Investigate how a company uses one

Choose one of these: operational technology, Internet of Things, robotics and automation, drones, 3D printing, or cloud services. Find out how a real company uses it. Use two sources, for example a company web page and a news story.

Use this template.

  1. The technology and the company:
  2. What it does for the company (one or two lines):
  3. What software the company needs to run it:
  4. One benefit and one problem:
  5. My two sources (name and web address):

Example for 4: "Benefit: fewer mistakes. Problem: if the network fails, the robots stop."

A teacher marks this in a college. Nothing you write here is kept: it goes when you leave the page.

Make a free account to save your work, or press Start lab to work through the whole lesson.

Key words crossword

Have a go

Loading…

Your answers are marked here and are not kept. A college account keeps every student’s marks.

Final check

Have a go

Final check

5 questions
Have a go: your answers are marked here and then forgotten. Sign in if you would like your score kept, and to pick up where you left off.Sign in to keep your score

Teach this lesson with your class

On a college account your students work the tasks and the labs as well, and every mark is kept for you.