Build a Raspberry Pi GoBot With Your Kids

Category: Blog
107 0

With merely $60 worth of hardware and 10 cables of system, you and your minor can build a simple wheeled droid that can drive around your room. It is likely to be be your youngling’s first step toward starting their own DIY robotics path on YouTube.

1. Get the Parts

The heart of your projection will be a Raspberry Pi, a pocket-size computer that’s favourite among hobbyists. Any form of the Pi will do. You’ll too need these parts, which you can find at an electronics shop or online 😛 TAGEND

MicroSD card: You’ll quantity this up with the bot’s software.
Two 5-volt DC motors
Two wheels with grippy rubber tires: These will snarl onto the motor shafts.
L2 93 D motor controller
Six AA artilleries in a holder: To strength the motors.
Small breadboard: A machine used to build a simple circuit , no soldering required.
5-volt USB mobile phone battery pack: To supremacy the Pi.
Jumper wires: To connect everything.
Chassis: Anything flat and about 6 inches square: Legos, laser-cut plastic, cardboard. You can also included two “feet” to stabilize your droid.
Sticky Tack adhesive

Robert Ormerod
Robert Ormerod

2. Wire It Up

Mount the Pi and breadboard to the top of your chassis using an adhesive like Sticky Tack. Push the L293D motor controller into the breadboard, then connect your jumper cables to the rods on the Pi and on the breadboard( hear the following diagram ). Connect the two cables on each DC motor to the output pins of the motor controller.

Casey Chin

Robert Ormerod

3. Connect the Power

Affix the motors, rotates, and battery chest to your bot’s underside. Run the supremacy wires up to your breadboard and connect them to the motor power input of the L293D. Mount the 5V battery multitude and plug it into the Pi.

Robert Ormerod

4. Prep the SD Card

Software time! Go to downloads. Download, unzip, and emulate the NOOBS Operating System registers onto the microSD card. Insert the card into your Pi. Now plug your keyboard, mouse, and monitor into the Pi–remember, it’s a minuscule computer. When inspired, install the Raspbian OS.

5. Download the Code

Connect to the internet( if your Pi doesn’t have Wi-Fi, use an Ethernet cable) and sort this command into the terminal: Git CLONE HTTPS :// GITHUB.COM/ THE-RASPBERRY-PI-GUY/ WIRED. And then: CD WIRED. Take a look at the simple 10 -line Python program in the terminal use the following command: NANO FIRST_MOVE.PY. This will open the code in Nano, the Pi’s native text editor.

6. Run the Program

To execute this code and reach your new robot scuttle around, employment the following command: PYTHON3 FIRST_MOVE.PY. The little guy will move around in a rough square. Go back into the program exploiting the Nano editor, modify the time delays, and modification the authorities for forward, backwards, left, and right to create your own movements.

7. Grow Your Bot

You can expand your robot’s capabilities by lending sensors and writing new system. That’s the elegance of the Pi platform. For precedent, lend an infrared sensor to the robot’s nose, then platform it to follow a pitch-black wire on the floor. Or lend a camera and integrate computer-vision code to get the droid to chase a luminous ball.

Robert Ormerod


Matt Timmons-Brown first detected the Raspberry Pi as a preteen. “I was reading Stuff magazine in late 2011, and there was a tiny article about this little computer coming out. It was $35, ” he says. “As a 12 -year-old, that was appealing.” After getting fastened on tinkering, the Cambridge, UK, native started a YouTube channel at age 13, present tutorials for other Pi-heads. Today, the Raspberry Pi Guy path has nearly 70,000 customers, and the now 19 -year-old engineering undergrad has written a book for budding hobbyists. This projection is adapted from Timmons-Brown’s brand-new Learn Robotics With Raspberry Pi( No Starch Press, $25 ). It offers detailed instructions for this Pibot and more, including how to control your innovation with a Wiimote. — Michael Calore

This article appears in the June issue. Subscribe now.

Let us know what you think about this article. Submit a letter to the editor at mail @wired. com.

When you buy something applying the retail associations in our narratives, we may earn a small affiliate commission. Read more about how this works.

More From Our Series on Boys and Technology

Inside the Hybrid Digital-Analog Lives of Children HobbyKidsTV, YouTube, and the New World of Child Stars Parents and Kids Weigh in on Their Family’s Tech Protocol Facing the Ubiquity of Fortnite in Our Kids’ Lives A Food Pyramid for Kids’ Media Consumption What Online Chess Taught One Teen About Digital Life It’s the World Slime Convention! Let’s Goo!

Leave a comment


Register now to get updates on promotions and coupons.