Jump to content

I have a water cooling system that cools most of my servers on my rack


G+_610GARAGE
 Share

Recommended Posts

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.

IMG_2317252B.jpgIMG_2319252B.jpgComputerTemps.png
Link to comment
Share on other sites

 Share

×
×
  • Create New...