Please help with 1-wire DS1820


Results 1 to 6 of 6

Threaded View

  1. #5
    Join Date
    Mar 2010
    Posts
    6


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Pic2008 View Post
    Did you try to include the following:

    DEFINE OSC 20 ' 20Mhz Osc
    When i'm not include DEFINE OSC 8 ( with xtal 8Mhz ) , test with blink LED is so fast .

    but when include ( the same xtal ) , the time between Led-On and Led-Off so long .

    Maybe define osc will slow down the speed of PIC ?

    I used 18F4680 . DS 1820 had an resistor pull-up .I have tried

    1-DS1820 work well with 10 Mhz xtal , config OSC_HS , not define osc 10
    2-but with the same xtal , config OSC_HSPLL , DS1820 didn't work . not define osc 10 OR define i got the same result .


    who can help me ?
    Last edited by hatuan291; - 9th March 2010 at 15:03.

Similar Threads

  1. Thermo 7 segments - little problem
    By fratello in forum mel PIC BASIC Pro
    Replies: 49
    Last Post: - 27th July 2013, 08:31
  2. RS485 bus - starting probem
    By wurm in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 27th January 2010, 14:35
  3. 32 bit square root
    By Charles Linquis in forum mel PIC BASIC Pro
    Replies: 20
    Last Post: - 6th May 2009, 04:37
  4. one line led light make image
    By bioul in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 13th February 2008, 13:19
  5. HSERIN doesn´t work
    By wurm in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 29th July 2007, 15:23

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