Online portable water quality detector
By designing an online portable water quality analyzer, using an ESP32 microcontroller and RS485 modbus protocol, the portable water quality analyzer achieves online data transmission and automatic early warning, solving the problem that existing equipment cannot be both portable and transmit data online at the same time, reducing costs and improving testing efficiency.
Patent Information
- Application Number
- CN202421972893.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-15
- Publication Date
- 2025-10-17
- Estimated Expiration
- 2034-08-15
AI Technical Summary
Existing water quality testing equipment cannot simultaneously achieve portability and online data transmission, resulting in high costs or the inability to automatically report data.
An online portable water quality analyzer was designed, comprising a handheld casing, a circuit board, a power module, a sensor port, a display module, and a processing module. It uses an ESP32 microcontroller and RS485 Modbus protocol for data acquisition and transmission, and connects to a server via a wireless network card.
It enables portable water quality testing while transmitting data to the server online, reducing costs and improving testing efficiency. It supports both offline and online testing modes and has an automatic early warning function.
Smart Images

Figure CN223449931U_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The utility model relates to water quality detection instrument related technical field especially relates to online portable water quality detection instrument. BACKGROUND
[0002] The existing water quality detection equipment in the market mainly has two kinds, one is online, uploads data to the platform, long-term soaking in water, has the host computer that hangs separately in the shore side, does not take battery, cannot move, this implementation scheme high investment cost, each water source that needs to be detected has to install a set, the other is portable offline, takes battery, can move, portable, but cannot communicate, cannot back data to the background and does record analysis, this implementation scheme, can save cost, but if special attention is paid to one of the water sources, cannot realize data automatic reporting to the computer or mobile phone end of the customer. SUMMARY
[0003] The utility model discloses in order to at least solve one of the deficiencies of prior art, provide online portable water quality detection instrument.
[0004] In order to realize the above-mentioned purpose, the utility model adopts the following technical scheme:
[0005] Specifically, propose online portable water quality detection instrument, including:
[0006] Handset shell and its circuit mainboard, the circuit mainboard is arranged in the handset shell,
[0007] The circuit mainboard includes,
[0008] Power module is used for the whole circuit mainboard power supply,
[0009] Sensor port is used for electric connection with sensor, supplies power for the sensor and obtains the data that the sensor gathers,
[0010] Display module is connected display screen through wiring harness female seat, is used for displaying the data that the sensor gathers in the display screen
[0011] Processing module is electrically connected with display module, power module and sensor, is used for gathering the data with the sensor communication and shows the data in the display screen, and pushes the data to server background,
[0012] Among them, sensor port is arranged at the top of the handset shell, and the display screen is arranged in the center of the handset shell.
[0013] Further, specifically, the power module is a storage battery, and the circuit mainboard is further provided with a mainboard power supply port for charging the storage battery, and the mainboard power supply port is arranged on one side of the bottom of the handset shell.
[0014] Further, specifically, the processing module comprises a first single-chip microcomputer and a second single-chip microcomputer, wherein the first single-chip microcomputer is used for communicating with the sensor to collect the data and display the data on the display screen, and the second single-chip microcomputer is used for detecting a WIFI signal and pushing the data to a server background when the WIFI signal exists, and the first single-chip microcomputer and the second single-chip microcomputer perform serial communication.
[0015] Further, specifically, the sensor port is provided with two sensor ports, which are arranged on the top of the handset shell and are symmetrically arranged on the center line of the handset shell.
[0016] Further, specifically, the first single-chip microcomputer and the sensor perform data collection through the use of an RS485 modbus protocol.
[0017] Further, specifically, the online portable water quality detector further comprises an external wireless network card, the wireless network card is provided with a power supply wire, the input end of the power supply wire is connected to the mainboard power supply port, the output end of the power supply wire is connected to the wireless network card, and then the circuit mainboard supplies power to the wireless network card.
[0018] Further, specifically, the online portable water quality detector is further provided with a power-on switch button, the power-on switch button is used for controlling the on-off of the power module, and the power-on switch button is arranged on the other side of the bottom of the handset shell.
[0019] Further, specifically, the first single-chip microcomputer and the second single-chip microcomputer are both ESP32 single-chip microcomputers, and the type of the RS485 chip is a MAX13487 chip.
[0020] Further, specifically, the display screen adopts a 2.8-inch TFT touch color SPI serial liquid crystal screen.
[0021] Further, specifically, the mainboard power supply port is constructed by using a DC5.5 2.1MM socket.
[0022] The online portable water quality detector has the beneficial effects compared with the prior art.
[0023] The online portable water quality detector provided by the utility model obtains the data collected by the sensor of the sensor port, collects the data through the processor module and the sensor and displays the data in the display screen, and pushes the data to the server background, which can realize online detection and portable mobile detection, saves time and reduces cost. BRIEF DESCRIPTION OF DRAWINGS
[0024] The above and other features of the present disclosure will become more apparent by describing in detail the embodiments thereof with reference to the attached drawings that illustrate the embodiments of the present disclosure. In the drawings, the same reference numerals are used throughout the drawings to refer to the same or like elements, and it will be obvious to those skilled in the art that the drawings are merely some embodiments of the present disclosure, and other drawings can be obtained from the drawings without creative labor.
[0025] Figure 1 Fig. 1 shows a structural schematic diagram of a circuit mainboard of the online portable water quality detector of the utility model;
[0026] Figure 2 Fig. 2 shows a structural schematic diagram of a handset shell of the online portable water quality detector of the utility model;
[0027] Figure 3 Fig. 3 shows a functional module principle diagram of the online portable water quality detector of the utility model;
[0028] Figure 4 Fig. 4 shows a circuit principle diagram of an ESP32 single-chip microcomputer in one preferred embodiment of the online portable water quality detector of the utility model;
[0029] Figure 5 Fig. 5 shows a circuit principle diagram of an expansion interface in one preferred embodiment of the online portable water quality detector of the utility model;
[0030] Figure 6 Fig. 6 shows a circuit principle diagram of a step-down board in one preferred embodiment of the online portable water quality detector of the utility model;
[0031] Figure 7 Fig. 7 shows a circuit principle diagram of a key function corresponding module in one preferred embodiment of the online portable water quality detector of the utility model;
[0032] Figure 8 Fig. 8 shows a circuit principle diagram of an RS485 chip in one preferred embodiment of the online portable water quality detector of the utility model;
[0033] Figure 9 Fig. 9 shows a circuit principle diagram of a step-down voltage-stabilizing power supply in one preferred embodiment of the online portable water quality detector of the utility model;
[0034] Figure 10 The circuit principle diagram of the indicator lamp in one preferred embodiment of the online portable water quality detector is shown. DETAILED DESCRIPTION
[0035] The concept, specific structure and generated technical effects of the utility model will be clearly and completely described below in combination with embodiments and drawings, so as to fully understand the purpose, scheme and effects of the utility model. It should be noted that the embodiments in the present application and the features in the embodiments can be combined with each other without conflict. The same reference signs used in the drawings indicate the same or similar parts.
[0036] Referring to Figure 1 , Figure 2 and Figure 3 , embodiment 1, the utility model provides an online portable water quality detector, which comprises:
[0037] a handset shell 200 and a circuit mainboard, wherein the circuit mainboard is arranged in the handset shell 200;
[0038] the circuit mainboard comprises
[0039] a power module 300 for supplying power to the entire circuit mainboard;
[0040] a sensor port 210 for electrically connecting with a sensor 400, supplying power to the sensor 400 and acquiring data collected by the sensor 400; preferably, the sensor port 210 is divided into a communication end of an RS485 port 160 for connecting the sensor 400 and a 12V power supply port 150 for supplying power to the sensor 400 on the mainboard, and the RS485 port 160 and the 12V power supply port 150 are integrated at one sensor port 210 in application.
[0041] a display module 500 connected with a display screen 220 through a wiring harness female seat 120, for displaying the data collected by the sensor 400 at the display screen 220
[0042] a processing module 600 electrically connected with the display module 500, the power module 300 and the sensor 400, for communicating with the sensor 400 to acquire the data and display the data in the display screen 220, and pushing the data to a server background 800;
[0043] wherein the sensor port 210 is arranged at the top of the handset shell 200, and the display screen 220 is arranged at the center of the handset shell 200.
[0044] In the embodiment 1, the data collected by the sensor 400 of the sensor port 210 is acquired, the data is collected by the processor module communicating with the sensor 400 and displayed in the display screen 220, and the data is pushed to the server background 800, so that online detection and portable mobile detection can be realized, time is saved, and cost is reduced.
[0045] As a preferred embodiment of the utility model, specifically, the power module 300 is a storage battery, and the circuit mainboard is further provided with a mainboard power supply port 140, the storage battery is charged through the mainboard power supply port 140, and the mainboard power supply port 140 is arranged on one side of the bottom of the handset shell 200.
[0046] As a preferred embodiment of the utility model, specifically, the processing module 600 includes a first single-chip microcomputer 110 and a second single-chip microcomputer 170, wherein the first single-chip microcomputer 110 is used for collecting the data by communicating with the sensor 400 and displaying the data in the display screen 220, the second single-chip microcomputer 170 is used for detecting a WIFI signal and pushing the data to the server background 800 when the WIFI signal exists, and the first single-chip microcomputer 110 and the second single-chip microcomputer 170 perform serial communication.
[0047] In the preferred embodiment, the processing module 600 is constructed by using two single-chip microcomputers, one is responsible for data collection and display, and the other is responsible for communication, because the running memory of the single-chip microcomputer is limited, two single-chip microcomputers are used for division of labor.
[0048] As a preferred embodiment of the utility model, specifically, the sensor port 210 is provided with two, which are arranged on the top of the handset shell 200 and symmetrically arranged on the center line of the handset shell 200.
[0049] As a preferred embodiment of the utility model, specifically, the first single-chip microcomputer 110 and the sensor 400 perform data collection by using RS485 modbus protocol.
[0050] As a preferred embodiment of the utility model, specifically, the online portable water quality detector further includes an external wireless network card 700, the wireless network card 700 is provided with a power supply wire, the input end of the power supply wire is connected to the mainboard power supply port 140, the output end of the power supply wire is connected to the wireless network card 700, and then the circuit mainboard supplies power to the wireless network card 700.
[0051] In the preferred embodiment, the wireless network card 700 provides WIFI signals for the processing module 600 through the wireless network card 700, and the detector supplies power to the 4G wireless network card 700, uses a step-down interface to reduce the voltage to a fixed 5V, and after the 4G wireless network card 700 is powered on, it supports the detector to access the network and transmit collected data. The 4G wireless network card 700 is used in a plug-in manner, and in order to save power, it needs to be plugged in for online detection, otherwise it is offline and saves power and traffic.
[0052] As a preferred embodiment of the utility model, specifically, the online portable water quality detector is further provided with a power-on switch button 230, which is used to control the on-off of the power supply module 300, and the power-on switch button 230 is arranged on the other side of the bottom of the handset shell 200.
[0053] As a preferred embodiment of the utility model, specifically, the first single-chip microcomputer 110 and the second single-chip microcomputer 170 are both ESP32 single-chip microcomputers, and the model of the RS485 chip used is MAX13487 chip.
[0054] As a preferred embodiment of the utility model, specifically, the display screen 220 adopts a 2.8-inch TFT touch color SPI serial liquid crystal screen.
[0055] As a preferred embodiment of the utility model, specifically, the mainboard power supply port 140 is constructed by using a DC5.5 2.1MM socket.
[0056] As the above preferred embodiment, the device adopts a handheld mode, a public mold handheld shell, a four-core thickened silver-plated aviation head for the sensor 400 connector, a 2.8-inch TFT touch color SPI serial liquid crystal screen for the display screen 220, two ESP32 single-chip microcomputers for the mainboard, which are respectively responsible for data collection and display and communication, a MAX13487 chip for the RS485 chip, a silver-plated non-reset button for the power-on switch button, and a DC5.5 2.1MM socket for the charging port.
[0057] The core component of the online portable water quality detector is divided into four parts, the first part is the most core mainboard, the mainboard is provided with two single-chip microcomputers, one is responsible for sensing data collection and display, and the other is responsible for reporting data to the rear, the collection mode uses RS485 modbus protocol, direct current 12V power supply, the mainboard supports power supply for the sensor 400, supports the access of two sensors 400, and supports the power supply for the external 4G wireless network card 700, the charging voltage of the mainboard storage battery is 12.6V, the mainboard right side is welded with a display screen 220 wire harness female connector, plug-in, straight insertion and direct use; the second part is the shell and the display screen 220, the shell uses a public mold, and the size is moderate, the shell top is provided with two sensor 400 4-core aviation joints, the wiring is fastened, and a 2.8-inch display screen 220 is arranged below the joint, which is larger than the display screen 220 of the ordinary handheld device, the character font is large, and the display is clearer; the third part is the 4G wireless network card 700, the use mode of the network card is USB plug-in, 5V power supply, the network card supplies the network for the detector, so that the detector can communicate with the background and transmit the detected data; the fourth part is a 5V voltage reduction adapter, which is a bridge connecting the detector and the 4G wireless network card 700, one end of the 5V voltage reduction adapter is inserted into the 12V power supply output port of the detector, and the other end is connected with the 4G wireless network card 700.
[0058] The working process of the whole online portable water quality detector is as follows,
[0059] When the power-on power-on switch button 230 is pressed, the mainboard and the sensor 400 are powered on, the communication single-chip microcomputer and the collection and display single-chip microcomputer program are started, the communication single-chip microcomputer continuously tries to connect the WIFI signal of the 4G wireless network card 700; the collection and display single-chip microcomputer automatically sends a collection instruction to the sensor 400, the sensor 400 receives the instruction, responds to the collection result data, and the collection and display single-chip microcomputer receives the response, and sends the collected data to the communication single-chip microcomputer through the serial port, and when the network is connected, the communication single-chip microcomputer automatically pushes the data to the background, the background receives the pushed data, saves the back-end database, forms a data analysis report, judges whether the data index is abnormal according to the set threshold value, and automatically calls the short message or telephone interface to send a short message or a telephone call to the user to send a pre-warning notice.
[0060] And the circuit mainboard is additionally provided with a device debugging and program burning port 130, so as to be ready for subsequent device debugging.
[0061] In addition Figures 4-10 The partial circuit schematic diagram is given in the application, and the related circuit design can be referred to, and considering the convenience of actual application, Figure 4 The ESP32 chip shown in the drawing can preferably complete the corresponding circuit design, and considering the convenience of wire harness design, Figure 5 The expansion interface in the application, and through Figure 6The designed voltage reduction plate performs voltage reduction, and the hand-held device can be further improved in convenience by adding a key function Figure 7 The circuit shown in FIG. Figure 8 The RS485 chip shown in FIG. Figure 9 The voltage reduction and voltage stabilization power supply in FIG. Figure 10 The circuit shown in FIG.
[0062] Based on this, it has the following advantages,
[0063] 1. Both offline detection and online detection are supported, one machine is used for multiple purposes, and users have more choices;
[0064] 2. The detection data can be recorded in an electronic manner to form trend analysis and report analysis;
[0065] 3. When the detection index is abnormal, the user can also be automatically sent a pre-warning notice;
[0066] 4. The detection points that need special attention can be mounted for long-term online detection.
[0067] Although the description of the present application has been quite detailed and several embodiments have been described in particular, it is not intended to be limited to any of these details or embodiments or any special embodiment, but should be considered as providing a broad interpretation of the prior art by reference to the appended claims, so as to effectively cover the intended scope of the present application. In addition, the above describes the present application in embodiments that the inventor can foresee, the purpose is to provide a useful description, and those non-essential modifications of the present application that have not yet been foreseen can still represent equivalent modifications of the present application.
[0068] The above is only a preferred embodiment of the present application, and the present application is not limited to the above embodiments, as long as the same means achieve the technical effect of the present application, it should belong to the protection scope of the present application. The technical scheme and / or implementation method in the protection scope of the present application can have various modifications and changes.
Claims
1. Online portable water quality detector, characterized in that, include: A handset housing and a circuit board therein, wherein the circuit board is disposed inside the handset housing; The circuit main board includes: Power module, used to supply power to the entire circuit mainboard; A sensor port, used to electrically connect to a sensor, supply power to the sensor and obtain data collected by the sensor; The display module is connected to the display screen through the female terminal block and is used to display the data collected by the sensor on the display screen. a processing module, electrically connected to the display module, the power module and the sensor, for communicating with the sensor to collect the data and display the data on the display screen, and pushing the data to a server backend; Wherein, the sensor port is arranged on the top of the housing of the handheld device, and the display screen is arranged in the center of the housing of the handheld device; Specifically, the power module is a battery, and the circuit main board is further provided with a main board power supply port, through which the battery is charged, and the main board power supply port is provided on one side of the bottom of the handheld device housing; Specifically, the processing module includes a first single-chip microcomputer and a second single-chip microcomputer, wherein the first single-chip microcomputer is used to communicate with the sensor to collect the data and display the data on the display screen, and the second single-chip microcomputer is used to detect the WiFi signal. When the WiFi signal is present, the data is pushed to the server backend; and the first single-chip microcomputer and the second single-chip microcomputer communicate with each other via serial ports; Specifically, there are two sensor ports, which are respectively arranged on the top of the handheld device housing and symmetrically arranged on the center line of the handheld device housing; Specifically, the online portable water quality detector also includes an external wireless network card, which is equipped with a power supply line. By connecting the input end of the power supply line to the power port of the mainboard and connecting the output end of the power supply line to the wireless network card, the circuit mainboard can power the wireless network card.
2. The online portable water quality detector according to claim 1, characterized in that: Specifically, the first single chip microcomputer and the sensor collect data by using the RS485 modbus protocol.
3. The online portable water quality detector according to claim 1, characterized in that: Specifically, the online portable water quality detector is further provided with a power-on switch button, which is used to control the on and off of the power module. The power-on switch button is provided on the other side of the bottom of the handheld device housing.
4. The online portable water quality detector according to claim 2, characterized in that: Specifically, the first single-chip microcomputer and the second single-chip microcomputer are both ESP32 single-chip microcomputers, and the RS485 chip model used is MAX13487 chip.
5. The online portable water quality detector according to claim 1, characterized in that: Specifically, the display screen uses a 2.8-inch TFT touch color SPI serial port LCD screen.
6. The online portable water quality detector according to claim 1, characterized in that: Specifically, the mainboard power supply port is constructed using a DC5.5 2.1MM socket.