
Komunikasi Serial Arduino Dengan Delphi
суббота 02 мая
Arduino is a single-board microcontroller, intended to make electronic application of interactive objects or environments more accessible for everyone.
For 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 ].
I'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':
Komunikasi Serial dengan Delphi. Author: Administrator Published: October 1, 2008 Category: Pemrograman Delphi. Program interface dengan komputer bisa dilakukan dengan banyak cara salah satunya secara serial. Transfer data secara serial berarti juga data dikirim dari devais luar misalnya mikrokontroller ke komputer secara serial dengan. Sedangkan pada bagian hardwarenya. Arduino tidak bisa berkomunikasi secara langsung dengan PLC CPM2A. Arduino menggunakan komunikasi Serial TTL dan USB to Serial, sedangkan PLC menggunakan Serial MAX 232. Maka untuk menghubungkan Arduino ke PLC menggunakan rangkaian berikut: PC DB9 Female dipasangkan ke PLC. Cubase macos.
For 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 ].

I'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':