Horse water intake measuring equipment

Through the combination of STM32 main chip, RC522 module, TF card storage module and 4G transmission module, RFID technology and wireless transmission are used to solve the problems of low efficiency and poor accuracy of traditional horse drinking water management, real-time monitoring and data transmission are realized, ensuring the scientific and intelligent horse health management.

CN223168418UActive Publication Date: 2025-07-29XINJIANG ACADEMY OF ANIMAL SCI QUALITY STANDARDS INST OF ANIMAL HUSBANDRY XINJIANG UYGUR AUTONOMOUS REGION SHEEP & WOOL CASHMERE QUALITY SAFETY SUPERVISION & INSPECTION CENT +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202422262208.2
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-09-13
Publication Date
2025-07-29
Estimated Expiration
2034-09-13

AI Technical Summary

Technical Problem

Traditional horse drinking water management relies on manual observation, which is inefficient and poorly accurate, and cannot detect insufficient or excessive drinking water in a timely manner, which poses potential health risks.

Method used

It adopts STM32 main chip, RC522 module, TF card storage module and 4G transmission module, combined with RFID technology and wireless transmission, monitors and records horse drinking water behavior in real time, and transmits data to remote servers through 4G modules.

Benefits of technology

Real-time monitoring of horse drinking water management and efficient and accurate data recording are achieved, timely detection of insufficient or excessive drinking water, prevent health problems, and support scientific breeding and training decisions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223168418U_ABST
    Figure CN223168418U_ABST
Patent Text Reader

Abstract

The utility model provides horse water intake measuring equipment, which belongs to the technical field of agricultural science information and comprises an STM32 main chip, an RC522 module, a TF card storage module, a 4G transmission module and a power management module. The STM32 main chip is respectively connected with the RC522 module, the TF card storage module, the 4G transmission module and the power management module; the power management module comprises a DP4054H linear lithium battery charging chip, a USB charging interface and a battery management chip. The utility model designs an intelligent horse water intake measuring device. The equipment can monitor and record water drinking behaviors of horses in real time, provide detailed water drinking data, provide an efficient, convenient and accurate horse water drinking monitoring solution for a horse farm and horse managers, and promote intelligence and scientization of horse health management.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model belongs to the technical field of agricultural science information technology, and particularly relates to a device for measuring the drinking water amount of horses. Background Art

[0002] It is crucial for horses to maintain good health during exercise, training and daily life. Appropriate drinking water habits are one of the key factors to ensure the health of horses. Sufficient drinking water not only helps regulate the body temperature of horses, maintain normal physiological functions, but also improves their athletic performance and recovery ability. However, traditional horse drinking water management mainly relies on manual observation and recording, which is not only time-consuming and laborious, but also difficult to ensure the accuracy and timeliness of data. The progress of modern technology provides new possibilities for horse health management. With the help of Internet of Things technology and intelligent devices, real-time monitoring and management of the drinking water situation of horses can be achieved. Traditional horse drinking water management not only fails to detect insufficient or excessive drinking water in a timely manner, but also has potential health problems, and cannot provide data support for feeding and training decisions. Content of the Utility Model

[0003] Aiming at the above deficiencies in the prior art, a device for measuring the drinking water amount of horses provided by the utility model solves the problems of low efficiency, poor accuracy, untimely discovery and potential danger in horse drinking water management.

[0004] In order to achieve the above purpose, the technical solution adopted by the utility model is: a device for measuring the drinking water amount of horses, comprising: an STM32 main chip, an RC522 module, a TF card storage module, a 4G transmission module and a power management module;

[0005] The STM32 main chip is respectively connected to the RC522 module, the TF card storage module, the 4G transmission module and the power management module.

[0006] The beneficial effect of the utility model is: the utility model adopts an STM32 main chip, an RC522 module, a TF card storage module and a 4G transmission module to realize real-time monitoring and management of the drinking water situation of horses, greatly improving the management efficiency and accuracy, and being able to timely detect insufficient or excessive drinking water, prevent potential health problems, and provide data support for scientific feeding and training decisions.

[0007] Further, the control chip of the STM32 main chip is U1. The PA4 pin, PA5 pin, PA6 pin, PA7 pin and GND pin of the control chip U1 are all connected to the RC522 module; the VCC3V3 pin, GND pin, PB12 pin, PB13 pin, PB14 pin and PB15 pin of the control chip U1 are all connected to the TF storage card module; the PA1 pin of the control chip U1 is connected to the power management module; the PA2 pin and PA3 pin of the control chip U1 are both connected to the 4G module; the GND pin of the control chip U1 is grounded; the BOOT0 pin of the control chip U1 is connected to one end of the resistor R2; the BOOT1 pin of the control chip U1 is connected to one end of the resistor R4; the other end of the resistor R2 is connected to the other end of the resistor R4 and grounded; the PC14 pin of the control chip U1 is respectively connected to the 1st pin of the low-frequency quartz crystal oscillator Y1 and one end of the capacitor C3; the PC15 pin of the control chip U1 is respectively connected to the 2nd pin of the low-frequency quartz crystal oscillator Y1 and one end of the capacitor C4; the other end of the capacitor C3 is connected to the other end of the capacitor C4 and grounded; the OSCI N pin of the control chip U1 is respectively connected to one end of the resistor R5, the 2nd pin of the high-frequency quartz crystal oscillator Y2 and one end of the capacitor C9; the OSCOUT pin of the control chip U1 is respectively connected to the other end of the resistor R5, the 1st pin of the high-frequency quartz crystal oscillator Y2 and one end of the capacitor C10; the other end of the capacitor C9 is connected to the other end of the capacitor C10 and grounded.

[0008] The beneficial effect of the above further solution is that the utility model takes the STM32 main control chip as the core, and realizes the rapid communication between the data collected by each module and the main control chip through the connection between the STM32 main control chip and the rest of the hardware, thereby improving the rate at which the main control chip processes the collected data.

[0009] Furthermore, the read-write chip of the RC522 module is U2. The CS pin of the read-write chip U2 is connected to the PA4 pin of the control chip U1; the SCK pin of the read-write chip U2 is connected to the PA5 pin of the control chip U1; the MISO pin of the read-write chip U2 is connected to the PA6 pin of the control chip U1; the MOSI pin of the read-write chip U2 is connected to the PA7 pin of the control chip U1; the GND pin of the read-write chip U2 is connected to the GND pin of the control chip U1; the RST pin of the read-write chip U2 is connected to one end of the resistor R14; the other end of the resistor R14 is connected to the VCC3V3 pin of the control chip U1; the VCC pin of the read-write chip U2 is connected to the VCC3V3 pin of the control chip U1; the I2C pin of the read-write chip U2 is grounded; the EA pin of the read-write chip U2 is connected to the VCC3V3 pin of the control chip U1; the DVSS pin of the read-write chip U2 is connected to and grounded with the PVSS pin, the TVSS pin, and the AVSS pin of the read-write chip U2 respectively; the AVDD pin of the read-write chip U2 is connected to the DVDD pin, the PVDD pin, the TVDD pin of the read-write chip U2, the VCC3V3 pin of the control chip U1, and one end of the capacitor C13 respectively; the other end of the capacitor C13 is grounded.

[0010] The TX1 pin of the read-write chip U2 is connected to one end of the inductor L1; the other end of the inductor L1 is connected to one end of the capacitor C14 and one end of the capacitor C15 respectively; the TX2 pin of the read-write chip U2 is connected to one end of the inductor L2; the other end of the inductor L2 is connected to one end of the capacitor C18 and one end of the capacitor C19 respectively; the TVSS pin of the read-write chip U2 is connected to the other end of the capacitor C15, the other end of the capacitor C18, one end of the capacitor C17, one end of the capacitor C20, the other end of the capacitor C17, the other end of the capacitor C20, the other end of the capacitor C14, the other end of the capacitor C19, and one end of the capacitor C25 respectively; the RX pin of the read-write chip U2 is connected to one end of the resistor R16 and one end of the resistor R17 respectively; the other end of the resistor R17 is connected to the other end of the capacitor C25; the VMID pin of the read-write chip U2 is connected to the other end of the resistor R16 and one end of the capacitor C26 respectively; the OSCIN pin of the read-write chip U2 is connected to the 2nd pin of the quartz crystal oscillator Y3 and one end of the capacitor C27 respectively; the OSTOUT pin of the read-write chip U2 is connected to the 1st pin of the quartz crystal oscillator Y3 and one end of the capacitor C28 respectively; the other end of the capacitor C26 is connected to and grounded with the other end of the capacitor C27 and the other end of the capacitor C28 respectively.

[0011] The beneficial effects of the above further solution are as follows: The present utility model uses an RC522 module to read the information of the RFID tag carried by the horse, and completes the identification and data exchange of the RFID tag under the conditions of low power consumption and high efficiency.

[0012] Furthermore, the VCC pin of the TF memory card U4 of the TF memory card module is connected to the VCC3V3 pin of the control chip U1; the VDD pin of the TF memory card U4 is respectively connected to one end of the resistor R6, one end of the resistor R7, one end of the resistor R10, one end of the resistor R11, one end of the resistor R13, and the VCC3V3 pin of the control chip U1; the GND pin of the TF memory card U4 is connected to the GND pin of the control chip U1; the DO2 pin of the TF memory card U4 is connected to the other end of the resistor R6; the CS pin of the TF memory card U4 is respectively connected to the other end of the resistor R7 and the PB12 pin of the control chip U1; the CLK pin of the TF memory card U4 is connected to the PB13 pin of the control chip U1; the MISO pin of the TF memory card U4 is respectively connected to the other end of the resistor R11 and the PB14 pin of the control chip U1; the MOSI pin of the TF memory card U4 is respectively connected to the other end of the resistor R10 and the PB15 pin of the control chip U1; the DO1 pin of the TF memory card U4 is connected to the other end of the resistor R13; the VSS pin of the TF memory card U4 is respectively connected to the 10th pin and the 11th pin of the TF memory card U4 and grounded; the 12th pin and the 13th pin of the TF memory card U4 are connected and grounded.

