Shop OBEX P1 Docs P2 Docs Learn Events
Problem using DS1820 and Basic Stamp 2 — Parallax Forums

Problem using DS1820 and Basic Stamp 2

ArchiverArchiver Posts: 46,084
edited 2002-02-19 15:13 in General Discussion
Hi,

I have some problems using Basic Stamp 2 and DS1820 digital termometer, here
I send a schematic on how I connect the BS2 and the DS1820, and the code I'm
using to read temperature frm the DS1820, I think that the problem should be
in the code, but I don't find where it's the mistake.
Please any help would be appreciated.

Regards,
Jose A.


_________________________________________________________________
MSN Photos es la manera m

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2002-02-19 15:13
    The BS2 doesn't run fast enough to do 1-Wire communications, which is fast
    and timing dependent. You could switch to I2C at the cost of one additional
    pin. There are several examples on the Internet of using I2C devices with
    the stock BS2.

    If you're hooked on 1-Wire, you'll want to upgrade to the BS2p which has
    1-Wire (and I2C and LCD) communications built into it.

    -- Jon Williams
    -- Parallax


    In a message dated 2/19/02 9:03:58 AM Central Standard Time,
    basicstamp@h... writes:


    > I have some problems using Basic Stamp 2 and DS1820 digital termometer, here
    > I send a schematic on how I connect the BS2 and the DS1820, and the code I'm
    > using to read temperature frm the DS1820, I think that the problem should be
    > in the code, but I don't find where it's the mistake.
    >




    [noparse][[/noparse]Non-text portions of this message have been removed]
Sign In or Register to comment.