Control application
From aquarium-doc
Jump to navigationJump to search
The main control application of Aquarium control implements the following features:
- Data acquisition of water temperature, pH and conductivity
- Data acquisition of ambient temperature and humidity
- Fresh water refill control
- Feed control
- Water temperature control using air ventilation and heater
- Calculation of refill tank content based on water level measurement
- Actuation of pump for water exchange
Additionally, the main control application implements the following supporting features:
- HW-Tests
- Text-To-Speech interface
- Logging
- Command interface to receive instructions from outside of the application
- Storage of recorded data in SQL database
- File-based communication to web application
- Monitoring and repair of relay board state
The control application makes extensive use of the pigpio library.
The architecture of the application uses various threads.
The application is automatic start by using systemd.