[0013] The beneficial effects of the above further solution are as follows: The present utility model uses a TF memory card module, which can perform SPI communication with the main control chip, realize the fast storage and reading of data, and provide the local storage function of data to ensure that the data will not be lost in the case of no network connection.

[0014] Furthermore, the power management module includes: a linear lithium battery charging chip U3 of model DP4054H, a USB charging interface P6, and a battery management chip U5;

[0015] The linear lithium battery charging chip U3 is respectively connected to the interface P6 and the chip U5; the CHRG pin of the linear lithium battery charging chip U3 is connected to the negative electrode of the light-emitting diode D2; the positive electrode of the light-emitting diode D2 is connected to one end of the resistor R12; the other end of the resistor R12 is connected to the V_IN pin of the linear lithium battery charging chip U3; the PROG pin of the linear lithium battery charging chip U3 is connected to one end of the resistor R9; the other end of the resistor R9 is grounded; the GND pin of the linear lithium battery charging chip U3 is grounded; the BAT pin of the linear lithium battery charging chip U3 is connected to the positive electrode of the battery; the VCC pin of the linear lithium battery charging chip U3 is respectively connected to the V_IN pin of the linear lithium battery charging chip U3 and one end of the capacitor C12; the other end of the capacitor C12 is grounded;

[0016] The VBUS pin of the interface P6 is connected to the V_IN pin of the linear lithium battery charging chip U3; the GND pin of the interface P6 is grounded;

[0017] The 3Y pin of the chip U5 is connected to the gate of the field effect transistor Q1; the drain of the field effect transistor Q1 is respectively connected to the BAT pin of the linear lithium battery charging chip U3, the 1st pin of the port P9, and the 1st pin of the port P10; the source of the field effect transistor Q1 is connected to the battery output voltage BAT_OUT and grounded; the 2nd pin of the port P9 and the 2nd pin of the port 10 are connected and grounded; the 1A pin of the chip U5 is respectively connected to one end of the resistor R26, one end of the resistor R27, one end of the capacitor C24, and the 1st pin of the touch switch SW2; the other end of the resistor R26 is respectively connected to the 3A pin of the chip U5 and the Y2 pin of the chip U5; the other end of the resistor R27 is connected to the other end of the capacitor C24 and grounded; the 2A pin of the chip U5 is respectively connected to the 1Y pin of the battery management chip U5 and one end of the resistor R24; the VCC pin of the chip U5 is connected to the BAT pin of the linear lithium battery charging chip U3 and provides the battery output voltage BAT_OUT; the 2nd pin of the touch switch SW2 is respectively connected to one end of the capacitor C16 and the other end of the resistor R24; the other end of the capacitor C16 is grounded; the 3rd pin and the 4th pin of the touch switch SW2 are both grounded;

[0018] The battery output voltage BAT_OUT is connected to one end of the resistor R8; the other end of the resistor R8 is respectively connected to one end of the resistor R15, one end of the capacitor C11, and the PA1 pin of the control chip U1; the other end of the R15 is grounded; the other end of the capacitor C11 is grounded.

[0019] The beneficial effects of the above further solution are as follows: The present utility model adopts a power management module, including a linear lithium battery charging chip U3 of model DP4054H, a USB charging interface P6, and a battery management chip U5, to provide stable, continuous, and safe power supply for the horse water intake measurement device.

[0020] Furthermore, the 4G module includes: port P3, port P4, and port P5;

[0021] The TX pin of port P3 is connected to the 2nd pin of port P5; the 1st pin of port P5 is connected to the PA3 pin of the control chip U1; the RX pin of port P3 is connected to the 4th pin of port P5; the 3rd pin of port P5 is connected to the PA2 pin of the control chip U1; the 1st pin of port P3 is connected to the power supply VDD5V; the 2nd pin of port P3 is connected to the 4th pin of port P3 and grounded; the 3rd pin of port P4 is grounded.

[0022] The beneficial effects of the above further solution are as follows: The present utility model adopts a 4G module to send the collected tag data to a remote server through serial connection, ensuring the accurate transmission and reception of data, and realizing the functions of remote data transmission and real-time monitoring. Description of the Drawings

[0023] Figure 1 It is a flowchart of the method of the present utility model.

[0024] Figure 2 It is a schematic diagram of the PCB structure of the present utility model.

[0025] Figure 3 It is a circuit diagram of the STM32 main chip of the present utility model.

[0026] Figure 4 It is a circuit diagram of the RC522 module of the present utility model.

[0027] Figure 5 It is a circuit diagram of the TF card storage module of the present utility model.

[0028] Figure 6 It is a circuit diagram of the power management module of the present utility model.

[0029] Figure 7 It is a circuit diagram of the 4G transmission module of the present utility model.

[0030] Figure 8 It is a startup circuit diagram of the STM32 main chip of the present utility model.

[0031] Figure 9 It is a circuit diagram of the STM32 main chip connected to the crystal oscillator of the present utility model. Specific Embodiments

