Shop OBEX P1 Docs P2 Docs Learn Events
rs-232 interface — Parallax Forums

rs-232 interface

ArchiverArchiver Posts: 46,084
edited 2002-11-13 04:32 in General Discussion
I am learning on a nx-1000 board.

It has seperate 9 pin connectors: One for programming and another for Serial
Communication with a PC (or other device i imagine).

When I go to build my circuit on a regular bs2 carrier board or using bs2 eom,
does the 9 pin programming connector double as a Serial Communications port or
how does that work?

matt


[noparse][[/noparse]Non-text portions of this message have been removed]

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2002-11-13 04:32
    Matt,
    Any of the BS2 I/O pins can act as serial data ports, using the
    SEROUT and SERIN instructions. If you are communicating to another
    Stamp, it's pretty quick and dirty.

    If you are going to communicate to a PC that requires an inverted
    signal, you MAY need some additional hardware.

    The NX-1000 has some signal conditioning on that connection to invert
    the data and make it ready for a PC's COM port.

    You may also send and receive data using the programming port (which
    is a normal method many times on other versions). The programming
    port is refered to as P16.
    SEROUT 16,baud,[noparse][[/noparse]data]

    Not sure that cleared it up, but it's an involved question depending
    on what you want to do.

    -Martin



    --- In basicstamps@y..., Matt Lorenz <mklorenz@c...> wrote:
    > I am learning on a nx-1000 board.
    >
    > It has seperate 9 pin connectors: One for programming and another
    for Serial Communication with a PC (or other device i imagine).
    >
    > When I go to build my circuit on a regular bs2 carrier board or
    using bs2 eom, does the 9 pin programming connector double as a
    Serial Communications port or how does that work?
    >
    > matt
    >
    >
    > [noparse][[/noparse]Non-text portions of this message have been removed]
Sign In or Register to comment.