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

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

Build and program your first robot buggy using a Raspberry Pi, learning how to connect motors, add sensors and write algorithms. Learn robotics by building a robot buggy and controlling it with a Raspberry Pi. On this course from the Raspberry Pi Foundation, you’ll build a robot buggy controlled by a Raspberry Pi.

Class Deals by MOOC List - Click here and see FutureLearn's Active Discounts, Deals, and Promo Codes.

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.

Syllabus

Week 1: Building a mobile robot
Week 2: Automating actions using distance sensors
Week 3: Allowing robots to follow lines

What will you achieve?
By the end of the course, you‘ll be able to...

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

What software or tools do you need?
This course requires you to have the following:

Hardware

  • Raspberry Pi 3B, 3B+, or 4
  • Motor controller board
  • 2 x 3V - 6V DC motors
  • 2 x wheels
  • Ball caster (unless using more than 2 wheels)
  • Ultrasonic distance sensor (between 1 and 2)
  • 2 x line following sensors
  • Jumper leads (female-to-female and male-to-female) or wire
  • AA battery holder (for 4 AA batteries)
  • 4 x AA batteries
  • A USB battery pack (to power the Raspberry Pi)
  • Soldering iron and solder
  • Wire strippers
  • Scissors
  • Screwdriver
  • A small cardboard box for the chassis (can be plastic, wood, metal, etc.)

You can view most of the required components on this AliExpress wish list, but they can be ordered / bought anywhere, and alternatives are also available.

Software

  • The latest version of the Raspbian operating system
  • An IDE of your choice

Additional extras

  • Adhesives (duct tape / electrical tape, putty, glue, etc.)
  • Cable ties or velcro straps
  • GPIO reference card
Go to Class
MOOC List is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Related Courses

Using JavaScript, jQuery, and JSON in Django (FutureLearn) FutureLearn
University of Michigan

Using JavaScript, jQuery, and JSON in Django (FutureLearn)

Understand how to use JavaScript, jQuery and JSON within the Django framework. Learn how JavaScript supports the framework of Django. Django is a Python web framework that encourages fast development and a clean, pragmatic design. This comprehensive course will introduce you to the JavaScript language, and will show you how it supports Django’s framework.

Feb 22nd 2021
5-12 Weeks
Big Ideas in Programming: Expressing Yourself with Python (FutureLearn) FutureLearn
University of Michigan

Big Ideas in Programming: Expressing Yourself with Python (FutureLearn)

Harness the power of Python and its programming concepts to express yourself and automate the work you do. Learn the Python basics you need to create the content and projects you want. Coding and programming allow better work performance, across diverse professions. If you want to discuss ideas with programming professionals or develop the code yourself, you need to know the basics.

Sep 27th 2021
4 Weeks
Programming Pedagogy in Secondary Schools: Inspiring Computing Teaching (FutureLearn) FutureLearn
Raspberry Pi Foundation,National Centre for Computing Education

Programming Pedagogy in Secondary Schools: Inspiring Computing Teaching (FutureLearn)

Examine a range of pedagogical approaches suitable for teaching computing in Key Stage 3 (Grade 6–8 in the USA). Transform your teaching by developing your pedagogical approach. In the first two weeks of this course, you’ll be introduced to a range of pedagogical approaches suitable for Key Stage 3. You’ll look at a range of pedagogies aimed at developing your students’ computational thinking skills, from unplugged approaches to PRIMM, and more. You’ll also investigate worked examples and targeted tasks such as Parson’s Problems.

Mar 6th 2023
3 Weeks
Programming Essentials with Python: Cloud Technology and SaaS (FutureLearn) FutureLearn
FutureLearn

Programming Essentials with Python: Cloud Technology and SaaS (FutureLearn)

Launch your career in programming with this course on the fundamentals of Python and other programming languages. Develop your knowledge of cloud infrastructure and cloud technologies. What’s powering the architecture of cloud computing, and how does it rely on Python programming? Take a deep dive into the cloud and look at different types of cloud architecture and learn to articulate the benefits, challenges, and opportunities they offer.

