APC

Building robots in Scratch with GPIO

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

You’re reading a preview, subscribe to read more.

More from APC

APC3 min read
Create Engaging Slideshows
IT WILL TAKE 10 minutes YOU WILL LEARN How to navigate the changes to the TV app made in tvOS 17.2 YOU’LL NEED An Apple TV running tvOS 17.2 Keynote has long been a powerful tool for creating compelling presentations but now there are even more re
APC3 min read
Asus Dual RTX 4060 Ti SSD
PRICE $779 WEB www.asus.com It’s one thing to release an RTX 4060 Ti 8GB model with a factory overclock or a marketing tie-in, but one with a built-in SSD slot? That’s something else entirely. Asus has done just that, creating an RTX 4060 Ti 8GB wit
APC1 min read
Neural Parasite
PRICE Free PLATFORM PC WEB bit.ly/NeuralGame Before WASD and mouse-aiming became the norm, there were all sorts of crazy control schemes for first-person games, and in that light Neural Parasite’s isn’t too bizarre. You move with your feet – by which

Related