Chapter 3. Aquarium Monitor

In this chapter, we'll see how to realize an aquarium monitor where we'll be able to record all the environment data and then control the life of our loved fish from a web panel.

By using specific sensors, you'll learn how to monitor your aquarium with the possibility to set alarms, log the aquarium data (water temperature), and to perform actions such as cooling the water and feeding the fish.

Simply speaking, we're going to implement a simple aquarium web monitor with a real-time live video, some alarms in case of malfunctioning, and a simple temperature data logging that allows us to monitor the system from a standard PC as well as from a smartphone or tablet, without using any specifying mobile app, but just using the on-board standard browser only.

The basics of functioning

This aquarium monitor is a good (even if very simple) example about how a web monitoring system should be implemented, giving to the reader some basic ideas about how a mid-complex system works and how we can interact with it in order to modify some system settings, displaying some alarms in case of malfunctioning, and plotting a data logging on a PC, smartphone, or tablet.

Despite these aspects, the basic functioning of this project is similar to what we've already done in previous chapters: we have a periodic task that collects the data and then decides what to do. However, this time, we have a user interface (the web panel) to manage, and a video streaming to be redirected into a web page.

Note also that in this project, we need an additional power supply in order to power and manage 12V devices (such as a water pump, a lamp, and a cooler) with the BeagleBone Black, which is powered at 5V instead.

Note

Note that I'm not going to test this prototype on a real aquarium (since I don't have one), but by using a normal tea cup filled with water! So you should consider this project for educational purpose only, even if, with some enhancements, it could be used on a real aquarium too!

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.216.83.240