Aquarium control system

By introducing a wireless Bluetooth WiFi dual-module and an infrared food detection module into the aquarium control system, the circuit structure was simplified, production costs were reduced, and automatic feeding function was achieved, solving the problems of complexity and high cost of existing systems.

CN223943544UActive Publication Date: 2026-02-27AGZZX OPTOELECTRONICS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202520221267.7
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2025-02-12
Publication Date
2026-02-27
Estimated Expiration
2035-02-12

AI Technical Summary

Technical Problem

Existing aquarium control systems have complex hardware and high production costs, requiring multiple microcontrollers for programming and testing.

Method used

It adopts a dual-mode wireless Bluetooth WiFi system and a feeder. The feeder includes a motor and a food storage box. The food storage box is equipped with an infrared food residue detection module. Feeding and food residue detection are directly controlled by the dual-mode wireless Bluetooth WiFi system, reducing the use of a microcontroller.

Benefits of technology

The circuit structure was simplified, production costs were reduced, and an automatic feeding function was achieved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223943544U_ABST
    Figure CN223943544U_ABST
Patent Text Reader

Abstract

The utility model relates to the technical field of aquariums, in particular to an aquarium control system which comprises a wireless Bluetooth WiFi double module and a feeder, the feeder comprises a motor and a food storage box, an infrared residual food detection module is arranged in the food storage box, the wireless Bluetooth WiFi double module is electrically connected with the motor and the infrared residual food detection module respectively, and the motor is electrically connected with the infrared residual food detection module. The infrared residual food detection module is arranged close to a food outlet of the food storage box and used for detecting residual food in the food storage box, the output end of the motor is connected with the food storage box and used for driving the food storage box to rotate to throw feed into the aquarium, and feeding control and residual food detection can be directly controlled by a wireless Bluetooth WiFi dual module. In this way, automatic feeding can be achieved without a single-chip microcomputer in the feeder, the circuit structure is simple, and cost is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The utility model relates to the technical field of aquarium, especially relates to an aquarium control system. BACKGROUND

[0002] The intelligent water cluster tank is an intelligent fish feeding device for ornamental, which cooperates with the landscape modeling in water to give people the feeling of beauty. It is mainly composed of a control panel, a mainboard, a water pump, LED light, a feeder, a temperature sensor and the like. The general similar products are also composed of a control panel, a mainboard, a water pump, LED light, a feeder, a temperature sensor and the like, but there are differences in system design. They are generally in the form of multiple single-chip microcomputers + WiFi modules, each having a single-chip microcomputer in the mainboard, the control panel and the feeder, and a WiFi module on the mainboard for wireless communication. Each single-chip microcomputer needs to be programmed, and the single-chip microcomputers between the boards generally communicate through TTL serial ports. Such design not only makes the system complex, but also increases the hardware cost. During production, each single-chip microcomputer needs to be programmed and tested, which increases the production cost. SUMMARY

[0003] The utility model solves the technical problem that a simple-structured aquarium control system is provided, which can realize automatic feeding only with one control module.

[0004] To solve the above technical problem, the utility model adopts the technical scheme that

[0005] An aquarium control system comprises a wireless Bluetooth WiFi dual module and a feeder arranged on an aquarium. The feeder comprises a motor and a food storage box. An infrared food residue detection module is arranged in the food storage box. The wireless Bluetooth WiFi dual module is electrically connected with the motor and the infrared food residue detection module. The infrared food residue detection module is arranged close to a food outlet of the food storage box and is used for detecting the food residue in the food storage box. The output end of the motor is connected with the food storage box and is used for driving the food storage box to rotate and throw the feed into the aquarium.

[0006] Further, the wireless Bluetooth WiFi dual module comprises a chip U1. The model of the chip U1 is TGW206-16. The third pin, the fifth pin, the eleventh pin and the thirteenth pin of the chip U1 are electrically connected with the infrared food residue detection module.

[0007] Further, the infrared food residue detection module comprises a triode Q2, a chip U8, a triode Q1, a resistor R55, a connector J6, an infrared emitter tube and an infrared receiving tube. The model of the chip U8 is TC118S. The infrared emitter tube and the infrared receiving tube are arranged on the two sides of the food outlet of the food storage box.

[0008] The third pin of the chip U8 is electrically connected with the third pin of the chip U1, the fourth pin of the chip U8 is connected with a 3.3V power supply, the fifth pin of the chip U8 is electrically connected with the first pin of the connector J6, the sixth pin of the chip U8 is electrically connected with the seventh pin of the chip U8, and both the sixth pin of the chip U8 and the seventh pin of the chip U8 are grounded, the eighth pin of the chip U8 is electrically connected with the second pin of the connector J6 and the emitter of the transistor Q1 respectively, the base of the transistor Q1 is electrically connected with the eleventh pin of the chip U1, the collector of the transistor Q1 is electrically connected with the fifth pin of the connector J6, the sixth pin of the connector J6 is electrically connected with one end of the resistor R55 and the base of the transistor Q2 respectively, the other end of the resistor R55 is connected with a 3.3V power supply, the two ends of the infrared emitter tube are electrically connected with the fifth pin and the sixth pin of the connector J6 respectively, one end of the infrared receiving tube is electrically connected with the fourth pin of the connector J6, the other end of the infrared receiving tube is grounded, the emitter of the transistor Q2 is grounded, and the collector of the transistor Q2 is electrically connected with the fifth pin of the chip U1.

[0009] Further, the infrared remaining food detection module further comprises a resistor R16, a resistor R17 and a resistor R9, the base of the transistor Q2 is electrically connected with one end of the resistor R16 and one end of the resistor R17 respectively, the other end of the resistor R16 is electrically connected with the sixth pin of the connector J6 and one end of the resistor R55 respectively, the other end of the resistor R17 is grounded, one end of the resistor R9 is electrically connected with the collector of the transistor Q2 and the fifth pin of the chip U1 respectively, and the other end of the resistor R9 is connected with a 3.3V power supply.

[0010] Further, the infrared remaining food detection module further comprises a resistor R13 and a resistor R14, one end of the resistor R13 is electrically connected with one end of the resistor R14 and the base of the transistor Q1 respectively, the other end of the resistor R13 is electrically connected with the eleventh pin of the chip U1, and the other end of the resistor R14 is grounded.

[0011] Further, the infrared remaining food detection module further comprises a resistor R15, a capacitor C8 and an inductor L3, one end of the resistor R15 is electrically connected with one end of the inductor L3 and the thirteenth pin of the chip U1 respectively, the other end of the inductor L3 is electrically connected with the fourth pin of the connector J6 and one end of the capacitor C8 respectively, and the other end of the capacitor C8 is grounded.

[0012] Further, the aquarium further comprises a water pump and a locked-rotor detection module, and the locked-rotor detection module is electrically connected with the wireless Bluetooth and WiFi dual-mode module and the water pump respectively.

[0013] Further, the stall detection module comprises a thermistor NTC, a connector J1, a diode D2, a capacitor C6, a diode D1, an inductor L2, a MOS tube Q3, a resistor R4, a resistor R10, a resistor R6, a resistor R11 and a resistor R5.

[0014] The gate of the MOS tube Q3 is electrically connected with one end of the resistor R11 and one end of the resistor R10 respectively, the other end of the resistor R11 is electrically connected with the wireless Bluetooth WiFi dual-mode module, the source of the MOS tube Q3 is electrically connected with the other end of the resistor R10, one end of the resistor R6 and one end of the resistor R4 respectively, the other end of the resistor R4 is grounded, the other end of the resistor R6 is electrically connected with one end of the resistor R5, the other end of the resistor R5 is electrically connected with the wireless Bluetooth WiFi dual-mode module, the drain of the MOS tube Q3 is electrically connected with one end of the inductor L2 and the anode of the diode D1 respectively, the other end of the inductor L2 is electrically connected with one end of the capacitor C6, the anode of the diode D2 and the fourth pin of the connector J1 respectively, the cathode of the diode D1 is electrically connected with the other end of the capacitor C6, the cathode of the diode D2 and the third pin of the connector J1 respectively, and the cathode of the diode D1, the other end of the capacitor C6, the cathode of the diode D2 and the third pin of the connector J1 are all connected with a 12V power supply, the opposite ends of the thermistor NTC are electrically connected with the first pin of the connector J1 and the second pin of the connector J1 respectively, and the third pin of the connector J1 and the fourth pin of the connector J1 are electrically connected with two ends of the water pump respectively.

[0015] Further, the aquarium is further provided with a buzzer sounding module, and the buzzer sounding module is electrically connected with the wireless Bluetooth WiFi dual-mode module.

[0016] Further, the aquarium is further provided with a lamp panel interface module, and the lamp panel interface module is electrically connected with the wireless Bluetooth WiFi dual-mode module.

[0017] The aquarium has the advantages that:

[0018] The wireless Bluetooth WiFi dual-mode module is electrically connected with the motor and the infrared residual food detection module, the infrared residual food detection module is arranged close to the discharge opening of the food storage box and is used for detecting the residual food in the food storage box, the output end of the motor is connected with the food storage box and is used for driving the food storage box to rotate and discharge the feed into the aquarium, the feeding control and the residual food detection can be directly controlled by one wireless Bluetooth WiFi dual-mode module, so that the single-chip microcomputer is not needed in the feeder to realize automatic feeding, the circuit structure is simple, and the cost is reduced. BRIEF DESCRIPTION OF DRAWINGS

[0019] Figure 1 The module connection block diagram of the aquarium control system of the utility model;

[0020] Figure 2 The circuit principle diagram of the wireless Bluetooth WiFi dual module of the aquarium control system of the utility model;

[0021] Figure 3 The circuit principle diagram of the wireless Bluetooth WiFi dual module of the aquarium control system of the utility model;

[0022] Figure 4 The circuit principle diagram of the infrared residual food detection module of the aquarium control system of the utility model;

[0023] Figure 5 The circuit principle diagram of the locked-rotor detection module of the aquarium control system of the utility model;

[0024] Figure 6 The circuit principle diagram of the buzzer sounding module of the aquarium control system of the utility model;

