Delphi Serial Port Tutorial

Posted on by
Active2 years, 8 months ago
  1. Delphi Serial Port Component
  2. Delphi Serial Port
  3. Delphi Serial Port Tutorial

I am trying to write a program which will listen to the serial input from Arduino board connected via usb, and sending output to serial port (COM4). But I don't know how to get input from serial port in Delphi. I need program to listen to the port, and whenever the input comes, it should react to it. Any suggestions?

Tofig HasanovTofig Hasanov

Using a PC's serial port. The best place to start is my tutorial on writing to the serial port. Serial communication in Delphi and related components. Links ¦ interviews misc ¦ tutorials ¦ Add&Win Game. First step is to open the communications device for read/write. To write data to the serial port. Do you like Torry's Delphi Pages? You can support it by donation at your choice by button. ZylSerialPort is a Delphi & C++Builder thread based serial port component.

1,0367 gold badges32 silver badges68 bronze badges

Delphi Serial Port Component

closed as too broad by MSeifert, greg-449, ivan_pozdeev, EdChum, DavidJan 4 '17 at 10:30

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

Windows 8 pre activated iso free download

Delphi Serial Port

3 Answers

http://sourceforge.net/projects/tpapro/ is a freeware tool we've used with great success for many years.

Delphi Serial Port Tutorial

RobertFrankRobertFrank
5,3528 gold badges46 silver badges91 bronze badges

The already suggested tpapro will probably also do it, but I myself use TComport, which I consider slightly easier to use. It will has an event property onrxchar that triggers whenever a character arrives (and several options for other kinds of packets, including ASCII linediscipline).

I use it pretty much for the same kind of stuff, albeit with microchips mcus.

Delphi com port tutorialMarco van de VoortMarco van de Voort
22.7k5 gold badges44 silver badges81 bronze badges

I've used the Comport library of WinSoft for many.. years. It´s excellent (0 bugs) and works with any version of windows.

Delphi Serial Port Tutorial

The link is: http://www.winsoft.sk/comport.htm

Juan Carlos VelezJuan Carlos Velez
2,2072 gold badges30 silver badges47 bronze badges

Not the answer you're looking for? Browse other questions tagged delphiserial-portportarduinousbserial or ask your own question.