Intelligent fish tank
The fish tank is connected to the Internet through wifi to realize remote monitoring and control.
5
Components
Hardware components Software Apps and online servicesProject description

ST7789 (240 * 240) display and control backplane PCB


The plastic shell is handmade

3D model

QT TCP Server program

Display screen PCB 3D model



Display effect after installing plastic shell

Fish tank at home

Mind map of fish tank controller



Hardware connection diagram

Qt TCP server development interface

Using WizFi360-EVB-Pico--C and rp2040 SDK library rapid development
Features:
6-way IO port (Control relay)
1-way serial port(wizfi360)
2-way ADC(temperature,Battery voltage)
1-way spi(st7789)
hardware GPIO mapping table:
| SPI | Fish tank IO | WizFi360-EVB-Pico pin number |
| FSO | GP16 | |
| CS2 | GP14 | |
| CS1 | GP17 | |
| BLK | GP21 | |
| RES | GP13 | |
| DC | GP15 | |
| SCL | GP18 | |
| SDA | GP19 | |
| EC11 | ECA | GP10 |
| ECB | GP11 | |
| ECD | GP12 | |
| ADC | ADC0 | GP26 |
| ADC1 | GP27 | |
| UART1 | RXD1 | GP4 |
| TXD1 | GP5 | |
| OUTPUT | OUT1 | GP2 |
| OUT2 | GP3 | |
| OUT3 | GP8 | |
| OUT4 | GP9 | |
| INPUT | INPUT1 | GP21 |
The hardware development tool is Altium Designer,Software development tools use Qt,CLion,Cmake.
Hardware and software download address:
https://docs.wiznet.io/Product/Open-Source-Hardware/wizfi360-evb-pico
gitee:https://gitee.com/mingkeyu/fish-tank-control-system
https://github.com/mingkeyu/fish-tank-control-system
Project introduction:
The fish tank system will continue to update functions. At present, the data communication between wizfi360 and server has been realized. The electrical appliances (water pump, oxygen pump, fill light, heating rod) on the fish tank can be controlled by the rotary encoder at the end of the fish tank to obtain the temperature of the fish tank. You can also remotely control the electrical appliances on the fish tank through the TCP server, and the status and temperature of the fish tank can be displayed on the TFT display. The functions to be added in the next step are that the TFT display and rotary encoder on the fish tank end will be modified to configure Wifi information, the server will be ported to the web end, data and control status will be transmitted through MQtt, and Android App will be added to remotely control the fish tank and obtain the fish tank information.
Video:
Documents
-
FishTankController
https://github.com/mingkeyu/fish-tank-control-system
-
FishTankController
https://github.com/mingkeyu/fish-tank-control-system
-
FishTankController
https://github.com/mingkeyu/fish-tank-control-system
