Pages: [1]   Go Down
Author Topic: How to send data from Matlab GUI to Arduino for servo rotation  (Read 729 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello guys;

I've problem about sending data from Matlab GUI to Arduino for servo rotation. I've five servos connected to Arduino UNO and the program is running well through serial monitor of Arduino. I've defined characters for each servo, for example 15a turns the first servo 15 degrees, b for the second and so on, everything is correct about arduino codes. After this I've created Matlab GUI for servo control. This GUI consists of push button, check box, slider and edit text. Edit text and slider updates each other. I'm having trouble about sending the data from edit text to arduino. What I need to do is to get the data from edit text and send it to the arduino with the push button with the addition of characters which are defined to the servos (a,b,c,d,e). I'll appreciate if you can help me about it.
Thanks in advance.

Pages: [1]   Go Up
Jump to: