Fish Tank Monitor

Introduction

To maintain a healthy fish tank, key parameters such as temperature, dissolved oxygen, pH must be measured and monitored to keep the water in a balanced condition. These tasks are often neglected, resulting in the water deteriorating and even becoming unsafe for the fish. It is also important to correct any deviations as quickly as possible which can be challenging if the owners are away.

The LDSBus system, with its range of sensors and actuator devices, allows such monitoring and control systems to be created easily. Connect the sensors and output actuators to a host computer and create your own control software quickly and easily based on our examples and software libraries.

Challenges

Difficult to maintain safe conditions

Deviations in water temperature, pH, and dissolved oxygen can cause unsafe conditions for fish. Manual monitoring means the intervals between testing are often too long.

Concern for Fish welfare

Even with monitoring in place, water quality can deteriorate, causing fish to die if not corrected quickly, especially if the owners are not on-site.

Lack of commonality

Monitoring solutions often require individual instruments, operating in isolation from each other with their own connectivity and user interface.

Distance Limitations

Many sensing and automation solutions support only short cable lengths between sensors and user interface.

Limited expandability

Lack of support for adding sensors and control devices prevents the system being expanded in future.

Challenging software development

Developing software to monitor and control fish tanks from scratch can be time consuming and difficult.

Challenges

Maintaining optimal conditions in a fish tank can be difficult and time- consuming

Challenges

Maintaining optimal conditions in a fish tank can be difficult and time- consuming

Solutions

Using the LDSBus, developers and enthusiasts can provide monitoring and automation to a wide range of applications. In this example, we use the LDSBus to monitor some key parameters of the water in the fish tank. This helps to ensure that the water is at the optimal temperature for the fish and that the pH and Dissolved Oxygen are at safe levels. The LDSBus is connected to the host computer via the LDSBus USB Adapter. The host computer can be a Windows PC, Linux box, or Raspberry Pi. You can program your own application in Python or C# language using our Software Development Kit (SDK).

With the system shown, you can monitor the following parameters:

  • Water temperature via Thermocouple sensor adapter 
  • pH level via the pH sensor adapter 
  • Dissolved Oxygen level via the DO sensor adapter 

And you can also control devices

Control an air pump to maintain oxygen levels (Relay actuator)

Create your own application using our SDK to meet the needs of your specific application

  • Use our SDK in your application, with a wide range of examples provided to help you get started
  • Check which sensors and actuators are present on your bus 
  • Monitor the sensors to check the pH, Dissolved Oxygen and Water Temperature 
  • Carry out any processing of the data 
  • Display the data on your screen in real time and log the data for viewing at a later time 
  • If the Dissolved Oxygen levels are too low, turn on the air pump via the 2CH Relay/2CH Relay+iSENSE to restore the levels and turn off when the Dissolved Oxygen reaches the optimal level 
  • Compare the sensor readings against limits and display a warning message if they go beyond these limits 

Advantages

Continuous monitoring of the water

Continuous monitoring of Water Temperature, Dissolved Oxygen and pH levels ensure that the fish are safe and happy. Avoid the need to do manual samples at regular intervals. You can develop code to display the data in real time as well as logging it for long-term monitoring.

Maintain a healthy environment for your fish

Program automatic responses to activate devices to maintain the conditions even when you are not there. For example, the LDSBus Relay can activate the air pump when required without it running all of the time.

Integrated system

All sensors and actuators use the same connection and protocol, allowing them to work together on the same bus. Avoid the need to have separate monitoring systems for different parameters which are connected separately. Develop just one piece of software to monitor and control all your LDSbus devices.

Monitor the tank remotely

The host computer can also be some distance from the fish tank, as the LDSBus can run for distances up to 200m using convenient CAT5e/6 cabling with RJ45 connectors.

Extend your system

You can easily extend the system using additional Quad T-Junctions. Monitor other parameters such as water quality (via Oxygen Reduction Potential and Electrical Conductivity sensors) and Ambient Light levels (via 4in1 sensor). Control other devices such as heaters and lights via LDSBus Relay and LDSBus Dimmer actuators.

Develop your own Application

Use our Software Development Kits (SDK) in Python or C# to develop your application. We have a wide range of examples included in the SDK showing you how to use the different sensors and actuators and providing a starting point for your own code.

Videos

Fish Tank Monitoring with our Long Distance Sensor Bus (LDSBus) devices