Pages: [1] 2 3 4   Go Down
Author Topic: is there an Arduino example for Delphi?  (Read 7789 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 1
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi there,

has anybody tried to use an Arduino with Delphi yet? Are there any examples available?

Diana.
Logged

Spain
Offline Offline
Newbie
*
Karma: 0
Posts: 8
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello there, i found this piece of code http://www.arduino.cl/descargas/Dimmer.zip its for Delphi and Lazarus (free pascal), It supose to control the level of brightness of a LED thru the pin 7 of arduino Board. But for some reason it didnt work for me.

Example comes with Arduino Code and Delphi/Lazarus Project. Maybe you can make it run (if so, please tell me how hehe).
Theres no need to use SerialProxy, the code uses Synaser to communicate directly to the port.

Good Luck and cheers.
Logged

Spain
Offline Offline
Newbie
*
Karma: 0
Posts: 8
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

This is Just an update on this Delphi issue.

I managed to make a working example (it works pretty good) on Delphi 7 using ComPort VLC component to control a series of LEDs thru Serial COMM  smiley-wink

Software example with source code, Arduino code and ComPort VLC,  all available on my site to download

http://www.thepenguincult.com/proyectos/arduino-delphi-control/

Im preparing another example that reads Serial Data from a Temp Sensor on Arduino to Display it on Delphi Host. Stay Tuned.

Any question, just shoot (im not an expert but sure we can manage to solve any issue).

« Last Edit: April 05, 2009, 02:55:04 am by betamatiz » Logged

Spain
Offline Offline
Newbie
*
Karma: 0
Posts: 8
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Looks like this Delphi interfacing with arduino interest is kinda dead on the  forums, anyway

The "Read Arduino Sensor Temperature with Delphi" example is ready  smiley

http://www.thepenguincult.com/proyectos/arduino-delphi-lm35/

All sources are available at my site.

Hope someone will find it usueful.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 6
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks for this.  I am very interested in pursuing Dephi with Arduino.  I just started so I'll post anything I find in this forum.

Betamatiz: what Delphi do you use?
Logged

Spain
Offline Offline
Newbie
*
Karma: 0
Posts: 8
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi there, i used Delphi 7 on Windows XP, have you checked my code? was it useful? Cheers.
Logged

Omaha
Offline Offline
Full Member
***
Karma: 0
Posts: 187
AC0KG
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I do a lot of Delphi development, so if you have any specific questions I can probably help.

You might like the Async Pro library for Delphi serial port interfacing:

http://sourceforge.net/projects/tpapro/
Logged


0
Offline Offline
Newbie
*
Karma: 0
Posts: 6
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Betamatiz, I use Delphi 2007 and XP and did grab your code: it was very useful!  I'm a database programmer by trade and this hardware stuff is new to me.  Thanks again and I'll post back anything I find may be useful.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 6
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

DaveK: what are your main projects?  I work in water and waste water utilities and I'm looking into creating some devices for monitoring equipment such as temprature, water flow, pH levels... etc.

This is all very exciting and I'm glad I found all this info!
Logged

Omaha
Offline Offline
Full Member
***
Karma: 0
Posts: 187
AC0KG
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I've been doing professional Delphi development for about 15 years, so I've been through a number of industries. Probably the most relevant would be a project I worked on years ago to read data from an AMB transponder system to do automotive timing and scoring.

It was a fun project. The AMB system uses battery powered radio transponders on the cars (or horses, whatever you're racing) that pass over an antenna loop. The antenna is connected to a pricey box that does some fancy calculations to decide precisely when the transponders are passing over the center of the loop. It then sends data about the transponder crossings to the computer over the serial port.

My program would read the data and display a variety of data about the order of the cars on the track, best times, number of laps, etc.

I haven't been doing a lot of hardware interfacing lately, but my current interfacing project is to collect, process and display data from the OpenAMR project.
Logged


0
Offline Offline
Newbie
*
Karma: 0
Posts: 6
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

A bit above me for now DaveK.  I've been using Delphi for only about 6 years now to write GIS mapping programs for utilities, municipalites and natural resource clients.  The only hardware I've had to deal with is  GPS units and I just have to recieve data from the GPS, easy stuff.

This Arduino platform is very intriguing for not just work use but for hobby/home use.
Logged

Omaha
Offline Offline
Full Member
***
Karma: 0
Posts: 187
AC0KG
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Just out of curiosity, what are you using for GIS work? I've worked with ESRI's component set before for geocoding addresses, but at the time (late 1990's I think) their components weren't very good.

Do you have an opinion on serial port libraries for Delphi? It's been a while since I've looked at what is available.
Logged


0
Offline Offline
Newbie
*
Karma: 0
Posts: 6
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

As far as GIS I mainly use Delphi and a third party component called TatukGIS.  It's amazing, cheap, royalty free, and is VERY versitle.  Connects to ESRI, AutoCAD, ArcGIS server; you name it.  If you look into it tell them Eric Meadows sent you.  They'll give some attention!  They are in Poland and they're support is the best.  I think they have someone there 24hrs and I believe there's only 3 or 4 developers...!  Also look on ESRI's ArcScript site for Delphi componets.  There's a developer there that has written the bible on using ESRI in Delphi.

I just found your post about serial port libraries I just use the connection that comes with the TatukGIS kernel.  I've only just found your recomendation and  Betamatiz from previous posts.

Trade me your knowledge of Arduino and I can help you with GIS; I've been doing GIS for about 15 years now.
Logged

Omaha
Offline Offline
Full Member
***
Karma: 0
Posts: 187
AC0KG
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

lol, not sure you want my Arduino knowledge, I haven't been doing it long.

Certainly willing to take a shot though.
Logged


0
Offline Offline
Newbie
*
Karma: 0
Posts: 4
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have a Arduino Duemilanove which I am trying to get to work with Delphi. I am unable to get the penguincult.com/proyectos/arduino-delphi-control/ program to control digital ports but can connect successfully and the Rx LED flashes so something is reaching the Arduino. Can anyone help?
Logged

Pages: [1] 2 3 4   Go Up
Jump to: