Connect with us

Q: DS18S20 + Pic

Discussion in 'Electronic Basics' started by Chris, Aug 7, 2004.

Scroll to continue with content
  1. Chris

    Chris Guest

    I have a DS18S20 connected to a pic, readings fluctuae on every read ie,
    25.01 ,.10, .20, .06 etc, should the reading be stable? is there a way
    to stabalise them? i also get the same reactions when reading values
    from the ad ports ie 24,26,23,27 steps it doesn't stay too stable even
    though the value via a dmm is....

    Thanks for any advice
     
  2. Bob Masta

    Bob Masta Guest

    Without knowing anything about your particular system,
    I will point out that DMMs are relatively insensitive to
    interference and noise that is synchronous with the
    power mains, since they average over an integral number
    of powerline cycles. Your A/D may be reading mains
    hum at 60 Hz, but asynchronously so that it doesn't hit
    the same phase each time. If you can adjust the timing
    of your A/D readings to be nearly an integer multiple of the
    60 Hz period, see if the variation in readings slows way
    down or stops as you get in phase with the line.

    Hope this helps!



    Bob Masta
    dqatechATdaqartaDOTcom

    D A Q A R T A
    Data AcQuisition And Real-Time Analysis
    www.daqarta.com
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-