Now that we have our electronics attached, let's connect the battery to the Arduino and the motor controller. This is a lot easier because we have a breadboard. Otherwise we'd have to solder wires and do lots of other messy stuff.

First off, let's look at the different types of wires. Some of them are "male" ended, like this:


and others are "female" ended, like this:


Male wires are useful for connecting into the breadboard slots or the blue connectors on the motor controllers. Female connectors are good for attaching to a pin, like the ones on the motor controller.

On the front of the motor controller, there are three screw connectors. These are for connecting the power. Find two wires with a male end on both sides. Put one in the left socket (positive voltage supply) and one into the middle socket (ground). Note that it is traditional to use Red wires for positive voltage and Black wires for ground. The colors don't matter, but they help us keep organized.


Now connect the other ends of the wires to the breadboard. Put the positive voltage wire into the row with the Arduino pin marked Vin. Then put the ground wire in the row with the Arduino pin marked GND.


Then we'll attach the battery. Connect the red wire to the same row with the Arduino pin marked Vin. Then connect the black wire in the row with the Arduino pin marked GND.


Now flip the switch on the battery pack to the ON position. You should see a red light on the Arduino and on the motor controller.

Next Step: Connect the Control Wires