[0025] Figure 7 The circuit principle diagram of the lamp panel interface module of the aquarium control system of the utility model;

[0026] Figure 8 The circuit principle diagram of the power module of the aquarium control system of the utility model;

[0027] Label explanation:

[0028] 1, wireless Bluetooth WiFi dual module; 2, infrared residual food detection module; 3, motor; 4, locked-rotor detection module; 5, water pump; 6, buzzer sounding module; 7, lamp panel interface module. DETAILED DESCRIPTION

[0029] In order to make the technical content, the purposes and effects achieved by the utility model clear, the following will be described in detail in combination with the embodiments and the drawings.

[0030] Please refer to Figure 1 The technical scheme adopted by the utility model is:

[0031] An aquarium control system, comprising a wireless Bluetooth WiFi dual module and a feeder arranged on an aquarium, the feeder comprising a motor and a food storage box, the food storage box being provided with an infrared residual food detection module, the wireless Bluetooth WiFi dual module being electrically connected with the motor and the infrared residual food detection module respectively, the infrared residual food detection module being arranged close to a food outlet of the food storage box and used for detecting residual food in the food storage box, and the output end of the motor being connected with the food storage box and used for driving the food storage box to rotate and throw feed into the aquarium.

[0032] The utility model discloses have the beneficial effect in the above description, in that

[0033] The utility model discloses a wireless bluetooth WiFi dual mode group and feeder are set up, and the feeder includes motor and storage food box, is equipped with infrared surplus grain detection module in the storage food box, and wireless bluetooth WiFi dual mode group respectively with motor and infrared surplus grain detection module electricity is connected, and infrared surplus grain detection module is close to the discharge gate setting of storage food box, is used for detecting the surplus grain in storage food box, and the output of motor is connected with storage food box, is used for driving storage food box rotation and throws out the feed to the aquarium, and the detection of feeding control and surplus grain can be directly controlled by a wireless bluetooth WiFi dual mode group, so that the feeder can not need to use singlechip to realize automatic feeding, and the circuit structure is simple, and the cost is reduced.

[0034] Further, the wireless bluetooth WiFi dual mode group includes a chip U1, the model of the chip U1 is TGW206-16, the third pin, the fifth pin, the eleventh pin and the thirteenth pin of the chip U1 are electrically connected with the infrared surplus grain detection module.

[0035] Further, the infrared surplus grain detection module includes a triode Q2, a chip U8, a triode Q1, a resistor R55, a connector J6, an infrared emitter tube and an infrared receiving tube, the model of the chip U8 is TC118S, the infrared emitter tube and the infrared receiving tube are arranged on the two sides of the discharge gate of the storage food box respectively.

[0036] The third pin of the chip U8 is electrically connected with the third pin of the chip U1, the fourth pin of the chip U8 is connected with a 3.3V power supply, the fifth pin of the chip U8 is electrically connected with the first pin of the connector J6, the sixth pin of the chip U8 is electrically connected with the seventh pin of the chip U8, and the sixth pin of the chip U8 and the seventh pin of the chip U8 are both grounded, the eighth pin of the chip U8 is electrically connected with the second pin of the connector J6 and the emitter of the triode Q1 respectively, the base of the triode Q1 is electrically connected with the eleventh pin of the chip U1, the collector of the triode Q1 is electrically connected with the fifth pin of the connector J6, the sixth pin of the connector J6 is electrically connected with one end of the resistor R55 and the base of the triode Q2 respectively, the other end of the resistor R55 is connected with a 3.3V power supply, the two ends of the infrared emitter tube are electrically connected with the fifth pin and the sixth pin of the connector J6 respectively, one end of the infrared receiving tube is electrically connected with the fourth pin of the connector J6, the other end of the infrared receiving tube is grounded, the emitter of the triode Q2 is grounded, and the collector of the triode Q2 is electrically connected with the fifth pin of the chip U1.

[0037] Further, the infrared residual food detection module further comprises a resistor R16, a resistor R17 and a resistor R9, the base of the transistor Q2 is electrically connected with one end of the resistor R16 and one end of the resistor R17 respectively, the other end of the resistor R16 is electrically connected with the sixth pin of the connector J6 and one end of the resistor R55 respectively, the other end of the resistor R17 is grounded, one end of the resistor R9 is electrically connected with the collector of the transistor Q2 and the fifth pin of the chip U1 respectively, and the other end of the resistor R9 is connected with a 3.3V power supply.

[0038] As can be seen from the above description, the resistor R16, the resistor R17, the resistor R9 and the transistor Q2 constitute a detection circuit for judging whether the feeder is installed or not;

[0039] 1) When the feeder is not installed, the fifth pin and the sixth pin of the connector J6 are suspended, so the sixth pin (IRLED+) of the connector J6 is always at a high level of 3.3V, which can make the transistor Q2 saturated and conductive after passing through the resistor R16 and the resistor R17, at this time, the collector of the transistor Q2 is always at a low level (i.e. WSQ_DET is always at a low level);

[0040] 2) When the feeder is installed, the fifth pin and the sixth pin of the connector J6 are connected with an infrared lamp (i.e. an infrared emitting tube), when the "residual food detection" is performed (a pulse of 100ms width is emitted every 5 seconds), the infrared lamp is conductive, at this time, the sixth pin (IRLED+) of the connector J6 is only 1.2~1.3V; at this time, after passing through the resistor R16 and the resistor R17, the transistor Q2 cannot be turned on, and the WSQ_DET output is at a high level, i.e. the WSQ_DET will output a high pulse signal every 5s.

[0041] Further, the infrared residual food detection module further comprises a resistor R13 and a resistor R14, one end of the resistor R13 is electrically connected with one end of the resistor R14 and the base of the transistor Q1 respectively, the other end of the resistor R13 is electrically connected with the eleventh pin of the chip U1, and the other end of the resistor R14 is grounded.

[0042] As can be seen from the above description, the resistor R13 is a current limiting resistor, one end of the resistor R13 is connected with the chip U1, and the chip U1 outputs a level of 3.3V, the other end of the resistor R13 is connected with the transistor Q1, the transistor Q1 is an NPN transistor, and the conduction is about 0.7V, if there is no resistor R13, the current will be too large to exceed the bearing capacity of the chip U1, causing damage to the port of the chip U1; the resistor R14 is for preventing misoperation and accelerating discharge.

[0043] Further, the infrared remaining detection module further comprises a resistor R15, a capacitor C8 and an inductor L3, one end of the resistor R15 is electrically connected with one end of the inductor L3 and the thirteenth pin of the chip U1 respectively, the other end of the inductor L3 is electrically connected with the fourth pin of the connector J6 and one end of the capacitor C8 respectively, the other end of the capacitor C8 is grounded.

[0044] Further, the aquarium is further provided with a water pump and a stall detection module, the stall detection module is electrically connected with the wireless Bluetooth WiFi dual-mode module and the water pump respectively.

[0045] Further, the stall detection module comprises a thermistor NTC, a connector J1, a diode D2, a capacitor C6, a diode D1, an inductor L2, a MOS tube Q3, a resistor R4, a resistor R10, a resistor R6, a resistor R11 and a resistor R5.

[0046] The gate of the MOS tube Q3 is electrically connected with one end of the resistor R11 and one end of the resistor R10 respectively, the other end of the resistor R11 is electrically connected with the wireless Bluetooth WiFi dual-mode module, the source of the MOS tube Q3 is electrically connected with the other end of the resistor R10, one end of the resistor R6 and one end of the resistor R4 respectively, the other end of the resistor R4 is grounded, the other end of the resistor R6 is electrically connected with one end of the resistor R5, the other end of the resistor R5 is electrically connected with the wireless Bluetooth WiFi dual-mode module, the drain of the MOS tube Q3 is electrically connected with one end of the inductor L2 and the anode of the diode D1 respectively, the other end of the inductor L2 is electrically connected with one end of the capacitor C6, the anode of the diode D2 and the fourth pin of the connector J1 respectively, the cathode of the diode D1 is electrically connected with the other end of the capacitor C6, the cathode of the diode D2 and the third pin of the connector J1 respectively and the cathode of the diode D1, the other end of the capacitor C6, the cathode of the diode D2 and the third pin of the connector J1 are all connected with a 12V power supply, the opposite ends of the thermistor NTC are electrically connected with the first pin of the connector J1 and the second pin of the connector J1 respectively, the third pin of the connector J1 and the fourth pin of the connector J1 are electrically connected with two ends of the water pump respectively.

[0047] As can be seen from the above description, the resistor R4 is a sampling resistor, when the MOS tube Q3 is turned on, the current flowing through the water pump motor will flow through the MOS tube Q3 and the resistor R4 to GND; when the water pump motor stalls, the current will increase, and the voltage drop on the resistor R4 will also increase; the wireless Bluetooth WiFi dual-mode module can determine whether the water pump motor stalls by reading the voltage value on the resistor R4 through the ADC;

[0048] The resistor R6 and the capacitor C5, the resistor R5 and the capacitor C2 form two-stage RC filtering, so that the voltage drop of the resistor R4 is more stable and accurate;

[0049] The resistor R11 is a current limiting resistor of the gate of the MOS tube Q3.

[0050] The resistor R10 is connected between the gate and the source of the MOS tube Q3, and functions to ensure that it is in an off state when there is no control signal, thereby avoiding false operation.

[0051] Further, the aquarium is also provided with a buzzer sounding module, which is electrically connected with the wireless Bluetooth WiFi dual-mode module.

[0052] Further, the aquarium is also provided with a lamp panel interface module, which is electrically connected with the wireless Bluetooth WiFi dual-mode module.

[0053] Please refer to Figures 1 to 8 The embodiment one of the utility model is:

[0054] Please refer to Figure 1 An aquarium control system, comprising a wireless Bluetooth WiFi dual-mode module 1 and a feeder arranged on an aquarium, the feeder comprising a motor 3 and a food storage box, the food storage box is provided with an infrared residual food detection module 2, the wireless Bluetooth WiFi dual-mode module 1 is electrically connected with the motor 3 and the infrared residual food detection module 2 respectively, the infrared residual food detection module 2 is arranged close to the grain outlet of the food storage box and is used to detect the residual food in the food storage box, and the output end of the motor 3 is connected with the food storage box and is used to drive the food storage box to rotate and throw feed into the aquarium.

