Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Digital Thermometer DS18B20

Status
Not open for further replies.

sanjubluerock3

Full Member level 3
Full Member level 3
Joined
Sep 29, 2008
Messages
174
Helped
21
Reputation
42
Reaction score
18
Trophy points
1,298
Location
Bengaluru, India
Activity points
2,080
hii i am sharing DIY digital thermometer using ds18b20 and pic16f877a (16x2) thanks to mvs sarma who helped me to complete the project .



Enjoy.....
 

Attachments

  • digi thermometer finished.zip
    309.4 KB · Views: 154

Hi Sanjubluerocks3 ....

One small question......are you did the code with CRC mentioned in the datasheet of DS18B20...

with regards,

Milind
 

For such small board CRC is not necessary. Even reading and matching the serial number of the sensor is irrelevant because there is only one sensor. so the procedure for thermometer should be:

1. Skip ROM
2. Initiate temperature reading
3. Read Scratchpad
4. Do some math, depending on resolution that you are using
5. Show the temperature on the LCD
6. GoTo 1.

This is achievable with much smaller PIC, eg. 16F688.

(smaller by pin count, has internal osc, ...)
 

Yaa got that but I was looking for CRC implementation in PIC ....so i asked that question.....thanks for reply
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top