Stepper Motor HAT
Stepper Motor HAT for Raspberry Pi, Drives Two Stepper Motors, Up to 1/32 Microstepping
- 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.
If you require technical support, please go to the Support page and open a ticket.