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

Por: FutureLearn . en: , ,

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 at 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
  • 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

Plataforma