Intelligent fish tank self-circulation ecological system

Through the design of the intelligent fish tank self-circulation ecosystem, the main control module, human-computer interaction module and control module are used to realize automated fish tank management, solving the problem of manual maintenance of ordinary fish tanks, improving water quality management efficiency, and reducing fish deaths The rate saves fish farmers time and energy.

CN119088139AInactive Publication Date: 2024-12-06GANNAN MEDICAL UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411229707.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-03
Publication Date
2024-12-06
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing ordinary fish tanks require manual maintenance, which causes busy people, the elderly and disabled to spend a lot of time and energy in raising fish, and are prone to neglect and forgetting, resulting in the death of the fish and causing economic losses.

Method used

An intelligent fish tank self-circulation ecosystem has been designed, including the main control module, human-computer interaction module, control module and measurement module. Remote monitoring and management are realized through Bluetooth module or WIFI module. The human-computer interaction module adopts serial port screen, mini-programs and Voice communication, the control module includes feeding, pumping, heating, fill light, filtration and oxygen supply control, the measurement module monitors temperature, light and TDS turbidity, and automatically adjusts water quality parameters.

Benefits of technology

It improves the convenience of fish tank management, ensures the water quality is qualified, creates a good environment for the growth of fish, reduces manual intervention, reduces fish mortality rate, and saves fish farmers' time and energy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119088139A_ABST
    Figure CN119088139A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of cultivation, and discloses an intelligent fish tank self-circulation ecological system which comprises a main control module, a man-machine interaction module, a control module and a measurement module, and the man-machine interaction module, the control module and the parameter measurement module are all in communication connection with the main control module. The man-machine interaction module comprises a serial port screen, an applet and voice communication; the control module comprises a feeding module, a water pumping control module, a heating control module, a light supplementing lamp control module, a filtering control module and an oxygen generation control module; and the measurement module comprises temperature measurement, illumination measurement and TDS turbidity measurement. According to the invention, the time and energy consumed by fish culture are reduced, the user is allowed to carry out remote monitoring and management through the mobile phone application, the user can check the state of the fish tank at any time, the death of fish is avoided, and the death probability of ornamental fish is greatly reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of aquaculture, and in particular to an intelligent fish tank self-circulating ecological system. Background Art

[0002] With the improvement of people's living standards and living conditions, more and more people choose fish tanks to beautify their rooms. Beautiful fish tanks can decorate and beautify the rooms, with good decorative effects, making the interior colors brighter, coordinating the relationship between the aura and the house, increasing the natural aura, and adding vitality to the house. By watching fish and aquatic plants, you can cultivate your body and mind, cultivate your sentiments, eliminate the worries and fatigue of work and study, and increase the fun of life. At the same time, fish tanks can increase the humidity for the living environment.

[0003] Currently, fish tanks used for breeding are ordinary non-intelligent types and require manual maintenance, such as regular water changes and feeding. This may cause some troubles for some busy people, the elderly and the disabled. It takes a lot of time and energy for fish farmers, and sometimes even negligence leads to the death of fish, causing economic losses. Summary of the invention

[0004] The purpose of the present invention is to solve the shortcomings of the prior art and to propose an intelligent fish tank self-circulating ecosystem.

[0005] In order to achieve the above-mentioned purpose, the present invention adopts the following technical scheme: an intelligent fish tank self-circulating ecosystem, including a main control module, a human-computer interaction module, a control module and a measurement module, and the human-computer interaction module, the control module and the parameter measurement module are all communicatively connected with the main control module.

[0006] The human-computer interaction module includes a serial port screen, a small program and voice communication;

[0007] The control module includes a feeding module, a water pumping control, a heating control, a fill light control, a filtering control, and an oxygen production control;

[0008] The measurement module includes temperature measurement, light measurement, and TDS turbidity measurement.

[0009] The present invention has the following beneficial effects:

[0010] 1. By setting up a Bluetooth module or a WIFI module on the main control module, users can remotely monitor and manage the fish tank through mobile phone applications, and users can check the status of the fish tank at any time.

[0011] 2. Through the setting of the human-computer interaction module, it is convenient for users to issue instructions to the main control module, which greatly improves the convenience of fish tank management.

[0012] 3. Through the cooperation of the control module and the measurement module, the water quality in the fish tank is guaranteed to be qualified, creating a good environment for the growth of fish. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 A system structure diagram of a smart fish tank self-circulating ecosystem of the present invention;

[0014] Figure 2 This is an APP control page for a smart fish tank self-circulating ecosystem of the present invention Figure 1 ;

