Controlling your mobile platform programmatically using Raspberry Pi

Now that you have your basic motor controller functionality up and running, you need to connect both motor controllers to Raspberry Pi. This section will cover that and also show you how to control your entire platform programmatically.

First, let's configure all of the hardware on top of the mobile platform, as shown in the following image:

Controlling your mobile platform programmatically using Raspberry Pi

I tend to use lots of cable ties, but if you'd like it to look even more polished, feel free to use more metal and nuts and bolts. The following is a diagram of the connections:

I suggest that you use Python in your initial attempts to control ...

Get Raspberry Pi Robotic Projects now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.