[0055] Please refer to Figure 2 The wireless Bluetooth WiFi dual-mode module 1 comprises a chip U1, the model number of the chip U1 is TGW206-16, and the third pin, the fifth pin, the eleventh pin and the thirteenth pin of the chip U1 are electrically connected with the infrared residual food detection module 2.

[0056] The wireless Bluetooth WiFi dual-mode module 1 further comprises a capacitor C3, a capacitor C4 and a connector J3, and the specific connection relationship between the various components thereof can be referred to Figure 2 And Figure 3 The capacitor C3 and the capacitor C4 are used for power filtering, the connector J3 is a debugging interface and a program burning port of the module and is used for developing debugging and burning programs into the chip.

[0057] Please refer to Figure 4 The infrared residual food detection module 2 comprises a triode Q2, a chip U8, a triode Q1, a resistor R55, a connector J6, an infrared emitter tube and an infrared receiving tube, the model number of the chip U8 is TC118S, and the infrared emitter tube and the infrared receiving tube are arranged on the two sides of the grain outlet of the food storage box.

[0058] The third pin of the chip U8 is electrically connected with the third pin of the chip U1, the fourth pin of the chip U8 is connected with a 3.3V power supply, the fifth pin of the chip U8 is electrically connected with the first pin of the connector J6, the sixth pin of the chip U8 is electrically connected with the seventh pin of the chip U8, and both the sixth pin of the chip U8 and the seventh pin of the chip U8 are grounded, the eighth pin of the chip U8 is electrically connected with the second pin of the connector J6 and the emitter of the transistor Q1 respectively, the base of the transistor Q1 is electrically connected with the eleventh pin of the chip U1, the collector of the transistor Q1 is electrically connected with the fifth pin of the connector J6, the sixth pin of the connector J6 is electrically connected with one end of the resistor R55 and the base of the transistor Q2 respectively, the other end of the resistor R55 is connected with a 3.3V power supply, the two ends of the infrared emitter tube are electrically connected with the fifth pin and the sixth pin of the connector J6 respectively, one end of the infrared receiving tube is electrically connected with the fourth pin of the connector J6, the other end of the infrared receiving tube is grounded, the emitter of the transistor Q2 is grounded, and the collector of the transistor Q2 is electrically connected with the fifth pin of the chip U1.

[0059] Please refer to Figure 4 , the infrared surplus detection module 2 further comprises resistors R16, R17 and R9, the base of the transistor Q2 is electrically connected with one end of the resistor R16 and one end of the resistor R17 respectively, the other end of the resistor R16 is electrically connected with the sixth pin of the connector J6 and one end of the resistor R55 respectively, the other end of the resistor R17 is grounded, one end of the resistor R9 is electrically connected with the collector of the transistor Q2 and the fifth pin of the chip U1 respectively, and the other end of the resistor R9 is connected with a 3.3V power supply.

[0060] Please refer to Figure 4 , the infrared surplus detection module 2 further comprises resistors R13 and R14, one end of the resistor R13 is electrically connected with one end of the resistor R14 and the base of the transistor Q1 respectively, the other end of the resistor R13 is electrically connected with the eleventh pin of the chip U1, and the other end of the resistor R14 is grounded. The resistor R13 is a current-limiting resistor, one end of the resistor R13 is connected with the chip U1, the chip U1 outputs a 3.3V level, the other end of the resistor R13 is connected with the transistor Q1, the transistor Q1 is an NPN transistor, and the conduction is about 0.7V. If there is no resistor R13, the current will be too large to exceed the bearing capacity of the chip U1, causing damage to the port of the chip U1; the resistor R14 is to prevent misoperation and speed up discharge.

[0061] Please refer to Figure 4The infrared residual food detection module 2 further comprises a resistor R15, a capacitor C8 and an inductor L3, one end of the resistor R15 is electrically connected with one end of the inductor L3 and the thirteenth pin of the chip U1 respectively, the other end of the inductor L3 is electrically connected with the fourth pin of the connector J6 and one end of the capacitor C8 respectively, and the other end of the capacitor C8 is grounded.

[0062] The infrared residual food detection module 2 further comprises a resistor R12, a resistor R1, a capacitor C1, a capacitor C124, a capacitor C10, a capacitor C115 and a capacitor C9, and the specific connection relationship between the components is shown in the following table: Figure 4 The resistor R12 is used to set the second pin of the chip U8 to low level, and the resistor R1 is connected in series in the circuit to limit current.

[0063] The capacitor C124 and the capacitor C1 are used for energy storage and filtering of power supply pins.

[0064] The capacitor C9 and the capacitor C10 are reserved, and the capacitor C115 is used to absorb the peak voltage between the two lines of the motor.

[0065] The detection principle of whether the feeder is installed or not depends on the infrared emitting tube and the infrared receiving tube in the feeder, and the specific analysis is as follows:

