Simulating a DS18B20


Closed Thread
Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    At first glance it appeared as though you thought those were analog sensors, I see what you are trying to do. Here is a link to the datasheet. I believe you need to set up a pic to measure using A/D converters and output binary (serial) like
    DS18B20 does. Sounds like a school project. You might even swap the pots for thermisters and really emulate a DS18B20.


    http://www.maxim-ic.com/getds.cfm?qv_pk=2812
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  2. #2


    Did you find this post helpful? Yes | No

    Default

    I never thought these were analog sensors. I use them specifically because they are digital. I however require for testing and troubleshooting purposes to be able to adjust the temperatures of each of the sensors so I can debug my code a lot easier. Trying to control the temperature of 5 sensors at the same time is way to difficult.

  3. #3
    Join Date
    Oct 2005
    Location
    Pinckney, Michigan
    Posts
    91


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by CocaColaKid View Post
    Trying to control the temperature of 5 sensors at the same time is way to difficult.
    Wire up five DS18B20 sensors in close proximity (you can plug all of them into the same row on a breadboard), and blow on them with either a blowdryer or freeze mist.

    Couldn't be simpler.

  4. #4


    Did you find this post helpful? Yes | No

    Default

    That would be much simpler but would not help or as we need to have different temperatures on each of the sensors to test particular functions.

Similar Threads

  1. Please help with code for DS18B20
    By fratello in forum mel PIC BASIC Pro
    Replies: 109
    Last Post: - 28th April 2013, 21:12
  2. Help with DS18B20 program
    By presario1425 in forum mel PIC BASIC Pro
    Replies: 38
    Last Post: - 22nd August 2012, 00:50
  3. Ds18b20 + 16f628a
    By Max Power in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 16th July 2009, 11:29
  4. DS18B20 interfers with Timer 2 interrupts
    By John_Mac in forum General
    Replies: 7
    Last Post: - 23rd February 2009, 23:52
  5. DS18B20 error reading
    By Gaetano in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 29th August 2007, 16:21

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