Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| pmod:pmodhb5:reference-manual [2022/09/13 17:43] – changed forum.digilentinc.com to forum.digilent.com jeff.greenberg_ni.com | pmod:pmodhb5:reference-manual [2022/10/04 11:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Pmod HB5 Reference Manual ====== | ||
| + | The Digilent Pmod HB5 (Revision E) offers a 2A H-bridge circuit to drive small to medium sized DC motors. This module was specifically designed to work with the Digilent gearbox motor which incorporates quadrature encoder feedback. | ||
| + | |||
| + | {{Digilent Image Gallery | ||
| + | | image = {{: | ||
| + | | image = {{: | ||
| + | | image = {{: | ||
| + | | image = {{: | ||
| + | }} | ||
| + | |||
| + | == Download This Reference Manual == | ||
| + | * {{: | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ===== Features ===== | ||
| + | * 2A H-bridge circuit | ||
| + | * Drive a DC motor with operating voltage up to 12V | ||
| + | * 6-pin JST connector for direct connection to Digilent motor/ | ||
| + | * Two screw terminals for external motor power supply | ||
| + | * 6-pin Pmod port with %%GPIO%% interface | ||
| + | |||
| + | ---- | ||
| + | =====Functional Description ===== | ||
| + | The %%Pmod HB5%% utilizes a full H-Bridge circuit to allow users to drive DC motors from the system board. Two sensor feedback pins are incorporated into the motor connection header and are specifically designed to work with the [[https:// | ||
| + | |||
| + | ---- | ||
| + | ===== Interfacing with the Pmod===== | ||
| + | The %%Pmod HB5%% communicates with the host board via the [[pmod: | ||
| + | |||
| + | To drive the motor at a specific speed, users will need to choose a static direction (provide a low voltage to the Direction pin to rotate the shaft in a clockwise direction or provide a high voltage on the Direction pin to rotate the shaft in a counter-clockwise direction) on the Direction pin, and then perform pulse width modulation on the Enable pin. The more often that the 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. | ||
| + | |||
| + | ==== Pinout Description Table ==== | ||
| + | ^ Header J1 (pin 1 on the top) ||| ::: | ||
| + | ^ Pin ^ Signal | ||
| + | | 1 | ||
| + | | 2 | ||
| + | | 3 | ||
| + | | 4 | ||
| + | | 5 | ||
| + | | 6 | ||
| + | |||
| + | Any external power applied to the %%Pmod HB5%% must be within 2.7V and 5.25V; however, it is recommended that Pmod is operated at 3.3V. | ||
| + | |||
| + | ---- | ||
| + | ===== Physical Dimensions ===== | ||
| + | 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. | ||
| + | |||
| + | ---- | ||
| + | ===== Additional Information ===== | ||
| + | The schematics of the %%Pmod HB5%% are available {{reference: | ||
| + | |||
| + | Example code demonstrating how to drive and receive sensor feedback from the %%Pmod HB5%% can be found [[pmod: | ||
| + | |||
| + | If you have any questions or comments about the %%Pmod HB5%%, feel free to post them under the appropriate section (" | ||

