Arduino servo motor driving on matlab

조회 수: 2 (최근 30일)
ibrahim aga
ibrahim aga 2015년 3월 28일
댓글: kuldip patel 2017년 3월 8일
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
Anusha B 2015년 3월 30일

Kevin Foley
Kevin Foley 2015년 4월 12일
편집: Kevin Foley 2015년 4월 12일
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.

커뮤니티

더 많은 답변 보기:  Power Electronics Community

카테고리

Help CenterFile Exchange에서 Arduino Hardware에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by