[0015] Figure 3 This is an APP control page for a smart fish tank self-circulating ecosystem of the present invention Figure 2 ;

[0016] Figure 4 A main control panel of a smart fish tank self-circulating ecosystem of the present invention;

[0017] Figure 5 A Bluetooth circuit diagram of a main control board of a smart fish tank self-circulating ecosystem of the present invention;

[0018] Figure 6 A serial port screen circuit diagram of a smart fish tank self-circulating ecosystem of the present invention;

[0019] Figure 7 A voice communication circuit diagram of a smart fish tank self-circulating ecosystem of the present invention;

[0020] Figure 8 A circuit diagram of a feeding module of a smart fish tank self-circulating ecosystem of the present invention;

[0021] Fig. 9 A Darlington tube circuit diagram of a smart fish tank self-circulating ecosystem of the present invention;

[0022] Fig.10 A water pump USB interface circuit diagram of a smart fish tank self-circulating ecosystem of the present invention;

[0023] Fig.11 A temperature measurement circuit diagram of a smart fish tank self-circulating ecosystem of the present invention;

[0024] Fig.12 A light measurement circuit diagram of a smart fish tank self-circulating ecosystem of the present invention;

[0025] Fig.13 A turbidity measurement circuit diagram of a smart fish tank self-circulating ecosystem of the present invention;

[0026] Fig.14A circuit diagram of a color light strip of a smart fish tank self-circulating ecosystem of the present invention;

[0027] Fig.15 The present invention is a MUC common ground circuit diagram of a smart fish tank self-circulating ecosystem. DETAILED DESCRIPTION

[0028] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0029] Reference Figures 1 to 3 As shown, the present invention adopts the following technical solution: an intelligent fish tank self-circulating ecosystem, including a main control module, a human-computer interaction module, a control module and a measurement module, and the human-computer interaction module, the control module and the parameter measurement module are all communicatively connected with the control module.

[0030] The main control module has a Bluetooth module or a WIFI module, which allows users to remotely monitor and manage the fish tank through a mobile phone application. Users can check the status of the fish tank at any time.

[0031] The human-computer interaction module includes a serial port screen, a small program and voice communication;

[0032] The serial port screen is used for users to issue instructions to the main control module and perform a series of operations;

[0033] Mini programs or apps make it easy for users to remotely manage and adjust the environmental parameters of the fish tank, and even feed the fish remotely, which greatly improves the convenience of fish tank management and realizes the mobile human-computer interaction module.

[0034] Voice communication allows users to interact with the smart fish tank through voice and control the smart fish tank through voice commands, eliminating the limitations of traditional operating methods. Users do not need to operate the device personally or use complex interfaces, but can complete various functions with simple voice commands.

[0035] The control module includes a feeding module, a water pumping control, a heating control, a fill light control, a filtering control, and an oxygen production control;

[0036] The measurement module includes temperature measurement, light measurement, and TDS turbidity measurement.

[0037] The feeding module controls the rotation of the servo through PWM wave output to achieve quantitative feeding.

[0038] Pumping control is used in conjunction with TDS turbidity measurement. Sensors in the fish tank monitor water quality parameters in real time and adjust automatically without human intervention, which improves the efficiency of water quality management while also ensuring the health of the fish.

[0039] The water pump in the water pumping control is controlled by Darlington tube.

[0040] Heating control is used in conjunction with temperature measurement to ensure that the water temperature in the fish tank remains within a certain range, which is crucial for the fish.

[0041] The fill light control is used in conjunction with light measurement. When the water turbidity in the fish tank is detected to reach a certain concentration, the fill light control is turned on for fill light, and is used for light measurement through IIC communication.

[0042] Filtration control is used to filter the water when the turbidity of the water in the fish tank reaches a certain concentration. The water can also be filtered regularly to ensure the clarity of the water and provide a good living environment for the fish.

[0043] Oxygen control is used to turn on the oxygen generator when the oxygen level in the water in the fish tank is low, to ensure sufficient oxygen in the water and provide a good living environment for the fish.

[0044] The control module is also connected to a colorful light strip, which can achieve specific lighting effects by controlling the color of the light strip. The main control module uses a chip called STM32F103RBT6 and is powered by Type-C.

[0045] The APP control code is as follows:

[0046] Main function

[0047] int main(void)

