This scheme of work has been designed as an introduction to networking on the RaspberryPi. Students will set up and use various networks, and will be introduced to basic networking through practical activities.
This scheme of work is specifically targeted towards KS3 and KS4 Computing, although the first two lessons could be used at KS2. It has been developed in the context of the 2014 National Curriculum in England, but is not specific to that program.
Over the course of four lessons, students will learn:
◾ How to network two or more RaspberryPis together
◾ How to program a RaspberryPi to send messages to another RaspberryPi
◾ How to control hardware over a network
Network configuration and server set up
◾ Basic networking concepts including:
◾ IP address
◾ Servers and clients
Links to Computing Programme of Study
◾ Understand computer networks including the internet
◾ Understand the hardware and software components that make up computer systems, and how they communicate with one another and with other systems.
The lessons use the Python programming language and therefore also address several programming aspects of the program of study.
National Curriculum Computing Programmes of Study
It is suggested that work is carried out by students on a RaspberryPi each or in pairs. Each RaspberryPi will connect to one other RaspberryPi in the first lessons so you will need an even number. Each student or pair should have access to the following equipment:
A RaspberryPi with the following set up:
◾ The latest NOOBS SD card with Raspbian installed
◾ network.py and thing-client.py copied to the SD card
◾ A keyboard, mouse and monitor
◾ One network cable between two RaspberryPis
◾ Four female-to-female header leads and one LED (lesson 2 only)
See the teacher setup instructions for more information.
◾ Lesson 1: Sending messages over a network
(Note that this lesson requires students to prepare by watching a video beforehand; this can be set as homework from the previous lesson or incorporated where appropriate).
◾ Lesson 2: Controlling hardware over a network
◾ Lesson 3: Dynamic Host Configuration Protocol (DHCP)
◾ Lesson 4: DNS (Domain Name System)
© LampPi 2018