Over the past couple of years, I have been getting into Arduino’s as a hobby. It is a programmable chipboard platform that can be programmed to carry tasks. For some time I have wanted to combine my computer hardware/server hobby and integrating Arduinos into it. Here is a project that I have been working on for some time. I am using an Arduino Uno as a web-based temperature monitor to oversee the temperatures behind my server rack and display them. I am going to try to keep this post short and simple.
During the beginning stages of this project of seeing what works. I found a couple of guides online on how to read temperatures from a DHT11 sensor and display them onto an i2c 2×16 LCD panel. I was able to complete this in no time because I had the exact components in an Arduino kit.
Next part of the project I ordered an ethernet shield W5100. I then used one of the Arduino IDE example sketches to display my temperature readings to a webpage.
After getting to this stage of the project. I now realized that all of this was possible, I went ahead and ordered 5x ds18b20 sensors and as well 4.7k ohm resistors. I went with ds18b20 over the DHT110 sensors due to their size and for being cheaper.
Above is a mock-up of shows how I proceeded going forward with the wires, red 5v, black ground, yellow pin 3 and bridged with a 4.7k ohm resistor to 5v. They are now all soldered and taped up.
After confirming all the sensors are working properly by just having them print out to serial. I went ahead and plugged in the network shield and with some minor adjustments to the web server sketch in Arduino IDE. I now have all the sensors reading out to a webpage that is running off independently off the Arduino Uno board.
Be forewarned that I am not an actual programmer, I took a semester of it in school, and here is the end result of a sketch that I cobbled together. ( sketch )
The monitor now lives in the server rack inside a foam board box waiting for stage 2, in which, is already on the drawing board.