Building robots in Scratch with GPIO
Jul 27, 2021
4 minutes
Robots are very cool and the Raspberry Pi GPIO is the ideal way to control them. We can do this using Scratch. In this tutorial we shall learn the basics of working with the GPIO in Scratch by first controlling an LED before applying the same principle to control the motors of a robot. If you’re unsure as to how to build a robot, we have a short guide in the boxout which may just help. So let’s build a robot!
Scratch 3 should come pre-installed on your Raspberry Pi OS image, but just in case it’s missing it can be installed from the main menu, under Preferences>Recommended Software. Scratch 3 is found in the Programming category; place a tick in
You’re reading a preview, subscribe to read more.
Start your free 30 days