Automatic water injection control system based on Wheatstone bridge design and water injector
Through the automatic water injection control system based on Wheatstone bridge, combined with the microcontroller and pressure detection circuit module, the automatic control of the start and stop of the water pump is realized, solving the problem of single functions and inconvenient use of traditional water dispensers, and improving the use of smart homes Experience and convenience.
Patent Information
- Application Number
- CN202421200485.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-29
- Publication Date
- 2024-12-27
- Estimated Expiration
- 2034-05-29
AI Technical Summary
The traditional water dispenser has a single function and is inconvenient to use, and it cannot achieve automatic water withdrawal and remote control, which limits the development of smart homes and cannot meet the needs of modern people for smart homes.
An automatic water injection control system based on Wheatstone bridge is designed, combining microcontroller, pressure detection circuit module and driver module to detect the pressure changes of the water cup through pressure sensors and AD converters, and automatically control the start and stop of the water pump to achieve automatic Water injection function and provide user interaction interface through capacitive touch screen.
The automation and intelligence of the water dispenser is realized, reducing the difficulty of user operation, improving the convenience of use, enhancing the user experience, and reducing the cost of use.
Smart Images

Figure CN222259894U_ABST
Abstract
Description
Technical Field
[0001] The utility model belongs to the technical field of intelligent drinking water equipment, and specifically relates to an automatic water injection control system and a water injector based on Wheatstone bridge design. Background Art
[0002] Traditional water dispensers usually only have simple preset control functions, such as only releasing a fixed amount of water each time a button is pressed. However, this preset function often cannot meet the personalized needs of users, and in actual use, users often need to use other auxiliary equipment or measures to achieve safe water output, which undoubtedly increases the cost and inconvenience of use. In addition, traditional water dispensers also have many shortcomings in terms of interactivity and convenience. For example, they cannot realize functions such as automatic water extraction and remote wireless control, which requires users to frequently perform manual operations during use, reducing the user experience.
[0003] In the field of smart home, although foreign countries are relatively mature in the research of smart water dispensers, the research direction mainly focuses on improving water quality and water temperature control, while there are relatively few studies on the convenience of use. In contrast, although the development of smart home in China started late, it has developed rapidly and is gradually entering the stage of improvement and popularization. As an important part of the smart home system, the development of smart water dispensers will also usher in new opportunities and challenges.
[0004] At present, the widely used water dispensers in China generally have problems such as single function and inconvenience in use. When using traditional water dispensers, users usually need to manually control the water intake, which not only brings inconvenience to the user's life, but also poses certain risks when receiving hot water. In addition, the existing water dispensers have poor connectivity and cannot achieve remote monitoring and management, making it impossible for users to understand the working status of the water dispensers in a timely manner. These problems have restricted the intelligent development of water dispensers and cannot meet the needs of modern people for smart homes.
[0005] In summary, the existing water dispensers have many deficiencies in terms of convenience and cannot meet the needs of modern people for smart homes. Therefore, how to develop an automatic water dispenser for water cups based on pressure detection to realize the intelligence and automation of water dispensers is of great significance for improving user experience, reducing usage costs and promoting the development of smart homes. Utility Model Content
[0006] Aiming at the problems existing in the manual control of water intake of traditional intelligent water dispensers in the background technology, the utility model provides an automatic water injection control system and a water injector based on Wheatstone bridge design.
[0007] To achieve the above-mentioned purpose, the utility model adopts the following technical scheme: an automatic water injection control system based on a Wheatstone bridge design, comprising a microcontroller and a capacitive touch screen connected to the microcontroller for communication, and data transmission and interaction are realized between the two. The water pump is electrically connected to the signal output end of the microcontroller through a driver module. The driver module is powered by a 12V power supply and executes the water injection instruction sent by the microcontroller to control the start and stop of the water pump, thereby realizing automatic water injection; the signal input end of the microcontroller is connected to the pressure detection circuit module, and the voltage conversion module converts the 12V power supply into 5V to power the microcontroller and the pressure detection circuit module respectively. The capacitive touch screen provides a 3.3V voltage through the microcontroller. The microcontroller sends a water injection instruction to the driver module by judging the actual measured pressure value uploaded by the pressure detection circuit module and the preset pressure value. The pressure detection circuit module comprises a pressure sensor and an AD converter. The pressure sensor comprises a Wheatstone bridge and a strain gauge, and the two are packaged together. The Wheatstone bridge is a diamond-connected The four resistors R1, R2, R3 and R4 form a measuring circuit. The AD converter is a dual-channel AD conversion module of the HX711AD converter chip. Point A in the measuring circuit is connected to the AVDD pin of the HX711AD converter chip to power the measuring circuit. Point A in the measuring circuit is grounded through a capacitor C2, and point B in the measuring circuit is grounded to filter out the clutter generated in the circuit. Points C and D in the measuring circuit are connected to the INPA pin and INNA pin of the HX711AD converter chip through resistors R6 and R5, respectively. A capacitor C1 is connected across point C and D in the measuring circuit to filter out the clutter in the output signal. The HX711AD converter chip is connected to the signal input end of the microcontroller. When the measured pressure acts on the pressure sensor, the displacement of the strain gauge will generate a tiny voltage analog signal generated by the Wheatstone bridge. The AD converter converts the voltage analog signal into a voltage digital signal and uploads it to the microcontroller for processing, which is used for the microcontroller to interpret and send a water injection instruction.
[0008] As a further supplement to the above technical solution, the microcontroller adopts the MX6ULL single-chip microcomputer, the voltage conversion module is a 7805 voltage regulator chip, the GND pin of the 7805 voltage regulator chip is the power ground, the VIN pin of the 7805 voltage regulator chip is connected to the 12v input voltage, the VOUT pin of the 7805 voltage regulator chip is connected to the 5v output voltage, which are respectively connected to the VCC pin of the MX6ULL single-chip microcomputer and the VSUP pin of the HX711AD converter chip, and the UATR-RX pin, UATR-TX pin and VDD pin of the MX6ULL single-chip microcomputer are respectively connected to the PD_SCK pin, DOUT pin and DVDD pin of the HX711AD converter chip.
[0009] As a further supplement to the above technical solution, a magnetic bead inductor L is connected between the VSUP pin and the DVDD pin of the HX711AD converter chip, one end of the capacitor C3 is grounded, and the other end is connected to the DVDD pin of the HX711AD converter chip. The magnetic bead inductor L and the capacitor C3 form a low-pass filter to isolate the digital-to-analog and digital power supplies to reduce the impact of high-frequency noise.
[0010] As a further supplement to the above technical solution, the capacitive touch screen uses FT5x06, the VDD_3V3 pin of the MX6ULL microcontroller is connected to the VCC pin of the capacitive touch screen to provide 3.3V voltage for the FT5x06, the GND pin of the FT5x06 is grounded, and the SDA pin of the FT5x06 is connected to the I2C1_SDA pin of the MX6ULL microcontroller for data transmission between chips to achieve interactivity of the touch function; the SCL pin of the FT5x06 is connected to the I2C1_SCL of the MX6ULL microcontroller to ensure that the data transmission between the touch screen and the processor is carried out in the correct timing to ensure the stability and reliability of the communication.
[0011] As a further supplement to the above technical solution, the driver module is an L298N motor driver, and the VCC pin of the L298N motor driver is externally connected to a 12v power supply to power it. The IN1 and IN2 input pins of the L298N motor driver are respectively connected to the GPIO_IO01 and GPIO_IO02 pins of the MX6ULL microcontroller, which are used to receive digital information transmitted by the microcontroller. The L298N chip reacts according to the received digital information to control the start and stop of the motor; the GPIO_IO03 pin of the MX6ULL is connected to the ENA pin of the L298N motor driver, which is used to control the start and stop of the motor, ensuring that the motor starts when the GPIO pin of the MX6ULL outputs a high level and stops when the motor outputs a low level. The SENSA pin, SENSB pin, and GND pin of the L298N motor driver are all grounded, and the OUT1 pin and OUT2 pin of the L298N motor driver are respectively connected to the positive and negative poles of the water pump.
[0012] An automatic water injector adopts an automatic water injection control system designed based on a Wheatstone bridge in a technical solution, which mainly includes a water dispenser housing and a front cover plate arranged thereon, wherein a tray and a water outlet guide rod are respectively arranged on the water dispenser housing, a water nozzle is arranged on the water outlet guide rod, the water nozzle is connected to the water outlet of a water pump through a hose, the water inlet of the water pump is connected to a water bucket through a hose, the water bucket is placed in the water dispenser housing, the microcontroller, the pressure detection circuit module, the driver module, the water pump and the voltage conversion module are respectively installed in the water dispenser housing, and the pressure sensor is located directly below the tray, and the capacitive touch screen is installed on the water outlet guide rod.
[0013] Furthermore, a power switch is provided on the water outlet guide rod for controlling the on and off of the power supply circuit.
[0014] Furthermore, a partition is provided in the water dispenser housing, and the partition is used to separate the internal space of the water dispenser housing into a water bucket placement area and a paper cup placement area.
[0015] Compared with the existing traditional intelligent water dispenser, the utility model has the following advantages:
[0016] 1. The pressure detection circuit module designed by the utility model includes a pressure sensor and an AD converter, wherein the pressure sensor includes a Wheatstone bridge and a strain gauge, and the two are packaged together. The Wheatstone bridge is a measurement circuit composed of four resistors R1, R2, R3 and R4 connected in a rhombus, and the pressure is detected using the Wheatstone bridge principle. This pressure detection circuit module design utilizes the sensitivity of the Wheatstone bridge to small resistance changes, and can accurately measure the mass of a light object such as a disposable paper cup, thereby accurately controlling the start and stop of the water pump.
[0017] 2. In the design of the pressure detection circuit module, the utility model uses a 0.1u capacitor C3 for decoupling and filtering high-frequency noise. The magnetic bead L is used to isolate high frequency and noise and protect the circuit from electromagnetic interference. The magnetic bead L and the capacitor C3 together form a low-pass filter to further reduce the impact of high-frequency noise and isolate the digital-analog and digital power supply.
[0018] 3. The microcontroller of this utility model adopts MX6ULL single-chip microcomputer to control the whole system. The advanced low-power design can reduce power consumption as much as possible while meeting high-performance requirements. Compared with 32 single-chip microcomputers and 51 single-chip microcomputers, which are usually designed for low-power applications, its processing power is more advantageous and helps to save electricity. The MX6ULL single-chip microcomputer has a large memory capacity and flash memory, which makes it easy to run the automatic water injection program.
[0019] 4. The utility model introduces an automatic water filling control system that combines pressure detection with water pump drive. The pressure detection circuit module automatically detects changes in the pressure value in the water storage container. The microcontroller automatically starts or stops the water pump according to the preset pressure value to achieve automatic water filling function, thereby simplifying the user's operation process, reducing the difficulty of use, and making water collection easier and more convenient. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 It is a structural diagram of the automatic water injection control system in the utility model;
[0021] Figure 2 It is the circuit principle diagram of the automatic water injection control system in the utility model;
[0022] Figure 3 It is a structural diagram of the automatic water injector equipped with an automatic water injection control system in the utility model.
[0023] In the figure: the microcontroller is 1, the capacitive touch screen is 2, the pressure detection circuit module is 3, the driver module is 4, the water pump is 5, the voltage conversion module is 6, the water dispenser housing is 7, the front cover is 8, the tray is 9, the water outlet guide rod is 10, the water spout is 11, the water bucket is 12, the power switch is 13, the partition is 14, the water bucket placement area is 15, and the paper cup placement area is 16. DETAILED DESCRIPTION
[0024] In order to further illustrate the technical solution of the utility model, the following Figures 1 to 3 , based on the circuit design and specific implementation plan, we further illustrate the utility model through the optimal embodiment.
[0025] As attached Figure 1 As shown, an automatic water injection control system based on Wheatstone bridge design includes a microcontroller 1 and a capacitive touch screen 2 that is communicatively connected thereto, and data transmission and interaction are achieved between the two. A water pump 5 is electrically connected to the signal output end of the microcontroller 1 through a driver module 4. The driver module 4 is powered by a 12V power supply and executes the water injection instruction sent by the microcontroller 1 to control the start and stop of the water pump 5, thereby achieving automatic water injection. The signal input end of the microcontroller 1 is connected to a pressure detection circuit module 3, and a voltage conversion module 6 converts the 12V power supply into 5V to power the microcontroller 1 and the pressure detection circuit module 3 respectively. The capacitive touch screen 2 provides a 3.3V voltage through the microcontroller 1.
[0026] As attached Figure 2As shown, the microcontroller 1 adopts MX6ULL single-chip microcomputer, the voltage conversion module 6 is 7805 voltage stabilizing chip, the capacitive touch screen 2 selects FT5x06, the driver module 4 is L298N motor driver, the pressure detection circuit module 3 includes a pressure sensor and an AD converter, the pressure sensor includes a Wheatstone bridge and a strain gauge, and the two are packaged together, the Wheatstone bridge is a measurement circuit composed of four resistors R1, R2, R3 and R4 connected in a diamond shape, the AD converter is a dual-channel AD conversion module of the HX711AD converter chip, point A in the measurement circuit is connected to the AVDD pin of the HX711AD converter chip to power the measurement circuit, point A in the measurement circuit is grounded through capacitor C2, and point B in the measurement circuit is grounded to filter out clutter generated in the circuit Point C and point D in the measuring circuit are connected to the INPA pin and INNA pin of the HX711AD converter chip through resistors R6 and R5 respectively. A capacitor C1 is connected across point C and point D in the measuring circuit to filter out the noise in the output signal. The GND pin of the 7805 voltage regulator chip is the power ground, the VIN pin of the 7805 voltage regulator chip is connected to the 12v input voltage, and the VOUT pin of the 7805 voltage regulator chip is connected to the 5v output voltage, which are respectively connected to the VCC pin of the MX6ULL microcontroller and the VSUP pin of the HX711AD converter chip. The UATR-RX pin, UATR-TX pin and VDD pin of the MX6ULL microcontroller are respectively connected to the PD_SCK pin, DOUT pin and DVDD pin of the HX711AD converter chip. The VDD_3V3 pin of the MX6ULL microcontroller is connected to the VCC pin of the capacitive touch screen to provide 3.3V voltage for the FT5x06. The GND pin of the FT5x06 is grounded. The SDA pin of the FT5x06 is connected to the I2C1_SDA pin of the MX6ULL microcontroller to transmit data between chips and realize the interactivity of the touch function. The SCL pin of the FT5x06 is connected to the I2C1_SCL of the MX6ULL microcontroller to ensure that the data transmission between the touch screen and the processor is carried out in the correct timing to ensure the stability and reliability of communication.The VCC pin of the L298N motor driver is connected to an external 12V power supply for powering it. The IN1 and IN2 input pins of the L298N motor driver are respectively connected to the GPIO_IO01 and GPIO_IO02 pins of the MX6ULL microcontroller to receive digital information transmitted by the microcontroller 1. The L298N chip reacts according to the received digital information to control the start and stop of the motor; the GPIO_IO03 pin of the MX6ULL is connected to the ENA pin of the L298N motor driver to control the start and stop of the motor, ensuring that when the GPIO pin of the MX6ULL outputs a high level, the motor can start, and when the output is a low level, the motor stops. The SENSA pin, SENSB pin, and GND pin of the L298N motor driver are all grounded, and the OUT1 pin and OUT2 pin of the L298N motor driver are respectively connected to the positive and negative poles of the water pump 5.
[0027] In this embodiment, the XTALI and XTALO pins of the MX6ULL microcontroller are connected to the built-in crystal oscillator module. The amplifier in the circuit provides enough excitation to make the crystal oscillate and amplifies its oscillation signal to a suitable level. The output of the oscillator is sent back to the input of the amplifier, forming a feedback loop. This feedback ensures that the oscillator remains oscillating near the resonant frequency, thereby producing a stable output signal.
[0028] As a preferred implementation of the above embodiment, a magnetic bead inductor L is connected between the VSUP pin and the DVDD pin of the HX711AD converter chip, one end of the capacitor C3 is grounded, and the other end thereof is connected to the DVDD pin of the HX711AD converter chip, and the magnetic bead inductor L and the capacitor C3 form a low-pass filter to isolate the digital-to-analog and digital power supplies, so as to reduce the influence of high-frequency noise.
[0029] Based on the automatic water injection control system in the above embodiment, as shown in the attached Figure 3 As shown, an automatic water injector includes a water dispenser housing 7 and a front cover plate 8 arranged thereon, a tray 9 and a water outlet guide rod 10 are respectively arranged on the water dispenser housing 7, a water nozzle 11 is arranged on the water outlet guide rod 10, the water nozzle 11 is connected to the water outlet of the water pump 5 through a hose, the water inlet of the water pump 5 is connected to the water bucket 12 through a hose, the water bucket 12 is placed in the water dispenser housing 7, the microcontroller 1, the pressure detection circuit module 3, the driver module 4, the water pump 5 and the voltage conversion module 6 are respectively installed in the water dispenser housing 7, and the pressure sensor is located directly below the tray 9, the capacitive touch screen 2 and the power switch 13 are installed on the water outlet guide rod 10, wherein the power switch 13 is used to control the on and off of the power supply circuit to avoid the continuous operation of the equipment when no one is using it at night, resulting in a waste of electricity.
[0030] As a preferred implementation of the above embodiment, a partition 14 is provided in the water dispenser housing 7 , and the partition 14 is used to isolate the inner space of the water dispenser housing 7 into a water bucket placement area 15 and a paper cup placement area 16 .
[0031] In the above embodiment, the pressure detection module detects the pressure of the water cup in the water cup tray in real time. When the measured pressure acts on the pressure sensor, the displacement of the strain gauge will generate a small voltage analog signal generated by the Wheatstone bridge. The AD converter converts the voltage analog signal into a voltage digital signal and uploads it to the microcontroller 1 for processing. When the microcontroller 1 judges the measured pressure value and the preset pressure value, that is, the measured pressure value is greater than or equal to the preset empty cup pressure value and less than the full cup pressure, it will send a water injection instruction to the driver module 4, the water pump 5 will start, and the device will start to inject water into the water cup tray. Otherwise, the water pump 5 will be in a non-operating state and stop injecting water into the water cup in the water cup tray. At the same time, in addition to displaying prompt information, the capacitive touch screen 2 can also control the start and stop of the motor through the capacitive touch screen 2 in addition to setting the preset pressure value and temperature parameters in the microcontroller 1 according to the prompt information. For example, design "empty cup", "full cup", and "confirm" buttons on the capacitive touch screen. When the user needs to set a new empty cup or full cup value, he only needs to click the "empty cup" or "full cup" button, then place the empty cup or full cup in the water cup tray and click confirm to complete the new value design. When using the same water cup, there is no need to reset the information every time you receive water. Design a "fill / stop" button on the capacitive touch screen. The user can control the start and stop of the motor by clicking the button to achieve active water collection, which is convenient for users to use their own water cups instead of disposable cups to collect water. Design a display area on the capacitive touch screen, display prompt words in the display area, and display corresponding prompt words in different states of the device operation: "Filling water", "Stop filling water", "Please place an empty cup", "Please place a full cup", "Empty cup setting completed", "Full cup setting completed".
[0032] The above shows and describes the main features and advantages of the utility model. For those skilled in the art, it is obvious that the specific implementation of the utility model is not limited to the details of the above exemplary embodiments, and the creative ideas and design ideas of the utility model can be realized in other specific forms without departing from the spirit or basic features of the utility model, which should be equivalent to the protection scope disclosed in the technical solution of the utility model. Therefore, no matter from which point of view, the embodiments should be regarded as exemplary and non-restrictive. The scope of the utility model is limited by the attached claims rather than the above description, so it is intended to include all changes within the meaning and scope of the equivalent elements of the claims in the utility model.
[0033] In addition, it should be understood that although the present specification is described according to implementation modes, not every implementation mode contains only one independent technical solution. This description of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment may also be appropriately combined to form other implementation modes that can be understood by those skilled in the art.
Claims
1. An automatic water injection control system based on a Wheatstone bridge design, comprising a microcontroller (1) and a capacitive touch screen (2) in communication with the microcontroller, wherein data transmission and interaction are realized between the two, a water pump (5) is electrically connected to a signal output end of the microcontroller (1) via a driver module (4), the driver module (4) is powered by a 12V power supply and executes a water injection instruction sent by the microcontroller (1) to control the start and stop of the water pump (5), thereby realizing automatic water injection, characterized in that: The signal input end of the microcontroller (1) is connected to the pressure detection circuit module (3); the voltage conversion module (6) converts the 12V power supply into 5V to supply power to the microcontroller (1) and the pressure detection circuit module (3); the capacitive touch screen (2) provides a 3.3V voltage through the microcontroller (1); the microcontroller (1) sends a water injection instruction to the driver module (4) by judging the actual pressure value uploaded by the pressure detection circuit module (3) and the preset pressure value; the pressure detection circuit module (3) comprises a pressure sensor and an AD converter; the pressure sensor comprises a Wheatstone bridge and a strain gauge, and the two are packaged together; the Wheatstone bridge is a measurement circuit composed of four resistors R1, R2, R3 and R4 connected in a diamond shape; the AD converter is a dual-channel AD conversion module of an HX711AD converter chip; point A in the measurement circuit is connected to point H The AVDD pin of the HX711 AD converter chip is connected to the AVDD pin of the HX711 AD converter chip to power the measurement circuit. Point A in the measurement circuit is grounded through a capacitor C2. Point B in the measurement circuit is grounded to filter out noise generated in the circuit. Points C and D in the measurement circuit are connected to the INPA pin and INNA pin of the HX711 AD converter chip through resistors R6 and R5, respectively. A capacitor C1 is connected across points C and D in the measurement circuit to filter out noise in the output signal. The HX711 AD converter chip is connected to the signal input end of the microcontroller (1). When the measured pressure acts on the pressure sensor, the displacement of the strain gauge will cause the Wheatstone bridge to generate a tiny voltage analog signal. The AD converter converts the voltage analog signal into a voltage digital signal and uploads it to the microcontroller (1) for processing, so that the microcontroller (1) can read and send a water injection instruction.
2. The automatic water injection control system based on Wheatstone bridge design according to claim 1 is characterized in that: The microcontroller (1) adopts an MX6ULL single-chip microcomputer, and the voltage conversion module (6) is a 7805 voltage regulator chip. The GND pin of the 7805 voltage regulator chip is the power ground, the VIN pin of the 7805 voltage regulator chip is connected to the 12V input voltage, and the VOUT pin of the 7805 voltage regulator chip is connected to the 5V output voltage, which are respectively connected to the VCC pin of the MX6ULL single-chip microcomputer and the VSUP pin of the HX711AD converter chip. The UATR-RX pin, UATR-TX pin and VDD pin of the MX6ULL single-chip microcomputer are respectively connected to the PD_SCK pin, DOUT pin and DVDD pin of the HX711AD converter chip.
3. The automatic water injection control system based on Wheatstone bridge design according to claim 1 is characterized in that: A magnetic bead inductor L is connected between the VSUP pin and the DVDD pin of the HX711AD converter chip, one end of the capacitor C3 is grounded, and the other end is connected to the DVDD pin of the HX711AD converter chip. The magnetic bead inductor L and the capacitor C3 form a low-pass filter to isolate the digital-analog and digital power supplies to reduce the impact of high-frequency noise.
4. The automatic water injection control system based on Wheatstone bridge design according to claim 1 is characterized in that: The capacitive touch screen (2) uses FT5x06, the VDD_3V3 pin of the MX6ULL single-chip microcomputer is connected to the VCC pin of the capacitive touch screen to provide 3.3V voltage for the FT5x06, the GND pin of the FT5x06 is grounded, the SDA pin of the FT5x06 is connected to the I2C1_SDA pin of the MX6ULL single-chip microcomputer for data transmission between chips to achieve the interactivity of the touch function; the SCL pin of the FT5x06 is connected to the I2C1_SCL of the MX6ULL single-chip microcomputer to ensure that the data transmission between the touch screen and the processor is carried out in a correct timing to ensure the stability and reliability of the communication.
5. The automatic water injection control system based on Wheatstone bridge design according to claim 1 is characterized in that: The driver module (4) is an L298N motor driver. The VCC pin of the L298N motor driver is connected to an external 12V power supply for powering it. The IN1 and IN2 input pins of the L298N motor driver are respectively connected to the GPIO_IO01 and GPIO_IO02 pins of the MX6ULL single-chip computer for receiving digital information transmitted by the microcontroller (1). The L298N chip reacts according to the received digital information to control the start and stop of the motor. The GPIO_IO03 pin of the MX6ULL is connected to the ENA pin of the L298N motor driver for controlling the start and stop of the motor, ensuring that the motor starts when the GPIO pin of the MX6ULL outputs a high level and stops when the motor outputs a low level. The SENSA pin, SENSB pin, and GND pin of the L298N motor driver are all grounded. The OUT1 pin and OUT2 pin of the L298N motor driver are respectively connected to the positive and negative poles of the water pump (5).
6. An automatic water injector, comprising a water dispenser housing (7) and a front cover (8) arranged thereon, wherein a tray (9) and a water outlet guide rod (10) are respectively arranged on the water dispenser housing (7), a water nozzle (11) is arranged on the water outlet guide rod (10), the water nozzle (11) is connected to the water outlet of a water pump (5) through a hose, and the water inlet of the water pump (5) is connected to a water bucket (12) through a hose, characterized in that: An automatic water filling control system based on a Wheatstone bridge design as claimed in any one of claims 1 to 5 is adopted, wherein the water bucket (12) is placed in a water dispenser housing (7), the microcontroller (1), the pressure detection circuit module (3), the driver module (4), the water pump (5) and the voltage conversion module (6) are respectively installed in the water dispenser housing (7), and the pressure sensor is located directly below the tray (9), and the capacitive touch screen (2) is installed on the water outlet guide rod (10).
7. An automatic water injector according to claim 6, characterized in that: A power switch (13) is provided on the water outlet guide rod (10) for controlling the on and off of the power supply circuit.
8. An automatic water injector according to claim 6 or 7, characterized in that: A partition (14) is provided in the water dispenser housing (7), and the partition (14) is used to separate the internal space of the water dispenser housing (7) into a water bucket placement area (15) and a paper cup placement area (16).