[0032] The following describes the specific embodiments of the present invention to facilitate those skilled in the art of this technology to understand the present invention. However, it should be clear that the present invention is not limited to the scope of the specific embodiments. For those of ordinary skill in the art of this technology, as long as various changes are within the spirit and scope of the present invention defined and determined by the appended claims, these changes are obvious, and all utility models created using the concept of the present invention are within the scope of protection.

[0033] Embodiment

[0034] As Figure 1 shown, the present invention provides a horse water intake measurement device, including: an STM32 main chip, an RC522 module, a TF card storage module, a 4G transmission module, and a power management module;

[0035] The STM32 main chip is respectively connected to the RC522 module, the TF card storage module, the 4G transmission module, and the power management module.

[0036] In this embodiment, the horse water intake measurement device is installed at the position where the horse drinks water. When the horse drinks water, through technical means such as RFID technology, data storage, and wireless transmission, it can monitor and record the horse's drinking behavior in real time, providing detailed drinking water data. The horse water intake measurement device in this embodiment is small in size and is convenient to be installed near the water trough or water dispenser.

[0037] The control chip of the STM32 main chip is U1. The PA4 pin, PA5 pin, PA6 pin, PA7 pin, and GND pin of the control chip U1 are all connected to the RC522 module; the VCC3V3 pin, GND pin, PB12 pin, PB13 pin, PB14 pin, and PB15 pin of the control chip U1 are all connected to the TF storage card module; the PA1 pin of the control chip U1 is connected to the power management module; the PA2 pin and PA3 pin of the control chip U1 are both connected to the 4G module; the GND pin of the control chip U1 is grounded;

[0038] In this embodiment, as Figure 8 and Figure 9As shown, the BOOT0 pin of the control chip U1 is connected to one end of the resistor R2; the BOOT1 pin of the control chip U1 is connected to one end of the resistor R4; the other end of the resistor R2 is connected to the other end of the resistor R4 and grounded; the PC14 pin of the control chip U1 is respectively connected to the 1st pin of the low-frequency quartz crystal oscillator Y1 and one end of the capacitor C3; the PC15 pin of the control chip U1 is respectively connected to the 2nd pin of the low-frequency quartz crystal oscillator Y1 and one end of the capacitor C4; the other end of the capacitor C3 is connected to the other end of the capacitor C4 and grounded; the OSCIN pin of the control chip U1 is respectively connected to one end of the resistor R5, the 2nd pin of the high-frequency quartz crystal oscillator Y2, and one end of the capacitor C9; the OSCOUT pin of the control chip U1 is respectively connected to the other end of the resistor R5, the 1st pin of the high-frequency quartz crystal oscillator Y2, and one end of the capacitor C10; the other end of the capacitor C9 is connected to the other end of the capacitor C10 and grounded.

[0039] In this embodiment, as Figure 2 shown, Figure 2 is the schematic diagram of the PCB structure of the present utility model.

[0040] In this embodiment, as Figure 3 shown, the STM32 main chip is the core processing unit of the system, responsible for processing the data collected by each sensor and module, executing the control logic, and performing data exchange with other modules through each communication interface. The microcontroller chip includes the main chip and its peripheral connection circuits.

[0041] The read / write chip of the RC522 module is U2. The CS (SDA) pin of the read / write chip U2 is connected to the PA4 pin of the control chip U1; the SCK pin of the read / write chip U2 is connected to the PA5 pin of the control chip U1; the MISO pin of the read / write chip U2 is connected to the PA6 pin of the control chip U1; the MOSI pin of the read / write chip U2 is connected to the PA7 pin of the control chip U1; the GND pin of the read / write chip U2 is connected to the GND pin of the control chip U1; the RST pin of the read / write chip U2 is connected to one end of the resistor R14; the other end of the resistor R14 is connected to the VCC3V3 pin of the control chip U1; the VCC pin of the read / write chip U2 is connected to the VCC3V3 pin of the control chip U1; the I2C pin of the read / write chip U2 is grounded; the EA pin of the read / write chip U2 is connected to the VCC3V3 pin of the control chip U1; the DVSS pin of the read / write chip U2 is connected and grounded to the PVSS pin, TVSS pin, and AVSS pin of the read / write chip U2 respectively; the AVDD pin of the read / write chip U2 is connected to the DVDD pin, PVDD pin, TVDD pin of the read / write chip U2, the VCC3V3 pin of the control chip U1, and one end of the capacitor C13 respectively; the other end of the capacitor C13 is grounded.

[0042] The TX1 pin of the read / write chip U2 is connected to one end of the inductor L1; the other end of the inductor L1 is connected to one end of the capacitor C14 and one end of the capacitor C15 respectively; the TX2 pin of the read / write chip U2 is connected to one end of the inductor L2; the other end of the inductor L2 is connected to one end of the capacitor C18 and one end of the capacitor C19 respectively; the TVSS pin of the read / write chip U2 is connected to the other end of the capacitor C15, the other end of the capacitor C18, one end of the capacitor C17, one end of the capacitor C20, the other end of the capacitor C17, the other end of the capacitor C20, the other end of the capacitor C14, the other end of the capacitor C19, and one end of the capacitor C25 respectively; the RX pin of the read / write chip U2 is connected to one end of the resistor R16 and one end of the resistor R17 respectively; the other end of the resistor R17 is connected to the other end of the capacitor C25; the VMID pin of the read / write chip U2 is connected to the other end of the resistor R16 and one end of the capacitor C26 respectively; the OSCIN pin of the read / write chip U2 is connected to the 2nd pin of the quartz crystal oscillator Y3 and one end of the capacitor C27 respectively; the OSTOUT pin of the read / write chip U2 is connected to the 1st pin of the quartz crystal oscillator Y3 and one end of the capacitor C28 respectively; the other end of the capacitor C26 is connected and grounded to the other end of the capacitor C27 and the other end of the capacitor C28 respectively.

