Using DS18S20 vs DS1820 with 4x7 LED Displays


Closed Thread
Results 1 to 15 of 15

Hybrid View

  1. #1
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185

    Default Using DS18S20 vs DS1820 with 4x7 LED Displays

    Hi there,

    Since DS1820 temp chips are replaced by DS18S20, we get a slower convertion time.
    500ms vs. 750ms.

    When using 18S20 (or 18B20), I get a blank on LED display while the convertion is in progress while I get no blank display using 1820.

    Any idea how to overcome this issue?
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

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


    Did you find this post helpful? Yes | No

    Default

    Been awhile, but if I remember correctly, you can send a "Start Conversion", then just check the busy flag on each loop. When it's done, goto a subroutine to get the result.

    Most examples that I've seen just sit in a WHILE/WEND or similar loop waiting for the busy flag without doing anything else. 3/4 of a second is a long time.
    <br>
    DT

  3. #3
    Join Date
    Jun 2005
    Location
    Wisconsin
    Posts
    382


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Darrel Taylor
    Been awhile, but if I remember correctly, you can send a "Start Conversion", then just check the busy flag on each loop. When it's done, goto a subroutine to get the result.

    Most examples that I've seen just sit in a WHILE/WEND or similar loop waiting for the busy flag without doing anything else. 3/4 of a second is a long time.
    <br>
    I use a timer to send the start conversion every second. Then I check the flag via a loop, based on the flags status I either retrieve the info and update my display or continue on with other things. While/Wend wastes too much time for me.

  4. #4
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Default

    Thanks for the info DT.

    Let me work on that bit.
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

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


    Did you find this post helpful? Yes | No

    Default

    sayzer,

    Are you using Bruce's code with the SLED4C, or independant 4 digit seven segment displays.

    I was just thinking that if it's the SLED4C, it might be a different problem. Don't know what, but it wouldn't blank no matter how long it took for the conversion.

    Just curious.
    <br>
    DT

  6. #6
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Darrel Taylor
    ...Are you using Bruce's code with the SLED4C, or independant 4 digit seven segment displays...

    Thanks DT.

    I am using Bruce's code with independent 4-digit Seven segment displays (two displays; 8 digit).
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

Similar Threads

  1. Conway's Game Of Life
    By wellyboot in forum mel PIC BASIC Pro
    Replies: 45
    Last Post: - 28th May 2020, 06:14
  2. Free Project - 245 LED Display
    By T.Jackson in forum Code Examples
    Replies: 221
    Last Post: - 16th August 2009, 04:59
  3. new and need help
    By smeghead in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 3rd November 2008, 20:19
  4. DS18S20 displays wrong temperatures
    By Shozo Kanamori in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 6th August 2007, 03:18
  5. LCD will not start
    By btaylor in forum mel PIC BASIC Pro
    Replies: 49
    Last Post: - 24th May 2007, 02:30

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