Go Down

Topic: Arduino interface with visual basic (Read 5463 times) previous topic - next topic

I'm doing a work with visual basic , and i need to find a way to connect arduino with visual basic , anyone can help me ?

I will be waiting for answers !

Thanks

baum

I've never used visual basic, so you may not want to use this. But an easy way of communicating between languages in through the use of files.

Check out processing @ http://processing.org/
It can read serial data, just like the serial monitor, and it can output via files.

So you could do this:

Arduino prog---Serial out-----processing------file------visual basic


I'm pretty sure vb can read files, though... most can.


And then you could have a tx and rx file: tx.txt and rx.txt

Processing (or sh) could read the tx file from vb and send it to arduino, processing could output arduino serial data to tx file, which vb could read.



I'm sure there is an easier way, so as I said, only use this as a test. DON'T put it in your final design.... it is probably quite slow.


Sorry if its confusing. :)

innoman

Hi
http://www.codeproject.com/KB/system/ArduinoVB.aspx
http://www.acraigie.com/programming/firmatavb/
http://www.instructables.com/answers/Can-you-control-an-Arduino-with-Visual-Basic/
http://social.msdn.microsoft.com/Forums/en-US/Vsexpressvb/thread/1c8e1242-c627-4dcf-b1a8-d461fb82d6c7
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1209217094/all
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1290026038
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1276148899
and many other pages which you can find  yourself.. :)


Go Up