Shop OBEX P1 Docs P2 Docs Learn Events
DS1620 thermometer — Parallax Forums

DS1620 thermometer

ArchiverArchiver Posts: 46,084
edited 2001-08-13 18:28 in General Discussion
Hi Stampers,

I need to measure the temperature on 3 different places, and I dont want to eat
up all Stamp pins for that.
Is there a way to 'network' the 3 DS1620 ? I've got my idea, but I'd like to
have another advice.
Thanks in advance.

Phil.


[noparse][[/noparse]Non-text portions of this message have been removed]

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2001-08-08 13:23
    Hi Phil
    Try the DS1820 or DS1920 1-Wire Devices. You can build a MicroLAN.
    Claus

    BASIC Stamp 2nd Ed. ISBN 0750672455
    In our next BS book 1-Wire examples are included.

    > Hi Stampers,
    >
    > I need to measure the temperature on 3 different places, and I dont
    want to eat up all Stamp pins for that.
    > Is there a way to 'network' the 3 DS1620 ? I've got my idea, but
    I'd like to have another advice.
    > Thanks in advance.
    >
    > Phil.
  • ArchiverArchiver Posts: 46,084
    edited 2001-08-08 13:51
    The Clock and DQ lines can be shared, but each chip will require its own
    Reset line. The Reset line behaves like a chip select. Make sure that you
    put a 1K resistor between each chip's DQ line and the data bus. This will
    prevent short circuit problems caused by a possible bus conflict.

    If you move up to the BS2p, you can use Dallas 1-Wire thermometers and string
    nearly as many as you'd like on a single Stamp pin.

    -- Jon Williams
    -- Applications Engineer, Parallax.


    In a message dated 8/8/01 3:00:52 AM Central Daylight Time,
    derennep@b... writes:


    > I need to measure the temperature on 3 different places, and I dont want to
    > eat up all Stamp pins for that.
    > Is there a way to 'network' the 3 DS1620 ? I've got my idea, but I'd like
    >




    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2001-08-08 16:01
    Sorry for the stupid question, but I am looking at using these in a
    comercial environment. Why is the BS2p necessary, and not the BS2? Is there
    any sample code for interfaceing with the 1-Wire units?
    Thanks
    Nick

    > If you move up to the BS2p, you can use Dallas 1-Wire thermometers and
    string
    > nearly as many as you'd like on a single Stamp pin.
    >
    > -- Jon Williams
    > -- Applications Engineer, Parallax.
    >



    _________________________________________________________
    Do You Yahoo!?
    Get your free @yahoo.com address at http://mail.yahoo.com
  • ArchiverArchiver Posts: 46,084
    edited 2001-08-08 16:34
    In a message dated 8/8/01 8:07:44 AM Central Daylight Time,
    lightclb@y... writes:


    > Sorry for the stupid question, but I am looking at using these in a
    > comercial environment. Why is the BS2p necessary, and not the BS2? Is there
    >

    The BS2p has direct support for 1-Wire with new commands (OWOUT and OWIN).
    It also supports high-speed and bit-mode access. There is no simpler way to
    deal with 1-Wire devices than with the BS2p. I demonstrated it for Dallas
    Semiconductor and even they were impressed.

    You can't use the BS2 directly since it isn't fast enough to synthesize the
    1-Wire protocol. You can use an interface, like the one from Steve Parkiss.
    Take a look at...

    http://home.earthlink.net/~parkiss/

    ...for info and BS2 code samples for Steve's chip.


    -- Jon Williams
    -- Applications Engineer, Parallax
    -- Dallas, TX



    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2001-08-12 09:46
    Thank you for your help, Jon !
    I just wonder if the sharing of the Clock lines will not cause conversion
    problems. The function of the DS1620 depends on the way the clock line is
    managed. If it goes low and stays low, then a continuous convertion begins.
    If it goes low and then high in 10 ms max, then a single conversion begins.
    So, if I use the same line for three devices, I think I must pay attention
    to this, and maybe send clock pulses larger than 10 ms. What to you think ?

    Best regards,

    Phil.

    Original Message

    > The Clock and DQ lines can be shared, but each chip will require its own
    > Reset line. The Reset line behaves like a chip select. Make sure that
    you
    > put a 1K resistor between each chip's DQ line and the data bus. This will
    > prevent short circuit problems caused by a possible bus conflict.
    >
    > If you move up to the BS2p, you can use Dallas 1-Wire thermometers and
    string
    > nearly as many as you'd like on a single Stamp pin.
    >
    > -- Jon Williams
    > -- Applications Engineer, Parallax.
  • ArchiverArchiver Posts: 46,084
    edited 2001-08-12 14:14
    This won't be a problem since you're going to initialize the DS1620s to work
    with a CPU. The Clock/Conv line is used to start conversions when the device
    is programmed for stand-alone operation.

    -- Jon Williams


    In a message dated 8/12/01 3:47:32 AM Central Daylight Time,
    derennep@s... writes:

    > I just wonder if the sharing of the Clock lines will not cause conversion
    > problems. The function of the DS1620 depends on the way the clock line is
    > managed. If it goes low and stays low, then a continuous convertion begins.
    > If it goes low and then high in 10 ms max, then a single conversion begins.
    > So, if I use the same line for three devices, I think I must pay attention
    >






    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2001-08-13 18:28
    Right !
    Thanks again,

    Phil.

    Original Message
    From: <jonwms@a...>
    To: <basicstamps@yahoogroups.com>
    Sent: Sunday, August 12, 2001 3:14 PM
    Subject: Re: [noparse][[/noparse]basicstamps] DS1620 thermometer


    > This won't be a problem since you're going to initialize the DS1620s to
    work
    > with a CPU. The Clock/Conv line is used to start conversions when the
    device
    > is programmed for stand-alone operation.
    >
    > -- Jon Williams
    >
    >
    > In a message dated 8/12/01 3:47:32 AM Central Daylight Time,
    > derennep@s... writes:
    >
    > > I just wonder if the sharing of the Clock lines will not cause
    conversion
    > > problems. The function of the DS1620 depends on the way the clock line
    is
    > > managed. If it goes low and stays low, then a continuous convertion
    begins.
    > > If it goes low and then high in 10 ms max, then a single conversion
    begins.
    > > So, if I use the same line for three devices, I think I must pay
    attention
    > >
    >
    >
    >
    >
    >
    >
    > [noparse][[/noparse]Non-text portions of this message have been removed]
    >
    >
    > 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/
    >
    >
    >
Sign In or Register to comment.