Connect the stepper motor to an audio amplified board like in the image, and connect the audio and power input. Add an optional resitance between the audio board and the stepper motor to prevent too large currents through your motor. Run the script 'steppermotor.m' to control the motor. Use velocities between 1 and 30, negative number of steps results in a movement in the other direction. If the motor does not move, check the volume settings of your computer.
引用格式
Stijn Haenen (2024). steppermotor (https://www.mathworks.com/matlabcentral/fileexchange/74169-steppermotor), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2019b
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Electromechanical 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0 |