Measuring temperature with a PIC


Closed Thread
Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Jul 2011
    Posts
    35


    Did you find this post helpful? Yes | No

    Default Re: Measuring temperature with a PIC

    I would recommend the DS1820. There are many variations of this part, and any difference in the part number requires slightly different software, so watch that, but it's quick and fairly easy.

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


    Did you find this post helpful? Yes | No

    Default Re: Measuring temperature with a PIC

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

    Here is an article on using the DS18B20 sensor... you can find them on Ebay for around 10/$10 or so.
    Dwight
    These PIC's are like intricate puzzles just waiting for one to discover their secrets and MASTER their capabilities.

  3. #3
    Join Date
    Jan 2011
    Location
    Sydney, Australia
    Posts
    172


    Did you find this post helpful? Yes | No

    Default Re: Measuring temperature with a PIC

    I find the LM35DZ an excellent temperature sensor (Celcius) and only cost a couple of dollars here in Australia.

    http://au.element14.com/national-sem...-92/dp/9488200

    I have not interfaced one with a PIC but have played with them on an analogue system with no problems.

    Cheers
    Barry
    VK2XBP

  4. #4
    Join Date
    Apr 2007
    Location
    Pennsylvania, USA
    Posts
    158


    Did you find this post helpful? Yes | No

    Default Re: Measuring temperature with a PIC

    I like the LM34DZ (same as above but calibrated in Fahrenheit. Cost $2.00-$2.50 available from mouser. Easy to use with a PIC and there is plenty of code floating around the forums to use.

    http://www.mouser.com/ProductDetail/...eSEq67kjn80%3d
    Shawn

  5. #5
    Join Date
    Jul 2003
    Location
    USA - Arizona
    Posts
    156


    Did you find this post helpful? Yes | No

    Default Re: Measuring temperature with a PIC

    LM35 or LM34 - nice and easy; minimal math on PIC to translate voltage to temperature.

    DS18B20 - simple digital interface; almost no math at all on the PIC

    Either choice should suffice: LM3x if you want to use analog input into PIC's ADC, DS18xx if you want to use digital interface.

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