Arduino 360 Servo Control Not Possible?
9 ビュー (過去 30 日間)
古いコメントを表示
2 件のコメント
Stijn Haenen
2021 年 1 月 7 日
In the example for a 180 degree servo, this line is used to control the angle;
writePosition(s, angle);
For the 360 deg servo you cannot send a command for angle, only for speed. Use:
writePosition(s, 90);
for full speed rotation and
writePosition(s, 0);
to stop the servo.
Stanley
2023 年 11 月 16 日
Hi, I am having a very similar problem. I am wondering if you found a solution and if so could you please provide me with advice on how to control my 360 servo. Thank you in advance for any help.
回答 (1 件)
MathWorks MATLAB Hardware Team
2023 年 11 月 20 日
Hi,
MATLAB Support Package for Arduino Hardware supports only 180 degrees Servo.
To use 360 degrees Servo please use Custom Addon library as mentioned in this link,
https://in.mathworks.com/help/supportpkg/arduinoio/ug/create-custom-arduino-add-on-library.html
Thanks,
MATLAB Hardware Team
MathWorks
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で MATLAB Support Package for Arduino Hardware についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!