The purpose of this article is how to do serial port communication using C#.
The serial port of the PC is a very important resource both in industrial environment and in home-made electronics, due to the wide popularity of the UART interface which is to be found on many microcontrollers or on many test and design instrumentation (programmable power supplies, multi-meters, oscilloscopes etc). Even if modern-day computers tend not to have a physical serial port anymore, this obstacle is overcome by the appearance on the market of USB to UART converters (like the FTDI chips for example) which can emulate serial ports. Thus, from a computer application point of view, writing to such a device is as easy as writing to a regular serial port.