how to show values from arduino to a textbox visual studio

Hi, I am creating a program in which I have to show the same values ??that appear in arduino (moving a rotary encoder) in a textbox in visual studio.
hope you can help me :slight_smile: !

read from serial port maybe? google "Visual Basic Serial Arduino"

robtillaart: read from serial port maybe? google "Visual Basic Serial Arduino"

I tried to look for some information, there are no info about how to transfer that part of arduino to a textboxt of visual, I know that i have to write myserialport, then i dont know what to do...

you should read from serial and if there is a serialevent in vb then add that char to the textbox.

check - http://www.acraigie.com/programming/firmatavb/default.html -

omarules:

robtillaart: read from serial port maybe? google "Visual Basic Serial Arduino"

I tried to look for some information, there are no info about how to transfer that part of arduino to a textboxt of visual, I know that i have to write myserialport, then i dont know what to do...

It's not an Arduino-specific problem. The Arduino sends in whatever you program it to send over Serial. A VB.Net program can read from a serial port. There are plenty of examples of serial port reading out there.

A quick Google using the keywords: "vb.net" serial port will result in many hits. First in the list of results for that search is a bunch of tutorials, questions & answers, and general help on the subject at DreamInCode. Click on those, and you'll find plenty of good examples, and if you go to http://www.dreamincode.net/forums/forum/67-vbnet/#j_content, you can ask questions there.

Basically, you want to drop a SerialPort control onto your form and double-click on it, which will bring up an empty function that will execute when serial data arrives. You fill in that function with code to do whatever you want with the arriving data.