Shop OBEX P1 Docs P2 Docs Learn Events
Programming and Serial Interfacing — Parallax Forums

Programming and Serial Interfacing

ArchiverArchiver Posts: 46,084
edited 2004-04-08 13:37 in General Discussion
I have a BS2 carrier board. I have just realised, it is only really
meant for programming and not serial interfacing with the PC. I
ideally want to use the Sout and Sin pins to communicate with my
program, is there anyway of adapting the board/cable to enable this?

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2003-12-30 20:38
    You don't have to do anything -- you can use SERIN and SEROUT on pin 16
    for serial communications on the programming port. The only caveat is
    on the other side; the Stamp echoes every character sent to it, so your
    other device will need to filter the echo. It's not tough to do, and
    many of use have created PC-to-Stamp projects using the normal
    programming port.

    You can experiment by using the DEBUG terminal in the compiler. You'll
    just have to open it manually and set the baud parameter to what your
    Stamp is using. The latest compiler lets you disable the on-screen echo
    as well.

    -- Jon Williams
    -- Applications Engineer, Parallax
    -- Dallas Office


    Original Message
    From: hughgoodbody [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=2ni8D-ZSRqogQp6bum6zGApQWL13vQW_wb_oCiIxAKV_w0idMn4_W_7d_irDou2dHg7PY7Y0AX16e_N6DKPHjA]hughgoodbody@y...[/url
    Sent: Tuesday, December 30, 2003 2:18 PM
    To: basicstamps@yahoogroups.com
    Subject: [noparse][[/noparse]basicstamps] Programming and Serial Interfacing


    I have a BS2 carrier board. I have just realised, it is only really
    meant for programming and not serial interfacing with the PC. I
    ideally want to use the Sout and Sin pins to communicate with my
    program, is there anyway of adapting the board/cable to enable this?


    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.


    Yahoo! Groups Links

    To visit your group on the web, go to:
    http://groups.yahoo.com/group/basicstamps/

    To unsubscribe from this group, send an email to:
    basicstamps-unsubscribe@yahoogroups.com

    Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/




    This message has been scanned by WebShield. Please report SPAM to
    abuse@p....
  • ArchiverArchiver Posts: 46,084
    edited 2003-12-30 21:55
    I do it all the time. What's the problem?
    --
    Regards

    Dave Evartt
    American Hovercraft
  • ArchiverArchiver Posts: 46,084
    edited 2004-04-08 00:15
    From: Frog28043@y... This is a cakewalk after some research it took me
    forever go to the stamp web site and look under rs232 they have some excellent
    examples for you if that doest not help email me I remember what it was like
    getting started dont give up when your first rs 232 works you will fell like you
    have conquered the world.

    hughgoodbody <hughgoodbody@y...> wrote:I have a BS2 carrier board. I have
    just realised, it is only really
    meant for programming and not serial interfacing with the PC. I
    ideally want to use the Sout and Sin pins to communicate with my
    program, is there anyway of adapting the board/cable to enable this?


    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.


    Yahoo! Groups Links

    To visit your group on the web, go to:
    http://groups.yahoo.com/group/basicstamps/

    To unsubscribe from this group, send an email to:
    basicstamps-unsubscribe@yahoogroups.com

    Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/




    Do you Yahoo!?
    Yahoo! Small Business $15K Web Design Giveaway - Enter today

    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2004-04-08 13:37
    You can use Sin and Sout for communication with the PC. To do this you
    specify pin 16 in your SERIN and SEROUT instructions.

    -- Jon Williams
    -- Applications Engineer, Parallax
    -- Dallas Office


    Original Message
    From: frog28043 [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=DS4WXEyvywtnuQ02EMhQDlbqDtTlwsWRVOJapwuiOTborh58Vm9-gUjZwxveDhJtUVMyL-xjDyaKk4JCQTw]frog28043@y...[/url
    Sent: Wednesday, April 07, 2004 6:16 PM
    To: basicstamps@yahoogroups.com
    Subject: Re: [noparse][[/noparse]basicstamps] Programming and Serial Interfacing


    From: Frog28043@y... This is a cakewalk after some research it took
    me forever go to the stamp web site and look under rs232 they have some
    excellent examples for you if that doest not help email me I remember
    what it was like getting started dont give up when your first rs 232
    works you will fell like you have conquered the world.

    hughgoodbody <hughgoodbody@y...> wrote:I have a BS2 carrier
    board. I have just realised, it is only really
    meant for programming and not serial interfacing with the PC. I
    ideally want to use the Sout and Sin pins to communicate with my
    program, is there anyway of adapting the board/cable to enable this?
Sign In or Register to comment.