Datasheet

PmodHB5™ Reference Manual
Copyright Digilent, Inc. All rights reserved.
Other product and company names mentioned may be trademarks of their respective owners.
Page 2 of 3
To drive the motor at a specific speed, users will need to choose a static direction (forwards or backwards
corresponding to high or low voltage) on the Direction pin, and then perform pulse width modulation on the
Enable pin. The more often that an enable pin is driven high within a set time frame, the faster the DC motor will
spin.
The way that this works is that when voltage is being applied, the motor is driven by the changing magnetic forces.
When voltage is stopped, momentum causes the motor to continue spinning a while. At a high enough frequency,
this process of powering and coasting enables the motor to achieve a smooth rotation that can easily be controlled
through digital logic.
Header J1 (pin 1 on the top)
Header J2 (pin 1 on the bottom)
Pin
Signal
Description
Pin
Signal
Description
1
DIR
Direction pin
1
SB
Sensor B feedback pin
2
EN
Enable pin
2
SA
Sensor A feedback pin
3
SA
Sensor A feedback pin
3
GND
Power Supply Ground
4
SB
Sensor B feedback pin
4
VCC
Positive Power Supply (3.3/5V)
5
GND
Power Supply Ground
5
M+
Motor positive pin
6
VCC
Positive Power Supply (3.3/5V)
6
M-
Motor negative pin
Table 1. Pinout description table.