Hello,
I am trying to figure out if there is a way to control my ardunio using Visual studio (programming in C or C++). My project consist of such:
I am trying to use Visual Studios to make a form application to control my arduino through serial connection which will be controlling a robotic car. The interface (form application) will have Speed (1-5, 1 being the slowest 5 being the fastest), Turn (left or right), a button to read the arduino, and write to the arduino. Is this possible? If so, how can I possibly do this. Any advice, tips, or guidance are appreciated!
Thanks
Yes, it is possible, take a look at this page:
http://playground.arduino.cc/Interfacing/Csharp
The Visual Studio form application is just a GUI builder that executes (Visual) C# code when a button is clicked etc.
@PieterP
Thank you for a rapid response! Does the GUI have to be written in C# in VS or can I write it in another language?
Again, I am trying to use Visual Studio to create an "visual" interface to control my arduino.
Ever heard of google
visual c++ serial port
And for the Arduino side of things, I suggest that you read Serial Input Basics - updated, especially the example with the start- and end-markers.
It also contains a parsing example.
Start with the Arduino side of things and use Serial Monitor for testing. Next start developing the Windows side of things.