Semester 1 · Sumobot

Week 1: Actuators

Open to everyone

Using PWM to control a DC motor

Now wire it up like so:

Motor driver circuit wiring diagram
Motor driver circuit wiring diagramEnlarge image

Only connect the function generator to one of the IN pins at any time - changing which pin it's connected to should reverse the motor.

The motor driver with its wires positioned in a breadboard.
The motor driver with its wires positioned in a breadboard.Enlarge image

Enlarged photograph