G+_610GARAGE Posted January 30, 2015 Share Posted January 30, 2015 I have a water cooling system that cools most of my servers on my rack. The watercooling system is quite involved, which includes a radiator in the basement. When I built the cooling system, I installed temperature sensors and flow sensors. I have been meaning to build a monitoring system so that I can check the water temperature from an internal website. Today, I got it partly working and am so excited that I wanted to share it with you guys. The temperature probes are DS18b20 that communicate over 1-wire. I terminated these probes with a standard headphone jack. This allowed me to use a headphone splitter to connect all of the sensors together. This is one big benefits of 1-wire, the devices can be daisy chained. To read the sensors, I am using a beagle board. I chose this board because I would need the i/o pins for the flow sensors and it can run a linux os that had 1-wire support. I am running a program that I wrote in c++ that reads the device file generated by the built in 1-wire driver, gets the probe id and temperature, then sends it out using zeromq. The zeromq server is setup in a pub/sub configuration. Then I have a virtual server that is running another program that I wrote in c++. This programs grabs the stream from the beagleboard and converts the probe id to a name if one is provided in a config file. Then it converts the celsius temperature into fahrenheit and ships out the new data using another zeromq pub/sub server. Then a php script; executed every 2 seconds by some javascript, grabs the stream from the server, and sends it to some javascript, which prints it out onto the webpage. The code needs to be cleaned up (as I just threw it together over 2 weeks) and flow sensors need to be incorporated. Also a rackmount case needs to be made to house the beagleboard. But for right now, I can monitor my water temperature from any computer or phone that is in my intranet. PS. Sorry for the super long post. Link to comment Share on other sites More sharing options...
G+_Taylor Graham Posted January 30, 2015 Share Posted January 30, 2015 +1 just for deciding to use headphone jacks for 1 wire sensors. I'm totally to copy that, its the perfect connector! Link to comment Share on other sites More sharing options...
G+_Travis Hershberger Posted February 1, 2015 Share Posted February 1, 2015 Water cooled server rack? I think you just out-geeked everyone else here! Nice setup! Link to comment Share on other sites More sharing options...
G+_610GARAGE Posted February 1, 2015 Author Share Posted February 1, 2015 Travis Hershberger Wow, thats a difficult thing to achieve. Thanks. Link to comment Share on other sites More sharing options...
G+_Stede Bonnett Posted February 3, 2015 Share Posted February 3, 2015 Agree with Taylor Graham , I've generally been using 3-pin mini molex (like PC fan connectors) for DS18B20's. For running them out in the open and around gear 1/8" (or even 1/4") TRS makes loads of sense. Link to comment Share on other sites More sharing options...
Recommended Posts