How to control my arduino usin drupal

Hi all

We have to control a arduino device using a smartphone via the internet. Our teacher thinks the best way to do this is using drupal (using PHP in drupal).

We have a little experience with arduino but drupal, and specific PHP is new to us. We hope someone can help us with some code and an explanation.

Thanks all Giete & Stef

Using PHP to talk to the serial port is relatively straightforward. Using PHP to read from the serial port, on Windows, is not possible. On linux, it is.

What is drupal? You need to provide a link, or something more than a name.

Drupal is some sort of content management system.

http://drupal.org/drupal-7.0

Is is possible to post the code for writing to serial ports with windows?

Thanks Giete

Is is possible to post the code for writing to serial ports with windows?

What language do you use to develop for Drupal? Does it have Serial Communication functionality?

hm - that would be complicating matters - why don't you use the ethernet shield and make your arduino a tiny webserver?

There is a sketch for a webserver with the ethernet library - it receives a url and performs an action based on that.

jhh

Unless the specific setup you are after is understood it is unclear what would be the best solution. "Controlling a device over the internet" is a very fuzzy requirement.