Shop OBEX P1 Docs P2 Docs Learn Events
RS232 Steering — Parallax Forums

RS232 Steering

ArchiverArchiver Posts: 46,084
edited 2000-11-28 02:32 in General Discussion
Jay-

Is the PC<-->device data in small enough chunks that your Stamp
could serve to relay the data between the two? If so, the Stamp
could sandwich its own data between the PC's data and use flow
control pins to turn the PC and device data xmit functions on/off as
needed. In essence, you'd be implementing an analog OR via your
Stamp program.

Steve

On 19 Nov 00 at 17:05, Jay Kay wrote:

> I need to talk to a device with a 232 port with the Stamp. I also
> need to talk to this same 232 port with a PC since it has other
> software running that the device understands. So I am stuck in an
> analog OR situation. (Note..I'm not concerned about levels since I
> can use the Maxim 232A chip to get everything to 5VDC)
>
> I need a chip (or circuit) that can be set to be enable to pass the
> 232 data from the PC to the 232 port and disable the Stamp output
> during the XMIT time...and visa versa. I was thinking of using the
> RTS line of the PC to disable any Stamp data being sent and using a
> port on the Stamp to create an RTS to disable the PC path to the 232
> port.
>
> Maxim has a family of chips (MAX200-250) that may perform these
> functions.
>
> Has anybody been this way? Any suggestions?
>
> Thanks in advance
>
> Jay
>
>
>
>
>

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2000-11-20 01:05
    I need to talk to a device with a 232 port with the Stamp. I also need to
    talk to this same 232 port with a PC since it has other software running
    that the device understands. So I am stuck in an analog OR situation.
    (Note..I'm not concerned about levels since I can use the Maxim 232A chip to
    get everything to 5VDC)

    I need a chip (or circuit) that can be set to be enable to pass the 232
    data from the PC to the 232 port and disable the Stamp output during the
    XMIT time...and visa versa. I was thinking of using the RTS line of the PC
    to disable any Stamp data being sent and using a port on the Stamp to
    create an RTS to disable the PC path to the 232 port.

    Maxim has a family of chips (MAX200-250) that may perform these functions.

    Has anybody been this way? Any suggestions?

    Thanks in advance

    Jay
  • ArchiverArchiver Posts: 46,084
    edited 2000-11-20 01:42
    At 05:05 PM 11/19/2000 -0800, you wrote:
    >I need to talk to a device with a 232 port with the Stamp. I also need to talk
    to this same 232 port with a PC since it has other software running that the
    device understands. So I am stuck in an analog OR situation. (Note..I'm not
    concerned about levels since I can use the Maxim 232A chip to get everything to
    5VDC)
    >
    >I need a chip (or circuit) that can be set to be enable to pass the 232 data
    from the PC to the 232 port and disable the Stamp output during the XMIT
    time...and visa versa. I was thinking of using the RTS line of the PC to disable
    any Stamp data being sent and using a port on the Stamp to create an RTS to
    disable the PC path to the 232 port.
    >
    >Maxim has a family of chips (MAX200-250) that may perform these functions.
    >
    >Has anybody been this way? Any suggestions?
    >
    >Thanks in advance
    >
    >Jay

    Hi Jay -

    >Take a look at the MAX-334 that may work.

    Regards,

    Bruce Bates
  • ArchiverArchiver Posts: 46,084
    edited 2000-11-21 03:02
    Folks,

    I got the following regarding handling 2 RS232 ports into one.

    "If you want a two input, out output device that automatically connects an
    active input to the output, it's a commonly used item known as a modem
    sharing device or MSU. These are available in passive or active versions,
    with the passive one being a simple diode network, the active ones actually
    have some electronics in them."

    Anyone familiar with the diode approach?

    Thanks

    Jay
  • ArchiverArchiver Posts: 46,084
    edited 2000-11-28 02:32
    This is the first time i used basic stamp, so i was wondering if someone can
    help me with the interface of the microcontroller to a computer? also we are
    planning to use tranceivers to send and receive data at the computer. so my
    question is where do i start?
    thank you.


    >From: "S Parkis" <parkiss@e...>
    >Reply-To: basicstamps@egroups.com
    >To: "Jay Kay" <pcb4u@e...>, basicstamps@egroups.com
    >Subject: Re: [noparse][[/noparse]basicstamps] RS232 Steering
    >Date: Sun, 19 Nov 2000 19:21:52 +0800
    >
    >Jay-
    >
    >Is the PC<-->device data in small enough chunks that your Stamp
    >could serve to relay the data between the two? If so, the Stamp
    >could sandwich its own data between the PC's data and use flow
    >control pins to turn the PC and device data xmit functions on/off as
    >needed. In essence, you'd be implementing an analog OR via your
    >Stamp program.
    >
    >Steve
    >
    >On 19 Nov 00 at 17:05, Jay Kay wrote:
    >
    > > I need to talk to a device with a 232 port with the Stamp. I also
    > > need to talk to this same 232 port with a PC since it has other
    > > software running that the device understands. So I am stuck in an
    > > analog OR situation. (Note..I'm not concerned about levels since I
    > > can use the Maxim 232A chip to get everything to 5VDC)
    > >
    > > I need a chip (or circuit) that can be set to be enable to pass the
    > > 232 data from the PC to the 232 port and disable the Stamp output
    > > during the XMIT time...and visa versa. I was thinking of using the
    > > RTS line of the PC to disable any Stamp data being sent and using a
    > > port on the Stamp to create an RTS to disable the PC path to the 232
    > > port.
    > >
    > > Maxim has a family of chips (MAX200-250) that may perform these
    > > functions.
    > >
    > > Has anybody been this way? Any suggestions?
    > >
    > > Thanks in advance
    > >
    > > Jay
    > >
    > >
    > >
    > >
    > >
    >
    >
    >

    ________________________________________________________________________________\
    _____
    Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com
Sign In or Register to comment.