[0043] In this embodiment, as Figure 4 shown, the CS (SDA) pin of the read / write chip of the RC522 module is connected to the PA4 pin of the STM32 main chip for chip selection of SPI; the CK pin of the read / write chip is connected to the PA5 pin of the STM32 main chip for serial clock of SPI; the MOSI pin of the read / write chip is connected to the PA7 pin of the STM32 main chip for master input slave output of SPI; the MISO pin of the read / write chip is connected to the PA6 pin of the STM32 main chip for master output slave input of SPI; the RST pin of the read / write chip is connected to the VCC3V3 pin of the STM32 main chip for reset; the VCC pin of the read / write chip is connected to the VCC3V3 pin of the STM32 main chip to power the RC522 module.

[0044] In this embodiment, the adopted RC522 module is a highly integrated 13.56 MHz RFID read / write module, which communicates with the STM32 main chip through the SPI interface. It uses radio frequency technology to communicate wirelessly with RFID tags. When an RFID tag approaches the RC522 module, the RC522 module emits a radio frequency signal and receives the signal returned by the RFID tag, and obtains the unique identification code (UID) and other data in the RFID tag through decoding. The STM32 main chip reads the data in the RFID tag from the RC522 module through the SPI interface to realize the identification and data exchange of the RFID tag.

[0045] The VCC pin of the TF memory card U4 of the TF memory card module is connected to the VCC3V3 pin of the control chip U1; the VDD pin of the TF memory card U4 is respectively connected to one end of the resistor R6, one end of the resistor R7, one end of the resistor R10, one end of the resistor R11, one end of the resistor R13, and the VCC3V3 pin of the control chip U1; the GND pin of the TF memory card U4 is connected to the GND pin of the control chip U1; the DO2 pin of the TF memory card U4 is connected to the other end of the resistor R6; the CS pin of the TF memory card U4 is respectively connected to the other end of the resistor R7 and the PB12 pin of the control chip U1; the CLK pin of the TF memory card U4 is connected to the PB13 pin of the control chip U1; the MISO pin of the TF memory card U4 is respectively connected to the other end of the resistor R11 and the PB14 pin of the control chip U1; the MOSI pin of the TF memory card U4 is respectively connected to the other end of the resistor R10 and the PB15 pin of the control chip U1; the DO1 pin of the TF memory card U4 is connected to the other end of the resistor R13; the VSS pin of the TF memory card U4 is respectively connected to the 10th pin and the 11th pin of the TF memory card U4 and grounded; the 12th pin and the 13th pin of the TF memory card U4 are connected and grounded.

[0046] In this embodiment, as Figure 5 shown, the VCC pin of the TF memory card of the TF memory card module is connected to the VCC3V3 pin of the STM32 main chip to provide the working voltage for the TF memory card; the GND pin of the TF memory card is connected to the GND pin of the STM32 main chip as the common ground; the CS pin of the TF memory card is connected to the PB12 pin of the STM32 main chip for the chip selection of SPI; the CLK pin of the TF memory card is connected to the PB13 pin of the STM32 main chip as the clock signal of SPI; the MISO pin of the TF memory card is connected to the PB14 pin of the STM32 main chip as the master input slave output signal; the MOSI pin of the TF memory card is connected to the PB15 pin of the STM32 main chip as the master output slave input signal. The TF memory card is connected to the STM32 main chip through the SPI interface. Through the above connection, the TF memory card module can communicate with the STM32 main chip through SPI to realize the functions of data storage and reading.

[0047] The power management module includes: a linear lithium battery charging chip U3 of model DP4054H, a USB charging interface P6, and a battery management chip U5;

[0048] The linear lithium battery charging chip U3 is respectively connected to the interface P6 and the chip U5; the CHRG pin of the linear lithium battery charging chip U3 is connected to the negative electrode of the light-emitting diode D2; the positive electrode of the light-emitting diode D2 is connected to one end of the resistor R12; the other end of the resistor R12 is connected to the V_IN pin of the linear lithium battery charging chip U3; the PROG pin of the linear lithium battery charging chip U3 is connected to one end of the resistor R9; the other end of the resistor R9 is grounded; the GND pin of the linear lithium battery charging chip U3 is grounded; the BAT pin of the linear lithium battery charging chip U3 is connected to the positive electrode of the battery; the VCC pin of the linear lithium battery charging chip U3 is respectively connected to the V_IN pin of the linear lithium battery charging chip U3 and one end of the capacitor C12; the other end of the capacitor C12 is grounded;

