This scheme of work has been designed as an introduction to networking on the Raspberry Pi. 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 programme.
Over the course of four lessons, students will learn:
- How to network two or more Raspberry Pis together
- How to program a Raspberry Pi to send messages to another Pi
- 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 programme of study.
It is suggested that work is carried out by students on a Raspberry Pi each or in pairs. Each Raspberry Pi will connect to one other Pi in the first lessons so you will need an even number. Each student or pair should have access to the following equipment:
- A Raspberry Pi with the following set up:
- The latest NOOBS SD card with Raspbian installed
thing-client.pycopied to the SD card
- A keyboard, mouse and monitor
- One network cable between two Raspberry Pis
- 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)
Unless otherwise specified, everything in this repository is covered by the following licence:
Networking Lessons by the Raspberry Pi Foundation is licensed under a Creative Commons Attribution 4.0 International Licence.
Based on a work at https://github.com/raspberrypilearning/networking-lessons
Lessons 1 and 2 based on ideas and code by David Whale