YoVDO

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

Offered By: Raspberry Pi Foundation via FutureLearn

Tags

Raspberry Pi Courses Robotics Courses Motor Control Courses Sensor Integration Courses Physical Computing Courses

Course Description

Overview

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

Syllabus

  • Building a mobile robot
    • Introduction to robotics
    • Connecting and programming motors
    • Building the buggy
    • End of week one
  • Automating actions using distance sensors
    • Welcome to week two
    • Sensing the physical world
    • Adding a distance sensor to the buggy
    • Navigating obstacles autonomously
    • End of week two
  • Allowing robots to follow lines
    • Welcome to week three
    • Line sensing robots
    • Adding a line sensor to the buggy
    • Developing line following algorithms
    • Future of robotics

Taught by

Michael Conterio

Related Courses

Introduction to Robotics: How to Build a Robot Arm
Queensland University of Technology via FutureLearn
Sports Coaching: How effective are you?
Athlete 365 via Independent
The Art and Science of Coaching
Athlete 365 via Independent
Learning Arduino: Pulse Width Modulation
LinkedIn Learning
Motors and Motor Control Circuits
University of Colorado Boulder via Coursera