[0066] When the feeder is not installed, IRLED+ is connected to the 3.3V power supply through the resistor R55 (120 ohms), so it is 3.3 high level, so that the transistor Q2 is turned on, and the collector output of the transistor Q2 is always low level.

[0067] When the feeder is installed, IRLED+ and IRLED- are connected with the infrared emitting tube, and the system will turn on the infrared emitting tube for 100ms every 5 seconds through IR_SEND. During the conduction period, IRLED- is close to 0V, and the voltage across the infrared emitting tube is 1.2-1.3V, so the potential of IRLED+ is 1.2-1.3V. After the voltage is divided by the resistors of 100k and 47k, it is not enough to turn on the transistor Q2, so the collector of the transistor Q2 becomes high level. That is to say, when the feeder is installed, the WSQ_DET port will receive a 100ms high pulse every 5 seconds.

[0068] WSQ_DET determines whether the feeder is installed or not by whether it receives a 100ms high pulse.

[0069] The aquarium further comprises a water pump 5 and a locked-rotor detection module 4, and the locked-rotor detection module 4 is electrically connected with the wireless Bluetooth WiFi dual-mode module 1 and the water pump 5 respectively.

[0070] Please refer to Figure 5, the blocking detection module 4 includes a thermistor NTC, a connector J1, a diode D2, a capacitor C6, a diode D1, an inductor L2, a MOS tube Q3, a resistor R4, a resistor R10, a resistor R6, a resistor R11 and a resistor R5;

[0071] The gate of the MOS tube Q3 is electrically connected with one end of the resistor R11 and one end of the resistor R10, the other end of the resistor R11 is electrically connected with the wireless Bluetooth WiFi dual-mode module 1, the source of the MOS tube Q3 is electrically connected with the other end of the resistor R10, one end of the resistor R6 and one end of the resistor R4, the other end of the resistor R4 is grounded, the other end of the resistor R6 is electrically connected with one end of the resistor R5, the other end of the resistor R5 is electrically connected with the wireless Bluetooth WiFi dual-mode module 1, the drain of the MOS tube Q3 is electrically connected with one end of the inductor L2 and the anode of the diode D1, the other end of the inductor L2 is electrically connected with one end of the capacitor C6, the anode of the diode D2 and the fourth pin of the connector J1, the cathode of the diode D1 is electrically connected with the other end of the capacitor C6, the cathode of the diode D2 and the third pin of the connector J1, and the cathode of the diode D1, the other end of the capacitor C6, the cathode of the diode D2 and the third pin of the connector J1 are all connected with a 12V power supply, the opposite ends of the thermistor NTC are electrically connected with the first pin of the connector J1 and the second pin of the connector J1 respectively, and the third pin of the connector J1 and the fourth pin of the connector J1 are respectively and correspondingly electrically connected with two ends of the water pump 5.

[0072] The resistor R4 is a sampling resistor, when the MOS tube Q3 is turned on, the current flowing through the water pump motor will flow through the MOS tube Q3 and the resistor R4 to the GND, when the water pump motor is blocked, the current will become larger, and the voltage drop on the resistor R4 will become larger, the chip U1 can judge whether the water pump motor is blocked by reading the voltage value on the resistor R4 through the ADC;

[0073] The resistor R6 and the capacitor C5, and the resistor R5 and the capacitor C2 form two-stage RC filtering, so that the voltage drop of the resistor R4 is more stable and accurate;

[0074] The resistor R11 is a current limiting resistor of the gate of the MOS tube Q3;

[0075] The resistor R10 is connected between the gate and the source of the MOS tube Q3, and functions to ensure that it is in an off state when there is no control signal, that is, to avoid causing false operation.

[0076] The blocking detection module 4 further includes a resistor R2, a resistor R3, a capacitor C14, a capacitor C7, a capacitor C11, a capacitor C5 and a capacitor C2, and the specific connection relationship between the components will be described in detail with reference to Figure 5; Resistance R2 and thermistor NTC in series to form a voltage sampling circuit, the resistance of thermistor NTC changes with temperature (resistance and temperature have a table), the output voltage of thermistor NTC also changes; Resistance R3 and capacitor C14 are RC filter.

[0077] The gear of water pump 5 (a small motor 3 in essence) is controlled by PWM pulse signal, and the duty cycle of PWM is changed to change the voltage value supplied to water pump 5;

[0078] The power supply of water pump 5 shown in the figure has two loops, when PWM is high level, MOS tube Q3 is turned on, loop one is taken; when PWM is low level, MOS tube Q3 is not turned on, loop two is taken;

[0079] D1 is a freewheeling diode, because the voltage across the capacitor cannot change abruptly, the current in the inductor cannot change abruptly, so the capacitor C6 and the inductor L2 in the figure are just using the characteristics of capacitor and inductor, so that the water pump 5 can rotate more smoothly when the two loops are switched.

[0080] In loop one in the figure, the current flows through sampling resistor R4 (1 ohm 1% precision), and there is a voltage U across resistor R4, because one end is grounded at 0V, the potential at the other end is U, U is sent to the ADC port of chip U1 after two-pole RC filtering;

[0081] When working normally, the current is small, U is small, and chip U1 reads a small value;

