Difference between revisions of "Stepper Motor HAT"
From Waveshare Wiki
m (Text replacement - "{{#urlget:amazon|default}}=display" to "{{#ifeq: {{#urlget:amazon|0}}|{{#urlget:Amazon|0}}| default|}}=display") |
(→FAQ) |
||
Line 31: | Line 31: | ||
*New version (the purchase date is later than 2021.01.05, the PCB board is printed with the word Rev2.1) | *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: | You can enter the following commands in the terminal to download the demo: | ||
+ | <pre> | ||
+ | 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/ | ||
+ | </pre> | ||
+ | |||
+ | *If your purchase date is earlier than 2021.01.05, please perform the following: | ||
<pre> | <pre> | ||
sudo apt-get install p7zip-full | sudo apt-get install p7zip-full | ||
Line 37: | Line 46: | ||
sudo chmod 777 -R Stepper_Motor_HAT_V2_Code | sudo chmod 777 -R Stepper_Motor_HAT_V2_Code | ||
cd Stepper_Motor_HAT_V2_Code/Raspberry\ PI/ | cd Stepper_Motor_HAT_V2_Code/Raspberry\ PI/ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</pre> | </pre> | ||
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. | 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. |
Revision as of 11:58, 25 May 2022
| ||
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/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/
- 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/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/
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.
{{{5}}}
Related Resources
Support
Support
If you require technical support, please go to the Support page and open a ticket.