Project arduino+vb send data

Dear all

This is my first time in this forum, my name is oscar from Spain and i'm doing a project with arduino + visual basic.
Until now already have developed the program of vb but i'm not sure how make the arduino program, my project is with 5 temperature probe pt100( already have the arduino code) send to vb and from vb send to arduino some parameters in the same time like set point etc. This is possible? I think i should be string of characters first the probe and some alarms right?
How many data is possible to send in the same time?

My hw is arduino mega.

Thanks!!

i'm not sure how make the arduino program, my project is with 5 temperature probe pt100( already have the arduino code)

Do you have an Arduino program, or not? You can't have it both ways.

send to vb and from vb

Visual Basic is a programming language. The programming LANGUAGE is NOT what you are trying to communicate with.

This is possible?

NO. It IS possible for an application written using VB to do what you want. It is not even remotely reasonable to expect a programming language to do that.

Hi Paul

I mean i have the arduino code to read pt100.
I have a program with visual basic that i send data to start a led for example and visual basic recibe a string from arduino to put somthing in vb program "led on"
So i would like to do this but more dificult, to send some parameters from visual basic like setpoint to arduino.
For example:

I'm reading some temperature from pt100 and i put in visual basic 10C of setpoint, when reach this value start the motor, all this logic is from arduino visual basic only is to read and sent actions like setpoint or start some motor

Thanks in advance

So i would like to do this but more dificult, to send some parameters from visual basic like setpoint to arduino.

It is NOT more difficult to send "<SP=34>" to set the setpoint than it is to send "<12, 1>" to turn pin 12 on.

It is not more difficult to receive the data.

It is not at all difficult to see that one statement is an assignment (has an =) and that the other isn't (no =).

It is not more difficult to parse the SP=34 statement.

all this logic is from arduino visual basic

Do you really think the Arduino knows ANYTHING about Visual Basic?

I'm sorry but i don't understand

Hi,

It is really possible to send data from Arduino to Visual Basic!!! I am doing that in many differents applications.

For sending data from VB to Arduino, I know it is possible but I don't have to do it so I don't know how. You can find many very good Internet sites that will tell you how to do that.

Regards

It is really possible to send data from Arduino to Visual Basic!!!

NO IT IS NOT. That makes NO more sense than saying that you can send data to C++.

VB is a programming language. You can NOT send it data!

You CAN send data to an app written using VB, but that is NOT the same as sending data to VB.

PaulS look like he like to cut hair in 4!!!

@Oep88, have a look at the examples in Serial Input Basics - simple reliable ways to receive data. There is also a parse example.

I recommend that you use the technique in the 3rd example as it will be most reliable.

The same general approach can be used for sending data from the Arduino to the PC.

...R

Hi, i have done project that Arduino connect to Visual Studio C++ (same as Visual Basic)
In your project, you can connect Arduino to Visual Basic, then send/receive data through RS232 port, it's not difficult.

About my project, you can refer here in our blog

Thanks