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

Discuss PIC and electronic related things

Moderators: David Barker, Jerry Messina

Post Reply
gramo
Registered User
Registered User
Posts: 200
Joined: Tue Mar 20, 2007 6:55 am
Location: Australia
Contact:

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

Post by gramo » Sun Nov 08, 2009 11:42 am

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)
digital-diy.com - Hobby microcontroller projects and tutorials. Assembly, PICBasic and C examples.

Australian distributor for the Swordfish Compiler

Post Reply