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