Shop OBEX P1 Docs P2 Docs Learn Events
serial comm styles ( was Re: parallax sales — Parallax Forums

serial comm styles ( was Re: parallax sales

ArchiverArchiver Posts: 46,084
edited 2004-04-04 18:15 in General Discussion
My favorite is I2C. It's easy to bit-bang with the BS2/BS2e/BS2sx and comes
built-in with the BS2p/pe, and there are a lot of really neat parts available
(really loving the MCP23016 at the moment).

I don't care for 1-Wire at all. Seems like a neat idea, but actual use of more
than one device on the same line is a major pain in the derri

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2004-04-04 03:17
    > Okay, let's get back to fun stuff. Who has a question about
    programming
    > BASIC Stamps?
    >
    > -- Jon Williams
    > -- Applications Engineer, Parallax
    > -- Dallas Office

    Ok,

    3 wire, 2 wire, 1 wire, iButton, etc.....

    Which is preferred and why ? I'm thinking BS2.

    It seems 3 wire is more common on many chips, but takes more lines.

    1 wire would be great because it uses a single pin....

    Comments ?

    Dave
  • ArchiverArchiver Posts: 46,084
    edited 2004-04-04 03:48
    I agree with Jon about I2C. It is really catching on now, as more
    companies license the protocol or whatever from Philips.

    On the Stamp, with the I2C commands you can use the modifiers like
    DEC and SPSTR. Everything with I2C is byte oriented.

    You cannot use the modifiers with the SHIFTIN SHIFTOUT commands.
    However, those commands can deal with unusual numbers of bits, like 3
    bits here or 12 bits there or any number from 1 to 16.

    There are a lot more 3-wire/SPI/microwire etc parts available than
    there are I2C.

    3-wire/SPI/microwire is a lot simpler protocol, because the third
    wire is a simple yes/no chip select, whereas with I2C all the address
    information has to be transmitted serially. But then you do need the
    extra hardware pins, one chip select for each device on the
    3-wire/SPI/microwire buss. With I2C, the two wires can handle a lot
    of devices.

    From an engineering standpoint, 3-wire protocols can be faster to
    transfer data than I2C, due to the additional addressing and
    handshaking in the I2C protocol. You hardly ever see I2C devices
    that can be clocked above 1 megahertz, but some SPI devices are rated
    to 10 or 20 megahertz or above. That doesn't make any difference to
    the BASIC Stamp though, which clocks either one at 10s of kiloherz.

    Both I2C and SPI/microwire are static logic, meaning that they can be
    clocked at any speed. That allows the BS2/BS2sx/BS2e, which don't
    have a built in I2C command to do it with bit-banging at about 100
    hz. The BS2p and BS2pe with the built in commands are just a lot
    faster, clocking I2C at 10s of khertz.

    One-wire, on the other hand is very picky about its timing. Timing
    has to happen within critical windows of 10 to 100 microseconds.
    That is why it can't be bit banged on the older Stamps.

    -- Tracy


    >My favorite is I2C. It's easy to bit-bang with the BS2/BS2e/BS2sx
    >and comes built-in with the BS2p/pe, and there are a lot of really
    >neat parts available (really loving the MCP23016 at the moment).
    >
    >I don't care for 1-Wire at all. Seems like a neat idea, but actual
    >use of more than one device on the same line is a major pain in the
    >derri
  • ArchiverArchiver Posts: 46,084
    edited 2004-04-04 06:17
    Hello from Gregg C Levine
    Jon, can you elaborate on why the NSC version of the SPI devices work
    differently then the ones from Microchip? Or even Excel, assuming they
    are still in business. Currently I've got a surplus of the ones from
    NSC, but nothing from Microchip.
    Gregg C Levine hansolofalcon@w...
    "The Force will be with you...Always." Obi-Wan Kenobi
    "Use the Force, Luke."· Obi-Wan Kenobi

    >
    Original Message
    > From: Jon Williams [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=Fw1JSmQdmgnkaBJAqT5VmP4Cc3dItx7Bx4HZW8Aln6ig2vDZ6NaFjQoi7ZAiqsp3sBOkO5NHON-1dzGBor60Cg]jwilliams@p...[/url
    > Sent: Saturday, April 03, 2004 9:05 PM
    > To: basicstamps@yahoogroups.com
    > Subject: RE: [noparse][[/noparse]basicstamps] serial comm styles ( was Re: parallax
    sales
    >
    > My favorite is I2C. It's easy to bit-bang with the BS2/BS2e/BS2sx
    and comes built-
    > in with the BS2p/pe, and there are a lot of really neat parts
    available (really loving
    > the MCP23016 at the moment).
    >
    > I don't care for 1-Wire at all. Seems like a neat idea, but actual
    use of more than one
    > device on the same line is a major pain in the derrière (especially
    if you don't know
    > the serial numbers in advance). The only reason I wrote about the
    DS2760 in my
    > Nuts & Volts column was that it was the heart of a neat project
    (thermocouple
    > interface) and it was just as single device on the line. I'm fairly
    certain, however,
    > that will be my last 1-Wire project with the BASIC Stamp.
    >
    > -- Jon Williams
    > -- Applications Engineer, Parallax
    > -- Dallas Office
    >
    >
    >
    Original Message
    > From: Dave Mucha [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=dVo1JDxkzRoHj662XmDHkwtoTlyloGiNMiT5COimYacBCugV3q5TOA20hrWCJBt-WEw5c8RnxTV45K2gRg]davemucha@j...[/url
    > Sent: Saturday, April 03, 2004 7:17 PM
    > To: basicstamps@yahoogroups.com
    > Subject: [noparse][[/noparse]basicstamps] serial comm styles ( was Re: parallax sales
    >
    >
    >
    > > Okay, let's get back to fun stuff. Who has a question about
    > programming
    > > BASIC Stamps?
    > >
    > > -- Jon Williams
    > > -- Applications Engineer, Parallax
    > > -- Dallas Office
    >
    > Ok,
    >
    > 3 wire, 2 wire, 1 wire, iButton, etc.....
    >
    > Which is preferred and why ? I'm thinking BS2.
    >
    > It seems 3 wire is more common on many chips, but takes more lines.
    >
    > 1 wire would be great because it uses a single pin....
    >
    > Comments ?
    >
    > Dave
  • ArchiverArchiver Posts: 46,084
    edited 2004-04-04 06:20
    I don't know.

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


    Original Message
    From: Gregg C Levine [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=DVJLpXTG0SK3Q9BBa62AzhJxEWNYWt4fNXDVZJJdfB8HPr4Kn7wJB4jp2dS5YjYbnUw4RJRAFz70k7YtulA_T6-2Sxfkgg]hansolofalcon@w...[/url
    Sent: Saturday, April 03, 2004 11:18 PM
    To: basicstamps@yahoogroups.com
    Subject: RE: [noparse][[/noparse]basicstamps] serial comm styles ( was Re: parallax sales


    Hello from Gregg C Levine
    Jon, can you elaborate on why the NSC version of the SPI devices work
    differently then the ones from Microchip? Or even Excel, assuming they are still
    in business. Currently I've got a surplus of the ones from NSC, but nothing from
    Microchip.
    Gregg C Levine hansolofalcon@w...
    "The Force will be with you...Always." Obi-Wan Kenobi
    "Use the Force, Luke."· Obi-Wan Kenobi

    >
    Original Message
    > From: Jon Williams [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=9WlTM66b8ilIz5Eq9ZbMRyQfYeY8YI7aKliyJ7NcgpueCtTOiyyqgIpukxNRQ10di1aEy95guV55KG9VwGXXrQ]jwilliams@p...[/url
    > Sent: Saturday, April 03, 2004 9:05 PM
    > To: basicstamps@yahoogroups.com
    > Subject: RE: [noparse][[/noparse]basicstamps] serial comm styles ( was Re: parallax
    sales
    >
    > My favorite is I2C. It's easy to bit-bang with the BS2/BS2e/BS2sx
    and comes built-
    > in with the BS2p/pe, and there are a lot of really neat parts
    available (really loving
    > the MCP23016 at the moment).
    >
    > I don't care for 1-Wire at all. Seems like a neat idea, but actual
    use of more than one
    > device on the same line is a major pain in the derrière (especially
    if you don't know
    > the serial numbers in advance). The only reason I wrote about the
    DS2760 in my
    > Nuts & Volts column was that it was the heart of a neat project
    (thermocouple
    > interface) and it was just as single device on the line. I'm fairly
    certain, however,
    > that will be my last 1-Wire project with the BASIC Stamp.
    >
    > -- Jon Williams
    > -- Applications Engineer, Parallax
    > -- Dallas Office
    >
    >
    >
    Original Message
    > From: Dave Mucha [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=FC3ybwMnjVDAC8SANIWmn6FNDnhxRDEjVkbaGyFBc8V1H7Zq4duTWmWKE-Vhldj77WKEEXjQqHY]davemucha@j...[/url
    > Sent: Saturday, April 03, 2004 7:17 PM
    > To: basicstamps@yahoogroups.com
    > Subject: [noparse][[/noparse]basicstamps] serial comm styles ( was Re: parallax sales
    >
    >
    >
    > > Okay, let's get back to fun stuff. Who has a question about
    > programming
    > > BASIC Stamps?
    > >
    > > -- Jon Williams
    > > -- Applications Engineer, Parallax
    > > -- Dallas Office
    >
    > Ok,
    >
    > 3 wire, 2 wire, 1 wire, iButton, etc.....
    >
    > Which is preferred and why ? I'm thinking BS2.
    >
    > It seems 3 wire is more common on many chips, but takes more lines.
    >
    > 1 wire would be great because it uses a single pin....
    >
    > Comments ?
    >
    > Dave



    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







    This message has been scanned by WebShield. Please report SPAM to
    abuse@p....
  • ArchiverArchiver Posts: 46,084
    edited 2004-04-04 14:48
    Hello (again) from Gregg C Levine
    You say, "> I don't know.", (comment from mail program included.) Do
    those comments from that original program look familiar to you? To
    anyone else? I think I have that number here, from NSC, I know I've
    got the others in that series. Those chips always struck me as odd.
    Now I know better, but I am still confused.

    ' Program: EEPROM.BAS
    ' This program demonstrates subroutines for storing data in a
    ' Microchip 93LC66 serial EEPROM. This program will not work
    ' with the National Semiconductor part with the same number.
    ' Its serial protocol is substantially different.

    The thing is, since the program ends in .BAS, it could be for any of
    the Stamps. Not just for the Stamp 1, but for the 2, and each of
    those.
    Gregg C Levine hansolofalcon@w...
    "The Force will be with you...Always." Obi-Wan Kenobi
    "Use the Force, Luke."· Obi-Wan Kenobi

    >
    Original Message
    > From: Jon Williams [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=nw7at36P4CbhhaK_q8OD41J70_LiF7UsrSOoQK25q5pOVESqZ5LX5gX7l7j_rO1rrMVi8zdznRz09ObI]jwilliams@p...[/url
    > Sent: Sunday, April 04, 2004 12:21 AM
    > To: basicstamps@yahoogroups.com
    > Subject: RE: [noparse][[/noparse]basicstamps] serial comm styles ( was Re: parallax
    sales
    >
    > I don't know.
    >
    > -- Jon Williams
    > -- Applications Engineer, Parallax
    > -- Dallas Office
    >
    >
    >
    Original Message
    > From: Gregg C Levine [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=7QDhBtnIv8tgwR5TN7L2_Jl76D8Za4hGGB8ozJzooWJmD8sJ7vz0mKRxr4oJsSENB6XIJlmDQm4Ar47L98-bBZ0Mcaxn]hansolofalcon@w...[/url
    > Sent: Saturday, April 03, 2004 11:18 PM
    > To: basicstamps@yahoogroups.com
    > Subject: RE: [noparse][[/noparse]basicstamps] serial comm styles ( was Re: parallax
    sales
    >
    >
    > Hello from Gregg C Levine
    > Jon, can you elaborate on why the NSC version of the SPI devices
    work differently
    > then the ones from Microchip? Or even Excel, assuming they are still
    in business.
    > Currently I've got a surplus of the ones from NSC, but nothing from
    Microchip.
    >
    > Gregg C Levine hansolofalcon@w...
    >
    > "The Force will be with you...Always." Obi-Wan Kenobi
    > "Use the Force, Luke."· Obi-Wan Kenobi
    >
    > >
    Original Message
    > > From: Jon Williams [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=nw7at36P4CbhhaK_q8OD41J70_LiF7UsrSOoQK25q5pOVESqZ5LX5gX7l7j_rO1rrMVi8zdznRz09ObI]jwilliams@p...[/url
    > > Sent: Saturday, April 03, 2004 9:05 PM
    > > To: basicstamps@yahoogroups.com
    > > Subject: RE: [noparse][[/noparse]basicstamps] serial comm styles ( was Re: parallax
    > sales
    > >
    > > My favorite is I2C. It's easy to bit-bang with the BS2/BS2e/BS2sx
    > and comes built-
    > > in with the BS2p/pe, and there are a lot of really neat parts
    > available (really loving
    > > the MCP23016 at the moment).
    > >
    > > I don't care for 1-Wire at all. Seems like a neat idea, but
    actual
    > use of more than one
    > > device on the same line is a major pain in the derrière
    (especially
    > if you don't know
    > > the serial numbers in advance). The only reason I wrote about the
    > DS2760 in my
    > > Nuts & Volts column was that it was the heart of a neat project
    > (thermocouple
    > > interface) and it was just as single device on the line. I'm
    fairly
    > certain, however,
    > > that will be my last 1-Wire project with the BASIC Stamp.
    > >
    > > -- Jon Williams
    > > -- Applications Engineer, Parallax
    > > -- Dallas Office
    > >
    > >
    > >
    Original Message
    > > From: Dave Mucha [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=JXXYm0yeSnuEL0JhI-zMNdkl2XJS65A12gF11wanfGJci-TcY9qXDc0JCEbfktxvEHh8rIXKsaM7]davemucha@j...[/url
    > > Sent: Saturday, April 03, 2004 7:17 PM
    > > To: basicstamps@yahoogroups.com
    > > Subject: [noparse][[/noparse]basicstamps] serial comm styles ( was Re: parallax sales
    > >
    > >
    > >
    > > > Okay, let's get back to fun stuff. Who has a question about
    > > programming
    > > > BASIC Stamps?
    > > >
    > > > -- Jon Williams
    > > > -- Applications Engineer, Parallax
    > > > -- Dallas Office
    > >
    > > Ok,
    > >
    > > 3 wire, 2 wire, 1 wire, iButton, etc.....
    > >
    > > Which is preferred and why ? I'm thinking BS2.
    > >
    > > It seems 3 wire is more common on many chips, but takes more
    lines.
    > >
    > > 1 wire would be great because it uses a single pin....
    > >
    > > Comments ?
    > >
    > > Dave
  • ArchiverArchiver Posts: 46,084
    edited 2004-04-04 15:13
    At 09:48 AM 4/4/04 -0400, Gregg C Levine wrote:
    >Hello (again) from Gregg C Levine
    >You say, "> I don't know.", (comment from mail program included.) Do
    >those comments from that original program look familiar to you? To
    >anyone else? I think I have that number here, from NSC, I know I've
    >got the others in that series. Those chips always struck me as odd.
    >Now I know better, but I am still confused.
    >
    >' Program: EEPROM.BAS
    >' This program demonstrates subroutines for storing data in a
    >' Microchip 93LC66 serial EEPROM. This program will not work
    >' with the National Semiconductor part with the same number.
    >' Its serial protocol is substantially different.
    >
    >The thing is, since the program ends in .BAS, it could be for any of
    >the Stamps. Not just for the Stamp 1, but for the 2, and each of
    >those.

    Gregg -

    Looking at the program per se and not just the name will give one a much better
    idea of which Basic Stamp that particular program is suited for. One simple cue
    is the use of the keyword SYMBOL. I.E. SYMBOL SW0 = pin0 . If you look at the
    Stamp PBASIC Manual in the Stamp I section, you will notice other unique
    keywords as well.

    As far as Microchip vs. National parts are concerned it may be as something as
    simple as timing, and the author wanted to warn any future users of this
    demonstration program that the supplier of the chip was important for that
    reason.
    Internal to the program, there would be no practical way (other than asking)
    which manufacturers part was installed.

    Regards,

    Bruce Bates
  • ArchiverArchiver Posts: 46,084
    edited 2004-04-04 16:41
    I agree with Jon. My favorite is I2C. Almost everything else is
    faster, but I2C is so dang simple.

    And 1-wire...I've never liked timing critical communication.

    Mike
  • ArchiverArchiver Posts: 46,084
    edited 2004-04-04 17:35
    It looks like an older Parallax demo for the BS1 (.BS2 is used for the BS2
    family) -- probably written by Scott Edwards way back when. The best thing to
    do -- as I frequently suggest -- is download the data sheets for the parts in
    question.

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


    Original Message
    From: Gregg C Levine [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=EJdXy9zDNEfQACY6d6fZR5OB3rf_AdWPHc9tkQuYC1WYdizHs66LQtMti5HMTn1ciS7rQFd9x9DNNoQOPvhycSI7OQnNtA]hansolofalcon@w...[/url
    Sent: Sunday, April 04, 2004 8:49 AM
    To: basicstamps@yahoogroups.com
    Subject: RE: [noparse][[/noparse]basicstamps] serial comm styles ( was Re: parallax sales


    Hello (again) from Gregg C Levine
    You say, "> I don't know.", (comment from mail program included.) Do those
    comments from that original program look familiar to you? To anyone else? I
    think I have that number here, from NSC, I know I've got the others in that
    series. Those chips always struck me as odd. Now I know better, but I am still
    confused.

    ' Program: EEPROM.BAS
    ' This program demonstrates subroutines for storing data in a
    ' Microchip 93LC66 serial EEPROM. This program will not work
    ' with the National Semiconductor part with the same number.
    ' Its serial protocol is substantially different.

    The thing is, since the program ends in .BAS, it could be for any of the Stamps.
    Not just for the Stamp 1, but for the 2, and each of those.
    Gregg C Levine hansolofalcon@w...
    "The Force will be with you...Always." Obi-Wan Kenobi
    "Use the Force, Luke."· Obi-Wan Kenobi

    >
    Original Message
    > From: Jon Williams [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=5UVevxX6t2dZLJC60jq4yPkXYv9sLj9N6H3C1dhCOHyzsRoycRy-9TFIM9pTA18VT90v2JSMi6OUJt4hVc8]jwilliams@p...[/url
    > Sent: Sunday, April 04, 2004 12:21 AM
    > To: basicstamps@yahoogroups.com
    > Subject: RE: [noparse][[/noparse]basicstamps] serial comm styles ( was Re: parallax
    sales
    >
    > I don't know.
    >
    > -- Jon Williams
    > -- Applications Engineer, Parallax
    > -- Dallas Office
    >
    >
    >
    Original Message
    > From: Gregg C Levine [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=EJdXy9zDNEfQACY6d6fZR5OB3rf_AdWPHc9tkQuYC1WYdizHs66LQtMti5HMTn1ciS7rQFd9x9DNNoQOPvhycSI7OQnNtA]hansolofalcon@w...[/url
    > Sent: Saturday, April 03, 2004 11:18 PM
    > To: basicstamps@yahoogroups.com
    > Subject: RE: [noparse][[/noparse]basicstamps] serial comm styles ( was Re: parallax
    sales
    >
    >
    > Hello from Gregg C Levine
    > Jon, can you elaborate on why the NSC version of the SPI devices
    work differently
    > then the ones from Microchip? Or even Excel, assuming they are still
    in business.
    > Currently I've got a surplus of the ones from NSC, but nothing from
    Microchip.
    >
    > Gregg C Levine hansolofalcon@w...
    >
    > "The Force will be with you...Always." Obi-Wan Kenobi
    > "Use the Force, Luke."· Obi-Wan Kenobi
    >
    > >
    Original Message
    > > From: Jon Williams [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=5UVevxX6t2dZLJC60jq4yPkXYv9sLj9N6H3C1dhCOHyzsRoycRy-9TFIM9pTA18VT90v2JSMi6OUJt4hVc8]jwilliams@p...[/url
    > > Sent: Saturday, April 03, 2004 9:05 PM
    > > To: basicstamps@yahoogroups.com
    > > Subject: RE: [noparse][[/noparse]basicstamps] serial comm styles ( was Re: parallax
    > sales
    > >
    > > My favorite is I2C. It's easy to bit-bang with the BS2/BS2e/BS2sx
    > and comes built-
    > > in with the BS2p/pe, and there are a lot of really neat parts
    > available (really loving
    > > the MCP23016 at the moment).
    > >
    > > I don't care for 1-Wire at all. Seems like a neat idea, but
    actual
    > use of more than one
    > > device on the same line is a major pain in the derrière
    (especially
    > if you don't know
    > > the serial numbers in advance). The only reason I wrote about the
    > DS2760 in my
    > > Nuts & Volts column was that it was the heart of a neat project
    > (thermocouple
    > > interface) and it was just as single device on the line. I'm
    fairly
    > certain, however,
    > > that will be my last 1-Wire project with the BASIC Stamp.
    > >
    > > -- Jon Williams
    > > -- Applications Engineer, Parallax
    > > -- Dallas Office
    > >
    > >
    > >
    Original Message
    > > From: Dave Mucha [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=vcTm_HnW-rKn09cv3rWXdcRs1XMEiSDY0lJI6eiK1mKXVrtBtoZ63Bo0EO17g3c92xOWdI5tfB0]davemucha@j...[/url
    > > Sent: Saturday, April 03, 2004 7:17 PM
    > > To: basicstamps@yahoogroups.com
    > > Subject: [noparse][[/noparse]basicstamps] serial comm styles ( was Re: parallax sales
    > >
    > >
    > >
    > > > Okay, let's get back to fun stuff. Who has a question about
    > > programming
    > > > BASIC Stamps?
    > > >
    > > > -- Jon Williams
    > > > -- Applications Engineer, Parallax
    > > > -- Dallas Office
    > >
    > > Ok,
    > >
    > > 3 wire, 2 wire, 1 wire, iButton, etc.....
    > >
    > > Which is preferred and why ? I'm thinking BS2.
    > >
    > > It seems 3 wire is more common on many chips, but takes more
    lines.
    > >
    > > 1 wire would be great because it uses a single pin....
    > >
    > > Comments ?
    > >
    > > Dave



    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







    This message has been scanned by WebShield. Please report SPAM to
    abuse@p....
  • ArchiverArchiver Posts: 46,084
    edited 2004-04-04 18:15
    Hello from Gregg C Levine
    I agree. In fact, when I first read the program, (This time.), I
    recognized the coding style, as that of his, especially since it
    didn't have someone's name in the comments, as most of us do, and yes,
    Jon, it did not look like one of yours.

    What I did do, is register on Microchip's site, for free samples, and
    site purchases of parts, and then selected for sampling, that part
    number, and the one on the Parallax site. When they get here, I'll see
    for myself, if the original author is right, and we should stick to
    only Microchip parts, when it comes to external memory, or it’s
    personal preferences of the author at work.

    Bruce suggested a comparison between code for a BS1, and the BS2.
    Which I might do, but since it came with the original download of the
    stuff for the BS1, that I bought originally, I'm also inclined to
    believe that you're right also.
    Gregg C Levine hansolofalcon@w...
    "The Force will be with you...Always." Obi-Wan Kenobi
    "Use the Force, Luke."· Obi-Wan Kenobi

    >
    Original Message
    > From: Jon Williams [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=QMZOU6nK6bvpbk2S6XQiU-RnMMnYLVqm50Sue0OcWF7r6fO0eAxiQkunIevNJQjWc8-jgmw2v2R6bLqHbCtg1g]jwilliams@p...[/url
    > Sent: Sunday, April 04, 2004 12:35 PM
    > To: basicstamps@yahoogroups.com
    > Subject: RE: [noparse][[/noparse]basicstamps] serial comm styles ( was Re: parallax
    sales
    >
    > It looks like an older Parallax demo for the BS1 (.BS2 is used for
    the BS2 family) --
    > probably written by Scott Edwards way back when. The best thing to
    do -- as I
    > frequently suggest -- is download the data sheets for the parts in
    question.
    >
    > -- Jon Williams
    > -- Applications Engineer, Parallax
    > -- Dallas Office
    >
    >
    >
    Original Message
    > From: Gregg C Levine [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=9FfXp_31sAulJLRtFNVeyDOQNkVLIE1ntaZ4qoHCGbkwuFywBkP0eff7nK8fmCDtX9HtGEypRxgE4PhKzPZl6GQCv0sc2mQR]hansolofalcon@w...[/url
    > Sent: Sunday, April 04, 2004 8:49 AM
    > To: basicstamps@yahoogroups.com
    > Subject: RE: [noparse][[/noparse]basicstamps] serial comm styles ( was Re: parallax
    sales
    >
    >
    > Hello (again) from Gregg C Levine
    > You say, "> I don't know.", (comment from mail program included.) Do
    those
    > comments from that original program look familiar to you? To anyone
    else? I think I
    > have that number here, from NSC, I know I've got the others in that
    series. Those
    > chips always struck me as odd. Now I know better, but I am still
    confused.
    >
    > ' Program: EEPROM.BAS
    > ' This program demonstrates subroutines for storing data in a
    > ' Microchip 93LC66 serial EEPROM. This program will not work
    > ' with the National Semiconductor part with the same number.
    > ' Its serial protocol is substantially different.
    >
    > The thing is, since the program ends in .BAS, it could be for any of
    the Stamps. Not
    > just for the Stamp 1, but for the 2, and each of those.
    >
    > Gregg C Levine hansolofalcon@w...
    >
    > "The Force will be with you...Always." Obi-Wan Kenobi
    > "Use the Force, Luke."· Obi-Wan Kenobi
    >
    > >
    Original Message
    > > From: Jon Williams [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=QMZOU6nK6bvpbk2S6XQiU-RnMMnYLVqm50Sue0OcWF7r6fO0eAxiQkunIevNJQjWc8-jgmw2v2R6bLqHbCtg1g]jwilliams@p...[/url
    > > Sent: Sunday, April 04, 2004 12:21 AM
    > > To: basicstamps@yahoogroups.com
    > > Subject: RE: [noparse][[/noparse]basicstamps] serial comm styles ( was Re: parallax
    > sales
    > >
    > > I don't know.
    > >
    > > -- Jon Williams
    > > -- Applications Engineer, Parallax
    > > -- Dallas Office
    > >
    > >
    > >
    Original Message
    > > From: Gregg C Levine [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=9FfXp_31sAulJLRtFNVeyDOQNkVLIE1ntaZ4qoHCGbkwuFywBkP0eff7nK8fmCDtX9HtGEypRxgE4PhKzPZl6GQCv0sc2mQR]hansolofalcon@w...[/url
    > > Sent: Saturday, April 03, 2004 11:18 PM
    > > To: basicstamps@yahoogroups.com
    > > Subject: RE: [noparse][[/noparse]basicstamps] serial comm styles ( was Re: parallax
    > sales
    > >
    > >
    > > Hello from Gregg C Levine
    > > Jon, can you elaborate on why the NSC version of the SPI devices
    > work differently
    > > then the ones from Microchip? Or even Excel, assuming they are
    still
    > in business.
    > > Currently I've got a surplus of the ones from NSC, but nothing
    from
    > Microchip.
    > >
    > > Gregg C Levine hansolofalcon@w...
    > >
    > > "The Force will be with you...Always." Obi-Wan Kenobi
    > > "Use the Force, Luke."· Obi-Wan Kenobi
    > >
    > > >
    Original Message
    > > > From: Jon Williams [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=QMZOU6nK6bvpbk2S6XQiU-RnMMnYLVqm50Sue0OcWF7r6fO0eAxiQkunIevNJQjWc8-jgmw2v2R6bLqHbCtg1g]jwilliams@p...[/url
    > > > Sent: Saturday, April 03, 2004 9:05 PM
    > > > To: basicstamps@yahoogroups.com
    > > > Subject: RE: [noparse][[/noparse]basicstamps] serial comm styles ( was Re: parallax
    > > sales
    > > >
    > > > My favorite is I2C. It's easy to bit-bang with the
    BS2/BS2e/BS2sx
    > > and comes built-
    > > > in with the BS2p/pe, and there are a lot of really neat parts
    > > available (really loving
    > > > the MCP23016 at the moment).
    > > >
    > > > I don't care for 1-Wire at all. Seems like a neat idea, but
    > actual
    > > use of more than one
    > > > device on the same line is a major pain in the derrière
    > (especially
    > > if you don't know
    > > > the serial numbers in advance). The only reason I wrote about
    the
    > > DS2760 in my
    > > > Nuts & Volts column was that it was the heart of a neat project
    > > (thermocouple
    > > > interface) and it was just as single device on the line. I'm
    > fairly
    > > certain, however,
    > > > that will be my last 1-Wire project with the BASIC Stamp.
    > > >
    > > > -- Jon Williams
    > > > -- Applications Engineer, Parallax
    > > > -- Dallas Office
    > > >
    > > >
    > > >
    Original Message
    > > > From: Dave Mucha [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=crkh_dhHYB-Zfj22KT7SnwH8WmdUx909MeenByXaGYCmw1rWSX6-K6iWnlF_HpthQCPuCTBCrxX6LQa5]davemucha@j...[/url
    > > > Sent: Saturday, April 03, 2004 7:17 PM
    > > > To: basicstamps@yahoogroups.com
    > > > Subject: [noparse][[/noparse]basicstamps] serial comm styles ( was Re: parallax
    sales
    > > >
    > > >
    > > >
    > > > > Okay, let's get back to fun stuff. Who has a question about
    > > > programming
    > > > > BASIC Stamps?
    > > > >
    > > > > -- Jon Williams
    > > > > -- Applications Engineer, Parallax
    > > > > -- Dallas Office
    > > >
    > > > Ok,
    > > >
    > > > 3 wire, 2 wire, 1 wire, iButton, etc.....
    > > >
    > > > Which is preferred and why ? I'm thinking BS2.
    > > >
    > > > It seems 3 wire is more common on many chips, but takes more
    > lines.
    > > >
    > > > 1 wire would be great because it uses a single pin....
    > > >
    > > > Comments ?
    > > >
    > > > Dave
Sign In or Register to comment.