Thank you for the help thus far. I managed to purchase the
DS18B20 from digikey. However, I am still a bit confused and require a bit of help.
So far the connections I have are as follows:
**broken link removed**
According to the
data sheet (Page 6/22), DQ has a 4.7K resistor connected to a 5V source, which feeds into DQ. Is this correct?
Here is a diagram of the PIC18F4550 I am using:
**broken link removed**
I've read that this uses a 1 wire bus, and as Pommie pointed out requires routine for the ROM in order to allow for more than one sensor on a single line. I have purchased two sensors, but, for now, I am only going to be using one of the sensors.
____________
Basically, the questions I have are as follows:
1. Are the connections correct (DQ, GND, VDD)?
2. Which pin should DQ go into on the microcontroller (What am I going to be using)?
3. What programming is involved to interface with the sensor (using MPLab and C18 for C programming)?
As always, thank you for your assistance.