[0082] When water pump 5 stalls, the current becomes large, U becomes large, and the value read by ADC becomes large; a suitable threshold value is set to determine whether water pump 5 stalls, if it stalls, the system stops water pump 5 from continuing to rotate, and reports to the APP end, so that the user knows to exclude the stall reason.

[0083] The aquarium further comprises a buzzer sounding module 6, which is electrically connected with the wireless Bluetooth WiFi dual-mode module 1.

[0084] The buzzer sounding module 6 comprises a capacitor C26, a diode D12, a buzzer BUZ1, a resistor R49, a resistor R48 and a triode Q8, and the specific connection relationship between each component of the buzzer sounding module 6 is shown in the figure. Figure 6 ; In this embodiment, a passive buzzer is used because it is lower in cost;

[0085] The passive buzzer mainly comprises an electromagnetic coil and a magnet, and has no built-in driving circuit and sound source; its working principle is based on the principle of electromagnetic induction, when an external excitation signal passes through the electromagnetic coil, an alternating magnetic field is generated in the coil, which interacts with the magnet to make the magnet vibrate, thereby emitting sound;

[0086] In order to generate alternating magnetic field, so the control signal needs to use PWM wave (BUZ_PWM4), instead of high level; Resistor R49 is a current limiting resistor, 1K can flow about 2.6mA current, through the transistor Q8 transistor amplification, drive the internal electromagnetic coil; When PWM is low, transistor Q8 is not conductive, diode D12 is to provide a discharge circuit for the electromagnetic coil, otherwise the coil will produce high voltage between the two ends;

[0087] Capacitor C26 is a power filter; Resistor R48 can speed up the discharge speed of the base of transistor Q8, so that the PWM waveform is better.

[0088] The aquarium is also provided with a lamp panel interface module 7, which is electrically connected with the wireless Bluetooth WiFi dual-mode module 1.

[0089] The lamp panel interface module 7 includes a connector J10, a capacitor C12, a resistor R8 and a capacitor C15, and the specific connection relationship between each component thereof is please refer to Figure 7 ; Capacitor C12 is a power supply pin energy storage and filtering; Resistor R8 and capacitor C15 form an RC circuit to shape the control signal of LED, remove the spike pulse and reduce EMI.

[0090] The aquarium is also provided with a power module, which converts 12V voltage into 3.3V voltage, and the power module includes a connector J4, a bidirectional diode D5, a capacitor C36, a capacitor C41, a chip U7, a capacitor C37, an inductor L1, a capacitor C42, a resistor R27, a resistor R26, a capacitor C39 and a capacitor C40, and the specific connection relationship between each component thereof is please refer to Figure 8 ; This power module is a DC-DC step-down circuit, bidirectional diode D5 is a TVS transient voltage suppression diode, which is a protection device to prevent high voltage pulse from damaging the later stage; The basic principle of DC-DC step-down circuit is PWM chopping, which makes the output smooth through LC energy storage and filtering; The FB pin of chip U7 is used to set the output voltage; Vout=0.6(1+150K / 33.2K)=3.31V, wherein resistor R27(150K) and resistor R28(33.2K) are used to set the output voltage value; Capacitor C42 is used to speed up the start of output, and it is also acceptable without it.

[0091] In conclusion, the utility model provides a kind of aquarium control system, by setting up wireless bluetooth WiFi dual mode module and feeder, feeder includes motor and storage box, infrared grain detection module is equipped in storage box, wireless bluetooth WiFi dual mode module is electrically connected with motor and infrared grain detection module respectively, infrared grain detection module is set close to the grain outlet of storage box, for detecting the grain in storage box, the output end of motor is connected with storage box, for driving storage box rotation and throwing feed into aquarium, feeding control and grain detection can be directly controlled by a wireless bluetooth WiFi dual mode module, so that feeder can not need to use single-chip microcomputer to realize automatic feeding, circuit structure is simple, and cost is reduced.

[0092] The above is only the embodiment of the utility model, and does not limit the patent range of the utility model, and any equivalent transformation, direct or indirect application in related technical field using the contents of the utility model specification and drawings are also included in the patent protection range of the utility model.

Claims

1. An aquarium control system, characterized by, The application relates to a wireless Bluetooth WiFi dual-mode module and a feeder arranged on an aquarium, wherein the feeder comprises a motor and a food storage box, an infrared residual food detection module is arranged in the food storage box, the wireless Bluetooth WiFi dual-mode module is electrically connected with the motor and the infrared residual food detection module respectively, the infrared residual food detection module is arranged close to a food outlet of the food storage box and is used for detecting residual food in the food storage box, and the output end of the motor is connected with the food storage box and is used for driving the food storage box to rotate and feed the food into the aquarium.

2. The aquarium control system of claim 1, wherein, The wireless Bluetooth WiFi dual-mode module comprises a chip U1, the model of the chip U1 is TGW206-16, the third pin, the fifth pin, the eleventh pin and the thirteenth pin of the chip U1 are electrically connected with the infrared residual food detection module.