[0049] The VBUS pin of the interface P6 is connected to the V_IN pin of the linear lithium battery charging chip U3; the GND pin of the interface P6 is grounded;

[0050] The 3Y pin of the chip U5 is connected to the gate of the field effect transistor Q1; the drain of the field effect transistor Q1 is respectively connected to the BAT pin of the linear lithium battery charging chip U3, the 1st pin of the port P9, and the 1st pin of the port P10; the source of the field effect transistor Q1 is connected to the battery output voltage BAT_OUT and grounded; the 2nd pin of the port P9 and the 2nd pin of the port 10 are connected and grounded; the 1A pin of the chip U5 is respectively connected to one end of the resistor R26, one end of the resistor R27, one end of the capacitor C24, and the 1st pin of the touch switch SW2; the other end of the resistor R26 is respectively connected to the 3A pin of the chip U5 and the Y2 pin of the chip U5; the other end of the resistor R27 is connected to the other end of the capacitor C24 and grounded; the 2A pin of the chip U5 is respectively connected to the 1Y pin of the battery management chip U5 and one end of the resistor R24; the VCC pin of the chip U5 is connected to the BAT pin of the linear lithium battery charging chip U3 and provides the battery output voltage BAT_OUT; the 2nd pin of the touch switch SW2 is respectively connected to one end of the capacitor C16 and the other end of the resistor R24; the other end of the capacitor C16 is grounded; the 3rd pin and the 4th pin of the touch switch SW2 are both grounded;

[0051] The battery output voltage BAT_OUT is connected to one end of the resistor R8; the other end of the resistor R8 is respectively connected to one end of the resistor R15, one end of the capacitor C11, and the PA1 pin of the control chip U1; the other end of the R15 is grounded; the other end of the capacitor C11 is grounded.

[0052] In this embodiment, as Figure 6As shown in the figure, connect the CHRG pin of the DP4054H linear lithium battery charging chip to the light-emitting diode D2, and connect it to the V_IN pin of the DP4054H linear lithium battery charging chip through a 1KΩ resistor to indicate the charging status; connect the PROG pin of the DP4054H linear lithium battery charging chip to a 2KΩ resistor and ground it to set the charging current; connect the VCC pin of the DP4054H linear lithium battery charging chip to the capacitor C12 to stabilize the power supply voltage; the USB charging interface uses TYPE-C-2.0-6PIN; connect the VBUS pin of the USB charging interface to the V_IN pin of the DP4054H linear lithium battery charging chip to provide the charging voltage, and at the same time, the other pins of the USB charging interface are used to identify and control the USB interface.

[0053] In this embodiment, the field-effect transistor Q1 is a MOSFET switch SI2301 used to control the discharge path of the battery; the gate of the field-effect transistor Q1 is connected to the output of the battery management chip, the drain of the field-effect transistor Q1 is connected to the positive pole of the battery, and the source of the field-effect transistor Q1 is grounded; the power management module charges the rechargeable lithium battery through the USB interface to ensure a stable and safe power supply for the horse water intake measurement device.

[0054] In this embodiment, the BAT pin of the battery management chip is respectively connected to the BAT pin of the DP4054H linear lithium battery charging chip and the positive pole of the battery, responsible for the management and protection of battery charging and discharging. The PA1 pin of the STM32 main chip is connected to the battery output voltage BAT_OUT, resistor R8, resistor R15, and capacitor C11 to monitor the battery voltage. The battery output voltage BAT_OUT is divided by resistor R8 and resistor R15 to a lower voltage, and then the lower voltage is input to the PA1 pin of the STM32 main chip. The battery output voltage BAT_OUT is connected to the VCC of the STM32 main chip through a voltage regulator chip to provide power.

[0055] The 4G module includes: port P3, port P4, and port P5;

[0056] The TX pin of port P3 is connected to the 2nd pin of port P5; the 1st pin of port P5 is connected to the PA3 pin of the control chip U1; the RX pin of port P3 is connected to the 4th pin of port P5; the 3rd pin of port P5 is connected to the PA2 pin of the control chip U1; the 1st pin of port P3 is connected to the power supply VDD5V; the 2nd pin of port P3 is connected to the 4th pin of port P3 and grounded; the 3rd pin of port P4 is grounded.

[0057] In this embodiment, as Figure 7As shown in the figure, the RX pin of the 4G module is connected to the PA2 pin (USART2TX) of the STM32 main chip; the TX pin of the 4G module is connected to the PA3 pin (USART2 RX) of the STM32 main chip; through the above serial port connection method, the 4G module can perform serial communication with the STM32 main chip to ensure the accurate transmission and reception of data, and the 4G module can send the collected tag data and drinking water information to the remote server to realize the remote transmission and real-time monitoring functions of the data.

[0058] In this embodiment, the present invention designs an intelligent horse drinking water measurement device. The development of this device aims to provide an efficient, convenient and accurate horse drinking water monitoring solution for horse farms and horse managers, and promote the intelligentization and scientificization of horse health management.

