Wiring up the robot
With the robot built and the electronic components attached, it is time to wire it up! The importance of good wiring of a robot is an often-overlooked part of a robot build, but it is critical to your robot’s reliability. Figure 12.6 gives you an overview of the complete wiring that we will discuss in detail in the following paragraphs:
Figure 12.6 – Symbolic wiring diagram of the line-following robot with close-ups of the motor driver connections
Let us split the aspects of wiring into three categories (battery and motor, connections on the breadboard, and connections between boards) and go over these three categories one by one.
Battery and motor connections
Most hobby lithium batteries come with high-current connectors, such as the red Deans connectors (also called T-connectors), or the yellow XT60 connectors. These connectors are designed to carry high currents and ensure correct polarity when you mate them....