SV: [basicstamps] Thanks for the info.
Archiver
Posts: 46,084
Greetings!
I get my 1-wire products from a local distributor, but I belive that you can
buy them directly from www.dalsemi.com (May be a different link now that
Maxim have bought DalSemi)
There's also a list of distributors there.
As for interfacing, all 1-Wire components only need 1(!) IO pin and Ground +
a 4.7KOhm pullup resistor between the IO pin and +5V
A quick explanation of how they work:
Power:
They use a 'parasite' powersupply, rechargeing an internal capacitor
from the signal line while it is in it's 'idle' state. (Pulled up to +5V)
some chips may have a separate power pin, but for most of those, it's
optional.
Network:
A 1-Wire network consists of 1 master, and 1 or more slave devices.
The devices are connected in parallell to the same IO pin, and can be
addressed individually by use of the factory lasered 64bit serial number.
Signalling:
The Master(your computer) starts the communication by holding the
line low for a specified amount of time(Called a 1-wire reset).
It then sends a 'ROM Address command', either 'Search ROM', 'Match
ROM', or 'Skip ROM' and a ROM Serial number.(Except if 'Skip ROM' which
assumes that there's no other 1-Wire devices on the line)
Sending '1' or '0' is done by holding the line high or low for
specific lenghts of time.
Then the master sends a RAM or whatever command, possibly with data
following.
If the command is a 'READ' command of some sort, the master will
send '1's afterwards, and the slave unit will transmit the data by pulling
the line low when it needs to send '0'. (The master samples the level of the
port to determine the data)
Note: EPROM chips...
These needs a 'Strong pullup' of +12V when being written.
NO OTHER 1-Wire chips should be present on the bus when this
happens!
For a more in-depth explanation, I sugest that you scoot over to the DalSemi
site and download a few .PDF files. I particularly recommend the 'Standards'
and any 'appnotes' that you can find(in addition to the datasheets for the
chips that interest you)
:-)
Trygve
BTW: there's a mailing list there too.
http://lists.dalsemi.com/mailman/listinfo/1-wire-software-development
Opprinnelig melding
Fra: lowridercaddy [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=WKUPHreOqzQMTygGtid4vp3-apB-jGmpqaKPWMxr5Qo-PXZhdAFt6xmgYiMFF-6PHliDiMgcESyDUbfo1rDB]lowridercaddy@y...[/url
Sendt: 12. juni 2002 07:34
Til: basicstamps@yahoogroups.com
Emne: [noparse][[/noparse]basicstamps] Thanks for the info.
Just wanted to say thanks for the info. Dose any one know any thing
about 1-wire nets? I have seen web sites about them but I don't know
where to get the temp sensors or how to interface it to my computer.
To UNSUBSCRIBE, just send mail to:
basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
I get my 1-wire products from a local distributor, but I belive that you can
buy them directly from www.dalsemi.com (May be a different link now that
Maxim have bought DalSemi)
There's also a list of distributors there.
As for interfacing, all 1-Wire components only need 1(!) IO pin and Ground +
a 4.7KOhm pullup resistor between the IO pin and +5V
A quick explanation of how they work:
Power:
They use a 'parasite' powersupply, rechargeing an internal capacitor
from the signal line while it is in it's 'idle' state. (Pulled up to +5V)
some chips may have a separate power pin, but for most of those, it's
optional.
Network:
A 1-Wire network consists of 1 master, and 1 or more slave devices.
The devices are connected in parallell to the same IO pin, and can be
addressed individually by use of the factory lasered 64bit serial number.
Signalling:
The Master(your computer) starts the communication by holding the
line low for a specified amount of time(Called a 1-wire reset).
It then sends a 'ROM Address command', either 'Search ROM', 'Match
ROM', or 'Skip ROM' and a ROM Serial number.(Except if 'Skip ROM' which
assumes that there's no other 1-Wire devices on the line)
Sending '1' or '0' is done by holding the line high or low for
specific lenghts of time.
Then the master sends a RAM or whatever command, possibly with data
following.
If the command is a 'READ' command of some sort, the master will
send '1's afterwards, and the slave unit will transmit the data by pulling
the line low when it needs to send '0'. (The master samples the level of the
port to determine the data)
Note: EPROM chips...
These needs a 'Strong pullup' of +12V when being written.
NO OTHER 1-Wire chips should be present on the bus when this
happens!
For a more in-depth explanation, I sugest that you scoot over to the DalSemi
site and download a few .PDF files. I particularly recommend the 'Standards'
and any 'appnotes' that you can find(in addition to the datasheets for the
chips that interest you)
:-)
Trygve
BTW: there's a mailing list there too.
http://lists.dalsemi.com/mailman/listinfo/1-wire-software-development
Opprinnelig melding
Fra: lowridercaddy [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=WKUPHreOqzQMTygGtid4vp3-apB-jGmpqaKPWMxr5Qo-PXZhdAFt6xmgYiMFF-6PHliDiMgcESyDUbfo1rDB]lowridercaddy@y...[/url
Sendt: 12. juni 2002 07:34
Til: basicstamps@yahoogroups.com
Emne: [noparse][[/noparse]basicstamps] Thanks for the info.
Just wanted to say thanks for the info. Dose any one know any thing
about 1-wire nets? I have seen web sites about them but I don't know
where to get the temp sensors or how to interface it to my computer.
To UNSUBSCRIBE, just send mail to:
basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Comments
I forgot to mention....
DalSemi have a special chip DS2480b that converts from Serial to 1-Wire and
back again.
(It handles all the timing details and everything :-)
With this chip there's no problem of interfacing any BS2 model to a 1-wire
network...
:-)
Trygve
a PC? What im trying to do is be able to monitor the computer rooms temp and the
outside temp along with some other rooms and devieces.
Trygve Henriksen <trygve.henriksen@v...> wrote: Ooops...
I forgot to mention....
DalSemi have a special chip DS2480b that converts from Serial to 1-Wire and
back again.
(It handles all the timing details and everything :-)
With this chip there's no problem of interfacing any BS2 model to a 1-wire
network...
:-)
Trygve
To UNSUBSCRIBE, just send mail to:
basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the Subject and Body of
the message will be ignored.
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Do You Yahoo!?
Sign-up for Video Highlights of 2002 FIFA World Cup
[noparse][[/noparse]Non-text portions of this message have been removed]
in other rooms, anywhere you can reach the wire, and as many sensors as
your budget will allow. They get expensive though
IMO, any 1-wire project that does not have a stamp in it, tends to not be
very flexible, and therefore not very exciting ( to me ) Sensors give
you data
Micros give you options
Dave
Original Message
From: "Mike Ashcraftr" <lowridercaddy@y...>
To: <basicstamps@yahoogroups.com>
Sent: Wednesday, June 12, 2002 3:39 PM
Subject: Re: SV: [noparse][[/noparse]basicstamps] Thanks for the info.
>
> Thanks for the info. Do you know if the 1-wire net can be directly
connected to a PC? What im trying to do is be able to monitor the computer
rooms temp and the outside temp along with some other rooms and devieces>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
1-wire projects can be and are flexible................ but even more so
with the addition of a stamp.
Dave
>
>
>
Original Message
> From: "Mike Ashcraftr" <lowridercaddy@y...>
> To: <basicstamps@yahoogroups.com>
> Sent: Wednesday, June 12, 2002 3:39 PM
> Subject: Re: SV: [noparse][[/noparse]basicstamps] Thanks for the info.
>
>
> >
> > Thanks for the info. Do you know if the 1-wire net can be directly
> connected to a PC? What im trying to do is be able to monitor the computer
> rooms temp and the outside temp along with some other rooms and devieces>
> >
> > To UNSUBSCRIBE, just send mail to:
> > basicstamps-unsubscribe@yahoogroups.com
> > from the same email address that you subscribed. Text in the Subject
and
> Body of the message will be ignored.
> >
> >
> > Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
> >
> >
> >
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>