Shop OBEX P1 Docs P2 Docs Learn Events
DS1994 iButton RTC — Parallax Forums

DS1994 iButton RTC

johnny_bjohnny_b Posts: 28
edited 2005-05-06 15:42 in BASIC Stamp
Hi,
Does anyone have a code for tranlating hh/min/sec time from a Dallas 1994 iButton?
Just want to have an RTC addition to the project (BS2p40 with serial LCD), and I have
some iButtons on the shelf...

thanx, johnny

Comments

  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2005-05-06 15:05
    johnny_b,

    ·· I know you're looking for iButton code, but in case you happen to have another Dallas part (DS1302) there is code for that in the projects forum.· This is just in case you don't find anything else.· I haven't seen much iButton code floating around here lately.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
  • Jon WilliamsJon Williams Posts: 6,491
    edited 2005-05-06 15:27
    There are few iButtons of interest, and most of them are tricky to deal with. That said, have a look at our BS2p Plus Pack code for some examples of 1-Wire commnads; perhaps they will help you get going with the DS1994.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
    Dallas, TX· USA
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2005-05-06 15:40
    johnny_b,

    ·· A little searching for you by Tech Support on our web site reveals a book we have available as a free download, called, "BASIC Stamp 2p, Commands, Features and Projects."· This book is available as a free download in PDF format, as well as code examples for the exact device you specified (Page 172).· A link is posted below for your convenience.

    http://www.parallax.com/detail.asp?product_id=70001



    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
  • Jon WilliamsJon Williams Posts: 6,491
    edited 2005-05-06 15:42
    Good catch, Chris -- I didn't know we had that books as a PDF!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
    Dallas, TX· USA
Sign In or Register to comment.