[0059] In this embodiment, as Figure 1 shown in the figure, install the present invention at the position where the horse drinks water. When the horse enters the magnetic field of the horse drinking water measurement device with the RFID card, the RC522 module in the horse drinking water measurement device will send out a radio frequency signal and receive the signal returned by the tag, obtain the unique identification code (UID) and other data in the tag through decoding, transmit the obtained data to the STM32 main chip, and the STM32 main chip will process the received data and then transmit it to the TF storage card module for data storage and reading, and transmit the stored data to the server through the 4G module to realize the real-time monitoring and recording of the horse's drinking behavior. The power management module is connected to the rechargeable lithium battery to be responsible for supplying power to the STM32 main chip, so as to supply power to the RC522 module and the TF storage card module, and the 4G module is powered by an external power supply.

[0060] In this embodiment, the STM32 main chip selects the MCU microcontroller STM32F103C8T6, and Table 1 is the main wiring table of each hardware and the STM32 main chip.

[0061] Table 1

[0062]

[0063]

Claims

1. A horse water intake measurement device, characterized in that, Including: STM32 main chip, RC522 module, TF card storage module, 4G transmission module and power management module; The STM32 main chip is respectively connected to the RC522 module, TF card storage module, 4G transmission module and power management module.

2. The horse water intake measurement device according to claim 1, characterized in that, The control chip of the STM32 main chip is U1. The PA4 pin, PA5 pin, PA6 pin, PA7 pin and GND pin of the control chip U1 are all connected to the RC522 module; the VCC3V3 pin, GND pin, PB12 pin, PB13 pin, PB14 pin and PB15 pin of the control chip U1 are all connected to the TF storage card module; the PA1 pin of the control chip U1 is connected to the power management module; the PA2 pin and PA3 pin of the control chip U1 are both connected to the 4G module; the GND pin of the control chip U1 is grounded; the BOOT0 pin of the control chip U1 is connected to one end of the resistor R2; the BOOT1 pin of the control chip U1 is connected to one end of the resistor R4; the other end of the resistor R2 is connected to the other end of the resistor R4 and grounded; the PC14 pin of the control chip U1 is respectively connected to the 1st pin of the low-frequency quartz crystal oscillator Y1 and one end of the capacitor C3; the PC15 pin of the control chip U1 is respectively connected to the 2nd pin of the low-frequency quartz crystal oscillator Y1 and one end of the capacitor C4; the other end of the capacitor C3 is connected to the other end of the capacitor C4 and grounded; the OSCI N pin of the control chip U1 is respectively connected to one end of the resistor R5, the 2nd pin of the high-frequency quartz crystal oscillator Y2 and one end of the capacitor C9; the OSCOUT pin of the control chip U1 is respectively connected to the other end of the resistor R5, the 1st pin of the high-frequency quartz crystal oscillator Y2 and one end of the capacitor C10; the other end of the capacitor C9 is connected to the other end of the capacitor C10 and grounded.

3. The horse water intake measurement device according to claim 2, characterized in that, The read / write chip of the RC522 module is U2. The CS pin of the read / write chip U2 is connected to the PA4 pin of the control chip U1; the SCK pin of the read / write chip U2 is connected to the PA5 pin of the control chip U1; the MISO pin of the read / write chip U2 is connected to the PA6 pin of the control chip U1; the MOSI pin of the read / write chip U2 is connected to the PA7 pin of the control chip U1; the GND pin of the read / write chip U2 is connected to the GND pin of the control chip U1; the RST pin of the read / write chip U2 is connected to one end of the resistor R14; the other end of the resistor R14 is connected to the VCC3V3 pin of the control chip U1; the VCC pin of the read / write chip U2 is connected to the VCC3V3 pin of the control chip U1; the I2C pin of the read / write chip U2 is grounded; the EA pin of the read / write chip U2 is connected to the VCC3V3 pin of the control chip U1; the DVSS pin of the read / write chip U2 is connected and grounded to the PVSS pin, TVSS pin and AVSS pin of the read / write chip U2 respectively; the AVDD pin of the read / write chip U2 is connected to the DVDD pin, PVDD pin, TVDD pin of the read / write chip U2, the VCC3V3 pin of the control chip U1 and one end of the capacitor C13 respectively; the other end of the capacitor C13 is grounded. The TX1 pin of the read / write chip U2 is connected to one end of the inductor L1; the other end of the inductor L1 is connected to one end of the capacitor C14 and one end of the capacitor C15 respectively; the TX2 pin of the read / write chip U2 is connected to one end of the inductor L2; the other end of the inductor L2 is connected to one end of the capacitor C18 and one end of the capacitor C19 respectively; the TVSS pin of the read / write chip U2 is connected to the other end of the capacitor C15, the other end of the capacitor C18, one end of the capacitor C17, one end of the capacitor C20, the other end of the capacitor C17, the other end of the capacitor C20, the other end of the capacitor C14, the other end of the capacitor C19 and one end of the capacitor C25 respectively; the RX pin of the read / write chip U2 is connected to one end of the resistor R16 and one end of the resistor R17 respectively; the other end of the resistor R17 is connected to the other end of the capacitor C25; the VMID pin of the read / write chip U2 is connected to the other end of the resistor R16 and one end of the capacitor C26 respectively; the OSCIN pin of the read / write chip U2 is connected to the 2nd pin of the quartz crystal oscillator Y3 and one end of the capacitor C27 respectively; the OSTOUT pin of the read / write chip U2 is connected to the 1st pin of the quartz crystal oscillator Y3 and one end of the capacitor C28 respectively; the other end of the capacitor C26 is connected and grounded to the other end of the capacitor C27 and the other end of the capacitor C28 respectively.

