I know we're getting way off-track here but I do love the one-wire solutions
I bought my temp sensors from Brewershardware.com. He mounts the DS18B20s in a SS thermoprobe and glues them up. I just wired them into my bus with a 4.7K resistor bridging the I/O line and the 5v feed from the controller. This allows the DS18s to draw current from the board.
Each DS18 has a unique address (which you can poll through code to get)
The pseudo code is something like this
Assign one-wire interface to I/O pin
send Reset command
send DS18 ROM address to I/O
Tell DS18 to get Temp
send Reset Command
send DS18 ROM address to I/O
read scratchpad from ROM
That's it. Each time you send a command you basically send a reset, then the Rom address, then the command you want that particular chip to perform.
if you only have one temp sensor on the IO then you send a generic (I think it's xFF) to the bus then the command and the sensor respond. I believe that doing that with multiples on the same IO causes a collision on the line.
There is TONS of code out there for the one-wire temp sensors. Really easy to wrap your head around once you start playing with it.
I have 5 temp sensors in my Rig right now running off of two I/Os.
The first one is the HLT which has a sensor in the tank through the sight glass 'T' and one in the RIMS. The RIMS sensor controls the RIMS PID and the tank is just for display.
That same principal runs on the I/O for the MLT except the third sensor is for the Boil kettle for monitoring.