[0048] {

[0049] / *USER CODE BEGIN 1* /

[0050] / *USER CODE END 1* /

[0051] / *MCU Configuration-------------------------------------------------- ---------* /

[0052] / *Reset of all peripherals,Initializes the Flash interface ace and theSystick.* /

[0053] HAL_Init();

[0054] / *USER CODE BEGIN Init* /

[0055] / *USER CODE END Init* /

[0056] / *Configure the system clock* /

[0057] SystemClock_Config();

[0058] / *USER CODE BEGIN SysInit* /

[0059] / *USER CODE END SysInit* /

[0060] / *Initialize all configured peripherals* /

[0061] MX_GPIO_Init();

[0062] MX_DMA_Init();

[0063] MX_TIM2_Init();

[0064] MX_USART1_UART_Init();

[0065] MX_USART2_UART_Init();

[0066] MX_I2C1_Init();

[0067] MX_TIM3_Init();

[0068] MX_ADC1_Init();

[0069] MX_TIM4_Init();

[0070] MX_USART3_UART_Init();

[0071] MX_ADC2_Init();

[0072] / *USER CODE BEGIN 2* /

[0073] HAL_TIM_Base_Start_IT(&htim2); / / Enable the timer

[0074] HAL_TIM_PWM_Start(&htim3,TIM_CHANNEL_1); / / ***Timer initialization HAL_UART_Receive_IT(&huart1,&usart_screen,1); / / Receive serial screen / *USER CODE END 2* /

[0075] / *Infinite loop* /

[0076] / *USER CODE BEGIN WHILE* /

[0077] while(1)

[0078] {

[0079] DataTask();

[0080] / *USER CODE END WHILE* /

[0081] / *USER CODE BEGIN 3* /

[0082] }

[0083] / *USER CODE END 3* /

[0084] }

[0085] Data processing functions

[0086] void DataTask(void)

[0087] {

[0088] unsigned char nowtemp; / / current key value

[0089] / / Feeding speed control

[0090] SG90_Mode(30);

[0091] / / Voice processing module

[0092] / / lamp

[0093] if(Previous_Deng!=HAL_GPIO_ReadPin(GPIOC,LightFlag_Pin)){

[0094] Previous_Deng=HAL_GPIO_ReadPin(GPIOC,LightFlag_Pin);

[0095] if(HAL_GPIO_ReadPin(GPIOB,LightStatus_Pin)==GPIO_PIN_SET){

[0096] HAL_GPIO_WritePin(GPIOA,LED_Pin,GPIO_PIN_SET);

[0097] printf("light.bt0.val=%d",1); / / Send value

[0098] printf("\xff\xff\xff"); / / Send the end character

[0099] }else

[0100] {

[0101] HAL_GPIO_WritePin(GPIOA,LED_Pin,GPIO_PIN_SET);

[0102] printf("light.bt0.val=%d",0); / / Send value

[0103] printf("\xff\xff\xff"); / / Send the end character

[0104] }

[0105] }

[0106] / / heating

[0107] if(Previous_Re!=HAL_GPIO_ReadPin(GPIOC,JiaReFlag_Pin))

[0108] {

[0109] Previous_Re=HAL_GPIO_ReadPin(GPIOC,JiaReFlag_Pin); if(HAL_GPIO_ReadPin(GPIOC,JiaReStatus_Pin)==GPIO_PIN_SET){

[0110] HAL_GPIO_WritePin(GPIOB,JiaRe_Pin,GPIO_PIN_SET);

[0111] printf("shuibeng.bt1.val=%d",1); / / Send value

[0112] printf("\xff\xff\xff"); / / Send the end character

[0113] }else

[0114] {

[0115] HAL_GPIO_WritePin(GPIOB,JiaRe_Pin,GPIO_PIN_RESET);

[0116] printf("shuibeng.bt1.val=%d",0); / / send value

[0117] printf("\xff\xff\xff"); / / Send the end character

[0118] }

[0119] }

[0120] if(Previous_Lv!=HAL_GPIO_ReadPin(GPIOC,GulvFlag_Pin))

[0121] {

[0122] Previous_Lv=HAL_GPIO_ReadPin(GPIOC,GulvFlag_Pin); if(HAL_GPIO_ReadPin(GPIOC,GuoLvStatus_Pin)==GPIO_PIN_SET){

[0123] HAL_GPIO_WritePin(GPIOA,GuoLv_Pin,GPIO_PIN_SET);

[0124] printf("shuibeng.bt0.val=%d",1); / / Send value

[0125] printf("\xff\xff\xff"); / / Send the end character

[0126] }else

[0127] {

[0128] HAL_GPIO_WritePin(GPIOA,GuoLv_Pin,GPIO_PIN_RESET);

[0129] printf("shuibeng.bt0.val=%d",0); / / Send value

[0130] printf("\xff\xff\xff"); / / Send the end character

[0131] }

[0132] }

[0133] / / Bluetooth processing module

[0134] if(LanYaFlag==1&&RX_flag==1)

[0135] {

[0136] LanYaFlag=0;RX_flag=0;

[0137] uart2_printf("I got the message%c",RxBuffer); switch(RxBuffer[0])

[0138] {

[0139] case 10:

[0140] HAL_GPIO_TogglePin(GPIOA,GuoLv_Pin);

[0141] nowtemp=HAL_GPIO_ReadPin(GPIOA,GuoLv_Pin);

[0142] printf("shuibeng.bt0.val=%d",nowtemp); / / Send numerical value printf("\xff\xff\xff"); / / Send terminator break;

[0143] case 11:

[0144] HAL_GPIO_TogglePin(GPIOA,LED_Pin);

[0145] nowtemp = HAL_GPIO_ReadPin(GPIOA,LED_Pin); printf("light.bt0.val = %d",nowtemp); / / Send value printf("\xff\xff\xff"); / / Send end character break;

[0146] case 12:

[0147] HAL_GPIO_TogglePin(GPIOA,MadeO2_Pin);

[0148] nowtemp=HAL_GPIO_ReadPin(GPIOA,MadeO2_Pin);

[0149] printf("shuibeng.bt2.val=%d",nowtemp); / / Send value printf("\xff\xff\xff"); / / Send end character break;

[0150] case 13:

[0151] HAL_GPIO_TogglePin(GPIOB,JiaRe_Pin);

[0152] nowtemp=HAL_GPIO_ReadPin(GPIOB,JiaRe_Pin);

[0153] printf("shuibeng.bt1.val=%d",nowtemp); / / Send value printf("\xff\xff\xff"); / / Send end character break;

[0154] }

[0155] for(uint8_t i=0;i<20;i++) / / Clear the received flag {

[0156] RxBuffer[i] = 0;

[0157] }

[0158] }

[0159] / / RGB processing

[0160] if(RGBLcok==1)

[0161] {

[0162] switch(RGBStaus)

[0163] {

[0164] case 1:

[0165] Mode_RaninBow();

[0166] break;

[0167] case 2:

[0168] ModeFirst();

[0169] break;

[0170] case 3:

[0171] ModeSecond()

[0172] break

[0173] case 4:

[0174] ModeThird()

[0175] break

[0176] }}

[0177] }else if(RGBLcok0)

