i-buttons?
Archiver
Posts: 46,084
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
what sort of hardware is required to talk "1-wire" ?
--
_______________________________________________
Jason Lavoie
jlavoie@e...
jlavoie@o...
ICQ#:10604243
Electrical Engineering III, Carleton University
Comments
jlavoie@engsoc.carleton.ca writes:
what sort of hardware is required to talk "1-wire" ?
It's very easy with the new BS2p -- OWOUT and OWIN. ·[/font]
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
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
>
>
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
jlavoie@engsoc.carleton.ca writes:
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]
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?
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
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
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/
>
>
>
pverhage@sd131.k12.id.us writes:
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]
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/
>
>