Skip to main content

Robotics With Raspberry Pi: Build and Program Your First Robot Buggy

CO224 Online course

Examine the wider context of modern robotics and build a robot buggy controlled by a Raspberry Pi

Free online course Join now 2 hours per week

On this course from the Raspberry Pi Foundation, you’ll build a robot buggy controlled by a Raspberry Pi. You’ll start by learning how to connect motors to your Raspberry Pi, and how to write a Python program to control them to move your buggy. You’ll move on to adding sensors to your robot and writing algorithms that use the inputs from these sensors, giving your robot the ability to follow lines and avoid obstacles. You’ll examine the wider context of modern robotics, and think about how robotics affects society.

Topics covered:

  • The GPIO Zero Python library, and how this can be used to interact with input and output components
  • The construction of a simple robot buggy
  • How distance sensors work
  • Obstacle avoidance algorithms
  • Line sensors
  • Line following algorithms
  • The effect of robotics on society

You will:

  • Describe the advantages of using robotics to teach computer science
  • Develop suitable algorithms for your robot depending on the task
  • Discuss different uses of robotics and the components that they may use
  • Produce a robot buggy that can move in particular patterns, avoid obstacles, and follow a line
  • Demonstrate how to control a variety of components using the GPIO Zero Python library

Join this course

You need to be logged in to start the course.

Join this course

Not got a STEM Learning account?
Create an account

An introduction to algorithms, programming and data in GCSE computer science

Create some simple block-based computer programs and discover how to implement them in the text based language Python.

Face to face course

An Introduction to Computer Networking for Teachers

Build your knowledge and understanding of computer networks as a computer science teacher

Free online course

An introduction to computer systems, networking and security in GCSE computer science

Learn about the different components of computer hardware, including devices not instantly recognisable as computers.

Face to face course