Delphi 7 Serial Port

Arduino is a single-board microcontroller, intended to make electronic application of interactive objects or environments more accessible for everyone.Delphi 7 serial portable

I think I need to re-write or see all of this code above somehow with TMS Async32 since there are indications of it working with USB to serial. But first test on standard ports as I can still resort to serial cards. I am using Delphi 7under an XP Pro and Win 7 systems, and of course have purchased TMS products. Using ActiveXperts Serial Port Component with Delphi. ActiveXperts Serial Port Component is a software development kit (SDK) that enables the user to communicate to a device over a serial interface. Such a device can be: a weight indicator, a modem, a scanner, or any other device that is equiped with a serial port. Jul 11, 2013 Serial Port Tutorial - Control Hardware with a Serial Interface - Duration: 8:08. Software com estilo Windows 8 METRO Delphi 7 - Duration: 34:40. Delphi Mais 101,793 views. Delphi 7 serial port controll If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. Jul 21, 2011 delphi and pos printer on serial port Hi, I have been worked with POS prnters connected on LPT port and printing to this printers are very easy, just prepare txt file with text and esc sequences and copy it to lpt port. Now I have small problem with POS printers connected on serial port, this scenario dont work on serial port.


SerialFor people live in Indonesia where buying Arduino from overseas is expensive and requires months of delivery time, you can buy Arduino compatible boards from Vcc2Gnd.com, toko komponen elektronika yang menjual Arduino dengan harga murah. The price of Arduino Pro Mini in this store is incredibly cheap, less than US$7 [ cek harga jual Arduino Pro Mini ATmega328 16 MHz ].
SerialI've found this piece of code for Delphi and Lazarus (free pascal), It suppose to control the level of brightness of a LED through the pin 7 of Arduino Board. Example comes with Arduino Sketch and Delphi/Lazarus Project. It uses freeware Synaser library to communicate directly to the serial port.
Penguin Cult Lab made a simple Arduino controller from Delphi, here the screen-shot:

This example uses 5 LEDs that will be controlled from the Delphi program via serial communication. Library used for serial communication is open source library the ComPort. Download zipped Delphi source code.
From Arduino, enter following code and save it as 'delphi_leds.pde':

Com PortComponent

The Async Professional port component builds the foundation forall communications applications. The simplest application might contain asingle TApdComPort; a more complex application might contain one or more portcomponents and many other components that rely on the services of a TApdComPort(terminal windows, modems, and so on).

Port

The TApdComPort component, which contains properties andmethods for the following:

  • Configuring the serial port hardware and Windowscommunications driver (buffer sizes, line parameters, flow control).

  • Providing information about the state of the serial port(modem signals, line errors).

  • Transmitting and receiving data.

  • Interfacing with the TApdDataPacket component to identifyand handle received data.

  • Assigning VCL events to handle received data, matchedstrings, status changes, and timers.

In addition to its support for standard serial ports, theTApdComPort includes specialized support for the RS-485 communication standard.

Delphi 7 Com Port Component

If you need to support network or Internet communications usingWinsock, you should consider using theTApdWinsockPort instead of the TApdComPort. Since the TApdWinsockPort is adescendant of the TApdComPort, it retains all capabilities of the TApdComPort,and adds support for Winsock.