3. The aquarium control system of claim 2, wherein, The infrared residual food detection module comprises a triode Q2, a chip U8, a triode Q1, a resistor R55, a connector J6, an infrared emitter tube and an infrared receiving tube, the model of the chip U8 is TC118S, and the infrared emitter tube and the infrared receiving tube are arranged on the two sides of the food outlet of the food storage box. The third pin of the chip U8 is electrically connected with the third pin of the chip U1, the fourth pin of the chip U8 is connected with a 3.3V power supply, the fifth pin of the chip U8 is electrically connected with the first pin of the connector J6, the sixth pin of the chip U8 is electrically connected with the seventh pin of the chip U8, the sixth pin of the chip U8 and the seventh pin of the chip U8 are grounded, the eighth pin of the chip U8 is electrically connected with the second pin of the connector J6 and the emitter of the triode Q1 respectively, the base of the triode Q1 is electrically connected with the eleventh pin of the chip U1, the collector of the triode Q1 is electrically connected with the fifth pin of the connector J6, the sixth pin of the connector J6 is electrically connected with one end of the resistor R55 and the base of the triode Q2 respectively, the other end of the resistor R55 is connected with the 3.3V power supply, the two ends of the infrared emitter tube are electrically connected with the fifth pin and the sixth pin of the connector J6 respectively, one end of the infrared receiving tube is electrically connected with the fourth pin of the connector J6, the other end of the infrared receiving tube is grounded, the emitter of the triode Q2 is grounded, and the collector of the triode Q2 is electrically connected with the fifth pin of the chip U1.

4. The aquarium control system of claim 3, wherein, The infrared residual food detection module further comprises a resistor R16, a resistor R17 and a resistor R9, the base of the triode Q2 is electrically connected with one end of the resistor R16 and one end of the resistor R17 respectively, the other end of the resistor R16 is electrically connected with the sixth pin of the connector J6 and one end of the resistor R55 respectively, the other end of the resistor R17 is grounded, one end of the resistor R9 is electrically connected with the collector of the triode Q2 and the fifth pin of the chip U1 respectively, and the other end of the resistor R9 is connected with the 3.3V power supply.

5. The aquarium control system of claim 3, wherein, The infrared residual food detection module further comprises a resistor R13 and a resistor R14, one end of the resistor R13 is electrically connected with one end of the resistor R14 and the base of the triode Q1 respectively, the other end of the resistor R13 is electrically connected with the eleventh pin of the chip U1, and the other end of the resistor R14 is grounded.

6. The aquarium control system of claim 3, wherein, The infrared residual energy detection module further comprises a resistor R15, a capacitor C8 and an inductor L3, one end of the resistor R15 is electrically connected with one end of the inductor L3 and the thirteenth pin of the chip U1 respectively, the other end of the inductor L3 is electrically connected with the fourth pin of the connector J6 and one end of the capacitor C8 respectively, and the other end of the capacitor C8 is grounded.

7. The aquarium control system of claim 1, wherein, The aquarium is further provided with a water pump and a locked-rotor detection module, and the locked-rotor detection module is electrically connected with the wireless Bluetooth and WiFi dual-mode module and the water pump respectively.

8. The aquarium control system of claim 7, wherein, The locked-rotor detection module comprises a thermistor NTC, a connector J1, a diode D2, a capacitor C6, a diode D1, an inductor L2, a MOS tube Q3, a resistor R4, a resistor R10, a resistor R6, a resistor R11 and a resistor R5. The gate of the MOS tube Q3 is electrically connected with one end of the resistor R11 and one end of the resistor R10 respectively, the other end of the resistor R11 is electrically connected with the wireless Bluetooth and WiFi dual-mode module, the source of the MOS tube Q3 is electrically connected with the other end of the resistor R10, one end of the resistor R6 and one end of the resistor R4 respectively, the other end of the resistor R4 is grounded, the other end of the resistor R6 is electrically connected with one end of the resistor R5, the other end of the resistor R5 is electrically connected with the wireless Bluetooth and WiFi dual-mode module, the drain of the MOS tube Q3 is electrically connected with one end of the inductor L2 and the anode of the diode D1 respectively, the other end of the inductor L2 is electrically connected with one end of the capacitor C6, the anode of the diode D2 and the fourth pin of the connector J1 respectively, the cathode of the diode D1 is electrically connected with the other end of the capacitor C6, the cathode of the diode D2 and the third pin of the connector J1 respectively, and the cathode of the diode D1, the other end of the capacitor C6, the cathode of the diode D2 and the third pin of the connector J1 are all connected with a 12V power supply, the opposite ends of the thermistor NTC are electrically connected with the first pin of the connector J1 and the second pin of the connector J1 respectively, and the third pin of the connector J1 and the fourth pin of the connector J1 are electrically connected with two ends of the water pump respectively.

9. The aquarium control system of claim 1, wherein, The aquarium is further provided with a buzzer sounding module, and the buzzer sounding module is electrically connected with the wireless Bluetooth and WiFi dual-mode module.

10. The aquarium control system of claim 1, wherein, The aquarium is further provided with a lamp panel interface module, and the lamp panel interface module is electrically connected with the wireless Bluetooth and WiFi dual-mode module.