Pmod HB3 Reference Manual
The Pmod HB3 is retired and no longer for sale in our store.
The Digilent Pmod HB3 (Revision E) offers a 2A H-Bridge circuit with external feedback to drive small to medium sized DC motors.
Download This Reference Manual
- 2A H-bridge circuit
- Drive a DC motor with operation voltage up to 12V
- Screw terminal blocks for connection to the motor
- Separate header for external motor feedback
- 6-pin Pmod port with GPIO interface
The Pmod HB3 utilizes a full H-Bridge circuit to allow users to drive DC motors from the system board. Two external pins are provided on the Pmod for sensor feedback on the DC motor, if desired. The H-Bridge is comprised of a NTHD4508N N-FET (Q1), a NTHD4401P P-FET (Q2), and a MBT3904DW1 transistor (Q3).
Interfacing with the Pmod
The Pmod HB3 communicates with the host board via the GPIO protocol. Like all H-Bridges, care must be taken to avoid causing a potential short within the circuitry. In terms of this Pmod, this means that the Direction pin must not change state while the Enable pin is at a high voltage state. If this does occur, one set of switches that are driving the motor will be closing while the other set is opening, allowing for the possibility for both sets of switches to be open at the same time, creating a short. As motors typically require higher voltages than a system board can provide, users will need to supply an external voltage source to the pair of terminal blocks on header J3, with a maximum voltage of 12V in order to allow the attached motors to spin.
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 rate that can easily be controlled through digital logic.
Pinout Description Table
|Sensor A feedback pin
|Sensor B feedback pin
|Power Supply Ground
|Positive Power Supply (3.3/5V)
Any external power from the system board applied to the Pmod HB3 must be within 2.7V and 5.25V; however, it is recommended that Pmod is operated at 3.3V. The motors require an external voltage source (either wired from the system board or from an external supply) to be attached to the terminal blocks on header J3. The maximum external motor voltage that can be applied is 12 V.
The pins on the pin header are spaced 100 mil apart. The PCB is 1.2 inches long on the sides parallel to the pins on the pin header and 0.8 inches long on the sides perpendicular to the pin header.