Arduino servo motor driving on matlab
显示 更早的评论
Hello everyone
i want driving arduino motor on matlab ,matlab give this error
Error using serial/fwrite (line 199) Unscussessful write: An error occurred during writing.
Error in arduino/servoWrite (line 1190) fwrite(a.aser,[56 97+pin val],'uchar');
回答(2 个)
Anusha B
2015-3-30
0 个投票
Hi Ibrahim,
The following link might help you:
Kevin Foley
2015-4-12
编辑:Kevin Foley
2015-4-12
0 个投票
I had the same problem, getting the same error message using 4 servo motors. If you are only using the USB connection from the computer serial port (COM#), try connecting a 9V battery with the 2.1mm power plug adapter.
I connected a 9V into the port on the Arduino Uno board and didn't get the error message anymore.
1 个评论
kuldip patel
2017-3-8
i try to connect but not solve
社区
类别
在 帮助中心 和 File Exchange 中查找有关 Arduino Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!