O'Reilly logo

Make a Raspberry Pi-Controlled Robot by Wolfram Donat

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 8. Bot Control

At this point in the build, after we hook up the motors and connect the motor controller to the Pi, we could remotely log into the rover and control it from a laptop. If you were to add a battery for the Pi and at least one for the motors, the rover would be technically ready to test outside. But don’t do that yet. It might behoove us to connect everything first, debug the inevitable wire crossings and incorrect hookups, and then take it outside.

Connecting the Motors and Motor Controller

Setting the sensor connections and the robotic arm aside for a moment, let’s go through the process of hooking up the motors so we can test the movement. You’ll need to set aside six GPIO pins for the motor controller—three for each motor. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required