Adding the electronics to your platform
The basic hardware platform is ready, and adding the Raspberry Pi is quite simple. You'll use the same RaspiRobot board that you used in Chapter 2, Building Your Own Futuristic Robot. Here is an image of the board mounted on the Raspberry Pi:
You'll need to connect the RaspiRobot to the DC motors. This is quite simple; you'll only use two of the six connectors on the motors. The rest are to power and read the encoders; you'll not use these on this project. Here is an image of the motor connector:
You'll need to connect the black connector to one of the L connectors on the RaspiRobot board, and the red connector to the L connector on the RaspiRobot board. Connect the second motor to the R connectors. Then connect a battery to the GND and +V connectors; you'll want to use a 3S LiPo battery that can supply 11.1 V. The next step is to start controlling the DC motors.