Story
Aqua Mitra – Smart Aquarium Companion
Project Walkthrough -
Please watch this tutorial to understand the complete project:
About the Project
Aqua Mitra is a smart aquarium companion built using the CrowPanel 2.8” ESP32 HMI Display and SquareLine Studio. It provides an interactive touchscreen dashboard to monitor, manage, and automate essential aquarium operations.
The system integrates:
-
DS18B20 Temperature Sensor for real-time temperature monitoring
-
SG90 Servo Motor for automated fish feeding
-
Relay Modules for controlling aquarium lighting and water pump
-
Interactive UI designed using SquareLine Studio
This project focuses on combining embedded systems, UI design, and automation to maintain a stable aquatic environment and simplify fish care.
Aquarium Overview

This aquarium contains:
-
20 fishes
-
8 varieties:
-
Goldfish
-
Red Cap Goldfish
-
Tin Foil Barb
-
Neon Tetra
-
Rainbow Shark
-
Koi Carp
-
Angel Fish
-
Gourami
-
System Features

1️⃣ Fish Information Mode
-
View total number of fishes
-
Browse individual fish types
-
Learn general trivia:
-
Origin
-
Ideal temperature range
-
Required pH level
-
This helps in maintaining proper environmental conditions and improving fish health.


2️⃣ Feed Fish Mode
-
Manual feeding control via touchscreen
-
SG90 servo rotates to dispense food
-
Connected to GPIO 25

3️⃣ Tank Status Mode
-
Real-time temperature monitoring
-
Displays live tank conditions
-
Uses DS18B20 sensor connected to GPIO 23
-
Helps maintain stable water temperature to prevent fish stress

4️⃣ Control Panel Mode
-
Control aquarium lighting
-
Control water pump
-
Relay-based switching system

Technical Section

Referred This Playlist To Understand and implement.
Learning References -


The Main lectures and Lesson 8 and Lesson 9 in Which It is thoroughly explained how to connect a servo motor and a temperature sensor.
CrowPanel 2.8" ESP32 HMI Display

-
Resolution: 480 × 320
-
MCU Speed: 150–250 MHz
-
Flash: ≤ 4MB
⚙️ Components Used
SG90 Servo Motor

Connection:
-
VCC → 5V
-
GND → GND
-
Signal → GPIO 25
DS18B20 Temperature Sensor

Connection:
-
VCC → 3.3V
-
GND → GND
-
Data → GPIO 32
-
4.2kΩ pull-up resistor between VCC and Data pin
Relay Modules
-
Used for light and water pump control
-
Controlled through ESP32 GPIO pins
Wiring Overview
Servo Motor (SG90)
-
Signal → GPIO 25
-
VCC → 5V
-
GND → GND
DS18B20
-
Data → GPIO 32
-
VCC → 3.3V
-
GND → GND
-
4.2kΩ resistor between Data and VCC
Future Improvements
Due to limited development time, the current focus was on UI and core functionality. However, future expansions may include:
-
Water Turbidity Sensor
-
TDS Sensor (Total Dissolved Solids)
-
IoT-based remote monitoring
-
Historical data logging
-
Mobile app integration


Programming
Arduino IDE

Note:
Please download the complete source code from the attached ZIP file in the repository assets.
SquareLine Studio UI

-
Entire UI built under 2MB storage
-
Optimized for embedded performance
-
Exported UI files integrated with Arduino
.inofile

Performance Parameters
| Parameter | Value | Category |
|---|---|---|
| Resolution | 480 × 320 | Easy |
| Flash Memory | ≤ 4MB | Hard |
| Average FPS | > 20 FPS | Hard |
| MCU Speed | 150–250 MHz | Average |
Difficulty Multiplier Overview
-
High FPS on limited flash storage
-
Efficient memory optimization
-
Real-time UI responsiveness
-
Hardware-software integration complexity

Display Datasheet

Why This Project Matters
Maintaining aquarium stability is critical for fish survival. Sudden temperature changes, improper pH levels, or irregular feeding schedules can cause stress and disease.
Aqua Mitra demonstrates how embedded systems, UI engineering, and automation can be combined to:
-
Improve fish safety
-
Reduce manual intervention
-
Increase reliability
-
Provide an intuitive user experience







