PDA

View Full Version : Serial to ethernet??



pithhelmet
02-22-2005, 06:15 AM
Hi Everyone -

I have a medical device that prints out data to a serial printer.

I would like to take this serial stream, convert it into a file
and ftp it to a ftp machine located on the office.

Can a basic stamp complete this operation?

If i need some extra glue chips, please advise
on what i will need.

thanks
tony


allanlane5
02-23-2005, 12:20 AM
The functionality you are looking for is supplied by a "Terminal Server".

These are $1,000 to $3,000 pieces of equipment, which allow a mini-computer to have lots of attached RS-232 devices. LanTronix is a large vendor of these things -- I believe they have a small one-port RS-232 to Ethernet converter which is configured via a web-browser. Not sure of the price, it may be over-kill for what you need.

It should be possible to attach a PC with an ethernet and a serial port, and have it do the same thing.

Doing Ethernet is beyond what the BS2 can do by itself. There do exist some interface cards that will let the BS2 update variables that are then presented as a web-page -- but you want to actually create a file and FTP it. That takes disk space, which leads us back to the PC-based solution again.

pithhelmet
02-23-2005, 12:35 AM
Thanks for the reply -

I was afraid the BS wasn't up to the snuff...

i'm currently looking at the rabbit serial to ethernet unit...

thanks again for the help!!

take care
tony

Pinoy NYC
02-23-2005, 01:07 AM
You can buy digi terminal server from ebay, ranging from $50-$100
but the size may not be ideal for your project.

Or you can get MicroTelnet - $79.00

http://scmstore.com/english/IPControl/Telnet/default.asp

Forrest
02-23-2005, 02:03 AM
Thats looks a lot like NetMedia's SitePlayer at www.siteplayer.com/ (http://www.siteplayer.com/)

The SPKI Siteplayer developer kit ($99.95) looks like it will do the job

pithhelmet
02-23-2005, 03:50 AM
Hi Everyone -

Thanks for the links...

I called them, but there is a problem with the siteplayer,
it doesn't support FTP, just TELNET.

I asked about reprogramming the unit, but they said "nope"

thanks for the links...

take care
tony

Fe2o3Fish
02-23-2005, 03:53 AM
Forrest said...
Thats looks a lot like NetMedia's SitePlayer at www.siteplayer.com/

The SPKI Siteplayer developer kit ($99.95) looks like it will do the job

Actually, the SPKI will not do the job, by itself. The product you really want
is the Siteplayer Telnet (SPTN as we call it) at $79.95. This will stream serial
to ethernet and vice versa. If you don't want the metal box then a Siteplayer
Telnet module can be had for $29.95 but you would have to add the ethernet
socket/magnetics, DB-9 socket, and other wiring.

The MicroTelnet that 'Pinoy NYC' mentions is indeed the Siteplayer Telnet product
by NetMedia.

But, the original question was about FTP'ing a serial stream into a file. The SPTN
will not do this by itself. Best approach that I can think of is to use the SPTN box,
send that serial stream to some machine on the net that will capture the content.
When the serial port drops the connection, the remote host would ftp the data to
maybe a more appropriate host. A program called 'netcat' (or 'nc') comes to mind
as being quite helpful along with a little scripting on the server.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
-Rusty-
--
Rusty Haddock = KD4WLZ = rusty@fe2o3.lonestar.org
**Out yonder in the Van Alstyne (TX) Metropolitan Area**
Microsoft is to software what McDonalds is to gourmet cooking

PLJack
02-25-2005, 12:49 AM
Would this help?

www-ccs.cs.umass.edu/~shri/iPicTech.html (http://www-ccs.cs.umass.edu/~shri/iPicTech.html)

Jack