How to know if your coral is growing!
One of my biggest problems is impatience. My reef is in my living room and I see it for a couple hours each day. For this reason I never notice my coral growing, consequently I fiddle with things trying to get more growth, until I stumble across an old picture and I'm stunned to see how much things have changed. In order to track growth better I devised this little camera which takes pictures every day, I can then look back at the photos to see how things have changed.
Here is an example, this shot flips through 3 images that were taken 12 days apart. From the first to the last shot there is a 24 day gap:
Pretty cool eh? Really helps with my growth OCD.
You can do this as well, it's made with a Raspberry Pi and the Raspberry Pi Cam, the total cost of the project is around $100. The Raspberry Pi runs Linux, a free open-source operating system. These instructions are designed for someone that has some understanding of the Raspberry Pi and Linux already, but if you are patient and you are willing to google some of the steps I skipped over then this can be done by anybody.
First, the setup. I used a Raspberry Pi B+ to do this, you don't need more power than that, but if I were to do this again I would use the faster Raspberry Pi 2.
Keep in mind, this is kind of a junky camera if you are looking for nice pictures with perfect white balance you will need to use something much better. Many DSLR cameras can be setup with a time-lapse feature to take pictures every 24 hours, and you would need a setup like that for perfect shots.
Here is the Raspberry Pi I used, cost $50 - I would use the current model if I did this again though.
Here is the Camera I used, cost $35 - Once again, I would use the newest model
I also used a small WiFi dongle, cost $9
Once you have Noobs installed on your SD Card you need to enable the camera, it is one of the options in the initial setup, or you can run the raspi-config program if the Pi is already set up to enable it. I would set a static IP address on the Wireless network card, or create a dhcp reservation on your router so that you can remote connect to this device and get the pictures off without touching it (and risking moving it).
Now you can take a sample picture. If you still have a monitor plugged in simply typing:
raspistill -o test.jpg
Into a Terminal window will show what the camera is seeing for a couple seconds on the screen then save the image as "test.jpg" in whatever folder you are in currently. If you have the GUI loaded you could open it and look at the image, if you are using the command line then we will look at that picture in a bit.
Now, Move back to your Windows PC, you will need to download a couple of tools to connect to your Raspberry Pi without touching it.
First is Putty, this will allow you to SSH into your device to change configurations and do tests:
Next is Win SCP, this program allows you to do file transfer over SSH and will allow you to recover your images:
With these tools installed, test that you can connect using the static IP you set up earlier. If all is good then we can move onto the physical setup of the camera.
At first, I used a Cell Phone mount to attach the camera to the side of the tank, but I found that the suction cup failed over time and it kept falling off. After a little while, I made an acrylic mount which bolts to the hood. This is much better.
Now that the device is all in place power it up, and connect through Putty. I am assuming that you no longer have a monitor connected. From this point on this device will be controlled remotely. From your home folder once again run this command in the putty terminal window:
raspistill -o test2.jpg
Now connect using WinSCP and navigate to your home folder if necessary. Copy the picture to your desktop and open it up. This will show you what kind of changes are necessary.
Camera Adjustments
Setting the Pi up to take pictures automatically
What to do with the pictures once you have them
There are plenty of online GIF creators, just Google "Online GIF creator" and you will get a ton to choose from, but they are usually limited in picture quality, so I typically use Photoshop to to this. Though I post the "internet" quality image, I use the high res one to zoom in and inspect how things are progressing.
This is how to create a GIF in Photoshop CS6, but I have done the same thing in CS4