Arduino-Matlab-Servo without shield

3 次查看(过去 30 天)
Bharadwaj
Bharadwaj 2012-4-23
I am working on a project where i need to control 6 RC-servos.I am controlling them using the arduino board.I have downloaded the Arduino IO library to establish communication with arduino. And since i have 6 servos i cant use the shield. so i need a solution to be ablt to control the 6 servo motor from matlab. I did search the internet but i cannot find the solution to the problem. If a solution is already provided i would appreciate it if someone can share the link to the solution or provide a solution thank you .

回答(2 个)

Gautam Vallabha
Gautam Vallabha 2012-4-30
Take a look at the MATLAB source code and the accompanying sketch file for Arduino IO Package. You may be able to modify these to give you access to additional pins (as a starting point, see the instructions in README.txt for how to adapt the ArduinoIO Package for the Mega).

Bora Eryilmaz
Bora Eryilmaz 2012-5-29
The Standard Servo Write block from the new Simulink Support Package for Arduino Uno supports up to 12 RC servos.

标签

Community Treasure Hunt

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

Start Hunting!

Translated by