Click here to Skip to main content
15,891,873 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hallo everyone,
I am stucked with thinking about the logic.Please help. I have two Nanotec LS59 linear actuator (Motor) which is having its own motor controller. I have Arduino UNO R3. At first i made a GUI with the help of visual studio for creating a xml file for the motor behavior running. Now i need help !! On one hand i have a Gui which gives the input to motor through xml file. How can i control two motors through arduino ?? how can i program arduino which interlinks my GUI, motor controller. If i get any examples codes will be helpful too.

Thank you

What I have tried:

i have tried serial port connection with the arduino IDE.
Posted
Updated 22-Jun-17 2:53am

Quote:
How can i control two motors through arduino ??
By reading and understanding the controllers' documentation.
 
Share this answer
 
Nobody can answer this question. You haven't said anything about the motor controller you're using and that's where all of the important details are going to come from in order to write code against it.

Also, forget your GUI for now. Just focus on getting a motor turning using nothing but Arduino code.

The problem of talking to an Arduino from a PC application has been documented over and over again all over the web, and it doesn't involve and XML file. It's usually done over a serial connection.

Google is your friend. If you're going to dive into microcontroller programming, you really must have excellent Google-Fu skills. If you can't do research, you better learn real quick.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900