Switch branches/tags
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Program the GoPiGo in Scratch

You can program the GoPiGo in Scratch. This repo contains support programs and example programs to help you program the GoPiGo in Scratch.

The GoPiGo is a delightful and complete robot for the Raspberry Pi that turns your Pi into a fully operating robot. GoPiGo is a mobile robotic platform for the Raspberry Pi developed by Dexter Industries..

Sensor Placement

You can add a number of Grove sensors to the GoPiGo. Sensors must be placed in the correct port to work.

Sensor Port
Ultrasonic A1
Button A1 or D11
Sound Sensor A1
Buzzer D11
Motion Sensor D11
Infrared Receiver A1
Line Sensor I2C

Top View of GoPiGo Sensors Bottom View of GoPiGo Sensors

Getting Started Examples

Please see our Examples folder for examples on how to get started with programming the GoPiGo in Scratch!

Here are a list of example commands. Scratch Functions

See Also


This repository contains source code, firmware and design materials for the GoPiGo.



GoPiGo for the Raspberry Pi: an open source robotics platform for the Raspberry Pi. Copyright (C) 2015 Dexter Industries

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0.txt.