Pages: [1]   Go Down
Author Topic: Arduino interface with visual basic  (Read 5260 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 1
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Connecticut
Offline Offline
Edison Member
*
Karma: 17
Posts: 1216
RTFD (Datasheet in our case)
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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. smiley
Logged

0
Offline Offline
Newbie
*
Karma: 1
Posts: 7
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.. smiley
Logged

Offline Offline
Newbie
*
Karma: 1
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

thanks for the help .
Logged

Pages: [1]   Go Up
Jump to: