Stepper Motor HAT

From Waveshare Wiki
Revision as of 06:57, 16 May 2022 by Waveshare-admin (talk | contribs) (Text replacement - "{{#urlget:amazon|default}}=display" to "{{#ifeq: {{#urlget:amazon|0}}|{{#urlget:Amazon|0}}| default|}}=display")
Jump to: navigation, search
Stepper Motor HAT
Stepper-Motor-HAT-1.jpg

Stepper Motor HAT for Raspberry Pi
{{{name2}}}

{{{name3}}}

{{{name4}}}

{{{name5}}}

Introduction

Stepper Motor HAT for Raspberry Pi, Drives Two Stepper Motors, Up to 1/32 Microstepping

Resources

Documents

Datasheet

Codes

FAQ

 Answer:
  • New version (the purchase date is later than 2021.01.05, the PCB board is printed with the word Rev2.1)

You can enter the following commands in the terminal to download the demo:

sudo apt-get install p7zip-full
wget https://www.waveshare.com/w/upload/8/8c/Stepper_Motor_HAT_Code.7z
7z x Stepper_Motor_HAT_V2_Code.7z -r -o./Stepper_Motor_HAT_V2_Code
sudo chmod 777 -R Stepper_Motor_HAT_V2_Code
cd Stepper_Motor_HAT_V2_Code/Raspberry\ PI/
  • If your purchase date is earlier than 2021.01.05, please perform the following:
sudo apt-get install p7zip-full
wget https://www.waveshare.com/w/upload/1/1f/Stepper_Motor_HAT_V2_Code.7z
7z x Stepper_Motor_HAT_Code.7z -r -o./Stepper_Motor_HAT_Code
sudo chmod 777 -R Stepper_Motor_HAT_Code
cd Stepper_Motor_HAT_Code/Raspberry\ PI/

The difference is that the new version uses high-level enable, so the motor will not work when the Raspberry Pi doesn't initialize the enable GPIO and let it output high-level.

{{{3}}}
{{{4}}}

{{{5}}}


Related Resources

Support

Support

If you require technical support, please go to the Support page and open a ticket.