Quick DS18B20 question


Closed Thread
Results 1 to 5 of 5

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default

    Looks like you started out with a DS1820 example, since the DS18B20 doesn't have COUNT_REMAIN and COUNT_PER_C registers.

    To answer your original question, yes it does normally default to 12-bit.
    However, any resolution can be stored in non-volitile memory, in which case it will power-up at that reolution instead.

    But with any resolution, the calculation is the same ( * 625, DIV32 10).

    Bruce's page I pointed to previously covers that, and more.

    Hope it works out for you.
    <br>
    DT

  2. #2
    Join Date
    May 2009
    Posts
    9


    Did you find this post helpful? Yes | No

    Default

    Thanks Darrel for the help, its much appreciated. Im trying to get used to reading the datasheets to understand how to communicate with the devices but as you can see not reading them so well at the moment.
    I did try to read the datasheet for the (real time Ic) DS1302 last night but well that just confused me, i think i need the picture book version for ages 1 to 5

    ill have a good read of that link you gave me.


    Trev

Similar Threads

  1. Please help with code for DS18B20
    By fratello in forum mel PIC BASIC Pro
    Replies: 109
    Last Post: - 28th April 2013, 21:12
  2. Quick USB CRC5 question
    By Michael Wakileh in forum USB
    Replies: 2
    Last Post: - 12th June 2009, 04:23
  3. PIC16F84A - Quick question
    By samuelbarber in forum mel PIC BASIC
    Replies: 1
    Last Post: - 29th June 2005, 14:32
  4. Interrupt Quick Question
    By shawn in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 25th January 2005, 05:51
  5. quick question
    By Srigopal007 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 2nd December 2004, 01:45

Members who have read this thread : 0

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