Shop OBEX P1 Docs P2 Docs Learn Events
pics and bs2sx — Parallax Forums

pics and bs2sx

ArchiverArchiver Posts: 46,084
edited 2003-11-20 21:28 in General Discussion
hi gang!
i'n new to this list, so please bear with me in my ignorance.

im a parsons design and tech grad student doing my thesis. for this project my
plan
is to create a collaborative musical interface thats gonna involve three users
interacting with infrared proximity sensors.

each one of this sensor pairs is hooked up to a 16F876 PIC chip, which in turn
talks
to a master BS2SX basic stamp. so the deal is i have 3 of these PIC chips
talking to a
queen BS2SX.

i dont know of anyone who has made PICs talk to Basic Stamps. I'm doing this
because stamps are just too expensive to have 4 of them (3 slaves, 1 master). I
dont
know what kind of problems to expect. baud rate? any kind of data conversion
issues?

any help with this, or any advice, or any links will earn u all my love for
eternity and
your name in the acknowledgment credits of this grand endeavor.

thanks a lot,
federico

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2003-11-17 01:04
    In a message dated 11/16/2003 8:01:12 PM Eastern Standard Time,
    ikki9@h... writes:


    > i dont know of anyone who has made PICs talk to Basic Stamps. I'm doing
    > this
    > because stamps are just too expensive to have 4 of them (3 slaves, 1
    > master). I dont
    > know what kind of problems to expect. baud rate? any kind of data conversion
    > issues?
    >

    There is no problem with PICs talking to Stamps and vice versa. Same baud.
    same protocol except Stamp uses serout/serin and PIC uses serout2/serin2.
    I have done this many times.

    Have at it.


    Sid Weaver
    W4EKQ
    Port Richey, FL


    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2003-11-17 15:23
    If you are going to make a few of these
    installations, then going with the PIC, and
    purchasing some kind of development system for
    it, is the way to go.

    If you're only making one of these, then it
    will really be cheaper to go ahead and buy
    the Stamps. Any good development system
    (assembler, Basic or C, target/programming
    board) is going to cost around $350.00

    Another possibility is the Ubicom SX processor.
    Parallax sells a very nice kit for this,
    including board, programming key, and software,
    for $230 ($180 on sale).

    The price per processor is $8.00, and the
    performance is awsome at 50 MIPs.


    --- In basicstamps@yahoogroups.com, "ikki9_2000" <ikki9@h...> wrote:
    > hi gang!
    > i'n new to this list, so please bear with me in my ignorance.
    >
    > im a parsons design and tech grad student doing my thesis. for
    this project my plan
    > is to create a collaborative musical interface thats gonna involve
    three users
    > interacting with infrared proximity sensors.
    >
    > each one of this sensor pairs is hooked up to a 16F876 PIC chip,
    which in turn talks
    > to a master BS2SX basic stamp. so the deal is i have 3 of these PIC
    chips talking to a
    > queen BS2SX.
    >
    > i dont know of anyone who has made PICs talk to Basic Stamps. I'm
    doing this
    > because stamps are just too expensive to have 4 of them (3 slaves,
    1 master). I dont
    > know what kind of problems to expect. baud rate? any kind of data
    conversion issues?
    >
    > any help with this, or any advice, or any links will earn u all my
    love for eternity and
    > your name in the acknowledgment credits of this grand endeavor.
    >
    > thanks a lot,
    > federico
  • ArchiverArchiver Posts: 46,084
    edited 2003-11-19 05:55
    A key issue is not to just send data to a BASIC Stamp that is not
    expecting it. There are no serial input buffers on the Stamp. What
    you can do is have the Stamp periodically "ask" the PICs if they have
    data. The PIC then always responds - data or not - so the Stamp can
    quickly proceed top its other tasks.

    The 16F876 has a serial input buffer so there is no problem in that
    direction.

    Harry
    Stamp Robotics to the next level
    www.bluebelldesign.com

    --- In basicstamps@yahoogroups.com, "ikki9_2000" <ikki9@h...> wrote:
    > hi gang!
    > i'n new to this list, so please bear with me in my ignorance.
    >
    > im a parsons design and tech grad student doing my thesis. for
    this project my plan
    > is to create a collaborative musical interface thats gonna involve
    three users
    > interacting with infrared proximity sensors.
    >
    > each one of this sensor pairs is hooked up to a 16F876 PIC chip,
    which in turn talks
    > to a master BS2SX basic stamp. so the deal is i have 3 of these PIC
    chips talking to a
    > queen BS2SX.
    >
    > i dont know of anyone who has made PICs talk to Basic Stamps. I'm
    doing this
    > because stamps are just too expensive to have 4 of them (3 slaves,
    1 master). I dont
    > know what kind of problems to expect. baud rate? any kind of data
    conversion issues?
    >
    > any help with this, or any advice, or any links will earn u all my
    love for eternity and
    > your name in the acknowledgment credits of this grand endeavor.
    >
    > thanks a lot,
    > federico
  • ArchiverArchiver Posts: 46,084
    edited 2003-11-20 21:28
    --- In basicstamps@yahoogroups.com, "harrywlewis"
    <harry_w_lewis@h...> wrote:
    > A key issue is not to just send data to a BASIC Stamp that is not
    > expecting it. There are no serial input buffers on the Stamp. What
    > you can do is have the Stamp periodically "ask" the PICs if they
    have
    > data. The PIC then always responds - data or not - so the Stamp can
    > quickly proceed top its other tasks.
    >
    > The 16F876 has a serial input buffer so there is no problem in that
    > direction.


    well thought. seems a single common pin that any external unit can
    flag would send the Stamp into an interogate mode and communicate if
    and when there is something out there to get.

    Dave
Sign In or Register to comment.