[0178] {

[0179] OFFRGB()

[0180] }}

[0181] / / Specify the spell

[0182] if ( Ds18b20 Flag1 )

[0183] {

[0184] TData[0](uint8_t)Ds18b20_Get_Temp() / 10%10;

[0185] uart3_printf("d",TData[0])!

[0186] uart3_printf("d",TData[1])!

[0187] uart3_printf("d",TData[2])!

[0188] uart3_printf("d",TData[3])!

[0189] Ds18b20Flag00

[0190] HMI_Printf_F_WhenYou(DS18b20Task(),1);

[0191] if(DS18b20Task()<200)

[0192] {

[0193] }}

[0194] }

[0195] / / illumination

[0196] if(BH1750Flag==1)

[0197] {

[0198] BH1750Flag=0;

[0199] uart2_printf("%d\r\n",BH1750_TASK());

[0200] HMI_Printf_F_GuangZhao(BH1750_TASK(),0); if(BH1750_TASK()<15)

[0201] {

[0202] }

[0203] }

[0204] / / Turbidity

[0205] if(HUNZHUOFlag==1)

[0206] {

[0207] HUNZHUOFlag = 0;

[0208] HMI_Printf_F_HunZhuo(HunZhuo_Task(),2);}

[0209] if(TDSFlag==1)

[0210] {

[0211] TDSFlag=0;

[0212] HMI_Printf_F_TDS(TDS_Task(),0);

[0213] }

[0214] }

[0215] Communication Function

[0216] / / Serial port interrupt

