Serial to HTTP device?

Pop your questions regarding Home automation Domotica hardware here.....
Post Reply
poegje
Starting Member
Starting Member
Posts: 25
Joined: Mon Oct 29, 2007 10:19 pm
Location: Netherlands
Contact:

Serial to HTTP device?

Post by poegje »

For a new project i am looking for a device that connects to a serial RS232 device (a scale) and that acts as a web server so i can read the scale from a webserver or a PHP script.

Is there such a device?
Digit
Global Moderator
Global Moderator
Posts: 3388
Joined: Sat Mar 25, 2006 10:23 am
Location: Netherlands
Contact:

Re: Serial to HTTP device?

Post by Digit »

Look for "serial to ethernet" devices.
Those things transform your RS232 port into an IP address on your LAN.
wwolkers
Member
Member
Posts: 273
Joined: Tue Sep 23, 2008 10:10 am
Location: Netherlands
Contact:

Re: Serial to HTTP device?

Post by wwolkers »

If you feel like tinkering yourself, you can do this with an arduino with ethernet shield.
Or with a Jeenode + EtherCard + uart plug.

Would require some programming though.
Post-IT
Member
Member
Posts: 448
Joined: Sat Feb 28, 2009 12:01 am
Location: Netherlands (Rotterdam)

Re: Serial to HTTP device?

Post by Post-IT »

I don't know of any serial servers which allow serial access over HTTP, however I do know about some code using php_serial: http://www.phpclasses.org/php_serial
Why adjust the server if you can adjust the way you connect... If you are limited to a webserver fetching the info, let it set up a serial socket connection. This way you can use any regular RS232 server which allows TCP socket connections (which is the reason they are built)

And here is an example where they interact with a garage door:
http://www.youtube.com/watch?v=a-prWdbxu30&

And if you go for the Arduino solution, this info should be helpful:
http://www.mydarkmaterials.co.uk/2008/1 ... e-arduino/
poegje
Starting Member
Starting Member
Posts: 25
Joined: Mon Oct 29, 2007 10:19 pm
Location: Netherlands
Contact:

Re: Serial to HTTP device?

Post by poegje »

wwolkers wrote:If you feel like tinkering yourself, you can do this with an arduino with ethernet shield.
Or with a Jeenode + EtherCard + uart plug.

Would require some programming though.
Thanks, although i like to program and a Jeenode looks interesting, i'm looking for something quicker :)
Post Reply

Return to “Questions & Discussions Forum”