Help with 18b20 Stuck with busy bit


Closed Thread
Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Oct 2009
    Location
    Utah, USA
    Posts
    427


    Did you find this post helpful? Yes | No

    Default Re: Help with 18b20 Stuck with busy bit

    you might take a look at this example... (located in the wiki section under projects/temperature)

    http://www.picbasic.co.uk/forum/cont...r-nine-of-them

    you can also search on "ds18b20" for other examples.
    I would suggest you go through your code and add lots of comments to help you trouble shoot and for others to follow what you are trying to do.
    Dwight
    These PIC's are like intricate puzzles just waiting for one to discover their secrets and MASTER their capabilities.

  2. #2
    Join Date
    Apr 2012
    Location
    Ptolemaida
    Posts
    50


    Did you find this post helpful? Yes | No

    Default Re: Help with 18b20 Stuck with busy bit

    Ty Heckler for the reply, but the link that you gave me my friend doesn't work. Stuck in loading... I deleted comments for posting on site i have done them properly :P :P

    My problem is the presence pulse, i can't understand how it works even i have read the datasheet hundrend of times.

    I do low for initialise, i do get a low and going for the converting procedure. But i never get the busy bit back, even i did it with 2 diffrent ways.

    I suspect that the problem is the presence pulse but i dont know how to check it and that's why i came with a post (i also have read a couple of other threads but still no luck) .

  3. #3
    Join Date
    Dec 2008
    Location
    Ploiesti, ROMANIA
    Posts
    582


    Did you find this post helpful? Yes | No

    Default Re: Help with 18b20 Stuck with busy bit

    Take a look here, for a verry good example : http://www.rentron.com/PicBasic/one-wire3.htm

  4. #4
    Join Date
    Apr 2012
    Location
    Ptolemaida
    Posts
    50


    Did you find this post helpful? Yes | No

    Default Re: Help with 18b20 Stuck with busy bit

    I think i found out the problem.... I haven't disabled the A/D inputs nor the Comparators and OPTION_REG . I'll try it out when i have time and ill let you know !!!

Similar Threads

  1. Bit order for HSEROUT[A]
    By BrianT in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 2nd October 2012, 04:47
  2. ds 18b20 circuit.
    By johnyp in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 6th March 2010, 18:40
  3. 18B20 temperature sensor and PIC
    By boban in forum Schematics
    Replies: 2
    Last Post: - 4th June 2007, 14:51
  4. BUSY line technique
    By Demon in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 3rd December 2005, 13:33

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