Using a cheaper motor driver with the Minimum Rover

If you want to use a cheaper motor driver board ($7) for the OpenMV-based “Minimum Rover“, here’s how to hook it up:

You’ll need some female-to-female hookup wires ($6).

First, plug four wires into the OpenMV’s GND, VIN, P7 and P8 pins as shown

Then connect those four wires to the motor controllers as shown in the picture below:

  • P7 goes in In1
  • P8 goes to In4
  • GND goes to GND
  • VIN goes to +5V

Then connect the motor wires to the terminals on each side of the motor controller, right motor wires to right side terminals, and left side motor wires to left side terminals, as shown. The wires from the battery go to the GND and 12V terminals (cut off the connector and put the bare wire in the terminal and screw it down).


The code requires no modification to use this motor controller. It should work exactly the same as the OpenMV motor controller shield.

 

 

Written by 

2 thoughts on “Using a cheaper motor driver with the Minimum Rover”

  1. Hi. Don’ t you have to wire 6 wires, P0-P3 for motor control and AIN1/AIN2 for PWN control? Your wiring shows just two wires.
    Just one motor moves with your code, the other one doesn’ t, even if it does with the
    PWN motor example from OpenMV. Any ideas?

Leave a Reply

Your email address will not be published. Required fields are marked *