Skip main navigation

Week 3 welcome

James outlines this weeks activities and the learning objectives you will cover.
Hello, and welcome to week three. Already in this course, you’ve learned about the Raspberry Pi computer, connected up a physical output in the form of an LED, and controlled it using Python. Controlling the physical world is a really powerful thing. And this week, you’re going to learn how to react to it. Through a series of activities, you will learn to connect a button to your Raspberry Pi and write code to respond to it being pressed. You’ll also learn about some of the many sensors that you could connect up in place of the humble button. And lastly, you’ll learn how to get your students to make their own buttons using craft materials.
As always, remember to share your learning, in particular your button builds. We can’t wait to see what you make.

Last week you learnt about controlling an output (LED) using a Raspberry Pi and some Python code, and considered how you can make this sort of activity accessible to your students.

This week you will:

  • Connect a button to a Raspberry Pi and write code to respond when it is pressed.
  • Learn about other sensors that could be used in place of a button.
  • Learn to make your own buttons using craft materials, and how this can challenge your students.

Completing this week’s exercises is really important, and will help you to identify gaps in your understanding. Don’t be discouraged if you don’t get everything right on your first try — that’s completely normal! If you do need help, a reminder that the discussions can be found throughout the course at the bottom of each learning step page. Last time we ran the course, over 300 people asked questions, made comments or participated in a discussion.

This article is from the free online

Teaching Physical Computing with Raspberry Pi and Python

Created by
FutureLearn - Learning For Life

Our purpose is to transform access to education.

We offer a diverse selection of courses from leading universities and cultural institutions from around the world. These are delivered one step at a time, and are accessible on mobile, tablet and desktop, so you can fit learning around your life.

We believe learning should be an enjoyable, social experience, so our courses offer the opportunity to discuss what you’re learning with others as you go, helping you make fresh discoveries and form new ideas.
You can unlock new opportunities with unlimited access to hundreds of online short courses for a year by subscribing to our Unlimited package. Build your knowledge with top universities and organisations.

Learn more about how FutureLearn is transforming access to education