CN210375378U - Electronic weighing apparatus - Google Patents
Electronic weighing apparatus Download PDFInfo
- Publication number
- CN210375378U CN210375378U CN201921543607.9U CN201921543607U CN210375378U CN 210375378 U CN210375378 U CN 210375378U CN 201921543607 U CN201921543607 U CN 201921543607U CN 210375378 U CN210375378 U CN 210375378U
- Authority
- CN
- China
- Prior art keywords
- chip
- pin
- lcd1602
- keyboard
- resistor
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Arrangements For Transmission Of Measured Signals (AREA)
Abstract
The utility model discloses an electronic weighing apparatus, which comprises a main control module, a weighing module, a display module, a matrix keyboard and a Bluetooth module, wherein the main control module is respectively connected with the weighing module, the display module, the matrix keyboard and the Bluetooth module; the problem that the weight cannot be measured remotely in the past is solved.
Description
Technical Field
The utility model relates to an electronic scale field especially relates to an electronic weighing apparatus.
Background
The electronic weighing apparatus has wide application in life, and the weighing is very important in practice and life, and is related to each link in the process. However, many articles are weighed at present, cannot be observed on site, and wireless control is needed, so that wireless control weighing is a trend of social development at present.
SUMMERY OF THE UTILITY MODEL
For solving the problem that exists among the prior art, the utility model provides an electronic weighing apparatus has solved the problem of unable remote measurement weight in the past.
The utility model adopts the technical proposal that: the electronic weighing apparatus comprises a main control module, a weighing module, a display module, a matrix keyboard and a Bluetooth module, wherein the main control module is respectively connected with the weighing module, the display module, the matrix keyboard and the Bluetooth module.
Preferably, the main control chip of the main control module is a chip STC15W4K32S 4.
Preferably, the weighing module includes a main control chip HX711, a + pin of the chip HX711 is connected to one end of the resistor R1 and one end of the resistor R2, respectively, an a-pin of the chip HX711 is connected to the other end of the resistor R1 and one end of the resistor R4, an E + pin of the chip HX711 is connected to the other end of the resistor R4 and one end of the resistor R3, an E-pin of the chip HX711 is connected to the other end of the resistor R3 and the other end of the resistor R2, an SCK pin of the chip HX711 is connected to a P1.4 pin of the chip STC15W4K32S4, a DT pin of the chip HX711 is connected to a P1.3 pin of the chip STC15W4K32S4, and a VDD pin of the chip HX711 is connected to a VDD pin of the LCD1602, one end of the potentiometer, one end of the buzzer, an a pin of the chip 1602 and a VCC pin of the chip.
Preferably, the display module comprises a chip LCD1602, VSS pins of the chip LCD1602 are respectively connected with a GND pin of HC05, a VSS pin of a chip CD4802B, the other end of a potentiometer, a K pin of the chip LCD1602, a GND pin of a chip STC15W4K32S4 and a VSS pin of a chip HX711, a VO pin of the chip LCD1602 is connected with a sliding end of the potentiometer, an RS pin of the chip LCD1602 is connected with a P1.1 pin of the chip STC15W4K32S4, a RW pin of the chip LCD1602 is connected with a P1.2 pin of the chip STC15W4K32S4, an E pin of the chip LCD1602 is connected with a P1.0 pin of the chip STC15W4K32S4, a D0 pin of the chip LCD1602 is connected with a P0.0 pin of the chip STC15W4K32S4, a D48 pin of the chip LCD1602 is connected with a P0.1 pin of the chip STC15W4K32S4, a D pin of the chip STC 4K 3K 32S 1602, a D pin of the chip STC 3K 32S 3K 3S 32, a D pin of the chip STC 32S 3K 6S 1602, a chip STC 32S 3K 6 and a chip STC 32S 32, the pin D7 of the chip LCD1602 is connected to the pin P0.7 of the chip STC15W4K32S 4.
Preferably, the bluetooth module comprises a chip HC05, a TXD pin of the chip HC05 is connected with an RXD pin of the chip STC15W4K32S4, and an RXD pin of the chip HC05 is connected with a TXD pin of the chip STC15W4K32S 4.
Preferably, the matrix keyboard comprises a chip CD4082BE, a keyboard and a buzzer, the E pin of the chip CD4082BE is respectively connected with the P2.0 pin of the chip STC15W4K32S4 and the A pin of the keyboard, the D pin of the chip CD4082BE is respectively connected with the P2.1 pin of the chip STC15W4K32S4 and the B pin of the keyboard, the C pin of the chip CD4082BE is respectively connected with the P2.2 pin of the chip STC15W4K32S4 and the C pin of the keyboard, the D pin of the chip CD4082BE is respectively connected with the P2.3 pin of the chip STC15W4K32S4 and the D pin of the keyboard, the A pin of the chip CD4082BE is connected with the P3.2 pin of the chip STC15W4K32S4, the 1 st pin of the keyboard is connected with the P2.4 pin of the chip STC15W4K32S4, the 2 pin of the keyboard STC 6315W 4K32S4 is connected with the 2.2 pin of the second pin of the chip STC15, the second pin of the chip STC 4K32S4 is connected with the second pin of the chip STC 4K32S 7, the chip STC 2P 2S 32 and the chip.
The utility model discloses electronic weighing apparatus's beneficial effect as follows:
1. the Bluetooth module is arranged, serial port communication is achieved through a serial port of the single chip microcomputer, data are sent by means of the mobile phone APP, and therefore remote control and data reading are achieved.
2. A display module is arranged and can display the weight data.
3. The weighing module is arranged, and analog signals of measurement results can be converted into digital signals.
Drawings
FIG. 1 is a circuit diagram of the electronic weighing apparatus of the present invention
FIG. 2 is a basic structure diagram of a strain gauge of the electronic weighing apparatus of the present invention
FIG. 3 is a basic full bridge circuit diagram of the electronic weighing apparatus of the present invention
FIG. 4 is the schematic view of the installation of the strain gauge and the strain gauge of the electronic weighing apparatus of the present invention
Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
The following description of the embodiments of the present invention is provided to facilitate the understanding of the present invention by those skilled in the art, but it should be understood that the present invention is not limited to the scope of the embodiments, and various changes will be apparent to those skilled in the art as long as they are within the spirit and scope of the present invention as defined and defined by the appended claims, and all inventions contemplated by the present invention are protected.
As shown in fig. 1, the electronic weighing apparatus includes a main control module, a weighing module, a display module, a matrix keyboard and a bluetooth module, wherein the main control module is respectively connected to the weighing module, the display module, the matrix keyboard and the bluetooth module.
The main control chip of the main control module in this embodiment is a chip STC15W4K32S 4.
The weighing module of the embodiment comprises a main control chip, namely a chip HX711, wherein a + pins of the chip HX711 are respectively connected with one end of a resistor R1 and one end of a resistor R2, A-pins of the chip HX711 are respectively connected with the other end of a resistor R1 and one end of a resistor R4, E + pins of the chip HX711 are respectively connected with the other end of a resistor R4 and one end of a resistor R3, E-pins of the chip HX711 are respectively connected with the other end of a resistor R3 and the other end of a resistor R2, an SCK pin of the chip HX711 is connected with a P1.4 pin of an STC15W4K32S4, a DT pin of the chip HX711 is connected with a P1.3 pin of a chip STC15W4K32S4, and a VDD pin of the chip HX711 is respectively connected with a VDD pin of an LCD1602, one end of a potentiometer, one end of a buzzer, an A pin of the LCD1602 and.
In this embodiment, the weighing part is implemented
The strain type sensor adopts a resistance strain gauge, and when the strain gauge is stressed and changes in stress, the resistance strain gauge can deform to change the resistance, so that the voltage applied to the resistance strain gauge changes.
For the resistance, the calculation formula is
In the formula, KsThe wire material is sensitive coefficient, the physical meaning is resistance change rate of unit strain, and marks whether the resistance strain sheet effect of the wire material is obvious or not. ε is the measured strain, a dimensionless quantity, butConventionally, the unit micro strain is still given, and the common symbol is mu epsilon, so that when the wire generates strain effect, the strain epsilon is equal toThe linear relationship is shown in fig. 2, which is the theoretical basis for measuring the strain of a member by using a metal strain gauge.
As shown in FIG. 3, the measurement principle of the full-bridge circuit adopts the full-bridge measurement circuit for V in order to make the measurement result more accurate0,
In the formula, VeTo apply a voltage of 5V.
Since four identical resistance strain gages are used, the four initial values are equal, the initial V0When measured, the correspondence between the four strain gauges and the resistance in the circuit is shown in fig. 4 below.
The two resistors on the upper layer increase dR through the press-down resistor, and the lower layer decreases dR, which can be derived by the above formula,
further, the method can be used for obtaining the compound,
V0=VeKsε
the strain and pressure are linear relationship, and the measurement voltage V can be known0Is linear with pressure so that this property can be used to measure weight.
HX711 performs analog-to-digital conversion by using 25 pulse channel A, the conversion result enters the single chip microcomputer through a port P13, and a linear expression of weight and read data is obtained by measuring series data
m=kx+b
Where m represents the measured mass, and x is 24-bit data converted by HX711, and is regarded as unsigned long integer data. Coefficient of variation
k=0.00228
b=19010
So that the mass can be calculated.
Error analysis
1) The error caused by the property of the strain gauge is related to the manufacturing process, the type of the strain gauge and the quality of the adhesive.
2) The full-bridge circuit part uses 4 foil gages, sensitivity is improved by 4 times compared with a single foil gage, and errors can be effectively reduced.
3) The AD signal output may be subject to line interference, resulting in errors.
4) The software error has a certain error in the measurement of the linear coefficient slope, so that when the software is calculated, a corresponding error is generated, and the error is controlled within 1 g.
The display module of the embodiment comprises a chip LCD1602, a VSS pin of the chip LCD1602 is respectively connected with a GND pin of HC05, a VSS pin of a chip CD4802B, the other end of a potentiometer, a K pin of the chip LCD1602, a GND pin of a chip STC15W4K32S4 and a VSS pin of a chip HX711, a VO pin of the chip LCD1602 is connected with a sliding end of the potentiometer, an RS pin of the chip LCD1602 is connected with a P1.1 pin of the chip STC15W4K32S4, a RW pin of the chip LCD1602 is connected with a P1.2 pin of the chip STC15W4K32S4, an E pin of the chip LCD1602 is connected with a P1.0 pin of the chip STC15W4K32S4, a D0 pin of the chip LCD1602 is connected with a P0.0 pin of the chip STC15W4K32S4, a D48 pin of the chip LCD1602 is connected with a P0.1.1 pin of the chip STC 4K32S4, a D pin of the STC 4K32S 366 pin of the chip STC 4K 6, a D pin of the chip STC 6K 32S 1602, a D pin of the chip STC 3K 6S 3K 6S 1602, a chip STC 32S 3K 32S 3S 32S 3 pin of the chip STC 32S 1602, a chip STC 32S 3K 6, the pin D7 of the chip LCD1602 is connected to the pin P0.7 of the chip STC15W4K32S 4.
In this embodiment, a display portion is provided
The LCD1602 is used for displaying the quality and unit price in the first row and the measured price and total price in the second row.
Price calculation
After the unit price is set, the total price is obtained by calculating the total price with the quality, if the total price needs to be added, a command is sent out through man-machine interaction, and the calculation formula is
Total price is unit price x m
The bluetooth module of this embodiment includes chip HC05, and the RXD pin of chip HC05 connects the RXD pin of chip STC15W4K32S4, and the RXD pin of chip HC05 connects the TXD pin of chip STC15W4K32S 4.
In this embodiment, the Bluetooth module
The Bluetooth adopts an HC-05 module, serial port communication is realized through a serial port of a single chip microcomputer, and data are sent by means of a mobile phone APP, so that remote control and data reading are realized.
AT mode changing Bluetooth parameters
The AT mode of the button is pressed before power-on, the operations of baud rate change, name change, password change and the like can be carried out through AT instructions, and the baud rate is set to be 9600 bps.
Serial port arrangement
Data function
"0-9" is a numeric input for changing unit price, "# is a decimal point,"/"is a confirmation setting," a "" a "stores the current mass for peeling and subtracts it from the total mass. Pressing cancel key again to remove peel, B "
"b" is clear total price, make the result of adding back to 0, "C" and "C" are calibrated to be that if not displaying 0 when the article is not placed, press to make the quality 0, "D" and "D" are added and make the total price of current quality add, "EE" and "EE" are reading quality results, "FF" and "FF" are reading measurement price results, and "GG" and "GG" are reading total price results.
The matrix keyboard of the embodiment comprises a chip CD4082BE, a keyboard and a buzzer, wherein a pin E of the chip CD4082BE is respectively connected with a pin P2.0 of the chip STC15W4K32S4 and a pin A of the keyboard, a pin D of the chip CD4082BE is respectively connected with a pin P2.1 of the chip STC15W4K32S4 and a pin B of the keyboard, a pin C of the chip CD4082BE is respectively connected with a pin P2.2 of the chip STC15W4K32S4 and a pin C of the keyboard, a pin D of the chip CD4082BE is respectively connected with a pin P2.3 of the chip STC15W4K32S4 and a pin D of the keyboard, a pin A of the chip CD40 BE is connected with a pin P3.2 of the chip STC15W4K32S4, a pin 1 of the keyboard is connected with a pin P2.4 of the chip STC15W4K32S4, a pin 2 of the keyboard STC 6315W 4K32S 32 is connected with a pin A of the chip STC 2, a pin B32S 32 is connected with a pin B32, a pin B32S 32 of the other end of the chip STC15W4 is connected with a pin P2.4S 32, and a pin of the chip STC.
When this embodiment is implemented again, the matrix keyboard
And acquiring a key value by a 4-by-4 keyboard through a line inversion method, triggering interruption of 4-bit AND operation by using a CD4082, reading the key value, and realizing a corresponding function.
Line inversion method: the row line is first set to 0, the column line value is read, the column line is then set to 0, and the row line value is read to obtain the key value.
The key function is 0-9 digit input for changing unit price, "+" is decimal point, and "#" is confirmation.
Key "a" is peeled off, the current mass is stored and subtracted from the total mass. Pressing the key B again to cancel peeling, changing the sum result back to 0, the key C to calibrate if no article is placed, not displaying 0, pressing the key D to add the sum to the total price of the current mass price. When the key is pressed down, the vibration is removed, and when the key is interrupted, the buzzer is used for sounding.
In the implementation of the embodiment, the strain is converted into an electric signal through the stress sensor, the HX711 is converted into the electric signal, the data of the HX711 is processed, weight data is obtained, price is calculated, weight, unit price, weighing price and total price are displayed, a matrix keyboard is read, and the functions of unit price changing, peeling addition and the like are realized.
Claims (4)
1. The electronic weighing apparatus is characterized by comprising a main control module, a weighing module, a display module, a matrix keyboard and a Bluetooth module, wherein the main control module is respectively connected with the weighing module, the display module, the matrix keyboard and the Bluetooth module;
the main control chip of the main control module is a chip STC15W4K32S 4;
the Bluetooth module comprises a chip HC05, wherein a TXD pin of the chip HC05 is connected with an RXD pin of a chip STC15W4K32S4, and an RXD pin of the chip HC05 is connected with a TXD pin of a chip STC15W4K32S 4.
2. The electronic weighing apparatus of claim 1, wherein the weighing module comprises a main control chip being a chip HX711, the a + pin of the chip HX711 is connected to one end of a resistor R1 and one end of a resistor R2, the a-pin of the chip HX711 is connected to the other end of a resistor R1 and one end of a resistor R4, the E + pin of the chip HX711 is connected to the other end of a resistor R4 and one end of a resistor R3, the E-pin of the chip HX711 is connected to the other end of a resistor R3 and the other end of a resistor R2, the SCK pin of the chip HX711 is connected to the P1.4 pin of a chip STC15W4K32S4, the DT pin of the chip HX711 is connected to the P1.3 pin of a chip STC15W4K32S4, and the VDD pin of the chip HX711 is connected to the one end of an LCD, one end of a potentiometer, one end of a chip buzzer, a pin of a chip 1602, VCC 05 and a pin of an LCD 1602.
3. The electronic weighing apparatus of claim 1, wherein the display module comprises a chip LCD1602, a VSS pin of the chip LCD1602 is connected to a GND pin of HC05, a VSS pin of a chip CD4802B, the other end of the potentiometer, a K pin of the chip LCD1602, a GND pin of a chip STC15W4K32S4 and a VSS pin of a chip HX711 respectively, a VO pin of the chip LCD1602 is connected to a sliding end of the potentiometer, an RS pin of the chip LCD1602 is connected to a P1.1 pin of a chip STC15W4K32S4, a RW pin of the chip LCD1602 is connected to a P1.2 pin of a chip STC15W4K32S4, an E pin of the chip LCD1602 is connected to a P1.0 pin of a chip STC15W4K32S4, a D0 pin of the chip LCD1602 is connected to a P0.0 pin of a chip STC15W4K32S 462, a D1 pin of the chip LCD1602 is connected to a STC15W4K32S 3 pin of the chip STC 4K32S 460, a D pin of the chip LCD1602 is connected to a chip STC 19W 32S 3, a D pin of the chip STC 32S 3 is connected to a chip STC 32S 32, a chip STC 32S 32, the pin D5 of the chip LCD1602 is connected with the pin P0.5 of the chip STC15W4K32S4, the pin D6 of the chip LCD1602 is connected with the pin P0.6 of the chip STC15W4K32S4, and the pin D7 of the chip LCD1602 is connected with the pin P0.7 of the chip STC15W4K32S 4.
4. The electronic weighing apparatus of claim 1, wherein the matrix keyboard comprises a chip CD4082BE, a keyboard and a buzzer, the pin E of the chip CD4082BE is respectively connected with the pin P2.0 of the chip STC15W4K32S4 and the pin A of the keyboard, the D pin of the chip CD4082BE is respectively connected with the P2.1 pin of the chip STC15W4K32S4 and the B pin of the keyboard, the C pin of the chip CD4082BE is respectively connected with the P2.2 pin of the chip STC15W4K32S4 and the C pin of the keyboard, the D pin of the chip CD4082BE is respectively connected with the P2.3 pin of the chip STC15W4K32S4 and the D pin of the keyboard, the a pin of the chip CD4082BE is connected to the P3.2 pin of the chip STC15W4K32S4, the 1 st pin of the keyboard is connected with the P2.4 pin of the chip STC15W4K32S4, the 2 nd pin of the keyboard is connected with the P2.5 pin of the chip STC15W4K32S4, the 3 rd pin of the keyboard is connected with the P2.6 pin of the chip STC15W4K32S4, the 4 th pin of the keyboard is connected with the P2.7 pin of the chip STC15W4K32S4, and the P4.5 pin of the chip STC15W4K32S4 is connected with the other end of the buzzer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201921543607.9U CN210375378U (en) | 2019-09-17 | 2019-09-17 | Electronic weighing apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201921543607.9U CN210375378U (en) | 2019-09-17 | 2019-09-17 | Electronic weighing apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
CN210375378U true CN210375378U (en) | 2020-04-21 |
Family
ID=70254915
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201921543607.9U Expired - Fee Related CN210375378U (en) | 2019-09-17 | 2019-09-17 | Electronic weighing apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN210375378U (en) |
-
2019
- 2019-09-17 CN CN201921543607.9U patent/CN210375378U/en not_active Expired - Fee Related
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN201653608U (en) | High-intelligent resistance strain gage sensor | |
US4799169A (en) | Gas well flow instrumentation | |
TWI429890B (en) | Calibration method and verification method and system for digital torque tools | |
US9857261B2 (en) | System for measuring a palmar gripping force | |
JPH08503774A (en) | Instrumentation system with multiple sensor modules | |
US20070074910A1 (en) | Electronic scale with overload indication on display screen | |
GB2041523A (en) | Weighing apparatus | |
CN210375378U (en) | Electronic weighing apparatus | |
CN101644612A (en) | Programmable pressure sensor | |
CN102507053A (en) | Toughened glass pressure sensor | |
CN201672987U (en) | Temperature measuring apparatus | |
JP2006520668A (en) | System for measuring and displaying changes in resistance of a living body | |
CN207991561U (en) | A kind of device adjusted for resistance strain gage output | |
CN203534694U (en) | Remote-control digital weighing machine with temperature compensation function | |
Gaikwad et al. | Design and development of novel weighing scale system | |
KR101081866B1 (en) | Mobile Communication Terminal having attachable Electronic Scale Case | |
CN201449300U (en) | Programmable pressure sensor | |
CN103234617A (en) | Remote-control digital weighing machine with temperature compensation function and temperature compensation method for remote-control digital weighing machine | |
CN113654722A (en) | Batch calibration method and system of pressure sensors and weighing cabinet | |
CN111855052A (en) | Torque sensor, torque sensing device, torque sensing system and measuring method thereof | |
CN111323103A (en) | Pressure sensing device for adjusting and calibrating four-corner balance, circuit and electronic weighing instrument | |
CN217403366U (en) | Metal foil type strain gauge experimental device | |
KR20050104058A (en) | Electronic hand-dynamometer | |
CN210375385U (en) | Electronic scale circuit and electronic scale | |
CN211121548U (en) | Electronic scale |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200421 Termination date: 20210917 |
|
CF01 | Termination of patent right due to non-payment of annual fee |