Go Down

Topic: General info request (Read 1 time) previous topic - next topic

Eli

Hi,

I wish to understand how computer programs interact with Arduino via its USB port. Is the board includes some hardware that converts USB communication into RS232 style of communication? From what I've read a communication with USB port requires knowledge about Windows Kernel which is very complicated to learn.

Further to that, does anybody can put an example of C# communicating Arduino? I think that most efficient would be to use the freeware from http://libusb-win32.sourceforge.net/.

Best regards,
Eli

chris_s

The Arduino driver makes the device appear as a serial port in windows, so you can communicate with it just as you would a regular serial port.  For instance, my Arduino board appears as COM7.  In C# you can use the new System.IO.Ports namespace that was added in .NET 2.0 to read and write from a serial port.

Go Up