Shop OBEX P1 Docs P2 Docs Learn Events
SERIN/SEROUT via built in RS232 connector — Parallax Forums

SERIN/SEROUT via built in RS232 connector

BorisBoris Posts: 81
edited 2005-01-21 17:34 in BASIC Stamp
Hello,
I have BS2sx, the OEM module.
I need it to communicate with another RS232 device, using the already built in 9pin port on the board.
The only pins i need are receive/transmit
So is what is the BS2 pin number for RS232 port pin2 and pin3?
Willl SEROUT 16,BaudRT, etc.... send info to pin 2 or 3 on the RS232 port?

Thank you,

Boris.

Comments

  • Jon WilliamsJon Williams Posts: 6,491
    edited 2005-01-21 16:49
    Yes, doing a SEROUT on (virtual) pin 16 actually transmits the data out the DB-9 TX pin (2), and SERIN on (virtual) pin 16 receives data from DB-9 RX pin (3).· The attached diagram shows how the programming port is connected on the BASIC Stamp.


    attachment.php?attachmentid=36940

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
    Dallas, TX· USA
    599 x 555 - 16K
  • BorisBoris Posts: 81
    edited 2005-01-21 17:34
    Thank you Jon (always there with perfect explanation)
Sign In or Register to comment.