May 23rd 2022
4 Weeks
Networking with Python: Socket Programming for Communication (FutureLearn) FutureLearn
Raspberry Pi Foundation,National Centre for Computing Education

Networking with Python: Socket Programming for Communication (FutureLearn)

Discover how you can create networked applications in Python by using sockets. Supported by Google. Build your practical network application skills and understanding. On this course from the Raspberry Pi Foundation, you’ll learn how to create programs that communicate over the internet.

Mar 6th 2023
3 Weeks
Understanding Maths and Logic in Computer Science (FutureLearn) FutureLearn
Raspberry Pi Foundation

Understanding Maths and Logic in Computer Science (FutureLearn)

Improve your understanding and ability to teach maths and logic in computing while building elements of an escape room. Become more familiar with maths and logic in computer science. The mathematical aspects of computer science can be difficult to understand and teach. On this course, you will be introduced to maths and logic in computing in an engaging way.

Nov 1st 2021
3 Weeks
Software Development: Understanding Python (FutureLearn) FutureLearn
FutureLearn

Software Development: Understanding Python (FutureLearn)

Get an introduction to software development and learn the basics of Python. If you want to start a career in software development, it’s important to build your programming skills. This course focuses on one of the most popular programming languages – Python – which is widely used in scientific and numeric computing.

Self Paced
4 Weeks
Software Development: Introducing Java (FutureLearn) FutureLearn
FutureLearn

Software Development: Introducing Java (FutureLearn)

Explore how Java can help support your software development career and learn its basic uses and functions. Becoming a software developer requires you to confidently use programming languages such as Python and Java to design, build, and fix software. This course is designed to build your existing Python knowledge and introduce you to Java and its applications within the development environment.

Self Paced
4 Weeks
Creative Coding (FutureLearn) FutureLearn
Monash University

Creative Coding (FutureLearn)

Use computer programming as a creative discipline to generate sounds, images, animations and more, with this free online course. Learning to program is no longer just for computer specialists and software developers. People from many different backgrounds now want to understand the basics of programming, because it’s both fun and an increasingly valuable skill.

No sessions available
5-12 Weeks
Teaching Physical Computing with Raspberry Pi and Python (FutureLearn) FutureLearn
Raspberry Pi Foundation

Teaching Physical Computing with Raspberry Pi and Python (FutureLearn)

Explore the exciting world of physical computing and create electronic circuits that you can control with code. Learn the benefits of using physical computing with your students. On this course from the Raspberry Pi Foundation, you will be introduced to the world of physical computing. You will use input devices to capture data, process that data with the Python programming language, and then use output devices to get information back out from your computer.

Mar 6th 2023
3 Weeks
Get ready for a Masters in Data Science and AI (FutureLearn) FutureLearn
Coventry University

Get ready for a Masters in Data Science and AI (FutureLearn)

Identify whether you’re ready for Master’s study, improve your data science skills, and get to grips with the basics of Python. Get a taste of life as a Data Science and AI Master's student. On this course, you’ll have the opportunity to explore the disciplines involved in a Master’s degree in Data Science and Artificial Intelligence (AI).

Apr 17th 2023
2 Weeks
Fortran for Scientific Computing (FutureLearn) FutureLearn
Partnership for Advanced Computing in Europe - PRACE,Vlaams Supercomputer Centre

Fortran for Scientific Computing (FutureLearn)

Learn how to program in Fortran. Use object-oriented programming to design efficient and maintainable code. Discover the power of Fortran for scientific programming. Fortran is a programming language that has been designed for scientific computing, allowing users to naturally express numerical problems. On this course, you’ll discover how to express your numerical problems as a Fortran program, exploring the power and versatility of this popular programming language.

Sep 27th 2021
5-12 Weeks