Shop OBEX P1 Docs P2 Docs Learn Events
BS2P and 1-Wire help — Parallax Forums

BS2P and 1-Wire help

ArchiverArchiver Posts: 46,084
edited 2001-11-27 15:52 in General Discussion
Lou-

Jon's code in N&V is designed to identify and keep track of multiple
1-Wire devices through the use of the SEARCH ROM function. I infer
from your message that you need only detect and identify a single
iButton (i.e., one at a time) on the bus. If so, you probably want
the READ ROM function, which is several orders of magnitude simpler
to use. See the data sheet for your 1-Wire device for more details.

Regards,

Steve

On 24 Nov 01 at 10:09, Lusabi1@a... wrote:

> I would like to have the stamp sample the 1wire bus at certain
> intervals, report which iButton is on the bus, and write or read
> that ID from EEprom...

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2001-11-24 15:09
    I would like to have the stamp sample the 1wire bus at certain intervals,
    report which iButton is on the bus, and write or read that ID from EEprom.
    (Basic security type setup). Ive went through the samples and the April Nuts
    n Volts code, but Im still unclear as to whats happening behind the scenes.
    Any advice or code samples would be greatly appreciated.
    Lou
  • ArchiverArchiver Posts: 46,084
    edited 2001-11-27 15:52
    In our new BASIC Stamp book we have some samples to 1-Wire Devices
    (iButtons). The book is written in German language but the software
    examples are commented in English.
    Send an email to
    info@c...?subject=Send BS2 Sources
    and you will get those program examples.
    Claus

    www.ckuehnel.ch
    www.ckskript.ch

    --- In basicstamps@y..., Lusabi1@a... wrote:
    > I would like to have the stamp sample the 1wire bus at certain
    intervals,
    > report which iButton is on the bus, and write or read that ID from
    EEprom.
    > (Basic security type setup). Ive went through the samples and the
    April Nuts
    > n Volts code, but Im still unclear as to whats happening behind the
    scenes.
    > Any advice or code samples would be greatly appreciated.
    > Lou
Sign In or Register to comment.