This is a project I started a few months ago, but never finished. I got distracted by the Raspberry Pi . Even though it is unfinished maybe someone could get some value out of the current state of the project.
The idea was to create a controller for an aquarium, to measure temperature, measure water level and to turn pumps, heaters and lights on/off based on measurements and times. And, to have a web enabled interface to the controller.
In it’s current state the controller works with DS18B20 temperature sensors and displays the temperature on a webpage. The web server runs on the arduino and uses a combination of generated html and static html stored on an SD card in the ethernet shield.
Scroll down to the bottom of this post to find the download link for the project.
- Arduino Mega2560
- Arduino Ethernet Shield
- DS18B20 temperature sensors
I also have the following hardware, but never got around to adding to the project:
- DS1307 Real Time Clock
- Relay modules
And here are a few screenshots of the program running on the arduino with 5 temperature sensors. The temperature sensors all connect to the same pin, and the ‘Scan’ button scans for probes and sets their resolution. The ‘Temperature’ button then reports the temperature for each of the probes.
And this page shows that other dynamic data can also be added. In this case it shows the current values of the Analog input pins.
To build this project you will need the Arduino Mega2560 (an Uno might work, have not tested that), Ethernet Shield, MicroSD card, one or more DS18B20 temperature sensors and a 5K resistor.
You can download the Arduino project here:
- Download: Arduino Web Enabled Aquarium Controller - 4.76 kB
Also included in the download is the stylesheet. On your SD card (which goes into your Ethernet Shield), create a www directory and place the style.css file in there.
This project started out on the Marine Aquarium South Africa (MASA) forums, you might be able to pick up some more information in the thread over there: http://www.marineaquariumsa.com/showthread.php?t=32489