Temperature Sensor Design using DS18B20. Need Help!

Status
Not open for further replies.

Jellie7r

New Member
i have to design a temperature sensor using DS18B20 and PIC 18F452.
DS18B20 is a temperature sensor that outputs in digital bits. how do i recognize the bits through the PIC and output it to the PC using RS232 serial port. I am new at this and not sure how the programming works...really need help!! i have a rough ciruit layout already but am stuck there.

Appreciate it. Thanks.
 
I have used DS18B20 recently, and is easy to interface and has nice accuracy.
It is using Dallas 1wire bus, where bits are recognized by the High/Low ratio.
It's a slow, half-duplex serial open collector bus, so only 1 pin of 452 will be used (particulary RA4 -open collector pin).
As for programing, everything is included in DS1820 datasheet, it shouldn't be a problem for writting a small program...
 

Didn't you start this thread in another discussion?
Post your schematic in order to get the best feedback.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…