Shop OBEX P1 Docs P2 Docs Learn Events
Quick RS232 question — Parallax Forums

Quick RS232 question

ArchiverArchiver Posts: 46,084
edited 2002-01-21 15:39 in General Discussion
I am looking for a microcontroller that can send information to 2
separate RS232 ports. My application is to make a simple controller
to sequence two video projectors.

Is it possible to configure the BS2-IC to do this? I probably don't
need to rx RS232 data.

Sorry if this is a very obvious question but I am trying to find a
quick solution.

TIA

Paul Wilton
email Paul.Wilton@R...

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2002-01-21 12:21
    In a message dated 1/21/02 3:25:26 AM Central Standard Time,
    Paul.Wilton@R... writes:


    > I am looking for a microcontroller that can send information to 2
    > separate RS232 ports. My application is to make a simple controller
    > to sequence two video projectors.
    >
    > Is it possible to configure the BS2-IC to do this? I probably don't
    > need to rx RS232 data.
    >

    Yes, this is possible with the BASIC Stamp. You can send serial data from
    any of its I/O pins. Technically you can only use one pin at a time, but I
    suspect you're not transmitting a lot of data and this one be a problem.

    -- Jon Williams
    -- Parallax


    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2002-01-21 15:39
    As Jon pointed out, you can use any of the pins with the SEROUT command
    to send data. The only catch is that all ports (except port "16" the
    programming port) are TTL/CMOS levels (0 and 5V) which is not really to
    the RS232 spec. That being said, most devices will read 0 and 5V levels
    fine. However, if you really want to connect to a "true" RS232 port and
    want all the right voltage levels, short protection, etc. you need a
    driver like a MAX232. Check out http://www.al-williams.com/awce/rs1.htm.

    Al Williams
    AWC
    * Floating point math for the Stamp, PIC, SX, or any microcontroller
    http://www.al-williams.com/awce/pak1.htm



    >
    Original Message
    > From: wilts123 [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=jrSe7Ynef5iGkP2dUbdnM4S4R-cqVKlTcCWi_XZJzOWKuMdp-VAUmeiwyXQEsdU2cqmp4rvpkFcqWNoqHVGIDw]Paul.Wilton@R...[/url
    > Sent: Monday, January 21, 2002 3:24 AM
    > To: basicstamps@yahoogroups.com
    > Subject: [noparse][[/noparse]basicstamps] Quick RS232 question
    >
    >
    > I am looking for a microcontroller that can send information to 2
    > separate RS232 ports. My application is to make a simple controller
    > to sequence two video projectors.
    >
    > Is it possible to configure the BS2-IC to do this? I probably don't
    > need to rx RS232 data.
    >
    > Sorry if this is a very obvious question but I am trying to find a
    > quick solution.
    >
    > TIA
    >
    > Paul Wilton
    > email Paul.Wilton@R...
    >
    >
    > 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/
    >
Sign In or Register to comment.