Shop OBEX P1 Docs P2 Docs Learn Events
P40 Demo Board - Accessing Sout Sin — Parallax Forums

P40 Demo Board - Accessing Sout Sin

ArchiverArchiver Posts: 46,084
edited 2003-11-17 19:53 in General Discussion
I just got my P40 demo board from parallax, awesome little bugger,
but how do I access the Sout/Sin pins? All of the output pins seem
to be brought out to convinent little blocks for jumping, but not
Sout/Sin?

Am I missing the obvious?

Any help appreciated.

-John

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2003-11-17 03:27
    At 03:01 AM 11/17/03 +0000, ufi911 wrote:
    >I just got my P40 demo board from parallax, awesome little bugger,
    >but how do I access the Sout/Sin pins? All of the output pins seem
    >to be brought out to convinent little blocks for jumping, but not
    >Sout/Sin?
    >
    >Am I missing the obvious?
    >
    >Any help appreciated.
    >
    >-John

    John -

    Sin and Sout should appear on the DB9-F programming port connector. You can use
    any pin/port you choose to for Serin and Serout however. You are not
    restricted
    to Sin and Sout although they are level adjusted for RS-232 communications.
    Note
    also that Sin/Sout will echo data back to the sender. If necessary for your
    application, the echoed data may have to be discarded.

    Regards,

    Bruce Bates





    >To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    >from the same email address that you subscribed. Text in the Subject and
    >Body of the message will be ignored.
    >
    >
    >Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
  • ArchiverArchiver Posts: 46,084
    edited 2003-11-17 17:44
    "Sin and Sout should appear on the DB9-F programming port connector.
    You can use any pin/port you choose to for Serin and Serout however.
    You are not restricted to Sin and Sout although they are level
    adjusted for RS-232 communications.

    Note also that Sin/Sout will echo data back to the sender. If
    necessary for your application, the echoed data may have to be
    discarded."


    Thanks for the reply Bruce.

    So I can use any pin for serial communications, that helps. If I
    did want to use sin/sout pins what do I do, program the stamp, have
    it wait a minute while I disconnect the programming cable, and plug
    in my serial device? Then have the stamp take off again?

    Us newbies are a tough bunch [noparse]:)[/noparse]

    -John
  • ArchiverArchiver Posts: 46,084
    edited 2003-11-17 18:18
    At 05:44 PM 11/17/03 +0000, ufi911 wrote:
    >"Sin and Sout should appear on the DB9-F programming port connector.
    >You can use any pin/port you choose to for Serin and Serout however.
    >You are not restricted to Sin and Sout although they are level
    >adjusted for RS-232 communications.
    >
    >Note also that Sin/Sout will echo data back to the sender. If
    >necessary for your application, the echoed data may have to be
    >discarded."
    >
    >
    >Thanks for the reply Bruce.
    >
    >So I can use any pin for serial communications, that helps. If I
    >did want to use sin/sout pins what do I do, program the stamp, have
    >it wait a minute while I disconnect the programming cable, and plug
    >in my serial device? Then have the stamp take off again?

    That's certainly one method. If you have control of the "other" end, you
    may want to use the WAIT parameter of Serin to wait for a certain character
    or set of characters to let you know that it's time to do processing.

    >Us newbies are a tough bunch [noparse]:)[/noparse]
    >We all atarted there at one time :-)
    >-John
    >
    >Bruce
  • ArchiverArchiver Posts: 46,084
    edited 2003-11-17 19:53
    Yes, that's what you'll have to do.

    Notes:
    1. The Sin and Sout use the other system's TX line
    for voltage, so the other system MUST set the
    TX line to -12 volts.

    2. Keeping DTR 'active' (+12) will hold the BS2 in
    reset. Either use two .1 uF caps to decouple this,
    or don't connect DTR, or keep DTR 'inactive'.

    --- In basicstamps@yahoogroups.com, "ufi911" <john@l...> wrote:
    > "Sin and Sout should appear on the DB9-F programming port
    connector.
    > You can use any pin/port you choose to for Serin and Serout
    however.
    > You are not restricted to Sin and Sout although they are level
    > adjusted for RS-232 communications.
    >
    > Note also that Sin/Sout will echo data back to the sender. If
    > necessary for your application, the echoed data may have to be
    > discarded."
    >
    >
    > Thanks for the reply Bruce.
    >
    > So I can use any pin for serial communications, that helps. If I
    > did want to use sin/sout pins what do I do, program the stamp, have
    > it wait a minute while I disconnect the programming cable, and plug
    > in my serial device? Then have the stamp take off again?
    >
    > Us newbies are a tough bunch [noparse]:)[/noparse]
    >
    > -John
Sign In or Register to comment.