send angle to stepper motor via serial arduino and simulink
1 次查看(过去 30 天)
显示 更早的评论
without serial when i constantly change to desire angle motor goes to desire angle and stop i want to send the angle via serial to Arduino i made this serial receiver block and set everything and send also but i noticed that motor go to the angle and back to zero and same for every sample time i asked my professor he suggest making it check from status and make a function to check if zero and the past angle it it out but i tryed with this and cant made this function block can you please help me i will attach all files here![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1322975/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1322975/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1322980/image.png)
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Arduino Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!