[0217] void HAL_UART_RxCpltCallback(UART_HandleTypeDef*huart){

[0218] / / Serial port screen usart1

[0219] if(huart->Instance==USART1)

[0220] {

[0221] switch(usart_screen)

[0222] {

[0223] case ZhiYangOpen:

[0224] HAL_GPIO_WritePin(GPIOA,MadeO2_Pin,GPIO_PIN_SET);

[0225] break;

[0226] case ZhiYangOff:

[0227] HAL_GPIO_WritePin(GPIOA,MadeO2_Pin,GPIO_PIN_RESET);

[0228] break;

[0229] case ShuiOpen:

[0230] HAL_GPIO_WritePin(GPIOA,GuoLv_Pin,GPIO_PIN_SET);

[0231] break;

[0232] case ShuiOff:

[0233] HAL_GPIO_WritePin(GPIOA,GuoLv_Pin,GPIO_PIN_RESET);

[0234] break;

[0235] case DengGuangOn:

[0236] HAL_GPIO_WritePin(GPIOA,LED_Pin,GPIO_PIN_SET);

[0237] break;

[0238] case DengGuangOff:

[0239] HAL_GPIO_WritePin(GPIOA,LED_Pin,GPIO_PIN_RESET);break;

[0240] case JiaReOpen:

[0241] HAL_GPIO_WritePin(GPIOB,JiaRe_Pin,GPIO_PIN_SET);break;

[0242] case JiaReOff:

[0243] HAL_GPIO_WritePin(GPIOB,JiaRe_Pin,GPIO_PIN_RESET);break;

[0244] case RGBOn:

[0245] RGBLcok=1;

[0246] break;

[0247] case RGBOff:

[0248] RGBLcok=0;

[0249] break;

[0250] case Raninbow:

[0251] RGBStaus=1;

[0252] break;

[0253] case Sea:

[0254] RGBStaus=2;

[0255] break;

[0256] case Sengling:

[0257] RGBStaus=3;

[0258] break;

[0259] case HuangMo:

[0260] RGBStaus=4;

[0261] break;

[0262] case ChouShuiOn:

[0263] HAL_GPIO_WritePin(GPIOB,Choushui_Pin,GPIO_PIN_SET);break;

[0264] case ChouShuiOff:

[0265] HAL_GPIO_WritePin(GPIOB,Choushui_Pin,GPIO_PIN_RESET);break;

[0266] case FeedOne:

[0267] DuojiLock=1;

[0268] Duoji_Mode=1;

[0269] break;

[0270] case FeedTwo:

[0271] DuojiLock=1;

[0272] Duoji_Mode=2;

[0273] break;

[0274] case FeedThree:

[0275] DuojiLock=1;

[0276] Duoji_Mode=3;

[0277] break;

[0278] case FeedFour:

[0279] DuojiLock=1;

[0280] Duoji_Mode=4;

[0281] break;

[0282] case FeedFive:

[0283] DuojiLock=1;

[0284] Duoji_Mode=5;

[0285] break;

[0286] case FeedSix:

[0287] DuojiLock = 1;

[0288] Duoji_mode = 6;

[0289] break;

[0290] default:

[0291] break;

[0292] }

[0293] / / HAL_UART_Receive_IT(&huart1,(uint8_t*)&usart_screen,1);

[0294] / / Serial port screen

[0295] / / Prevent multiple RECeives from not being received and causing errors

[0296] }

[0297] HAL_StatusTypeDef ret_state=HAL_UART_Receive_IT(&huart1,&usart

[0298] _screen,1);

[0299] if (ret_state == HAL_BUSY) {

[0300] __HAL_UART_CLEAR_OREFLAG(&huart1); / / Error caused by ORE register

[0301] huart1.RxState=HAL_UART_STATE_READY;

[0302] huart1.Lock = HAL_UNLOCKED;

[0303] HAL_UART_Receive_IT(&huart1,&usart_screen,1);

[0304] }

[0305] The present invention and its embodiments are described above, and such description is not restrictive. The drawings show only one embodiment of the present invention, and the actual structure is not limited thereto. In short, if ordinary technicians in the field are inspired by it, without departing from the purpose of the invention, they can design a structure and embodiment similar to the technical solution without creativity, which should belong to the protection scope of the present invention.

Claims

1. An intelligent fish tank self-circulating ecosystem, including a main control module, a human-computer interaction module, a control module and a measurement module, wherein the human-computer interaction module, the control module and the parameter measurement module are all communicatively connected to the main control module.

2. The intelligent fish tank self-circulating ecosystem according to claim 1, characterized in that: The human-computer interaction module includes a serial port screen, a small program and voice communication.

3. The intelligent fish tank self-circulating ecosystem according to claim 1, characterized in that: The control module includes a feeding module, a water pumping control, a heating control, a fill light control, a filtration control, and an oxygen production control.

4. The intelligent fish tank self-circulating ecosystem according to claim 1, characterized in that: The measurement module includes temperature measurement, light measurement, and TDS turbidity measurement.