How do I implement 1-wire devices on BS2?
Archiver
Posts: 46,084
Hi All,
I'm new to using the BASIC Stamp 2, and I am trying to implement
the DS2760 Thermocouple Kit from Parallax Inc. with the BS2p on a
BS2p demo board. After reading Parallax's supplied documentation
I'm not clear on a few things.
1. How is iButton different from 1-wire, or are they the same thing?
2. How do I physically connect the DS2760 to the BS2p? Do I just
follow the schematic in the documentation? The BS2p demo board
documentation seemed to imply that I'm somehow supposed to use the
onboard pull-up resistors along with the iB1 and iB2 pins, but I'm
not sure how. Am I supposed to be using the 5.8V Li battery for
power to these pins?
Any help would be appreciated!
Thanks,
flashgordonyeah
I'm new to using the BASIC Stamp 2, and I am trying to implement
the DS2760 Thermocouple Kit from Parallax Inc. with the BS2p on a
BS2p demo board. After reading Parallax's supplied documentation
I'm not clear on a few things.
1. How is iButton different from 1-wire, or are they the same thing?
2. How do I physically connect the DS2760 to the BS2p? Do I just
follow the schematic in the documentation? The BS2p demo board
documentation seemed to imply that I'm somehow supposed to use the
onboard pull-up resistors along with the iB1 and iB2 pins, but I'm
not sure how. Am I supposed to be using the 5.8V Li battery for
power to these pins?
Any help would be appreciated!
Thanks,
flashgordonyeah
Comments
communications.
There is no implication in the docs on which pull-up(s) to use. When I
built that project I put it onto a standard BOE so that I could output
the temperature to an LCD AppMod (the details were published in N&V and
will be available on our web site soon).
If you're using the BS2p demo board you may use an onboard pull-up (you
only need one). Use Vdd and Vss on the board (I have no idea where
you're getting a Li battery -- the socket on the board is for an
iButton, not a battery). All the connections can be made with 22-gauge
solid wire.
-- Jon Williams
-- Applications Engineer, Parallax
-- Dallas Office
Original Message
From: flashgordonyeah [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=dD-0PN9-OMlR5GYj7Wn167GXmerrxxdXPiQN4xVu1aCjGjqebFNxjwvsT3tT4agd-3Zpj52haRXyCABku7Hvp_yjacY]flashgordonyeah@y...[/url
Sent: Friday, May 28, 2004 12:08 PM
To: basicstamps@yahoogroups.com
Subject: [noparse][[/noparse]basicstamps] How do I implement 1-wire devices on BS2?
Hi All,
I'm new to using the BASIC Stamp 2, and I am trying to implement
the DS2760 Thermocouple Kit from Parallax Inc. with the BS2p on a
BS2p demo board. After reading Parallax's supplied documentation
I'm not clear on a few things.
1. How is iButton different from 1-wire, or are they the same thing?
2. How do I physically connect the DS2760 to the BS2p? Do I just
follow the schematic in the documentation? The BS2p demo board
documentation seemed to imply that I'm somehow supposed to use the
onboard pull-up resistors along with the iB1 and iB2 pins, but I'm
not sure how. Am I supposed to be using the 5.8V Li battery for
power to these pins?
Any help would be appreciated!
Thanks,
flashgordonyeah
Thanks for the help, but I ended up solving my problems between
posting my message and reading yours. I originally thought the
socket in the upper-right corner of the BS2p demo board was for a
battery because I was not familiar with what iButton was, and the
shape of the socket as well as the "+5.8" on the metal tab made me
think a battery was supposed to fit in there.
flashgordonyeah
--- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
wrote:
> The iButton is a mechanical package that uses 1-Wire protocol for
> communications.
>
> There is no implication in the docs on which pull-up(s) to use.
When I
> built that project I put it onto a standard BOE so that I could
output
> the temperature to an LCD AppMod (the details were published in
N&V and
> will be available on our web site soon).
>
> If you're using the BS2p demo board you may use an onboard pull-up
(you
> only need one). Use Vdd and Vss on the board (I have no idea where
> you're getting a Li battery -- the socket on the board is for an
> iButton, not a battery). All the connections can be made with 22-
gauge
> solid wire.
>
> -- Jon Williams
> -- Applications Engineer, Parallax
> -- Dallas Office
>
>
>
Original Message
> From: flashgordonyeah [noparse][[/noparse]mailto:flashgordonyeah@y...]
> Sent: Friday, May 28, 2004 12:08 PM
> To: basicstamps@yahoogroups.com
> Subject: [noparse][[/noparse]basicstamps] How do I implement 1-wire devices on BS2?
>
>
> Hi All,
>
> I'm new to using the BASIC Stamp 2, and I am trying to implement
> the DS2760 Thermocouple Kit from Parallax Inc. with the BS2p on a
> BS2p demo board. After reading Parallax's supplied documentation
> I'm not clear on a few things.
>
> 1. How is iButton different from 1-wire, or are they the same
thing?
>
> 2. How do I physically connect the DS2760 to the BS2p? Do I just
> follow the schematic in the documentation? The BS2p demo board
> documentation seemed to imply that I'm somehow supposed to use the
> onboard pull-up resistors along with the iB1 and iB2 pins, but I'm
> not sure how. Am I supposed to be using the 5.8V Li battery for
> power to these pins?
>
> Any help would be appreciated!
>
> Thanks,
> flashgordonyeah