DS18B20, 16F88 problem


Results 1 to 12 of 12

Threaded View

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


    Did you find this post helpful? Yes | No

    Default

    Ben,

    Did you set the AN inputs to Digital?
    ANSEL = 0, or at least ANSEL.5 = 0 (RB6 = AN5)

    The way it is now, when temperature = 65535, you get 74degF. So it's reading the DS18B20 as all HIGH bits.

    And the conversion is direct to deg F, so you shouldn't have to divide by 100 before displaying to the LCD.

    <br>
    Last edited by Darrel Taylor; - 28th December 2005 at 10:24.
    DT

Similar Threads

  1. 16F627A to 16F88 conversion problem
    By PICpocket in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 18th February 2009, 20:20
  2. 16F88 ADC problem
    By greensasquatch in forum mel PIC BASIC Pro
    Replies: 19
    Last Post: - 7th September 2008, 17:16
  3. Problem with 16f88 steep motor control
    By ken_23 in forum Off Topic
    Replies: 0
    Last Post: - 4th July 2008, 13:25
  4. Another DS18B20 problem
    By ruijc in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 2nd February 2008, 20:18
  5. Problem with 16F88 controlling h-bridges
    By silentwol in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 7th March 2007, 05:16

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