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?
Serial to HTTP device?
Re: Serial to HTTP device?
Look for "serial to ethernet" devices.
Those things transform your RS232 port into an IP address on your LAN.
Those things transform your RS232 port into an IP address on your LAN.
Re: Serial to HTTP device?
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.
Or with a Jeenode + EtherCard + uart plug.
Would require some programming though.
Re: Serial to HTTP device?
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/
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/
Re: Serial to HTTP device?
Thanks, although i like to program and a Jeenode looks interesting, i'm looking for something quickerwwolkers 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.
