Stepper Motor HAT User Manual
3/ 24
CONTENT
Overview....................................................................................................................................................... 1
Features................................................................................................................................................ 1
Specifications ..................................................................................................................................... 2
Hardware...................................................................................................................................................... 5
Pinout.................................................................................................................................................... 5
Power .................................................................................................................................................... 7
Motor Driver....................................................................................................................................... 7
Cotnrol protocol......................................................................................................................................10
H-bridge.............................................................................................................................................10
protocol of motor...........................................................................................................................11
Microstepping..................................................................................................................................12
DRV8825 ............................................................................................................................................12
Demo codes..............................................................................................................................................13
Preparation .......................................................................................................................................13
Downloading............................................................................................................................13
Libraries Installation ..............................................................................................................13
Setting.................................................................................................................................................15
Microstepping .........................................................................................................................15
Current setting ........................................................................................................................16
Running demo code ......................................................................................................................18
BCM2835 ...................................................................................................................................18