Interfacing with Visual Studio 2005

Hi All,

I am trying to communicate with an Arduino MegaADK via MS Visual Studio 2005, but I am having troubles doing so.

Has anyone been able to do this successfully? I looked into using this plugin: http://www.visualmicro.com/ - but it only works with 2008 and beyond.

Any help would be appreciated.

communicate with an Arduino MegaADK via MS Visual Studio 2005

I looked into using this plugin: http://www.visualmicro.com/

These are two totally separate things. If you want to "communicate" with an Arduino you can use any language you like that can talk to a serial port, and that includes all flavours of VB/C#/C++ that you can use with VS2005.

If you want to "develop" for Arduino on VS2005 then you are out of luck.

Which is it?


Rob

My end goal is to be able to send commands to the arduino using MATLAB. I would like to be able to do this using R2007b. The support for arduino that matlab provides is not compatible with the version of matlab that I am using, so I would like to communicate with the arduino using C and then use matlab to call on the C code.

Sorry this is all so vague. The main idea is to send the arduino commands using MATLAB. If I could just send the arduino a small amount of data and then have it return the data I would be off to a good start.

If I could just send the arduino a small amount of data and then have it return the data I would be off to a good start.

Are you asking for permission? If so, it's granted.

If you are asking how, you are using some unspecified version of MATLAB to send data. The Arduino should be able to receive that, but how depends on what (unspecified) data you are sending it, and should be able to return a reply (but how depends on what that (unspecified) response should be.

jiblets:
My end goal is to be able to send commands to the arduino using MATLAB. I would like to be able to do this using R2007b. The support for arduino that matlab provides is not compatible with the version of matlab that I am using, so I would like to communicate with the arduino using C and then use matlab to call on the C code.

Sorry this is all so vague. The main idea is to send the arduino commands using MATLAB. If I could just send the arduino a small amount of data and then have it return the data I would be off to a good start.

Start with Arduino IDE, it is simpler than Visual Micro. You can go with visualmicro once you understand the basics. Set the IDE (http://arduino.cc/forum/index.php/topic,118440.0.html you can use this modded version if you want a standard click,click installer) then go to Examples and look for the ones under Communication submenu. Connect your arduino and click Upload. Finally open the serial monitor and check what the arduino is sending or you can send.

Finally replicate the serial monitor things in matlab using the "serial" commands, open, send and receive from the com port used in the IDE.