4. The horse water intake measurement device according to claim 2, wherein The VCC pin of the TF memory card U4 of the TF memory card module is connected to the VCC3V3 pin of the control chip U1; the VDD pin of the TF memory card U4 is respectively connected to one end of the resistor R6, one end of the resistor R7, one end of the resistor R10, one end of the resistor R11, one end of the resistor R13, and the VCC3V3 pin of the control chip U1; the GND pin of the TF memory card U4 is connected to the GND pin of the control chip U1; the DO2 pin of the TF memory card U4 is connected to the other end of the resistor R6; the CS pin of the TF memory card U4 is respectively connected to the other end of the resistor R7 and the PB12 pin of the control chip U1; the CLK pin of the TF memory card U4 is connected to the PB13 pin of the control chip U1; the MISO pin of the TF memory card U4 is respectively connected to the other end of the resistor R11 and the PB14 pin of the control chip U1; the MOSI pin of the TF memory card U4 is respectively connected to the other end of the resistor R10 and the PB15 pin of the control chip U1; the DO1 pin of the TF memory card U4 is connected to the other end of the resistor R13; the VSS pin of the TF memory card U4 is respectively connected to the 10th pin and the 11th pin of the TF memory card U4 and grounded; the 12th pin and the 13th pin of the TF memory card U4 are connected and grounded.

5. The horse water intake measurement device according to claim 2, characterized in that, The power management module includes: a linear lithium battery charging chip U3 of model DP4054H, a USB charging interface P6, and a battery management chip U5; The linear lithium battery charging chip U3 is respectively connected to the interface P6 and the chip U5; the CHRG pin of the linear lithium battery charging chip U3 is connected to the negative electrode of the light-emitting diode D2; the positive electrode of the light-emitting diode D2 is connected to one end of the resistor R12; the other end of the resistor R12 is connected to the V_IN pin of the linear lithium battery charging chip U3; the PROG pin of the linear lithium battery charging chip U3 is connected to one end of the resistor R9; the other end of the resistor R9 is grounded; the GND pin of the linear lithium battery charging chip U3 is grounded; the BAT pin of the linear lithium battery charging chip U3 is connected to the positive electrode of the battery; the VCC pin of the linear lithium battery charging chip U3 is respectively connected to the V_IN pin of the linear lithium battery charging chip U3 and one end of the capacitor C12; the other end of the capacitor C12 is grounded; The VBUS pin of the interface P6 is connected to the V_IN pin of the linear lithium battery charging chip U3; the GND pin of the interface P6 is grounded; The 3Y pin of the chip U5 is connected to the gate of the field effect transistor Q1; the drain of the field effect transistor Q1 is respectively connected to the BAT pin of the linear lithium battery charging chip U3, the 1st pin of port P9, and the 1st pin of port P10; the source of the field effect transistor Q1 is connected to the battery output voltage BAT_OUT and grounded; the 2nd pin of port P9 and the 2nd pin of port 10 are connected and grounded; the 1A pin of the chip U5 is respectively connected to one end of the resistor R26, one end of the resistor R27, one end of the capacitor C24, and the 1st pin of the tactile switch SW2; the other end of the resistor R26 is respectively connected to the 3A pin of the chip U5 and the Y2 pin of the chip U5; the other end of the resistor R27 is connected to the other end of the capacitor C24 and grounded; the 2A pin of the chip U5 is respectively connected to the 1Y pin of the battery management chip U5 and one end of the resistor R24; the VCC pin of the chip U5 is connected to the BAT pin of the linear lithium battery charging chip U3 and provides the battery output voltage BAT_OUT; the 2nd pin of the tactile switch SW2 is respectively connected to one end of the capacitor C16 and the other end of the resistor R24; the other end of the capacitor C16 is grounded; the 3rd pin and the 4th pin of the tactile switch SW2 are both grounded. The battery output voltage BAT_OUT is connected to one end of the resistor R8; the other end of the resistor R8 is respectively connected to one end of the resistor R15, one end of the capacitor C11, and the PA1 pin of the control chip U1; the other end of the R15 is grounded; the other end of the capacitor C11 is grounded.

6. The horse water intake measurement device according to claim 2, characterized in that, The 4G module includes: port P3, port P4, and port P5. The TX pin of port P3 is connected to the 2nd pin of port P5; the 1st pin of port P5 is connected to the PA3 pin of the control chip U1; the RX pin of port P3 is connected to the 4th pin of port P5; the 3rd pin of port P5 is connected to the PA2 pin of the control chip U1; the 1st pin of port P3 is connected to the power supply VDD5V; the 2nd pin of port P3 is connected to the 4th pin of port P3 and grounded; the 3rd pin of port P4 is grounded.