Shop OBEX P1 Docs P2 Docs Learn Events
60 basic stamps connected (to one PC) — Parallax Forums

60 basic stamps connected (to one PC)

ArchiverArchiver Posts: 46,084
edited 2003-06-25 16:14 in General Discussion
How can I read the data storage and real time data
from a basic stamp (from a total of 60 stamps serially
connected)
using only one PC.

I read that serially, is that possible to
connect:
pin0 from stamp 1 to
the pin1 of satmp2,
pin0 from stamp 2 to pin1 to stamp3....
.
.
.
pin0 from stamp 59 to pin1 from stamp60
and finally pin0 from stamp 1 to pin1 from
stamp0.

But if all of this is right what about
the amount of variables "w" (word variables)
I read that there is a limit of 12.
How can read the data from stamp
number 34 (for example)


Thanks, Joe

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2003-06-23 23:38
    This link has some info on setting up a RS-485 transceiver network with
    Stamps
    http://www.engr.udayton.edu/faculty/jloomis/ece445/stamp/nv_mag/st_ap28.pdf

    This is the page I got it from it has a bunch of other projects
    http://www.engr.udayton.edu/faculty/jloomis/ece445/stamp/nv_mag/

    This is a great book on serial communications with the stamp
    http://www.lvr.com/spc.htm




    Original Message
    From: "Joe Terk" <joeterk@y...>
    To: <basicstamps@yahoogroups.com>
    Sent: Monday, June 23, 2003 4:16 PM
    Subject: [noparse][[/noparse]basicstamps] 60 basic stamps connected (to one PC)


    > How can I read the data storage and real time data
    > from a basic stamp (from a total of 60 stamps serially
    > connected)
    > using only one PC.
    >
    > I read that serially, is that possible to
    > connect:
    > pin0 from stamp 1 to
    > the pin1 of satmp2,
    > pin0 from stamp 2 to pin1 to stamp3....
    > .
    > .
    > .
    > pin0 from stamp 59 to pin1 from stamp60
    > and finally pin0 from stamp 1 to pin1 from
    > stamp0.
    >
    > But if all of this is right what about
    > the amount of variables "w" (word variables)
    > I read that there is a limit of 12.
    > How can read the data from stamp
    > number 34 (for example)
    >
    >
    > Thanks, Joe
    >
    > __________________________________
    > Do you Yahoo!?
    > SBC Yahoo! DSL - Now only $29.95 per month!
    > http://sbc.yahoo.com
    >
    > 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/
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2003-06-24 18:06
    You can use a relatively in-expensive RS-485
    driven network. Have the PC send out a 'query'
    message, which ALL Stamps receive. Have each
    BS2 have a unique 'address' (fixed byte) which
    both the PC and the BS2 knows about.

    The 'query' message should include the address
    byte of the desired BS2. The 'other' BS2's
    should read the message and ignore it. The
    addressed BS2 can then send a response message.

    This takes one byte of address space in each
    BS2 -- which is easily doable. You should also
    have a time-out and retry on the PC side, in
    case the desired BS2 is busy, and misses the
    message, and so does not respond.

    --- In basicstamps@yahoogroups.com, Joe Terk <joeterk@y...> wrote:
    > How can I read the data storage and real time data
    > from a basic stamp (from a total of 60 stamps serially
    > connected)
    > using only one PC.
    >
    > I read that serially, is that possible to
    > connect:
    > pin0 from stamp 1 to
    > the pin1 of satmp2,
    > pin0 from stamp 2 to pin1 to stamp3....
    > .
    > .
    > .
    > pin0 from stamp 59 to pin1 from stamp60
    > and finally pin0 from stamp 1 to pin1 from
    > stamp0.
    >
    > But if all of this is right what about
    > the amount of variables "w" (word variables)
    > I read that there is a limit of 12.
    > How can read the data from stamp
    > number 34 (for example)
    >
    >
    > Thanks, Joe
    >
    > __________________________________
    > Do you Yahoo!?
    > SBC Yahoo! DSL - Now only $29.95 per month!
    > http://sbc.yahoo.com
  • ArchiverArchiver Posts: 46,084
    edited 2003-06-24 18:35
    Thanks Allan:

    Do you know if there ara some information and
    examples about
    it, at Parallax docs. ?

    Thanks: Joe

    --- Allan Lane <allan.lane@h...> wrote:
    > You can use a relatively in-expensive RS-485
    > driven network. Have the PC send out a 'query'
    > message, which ALL Stamps receive. Have each
    > BS2 have a unique 'address' (fixed byte) which
    > both the PC and the BS2 knows about.
    >
    > The 'query' message should include the address
    > byte of the desired BS2. The 'other' BS2's
    > should read the message and ignore it. The
    > addressed BS2 can then send a response message.
    >
    > This takes one byte of address space in each
    > BS2 -- which is easily doable. You should also
    > have a time-out and retry on the PC side, in
    > case the desired BS2 is busy, and misses the
    > message, and so does not respond.
    >
    > --- In basicstamps@yahoogroups.com, Joe Terk
    > <joeterk@y...> wrote:
    > > How can I read the data storage and real time data
    > > from a basic stamp (from a total of 60 stamps
    > serially
    > > connected)
    > > using only one PC.
    > >
    > > I read that serially, is that possible to
    > > connect:
    > > pin0 from stamp 1 to
    > > the pin1 of satmp2,
    > > pin0 from stamp 2 to pin1 to stamp3....
    > > .
    > > .
    > > .
    > > pin0 from stamp 59 to pin1 from stamp60
    > > and finally pin0 from stamp 1 to pin1 from
    > > stamp0.
    > >
    > > But if all of this is right what about
    > > the amount of variables "w" (word variables)
    > > I read that there is a limit of 12.
    > > How can read the data from stamp
    > > number 34 (for example)
    > >
    > >
    > > Thanks, Joe
    > >
    > > __________________________________
    > > Do you Yahoo!?
    > > SBC Yahoo! DSL - Now only $29.95 per month!
    > > http://sbc.yahoo.com
    >
    >
    > 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/
    >
    >


    __________________________________
    Do you Yahoo!?
    SBC Yahoo! DSL - Now only $29.95 per month!
    http://sbc.yahoo.com
  • ArchiverArchiver Posts: 46,084
    edited 2003-06-25 16:03
    http://www.parallax.com/html_pages/downloads/apps/appkitsmods.asp

    Look for the '75176' appkit project.
    I don't think Parallax sells the appkit itself
    anymore, but this PDF has some good information.

    Note a minimal '485 network requires 3 wires --
    A, B, and Gnd. It requires some terminating
    resistor at both ends of the network. It also
    requires a pull-up on A and a pull-down on B
    to get a guaranteed 'idle' state when no
    drivers are driving.

    It's good for 4,000 feet at 19,200 baud,
    though. Do a search on 'RS485' to get more
    info from other posts.

    --- In basicstamps@yahoogroups.com, Joe Terk <joeterk@y...> wrote:
    > Thanks Allan:
    >
    > Do you know if there ara some information and
    > examples about
    > it, at Parallax docs. ?
    >
    > Thanks: Joe
    >
    > --- Allan Lane <allan.lane@h...> wrote:
    > > You can use a relatively in-expensive RS-485
    > > driven network. Have the PC send out a 'query'
    > > message, which ALL Stamps receive. Have each
    > > BS2 have a unique 'address' (fixed byte) which
    > > both the PC and the BS2 knows about.
    > >
    > > The 'query' message should include the address
    > > byte of the desired BS2. The 'other' BS2's
    > > should read the message and ignore it. The
    > > addressed BS2 can then send a response message.
    > >
    > > This takes one byte of address space in each
    > > BS2 -- which is easily doable. You should also
    > > have a time-out and retry on the PC side, in
    > > case the desired BS2 is busy, and misses the
    > > message, and so does not respond.
    > >
    > > --- In basicstamps@yahoogroups.com, Joe Terk
    > > <joeterk@y...> wrote:
    > > > How can I read the data storage and real time data
    > > > from a basic stamp (from a total of 60 stamps
    > > serially
    > > > connected)
    > > > using only one PC.
    > > >
    > > > I read that serially, is that possible to
    > > > connect:
    > > > pin0 from stamp 1 to
    > > > the pin1 of satmp2,
    > > > pin0 from stamp 2 to pin1 to stamp3....
    > > > .
    > > > .
    > > > .
    > > > pin0 from stamp 59 to pin1 from stamp60
    > > > and finally pin0 from stamp 1 to pin1 from
    > > > stamp0.
    > > >
    > > > But if all of this is right what about
    > > > the amount of variables "w" (word variables)
    > > > I read that there is a limit of 12.
    > > > How can read the data from stamp
    > > > number 34 (for example)
    > > >
    > > >
    > > > Thanks, Joe
    > > >
    > > > __________________________________
    > > > Do you Yahoo!?
    > > > SBC Yahoo! DSL - Now only $29.95 per month!
    > > > http://sbc.yahoo.com
    > >
    > >
    > > 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/
    > >
    > >
    >
    >
    > __________________________________
    > Do you Yahoo!?
    > SBC Yahoo! DSL - Now only $29.95 per month!
    > http://sbc.yahoo.com
  • ArchiverArchiver Posts: 46,084
    edited 2003-06-25 16:14
    Also, see
    http://www.melabs.com/resources/links.htm

    I found the AppNote 1057, 'bullet-proofing
    RS485' to be the most useful. The
    'Safe Mode' of 750 ohm pullup from A to
    VCC, 750 ohm pull-down from B to Gnd, and
    130 ohm from A to B to be very useful.

    --- In basicstamps@yahoogroups.com, Joe Terk <joeterk@y...> wrote:
    > Thanks Allan:
    >
    > Do you know if there ara some information and
    > examples about
    > it, at Parallax docs. ?
    >
    > Thanks: Joe
    >
    > --- Allan Lane <allan.lane@h...> wrote:
    > > You can use a relatively in-expensive RS-485
    > > driven network. Have the PC send out a 'query'
    > > message, which ALL Stamps receive. Have each
    > > BS2 have a unique 'address' (fixed byte) which
    > > both the PC and the BS2 knows about.
    > >
    > > The 'query' message should include the address
    > > byte of the desired BS2. The 'other' BS2's
    > > should read the message and ignore it. The
    > > addressed BS2 can then send a response message.
    > >
    > > This takes one byte of address space in each
    > > BS2 -- which is easily doable. You should also
    > > have a time-out and retry on the PC side, in
    > > case the desired BS2 is busy, and misses the
    > > message, and so does not respond.
    > >
    > > --- In basicstamps@yahoogroups.com, Joe Terk
    > > <joeterk@y...> wrote:
    > > > How can I read the data storage and real time data
    > > > from a basic stamp (from a total of 60 stamps
    > > serially
    > > > connected)
    > > > using only one PC.
    > > >
    > > > I read that serially, is that possible to
    > > > connect:
    > > > pin0 from stamp 1 to
    > > > the pin1 of satmp2,
    > > > pin0 from stamp 2 to pin1 to stamp3....
    > > > .
    > > > .
    > > > .
    > > > pin0 from stamp 59 to pin1 from stamp60
    > > > and finally pin0 from stamp 1 to pin1 from
    > > > stamp0.
    > > >
    > > > But if all of this is right what about
    > > > the amount of variables "w" (word variables)
    > > > I read that there is a limit of 12.
    > > > How can read the data from stamp
    > > > number 34 (for example)
    > > >
    > > >
    > > > Thanks, Joe
    > > >
    > > > __________________________________
    > > > Do you Yahoo!?
    > > > SBC Yahoo! DSL - Now only $29.95 per month!
    > > > http://sbc.yahoo.com
    > >
    > >
    > > 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/
    > >
    > >
    >
    >
    > __________________________________
    > Do you Yahoo!?
    > SBC Yahoo! DSL - Now only $29.95 per month!
    > http://sbc.yahoo.com
Sign In or Register to comment.