ELEC 332
In the Lab II: Testing the H-Bridge Driver
Part 1: Assemble the Board
The assembly of your board should proceed as smoothly as in previous weeks
with one exception:
Since there are no connectors in the kit you received, you will have to prepare
your own.
The small parts cabinet has a drawer marked ".100 dual row headers"
which contains connector strips 36 positions long.
Using the razor saw from the tool drawer, saw off a piece of the appropriate
length (5 positions).
Part 2: Modify PWM Software
Modify the
mtr1.c program to provide bidirectional speed control.
With the potentiometer in the center of its range, the motor should be stopped.
As the potentiomener is turned clockwise, the motor should run in the forward direction with
increasing speed.
Turning the potentiometer counter clockwise from center should make the motor run in reverse.
As noted in the previous section, there is no need to provide for current monitoring.
Part 3: Test the Board and Software
Plug everything together, build your program, turn on the power, and verify that
your system works.
Part 4: Make Measurements
With the motor running at about half speed, measure and record the
input and output waveforms of the H-bridge driver.