Robotics With Raspberry Pi: Build and Program Your First Robot Buggy
Raspberry Pi Foundation
  • Start Date: 02 Jan, 2023
  • 3 weeks
  • Study Content: Videos


Build and program your first robot buggy using a Raspberry Pi, learning how to connect motors, add sensors and write algorithms.

Course Fee: Free
Certificate Cost: See Fees and Eligibility

Course Description

This course is made available through the eLearnAfrica and FutureLearn partnership.

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.


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.


This course is for people with little or no experience with physical computing, who want to create their first robot.


Ideally you should have some basic familiarity with Python, for example from our Programming 101 course.


It is particularly well-suited for teachers delivering lessons up to GCSE level or equivalent, who are looking for engaging programming activities for their classrooms.


This course requires you to have the following:


Hardware



  • Raspberry Pi 3B, 3B+, or 4

  • Motor controller board

  • Two 3V–6V DC motors

  • Two wheels

  • Ball caster (unless using more than two wheels)

  • An Ultrasonic Distance Sensor (UDS)

  • Two resistors for splitting the voltage if the UDS is 5V (e.g. a 1200 and a 2200 Ohm resistor)

  • Two line-following sensors

  • Jumper leads (female-to-female and male-to-female) or wire

  • AA battery holder (for four AA batteries)

  • Four AA batteries

  • A USB powerbank (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.)

  • Black tape and white paper or card (to make a track with a black line for the line-following robot)


The hardware components and tools are listed in this document. This list includes suggested models, types and pictures of each component, although 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


Certificate cost may vary. You will be redirected to the host page for cost and payment options.

Raspberry Pi Foundation

The Raspberry Pi Foundation works to put the power of digital making into the hands of people all over the world, so they are capable of understanding and shaping our increasingly digital world, able to solve the problems that matter to them, and equipped for the jobs of the future.

We provide low-cost, high-performance computers that people use to learn, solve problems and have fun. We provide outreach and education to help more people access computing and digital making. We develop free resources to help people learn about computing and how to make things with computers, and train educators who can guide other people to learn.

 

This institution is available on eLearnAfrica through partnership with FutureLearn.

You may be able to download course materials after enrolling in this course. If not, all of the necessary course materials provided by the course instructor will be available on the provider's course page.
COLLABORATION POLICY

By enrolling in a course on or through eLearnAfrica, you are joining a special worldwide community of learners. The aspiration of eLearnAfrica is to provide anyone with an internet connection access to courses from the best universities and institutions in the world and to provide our learners the best educational experience internet technology enables. You are a part of the community that will help eLearnAfrica achieve this goal. eLearnAfrica depends upon your motivation to learn the material and to do so with honesty and academic integrity. In order to participate in eLearnAfrica, you must agree to the Honor Code below and any additional terms specific to a class.

ELEARNAFRICA HONOR CODE PLEDGE

By enrolling in a course, program, or degree hosted on the eLearnAfrica App or Site, I agree that I will:

  • Complete all tests and assignments on my own, unless collaboration on an assignment is explicitly permitted.

  • Maintain only one user account and not let anyone else use my username and/or password.

  • Not engage in any activity that would dishonestly improve my results, or improve or hurt the results of others.

  • Not post answers to problems that are being used to assess student performance.

  • Abide by any and all requirements of the eLearnAfrica Participants as may regard the expectations of civil or academic behavior or of community standards.

VIOLATIONS

If you are found in violation of the Terms and Conditions or Honor Code, you may be subject to one or more of the following actions:

  • Receiving a zero or no credit for an assignment;

  • Having any certificate earned in the course withheld or revoked;

  • Being unenrolled from a course, learning program or degree program; or

  • Termination of your use of the App and/or Site.

  • Additional actions may be taken at the sole discretion of eLearnAfrica and eLearnAfrica course providers. 

No refunds will be issued in the case of any corrective action for such violations.

Honor code violations will be determined at the sole discretion of eLearnAfrica, the Partners, or Members. You will be notified if a determination has been made that you have violated this honor code and you will be informed of the corresponding action to be taken as a result of the violation.

CHANGING THE HONOR CODE

Please note that we review and may make changes to this Honor Code from time to time. Any changes to this Honor Code will be effective immediately upon posting on this page, with an updated effective date. By accessing the App and/or Site after any changes have been made, you signify your agreement on a prospective basis to the modified Honor Code and any changes contained therein. Be sure to return to this page periodically to ensure familiarity with the most current version of this Honor Code.

Effective Date: September 22, 2016