Hi, I hope someone could help me. I'm very new to arduino and I'm trying to make a project using it along with VB.net. So this is my problem, I can't use both arduino and vb.net at the same time. What I want to do is when I run the vb.net I want to input some words to textbox, example "my first project to arduino". and after I clicked the button the input will automatically send to arduino. I want to view the output on the arduino IDE to the serial monitor. But like what I said I can't opened both. If ever I closed the vb.net there will be no output to the serial monitor.
Is it possible to connect them both using serial port or any other way to connect them ?
A long time ago I used C# to communicate with the Arduino via the Serial port object in VS.:
private System.IO.Ports.SerialPort serialPort1;*
I can't find the code right now, but I remember that the Arduino COM port needed to be closed, the message sent from VS, closing the port when done sending, and the usual Serial.available() call on the Arduino. This kinda suggests that the message being sent cannot be longer that the Arduino Serial buffer. Not much help, but a little Google time and the SerialPort keyword should produce some help.
You can't do that. The IDE does not read from the serial port. The Serial Monitor application does, but that is NOT the IDE.
Since you know that VB can write to the serial port, you are surely aware that it can read from the serial port, meaning that you do not need to use the Serial Monitor app.