Page 1 of 1

VB.net UART/USART/RS232 Tool and Source Code

Posted: Sun Nov 08, 2009 11:42 am
by gramo
I use the PICKit 2 UART Tool all the time, though wanted to develop some working code with VB.net to handle the serial port interfacing.

Needless to say that the PK2 software was the basis of my design approach, though there are several new little features thrown in there that I would use. The only real hassles I had were figuring out why the deadlocks when closing the port and some erroneous readbyte events. Both issues were covered in this great little blog by Kim Hamilton.

Image

That and every other method for reading/writing/configuring the serial port with VB.net can be found in the source code. You'll need to be logged in to download the code.

Developed in Visual Studio 2010 Beta 2 (free download)