Shop OBEX P1 Docs P2 Docs Learn Events
Serial to ethernet?? — Parallax Forums

Serial to ethernet??

pithhelmetpithhelmet Posts: 3
edited 2005-02-24 16:49 in BASIC Stamp
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

·

Comments

  • allanlane5allanlane5 Posts: 3,815
    edited 2005-02-22 16:20
    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.
  • pithhelmetpithhelmet Posts: 3
    edited 2005-02-22 16:35
    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 NYCPinoy NYC Posts: 30
    edited 2005-02-22 17:07
    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
  • ForrestForrest Posts: 1,341
    edited 2005-02-22 18:03
    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
  • pithhelmetpithhelmet Posts: 3
    edited 2005-02-22 19:50
    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
  • Fe2o3FishFe2o3Fish Posts: 170
    edited 2005-02-22 19:53
    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
  • PLJackPLJack Posts: 398
    edited 2005-02-24 16:49
Sign In or Register to comment.