

Some times we have to communicate with systems that are several 100's of meters away like a remote data acqisition system or a robot, in such cases serial (RS232) will not cut it. Serial Port Communication tutorial using Java and Arduino (ATmega328P) Serial Programming using C# on Linux using Mono FrameworkĬross Platform serial communication using Python (PySerial) Serial Communication using D2XX library and FT232 chipĬontrolling the RTS and DTR pins of Serial Port in Linux Serial Programming using Visual Basic.Net on Windows (.Net Framework) GUI based Serial Communication Program using C# (.NET Framework) Serial Programming using C Sharp (C#) on Windows (.NET Framework)

You can use any USB to Serial Converters, only requirement is that you should be able to access the RXD ,TXD ,RTS and DTR pins of the module(which are brought out in USB2SERIAL to bergs).Ĭontrolling DTR and RTS pins of Serial Port using Win32 API Most PC companies have stopped including hardware based DB9 serial ports in their computers and most laptops never had any to begin with.In this tutorial most of the examples are tested using USB to Serial Converters like USB2SERIAL.

In the case of Python,separate code is provided for Python2.7 and Python 3.x to accommodate the differences. The codes are tested on a Windows 7 and a Ubuntu/Linux Mint PC.
