Shop OBEX P1 Docs P2 Docs Learn Events
DS1821 Codefor BS2 — Parallax Forums

DS1821 Codefor BS2

ArchiverArchiver Posts: 46,084
edited 2002-04-27 07:00 in General Discussion
Trying to interface a DS1821 temp sensor to a BS2. The DS1821 is a 1-wire
device. I don't need to use parasite power, so code to just read and
write to the device would be fine.

If you know of any posted sources of code or have any you'd like to share,
I'd appreciate it.

Thanks, Pete.
________________________________________________________
Peter W. Houlihan, (413) 538-3091, phouliha@m...
Mellon Postdoctoral Fellow, Center for Environmental Literacy
Mount Holyoke College, South Hadley, MA 01075

Visit our website at:
http://www.mtholyoke.edu/proj/cel/index.html
________________________________________________________

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2002-04-27 07:00
    You can't use a 1-Wire device with the BS2 without some kind of interface
    chip. The BS2p has built-in 1-Wire commands that make interfacing the DS1821
    (and other parts) very easy.

    -- Jon Williams
    -- Parallas


    In a message dated 4/26/02 10:06:07 PM Central Daylight Time,
    phouliha@m... writes:


    > Trying to interface a DS1821 temp sensor to a BS2. The DS1821 is a 1-wire
    > device. I don't need to use parasite power, so code to just read and
    > write to the device would be fine.
    >
    > If you know of any posted sources of code or have any you'd like to share,
    > I'd appreciate it.
    >




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