How to send Multiple servo angles from matlab to arduino

11 visualizzazioni (ultimi 30 giorni)
Hi,
I have created a matlab gui that consists of 6 sliders. These sliders go from 0-180 degrees. The purpose is to control 6 servo motors on arduino. Each slider prints the value (from 0-180) on a separate text box. i want the values within the text boxes to be sent on arduino. Anyone has an idea about the code for arduino?

Risposte (1)

Ricardo Caja Calleja
Ricardo Caja Calleja il 9 Mag 2015
Hi,
you need to send the data to Arduino via serial port. In the following link it's very well explained:
Cheers, Ricardo

Categorie

Scopri di più su MATLAB Support Package for Arduino Hardware in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by