Shop OBEX P1 Docs P2 Docs Learn Events
i-buttons? — Parallax Forums

i-buttons?

ArchiverArchiver Posts: 46,084
edited 2001-03-21 06:27 in General Discussion
anyone used a stamp to read an i-button?
what sort of hardware is required to talk "1-wire" ?
--
_______________________________________________
Jason Lavoie
jlavoie@e...
jlavoie@o...
ICQ#:10604243
Electrical Engineering III, Carleton University

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2001-03-17 06:13
    [font=arial,helvetica]In a message dated 3/16/01 5:32:17 PM Central Standard Time,
    jlavoie@engsoc.carleton.ca writes:


    anyone used a stamp to read an i-button?
    what sort of hardware is required to talk "1-wire" ?



    It's very easy with the new BS2p -- OWOUT and OWIN. ·[/font]
  • ArchiverArchiver Posts: 46,084
    edited 2001-03-17 06:40
    The 1-Wire hardware is pretty simple: open drain/collector with
    pullup to normal Stamp I/O pin "high" levels. The general purpose
    I/O pins on every Stamp, with the addition of a garden variety
    pullup resistor, have all the hardware needed. The problem is
    timing.

    The 1-Wire devices work with pulses lasting and separated by tens of
    microseconds or even less. Stamp statements average 100 (BS2SX) to
    500 (BS1) microseconds each. A 1-Wire device's pulse responding to
    a Stamp statement is history before a Stamp can go back with its
    next statement to look for it. A sequence of PULSOUTs, PULSINs,
    HIGHs, LOWs, or INs in tandem just can't work fast enough.

    The BS2p solves the problem with OWIN and OWOUT, which do all the low
    level, high speed stuff for you. A single OWIN or OWOUT statement
    results in considerable pulse traffic at the target I/O pin, all of
    which is handled by the Stamp before it moves on to interpret and
    execute the next statement.


    Regards,

    Steve
  • ArchiverArchiver Posts: 46,084
    edited 2001-03-17 06:56
    On 17 Mar 01 at 13:06, jonwms@a... wrote:

    Thanks for the vote of confidence. The interface chip will actually
    work with any Stamp from the BS1 on--or any other serial host for
    that matter--at 2400 baud (the maximum BS1 baud rate). Uses minimum
    one I/O pin, more if flow control in implemented to maximize
    throughput. Handles a lot of the overhead for you--even makes
    handling multiple devices with the BS2p easier IMHO.


    Regards,

    Steve Parkis

    > Steve Parkiss makes an interface chip (pre-programmed SX) that lets
    > any Stamp 2 connect to 1-Wire devices. I haven't used the chip
    > myself, but Steve has a great reputation and I'll just be the device
    > works really well.
    >
    > -- Jon Williams
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2001-03-17 15:21
    I know it's easy with the BS2p, but is it easy because of software, or
    is there a hardware driver built in as well?
    if I wanted to code it could I do it on a BS2 as well?


    --
    _______________________________________________
    Jason Lavoie
    jlavoie@e...
    jlavoie@o...
    ICQ#:10604243
    Electrical Engineering III, Carleton University
  • ArchiverArchiver Posts: 46,084
    edited 2001-03-17 18:06
    [font=arial,helvetica]In a message dated 3/17/01 9:23:43 AM Central Standard Time,
    jlavoie@engsoc.carleton.ca writes:


    I know it's easy with the BS2p, but is it easy because of software, or
    is there a hardware driver built in as well?
    if I wanted to code it could I do it on a BS2 as well?



    Steve Parkiss makes an interface chip (pre-programmed SX) that lets any Stamp
    2 connect to 1-Wire devices. ·I haven't used the chip myself, but Steve has a
    great reputation and I'll just be the device works really well.

    -- Jon Williams
    [/font]
  • ArchiverArchiver Posts: 46,084
    edited 2001-03-18 12:48
    Kerry-

    Info available at http://home.earthlink.net/~parkiss/. The
    descriptions and examples are works in progress. If you (or others)
    would like to see an example of some specific technique, let me know
    and I'll add it to the list if I have the requisite parts.


    Regards,

    Steve

    On 18 Mar 01 at 13:57, Kerry Barlow wrote:

    > Steve: Where is this interface chip?? Do you have a website?
  • ArchiverArchiver Posts: 46,084
    edited 2001-03-18 18:57
    Steve: Where is this interface chip?? Do you have a website?
    Kerry

    At 02:56 PM 3/17/2001 +0800, you wrote:
    >On 17 Mar 01 at 13:06, jonwms@a... wrote:
    >
    >Thanks for the vote of confidence. The interface chip will actually
    >work with any Stamp from the BS1 on--or any other serial host for
    >that matter--at 2400 baud (the maximum BS1 baud rate). Uses minimum
    >one I/O pin, more if flow control in implemented to maximize
    >throughput. Handles a lot of the overhead for you--even makes
    >handling multiple devices with the BS2p easier IMHO.
    >
    >
    >Regards,
    >
    >Steve Parkis
    >
    >> Steve Parkiss makes an interface chip (pre-programmed SX) that lets
    >> any Stamp 2 connect to 1-Wire devices. I haven't used the chip
    >> myself, but Steve has a great reputation and I'll just be the device
    >> works really well.
    >>
    >> -- Jon Williams
    >>
    >>
    >
    >
    >
    >Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
    >
    >
    Sincerely
    Kerry
    Admin@M...
    WWW server hosting [url=Http://mntnweb.com]Http://mntnweb.com[/url]
    Kerry Barlow
    p.o. box 21
    kirkwood ny
    13795
  • ArchiverArchiver Posts: 46,084
    edited 2001-03-18 21:21
    > The BS2p solves the problem with OWIN and OWOUT

    What about electricl/mechanical connection? I have a thermochron, but have
    to physically press it into the communication socket. What connector is
    there for a permanent connection?

    Paul
  • ArchiverArchiver Posts: 46,084
    edited 2001-03-18 22:00
    Head to dallas's page and goto their I-button store. They sell something
    that does that. (its actually a clip for a lithium watch battery).

    -Rob


    Original Message
    From: "Paul Verhage" <pverhage@s...>
    To: <basicstamps@yahoogroups.com>
    Sent: Sunday, March 18, 2001 4:21 PM
    Subject: RE: [noparse][[/noparse]basicstamps] i-buttons?


    > > The BS2p solves the problem with OWIN and OWOUT
    >
    > What about electricl/mechanical connection? I have a thermochron, but
    have
    > to physically press it into the communication socket. What connector is
    > there for a permanent connection?
    >
    > Paul
    >
    >
    >
    > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2001-03-18 23:58
    [font=arial,helvetica]In a message dated 3/18/01 3:22:48 PM Central Standard Time,
    pverhage@sd131.k12.id.us writes:


    What about electricl/mechanical connection? ·I have a thermochron, but have
    to physically press it into the communication socket. ·What connector is
    there for a permanent connection?



    Dallas Semi sells iButton sockets (DS9094F). ·That and a 4.7K pull-up will
    have you in business. [/font]
  • ArchiverArchiver Posts: 46,084
    edited 2001-03-21 06:27
    The bs2 is too slow to talk 1wire.
    Chris
    Original Message
    From: Jason Lavoie <jlavoie@e...>
    To: <basicstamps@yahoogroups.com>
    Sent: Saturday, March 17, 2001 11:21 PM
    Subject: Re: [noparse][[/noparse]basicstamps] i-buttons?


    > I know it's easy with the BS2p, but is it easy because of software, or
    > is there a hardware driver built in as well?
    > if I wanted to code it could I do it on a BS2 as well?
    >
    >
    > --
    > _______________________________________________
    > Jason Lavoie
    > jlavoie@e...
    > jlavoie@o...
    > ICQ#:10604243
    > Electrical Engineering III, Carleton University
    >
    >
    >
    > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
    >
Sign In or Register to comment.