Go Down

Topic: Arduino and C# (Read 1 time) previous topic - next topic

MikMo

I just ordered a couple of Arduino boards, and i am a beginner in the Arduino world.

I am planning an application in C# that will use the Arduino board as an interface to some switches and other stuff.

Does anybody have any experience with communicating with the Arduino board from a C# (or VB.Net) application over USB, or the serial RX / TX pinns ?

Can the serial RX / TX pinns be connected to an ordinary serial port on a PC ?

Any pointers would be great.

Thanks

MikMO

admin

HI

Welcome to arduino

When you plug the arduino board into your computer it shows up as a serial port.
talking to the board is quite simple in any language that supports serial communication. I do this all the time from RealBasic and many other languages.

I googled around for C# and serial port and I found this links that seem to have all you need
http://msdn.microsoft.com/msdnmag/issues/02/10/netserialcomm/
http://www.codeproject.com/csharp/SerialCommunication.asp

hope this helps

massimo

MikMo

Thanks for the links, the look promising


Quote
HI


When you plug the arduino board into your computer it shows up as a serial port.


Is this also true for the USB boards ?

Mikmo


MikMo

Ahh!

reading some posts in the forum answers my question, it's a virtual serial port - how cool is that :-)

writing software for a  serial port, is so much easier than for USB.

My boards arrive tomorrow it will be like christmas.

MikMo

Ocon

Quote
When you plug the arduino board into your computer it shows up as a serial port.
talking to the board is quite simple in any language that supports serial communication. I do this all the time from RealBasic and many other languages.


Hi massimo, could you post sample code for reading serial port with Realbasic. I tried many times but not success.

Thanks.
http://www.pinotronics.com

Go Up