BS2P and 1-Wire help
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...
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
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
(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