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.
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.
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.
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
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
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.
Bookmarks