[TABLE][TR][TD][PP][B]Tutorial: Connecting DS18B20 Temperature Sensors to the 633[/B]
[HR][PP][I][B]Disclaimer: This is a fun project meant only to show a possible way of putting some temperature sensors around a typical PC's case. I do not claim to be an expert at "extreme cooling" and this is not meant to show the optimal way to cool a PC.
Use this tutorial at your own risk. If you let the magic blue smoke out of your PC, 633, DS18B20 or any thing else, that is your responsibility.
These modifications will probably "void your warranty" on a bunch of parts involved.[/B][/I]
The guys over in accounting needed another PC. Well, I had come across some of [URL=http://www.bigedtech.com/articles/147.php][COLOR=#22229c]these[/COLOR][/URL] for $35 and I had an [URL=http://www.sheller.com/ibmclassaction.htm][COLOR=#22229c]IBM 30G "deathstar"[/COLOR][/URL] laying there, so I decided to throw together a PC from scratch.
One of the first things I noticed is the apparent lack of any CPU temperature sensor:
My first thought was "Who cares? It is just for accounting." Then I remembered that I had just received a bag of Dallas Semiconductor [URL=http://dbserv.maxim-ic.com/quick_view2.cfm?qv_pk=2812][COLOR=#22229c]DS18B20[/COLOR][/URL] temperature sensors:
Of course I had a [URL=http://www.crystalfontz.com/products/633/index.html][COLOR=#22229c]633[/COLOR][/URL] and [URL=http://www.crystalfontz.com/products/633bracket/index.html][COLOR=#22229c]mounting bracket[/COLOR][/URL] handy, so I thought that it would be fun to put a few temperature sensors on this ugly beast.
Basically it has three terminals: +5v, Ground, and a bi-directional data pin. You can connect up to 32 of these to a 633 by just stringing all the similar signals together on a "multi-drop" bus:
It probably is not a bad solution, since there will not be very much heat transferred between the sensor and the object it is sensing (because the sensor has a relatively low thermal mass) and since the layer of cured glue should be very thin, the overall thermal resistance of the joint should not be too great. If you are queasy about gluing something to your processor, this is probably not the project for you. Put a small drop of cyanoacrylate adhesive on the sensor and stick that baby smack dab in the middle of the processor:
Now it is time to connect the next sensor in the string. The larger wire I use here is 24 gauge. 26 gauge would certainly be fine and be less bulky. Start by twisting the wires:
It is fairly important to twist the wires. first off, it makes them look nicer, and second off it can reduce the interference picked up on the data line from the electrically noisy PC environment. One last test-fit on the motherboard, looks OK:
On the power supply. This was supposed to measure the temperature of the air going into the power supply, but I mounted it to the case of the power supply, and I think the case is heated by the big heatsinks inside the power supply, so it is really more of a "power supply case temp" sensor:
Then all that is left is to connect the string to the 633. You really do not want to use a "fan" connector for this, (no matter how tempting) because if you put the 12v intended for a fan onto your sensor string, you will probably toast all of your sensors.
It has a COM2 on the [U]inside[/U] of the case. Alas, the Micron BIOS does not allow it to be enabled. I later found a BIOS that turns COM2 on, but now accounting will not let me at the machine. Ungrateful louts.
Because the 633 is mounted in a drive bay, it may be too far from the fans. Luckily I had a few 3-pin extendor cables [URL=http://www.crystalfontz.com/products/cables/index.html#WRFANX01][COLOR=#22229c]http://www.crystalfontz.com/products....html#WRFANX01[/COLOR][/URL]
[/COLOR]Now all that is left is to wire up the 633 to power. This is simple, since you just use a standard floppy power connector. If you are out of floppy connectors you can get a [URL=http://www.crystalfontz.com/products/cables/index.html#WRPWRY12][COLOR=#22229c]3-Pin to 4-Pin Adapter[/COLOR][/URL]:
Well, this post covers some ideas of physically installing the temperature sensors. I plan to modify [URL=http://www.crystalfontz.com/products/633_WinTest/index.html][COLOR=#22229c]633_WinTest[/COLOR][/URL] to add temperature logging capability. When I do, I'll post the results [URL=http://www.crystalfontz.com/forum/showthread.php?threadid=560][COLOR=#22229c]here[/COLOR][/URL].
Next up is to identify how the sensors correspond to the sensor numbers used by the 633. Basically you need to hook up the 633 and 633_Wintest and have it display & update all the temperatures. Then heat (or cool) each sensor and record which temperature changes on-screen. From there you can make a table that says sensor 3 is the CPU and sensor 4 is the incoming air and so on. This will never change as long as you are using the same sensor string, but you do need to manually associate the physical sensors with the sensor numbers in the 633.
Once it was all hooked up, it did not look so bad (well, considering that it was a pretty ugly case to start with). The Micron Spitfire case has a door that covers all but the top drive bay, so I put the 633 in the top bay where it is always exposed, and then the rest of the drives are covered by the door. I used 633_WinTest to set up the 633 to continuously monitor and display the two fans along with the processor temperature sensor and one other sensor: