Arduino 360 Servo Control Not Possible?
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
2 Kommentare
Stijn Haenen
am 7 Jan. 2021
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
am 16 Nov. 2023
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.
Antworten (1)
MathWorks MATLAB Hardware Team
am 20 Nov. 2023
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 Kommentare
Siehe auch
Kategorien
Mehr zu MATLAB Support Package for Arduino Hardware finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!