DS18B20 Question


Closed Thread
Results 1 to 7 of 7

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default Re: DS18B20 Question

    Sorry - I should have added that I am using 9 bit resolution . Things work fine using 12 bit.

    I use 9 bit since the conversion time is 93.75 ms, compared to 750 ms for 12 bit. At least, that is according to the data sheet that I have for the DS18B20. I do not want the program waiting 750 ms to convert.

    I guess it will be best just to close this thread. I will come up with some kind of work-around.

    Ken

  2. #2


    Did you find this post helpful? Yes | No

    Default Re: DS18B20 Question

    Problem Solved - -
    The problem was in my code - - As I mentioned, I have the DS18B20 configured for 9 bit resolution.

    In my code, I sent the command $CC, $44 to do the Temperature conversion, AND THEN sent the 9 Bit configuration command.

    By placing the Configuration command BEFORE the temperature conversion command, it works just fine.

    Ken

Similar Threads

  1. ds18b20 code
    By leemarrow in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 3rd March 2016, 15:14
  2. Quick DS18B20 question
    By gti_uk in forum General
    Replies: 4
    Last Post: - 21st June 2009, 17:24
  3. Ds18b20
    By ahmed_salah in forum mel PIC BASIC Pro
    Replies: 24
    Last Post: - 14th June 2009, 15:21
  4. Ds18b20..
    By karenhornby in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 18th June 2008, 16:29
  5. using the DS18B20
    By lerameur in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 22nd December 2006, 13:09

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