Arduino Yellow Motor Control

In today’s work you get to connect an Arduino to two yellow hobby motors.  This is the first step in robot domination.

What you will need:
1. a partner (I only have twenty motor controllers to share)
2. an Arduino
3. two yellow motors
4. a motor controller
5. four wires that have one male end and one female end
6. two normal wires
7. a small screwdriver

Use the diagram to wire up your circuit to two yellow motors.  It doesn’t matter if whether you wire red or black to the OUT terminals as long they are swapped between motor 1 and motor 2.

Then download the two Arduino programs and upload one at a time to your new Arduino motor circuit.  Test them out!

Download both of these programs:

twomotornospeed
twomotorspeed

This handy diagram: