Dallas IButton 1990 Presence pulse


Closed Thread
Results 1 to 5 of 5
  1. #1
    Join Date
    Jul 2003
    Location
    Lancashire
    Posts
    50

    Default Dallas IButton 1990 Presence pulse

    Hi All

    Has anyone worked out how to retrieve the presence pulse for an IButton (or any other simple method) to determine if a iButton is actually there before you try to grab any other info from it?.

    Cheers Pete

  2. #2
    Join Date
    May 2008
    Location
    Florida
    Posts
    64


    Did you find this post helpful? Yes | No

    Default

    Take a look at this.

    http://datasheets.maxim-ic.com/en/ds/DS1921G.pdf


    Presence detector acknowledges when reader first applies voltage.

  3. #3
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    I'm not sure why this isn't in the manual. Maybe they just forgot it was there.

    You can have an optional Label after the OneWire commands.
    If the Presence pulse isn't received after the reset, it will jump to that label.

    This line will simply detect presence or not without trying to send data.
    Code:
    OWOUT DQ, 1, [], NotThere  ; Detect if OW device is present
     ... 
    NotThere:
    ADDED: Or, since you are using a ROM only device, you can do the same thing with OWIN. Saves a little code space.
    <br>
    Last edited by Darrel Taylor; - 14th August 2008 at 01:42. Reason: added:
    DT

  4. #4
    Join Date
    May 2008
    Location
    Florida
    Posts
    64


    Did you find this post helpful? Yes | No

    Default Also

    Found this very helpful. even has code.

    http://www.maxim-ic.com/appnotes.cfm/appnote_number/159

  5. #5
    Join Date
    Jul 2003
    Location
    Lancashire
    Posts
    50


    Did you find this post helpful? Yes | No

    Default Thanks

    Hi All

    Thanks, the data sheet is useful and thanks also for the code Darrel. The data on the command is a little sparce, I could see that you could force a reset but couldnt find any way to trap it with a timeout.

    Cheers Pete

Similar Threads

  1. Pulse Capture and byte building
    By boroko in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 21st July 2009, 01:59
  2. dallas ibutton to pics
    By CBUK in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 25th October 2006, 12:55
  3. ds 1990/ ibutton help
    By roket in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 9th July 2005, 02:23
  4. ibutton ds1990 dallas
    By davleo in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 18th May 2005, 18:51
  5. Dallas DS1994 iButton CLOCK
    By NavMicroSystems in forum Code Examples
    Replies: 0
    Last Post: - 29th September 2004, 22:19

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts