CN107966202A - Electronic scale weighing module and its implementation - Google Patents

Electronic scale weighing module and its implementation Download PDF

Info

Publication number
CN107966202A
CN107966202A CN201711342871.1A CN201711342871A CN107966202A CN 107966202 A CN107966202 A CN 107966202A CN 201711342871 A CN201711342871 A CN 201711342871A CN 107966202 A CN107966202 A CN 107966202A
Authority
CN
China
Prior art keywords
electronic scale
converter
microcontroller
signal
weighing module
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.)
Pending
Application number
CN201711342871.1A
Other languages
Chinese (zh)
Inventor
来学宝
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN201711342871.1A priority Critical patent/CN107966202A/en
Publication of CN107966202A publication Critical patent/CN107966202A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01GWEIGHING
    • G01G23/00Auxiliary devices for weighing apparatus
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01GWEIGHING
    • G01G23/00Auxiliary devices for weighing apparatus
    • G01G23/14Devices for determining tare weight or for cancelling out the tare by zeroising, e.g. mechanically operated
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01GWEIGHING
    • G01G23/00Auxiliary devices for weighing apparatus
    • G01G23/18Indicating devices, e.g. for remote indication; Recording devices; Scales, e.g. graduated

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The invention discloses electronic scale weighing module and its implementation, Weighing module includes sensor, a/d converter U3, microcontroller U2, three terminal regulator U1, serial converter U4 and power supply;Sensor gathers two-way analog difference signal and enters the input end of analog signal AIN+ and AIN of a/d converter U3 by signal filter circuit;The signal port of the digital signal output end DOUT connection microcontrollers U2 of a/d converter U3;The signal sending end mouth RXD and receiver port TXD of the microcontroller U2 receiver port TIN and signal sending end mouth R1OUT connecting communications with serial converter U4 respectively;The transceiver interface that the signal sending end mouth T1OUT and receiver port R1IN of serial converter U4 is used for respectively with PC host computers is connected.Weight data can be transmitted to PC host computers or other equipment by the present invention, improved the use scope of electronic scale, can be used in combination with external system.The circuit part and in the market similar product price of the present invention is cheaper.

Description

Electronic scale weighing module and its implementation
Technical field
The present invention relates to communication field, and in particular to electronic scale weighing module and its implementation.
Background technology
Electronic scale is using the instrument of the lever principle of Hooke's law or power measure mass of object, when object is placed on the scale pan When, pressure is applied to sensor, which deforms upon, so that impedance changes, while is become using driving voltage Change, export the analog signal of a change.The signal is output to analog-digital converter through amplifying circuit amplification.It is converted into easy to processing Digital signal be output to CPU operation controls.This result is output to display by CPU according to keyboard commands and program, directly To this result of display.
Existing electronic scale is usually independent, that is, collection, processing and the display of result of signal are at one Realized in module, can not communicate, i.e., can not be used in combination with exterior system with outside realization;In addition, existing electronic scale work( Can be relatively simple, it can only generally weigh, obtain mass of object, other data can not be gathered.
The content of the invention
In order to solve the above technical problems, the invention discloses electronic scale weighing module and its implementation.
The technical solution adopted by the present invention is:
Electronic scale weighing module, including sensor, a/d converter U3, microcontroller U2, three terminal regulator U1, serial converter U4 and power supply;The power supply is connected respectively to sensor, a/d converter U3, microcontroller U2 and serial ports by three terminal regulator U1 and turns Parallel operation U4 powers;
The sensor gathers two-way analog difference signal and enters the simulation of a/d converter U3 by signal filter circuit Signal input part AIN+ and AIN-;The signal end of the digital signal output end DOUT connection microcontrollers U2 of the a/d converter U3 Mouthful;The signal sending end mouth RXD and receiver port TXD of the microcontroller U2 is received with the signal of serial converter U4 respectively Port TIN and signal sending end mouth R1OUT connecting communications;The signal sending end mouth T1OUT and signal of the serial converter U4 The transceiver interface that receiving port R1IN is used for respectively with PC host computers is connected.
Sensor is pressure sensor.
Weight data can be transmitted to PC host computers or other equipment by the present invention, improve the use scope of electronic scale.Can To be used in combination with external system, such as ERP system, ERP system can conveniently gather electronic scale weight, realize ERP system and electricity Sub- scale integration.
Specifically, the power supply passes sequentially through power switch K1, reverse-filling diode D1, input filter circuit and enters three ends The input terminal of voltage-stablizer U1, the output terminal of three terminal regulator U1 are connected respectively to sensor, AD conversion by output filter circuit Device U3, microcontroller U2 and serial converter U4 power supplies.
Further, the reverse-filling diode D1 includes two diodes parallel with one another, the input filter circuit Including electrolytic capacitor C1 parallel with one another and ceramic condenser C2, the output filter circuit includes ceramic condenser C3 parallel with one another With electrolytic capacitor C4.
Further, the microcontroller U2 uses SH88F2051SOP16 chips.It is of low cost using this microcontroller, and can To achieve the purpose that weight data is handled.
Further, the microcontroller U2 is also associated with expansion interface CN3.Expansion interface be used for display screen, mobile phone, Tablet computer or other equipment connection.
Yet further, the microcontroller is also associated with power indicating circuit.For indicating power supply during microcontroller work State.
The implementation method of electronic scale weighing module, includes the following steps:
S1, sensor collection two-way analog difference signal are converted into digital signal by a/d converter;
S2, will be processed into the weight data including weight and heavy condition in the digital signal input microcontroller of step S2;
S3, by weight data be transmitted to PC host computers by serial converter.
Specifically, the heavy condition includes stable state, zero point state, tare weight state and overload condition.
Further, in the step S3, the weight data is to include weight, stable state, zero point state, tare weight The character to decimal string of state and overload condition, PC host computers are transmitted to after being then converted into ASCII character.
Further, the weight data can also be transmitted to mobile phone, tablet by the expansion interface being connected with microcontroller Computer or display screen.
Compared with prior art, the beneficial effects of the present invention are:
Weight data can be transmitted to PC host computers or other equipment by the present invention, improve the use scope of electronic scale, can To be used in combination with external system.The circuit part and in the market similar product price of the present invention is cheaper.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached Figure is briefly described, it will be appreciated that the following drawings show but the section Example of the present invention, therefore be not to be taken as pair The restriction of scope, for those of ordinary skill in the art, without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 is the circuit diagram of the present invention.
Embodiment
The invention will be further described below in conjunction with the accompanying drawings.Embodiments of the present invention include but not limited to following implementation Example.
Embodiment
As shown in Figure 1, electronic scale weighing module, including pressure sensor, a/d converter U3, microcontroller U2, expansion interface CN3, three terminal regulator U1 and serial converter U4.
Direct current 5V electricity passes sequentially through power switch K1, reverse-filling diode D1, input filter circuit and enters three terminal regulator The input terminal of U1, the output terminal of three terminal regulator U1 connect pressure by output filter circuit, the first electric source filter circuit and pass respectively Sensor, a/d converter U3 simulation feeder ears AVDD, digital power system end DVDD and reference voltage end VRef.
In the present embodiment, reverse-filling diode D1 includes two diodes parallel with one another, and input filter circuit includes phase Mutually electrolytic capacitor C1 and ceramic condenser C2 in parallel, output filter circuit include ceramic condenser C3 and electrolytic capacitor parallel with one another C4, the first electric source filter circuit are " the π types " being made of ceramic condenser C11, ceramic condenser C12, ceramic condenser C13, inductance L3 Filter circuit.
The output terminal of three terminal regulator U1 also passes through output filter circuit, the power end of the second filter circuit and microcontroller U2 VCCL connections, the second filter circuit include ceramic condenser C5.
The output terminal of three terminal regulator U1 also passes through output filter circuit, the electricity of the 3rd filter circuit and serial converter U4 Source VCC connections.Second filter circuit includes ceramic condenser C14.
Pressure sensor gathers two-way analog difference signal, and enters the simulation of a/d converter U3 by signal filter circuit Signal input part AIN+ and AIN-.
The signal port of the digital signal output end DOUT connection microcontrollers U2 of a/d converter U3, and a/d converter U3 Clock end SCLK is connected with the clock port of microcontroller U2.
Signals of the signal sending end mouth RXD and receiver port TXD of microcontroller U2 respectively with serial converter U4 connects Receiving end mouth TIN and signal sending end mouth R1OUT connecting communications, for data transmit-receive.
Signal sending end mouth T1OUT and receiver port the R1IN transmitting-receiving with PC host computers respectively of serial converter U4 Interface connects.
Expansion interface CN3 is connected with microcontroller U2, expansion interface be used for display screen, mobile phone, tablet computer or other set Standby connection.
In the present embodiment, microcontroller U2 is also associated with power indicating circuit.
In the present embodiment, a/d converter U3 uses HX710 chips.
In the present embodiment, microcontroller U2 uses SH88F2051SOP16 chips.
In the present embodiment, serial converter U4 uses SP3232EEN chips.
The implementation method of electronic scale weighing module, includes the following steps:
S1, pressure sensor collection two-way analog difference signal are converted into digital signal by a/d converter;
S2, will be processed into the weight data including weight and heavy condition in the digital signal input microcontroller of step S2;
S3, by weight data be transmitted to PC host computers by serial converter, or by expansion interface be transmitted to mobile phone, Tablet computer or display screen.
In the present embodiment, heavy condition includes stable state, zero point state, tare weight state and overload condition.
Weight data can be transmitted to PC host computers or other equipment by the present invention, improve the use scope of electronic scale.Can To be used in combination with external system, such as ERP system, ERP system can conveniently gather electronic scale weight, realize ERP system and electricity Sub- scale integration.
In step s3, weight data is to include weight, stable state, zero point state, tare weight state and overload condition Character to decimal string, be transmitted to PC host computers or other equipment after being then converted into ASCII character.
In the present embodiment, two kinds of forms are enumerated:
Form 1:
Character to decimal string format:#0A Nn003.000000.0000100#1C#0D.
ASCII fromat:0A 4E 6E 30 30 33 2E 30 30 30 30 30 30 2E 30 30 30 30 31 30 30 1C 0D。
Format description:
1st:Newline in start bit ' #0A ' ASCII character.
2-3:It is currently state ' Nn ' of weighing to represent electronic scale.
4-10:Represent electronic scale current weight 3KG ' 003.000 '.
11-17:Represent that tare weight state is 0 (not having tare weight) ' 000.000 '.
18-21:Represent that electronic scale is currently weighed state.' 0100 ' the 18th represents overload, and identifier is if 0 table Show and do not overload, if 1 represents overload;19th represents stabilization, and identifier is if 0 represents unstable, if 1 represents Stablize;20th represents zero point, represents symbol if 0 represents not in zero point, if 1 represents in zero point;21st represents skin Weight, represents symbol if 0 represents no tare weight, if 1 indicates tare weight.
22nd:#1C represents check bit (decollator ' FS ' in ASCII character).
23rd:#0D represents stop bits.
Form 2:
Character to decimal string format:#1#2S#20 03.000kgb#3#4#0.
ASCII fromat:01 02 53 20 30 33 2E 30 30 30 6B 67 62 03 04 00.
Format description:
1-2:Represent start bit ' #1#2 ' (ASCII character SOH and STX).
3rd:Represent electronic scale mode bit ' S ' (when mode bit is that ' S ' represents that electronic scale is stable state, current state Position is that ' U ' represents that electronic scale weight is unstable, and current state is that ' F ' represents that electronic scale weight is overflowed).
4-10:Represent that (first ' #20 ' is represented in ASCII character electronic scale actual weight 3KG ' #20 03.000 ' Space identifier accords with;If -3KG is then ' -03.000 ';).
11-12:Represent current weight unit ' kg '.
13rd:Represent check bit.
14th:Expression mode bit of weighing (is converted under binary condition:5th expression zero-bit state:1 represents electronics Scale is zeroed, and 0 represents electronic scale non-return-to-zero;6th is tare weight state:1 expression electronic scale has tare weight, and 0 expression electronic scale does not have skin Weight;7th expression overload condition:1 represents electronic scale overload, and 0 expression electronic scale does not overload).
According to above-described embodiment, the present invention can be realized well.What deserves to be explained is based on above-mentioned design principle, it is Same technical problem is solved, some made on architecture basics disclosed in this invention are without substantive change or profit Color, used technical solution essence is still as the present invention, therefore it should also be as within the scope of the present invention.

Claims (10)

1. electronic scale weighing module, it is characterised in that including sensor, a/d converter U3, microcontroller U2, three terminal regulator U1, Serial converter U4 and power supply;
The power supply is connected respectively to sensor, a/d converter U3, microcontroller U2 and serial converter by three terminal regulator U1 U4 powers;
The sensor gathers two-way analog difference signal and enters the analog signal of a/d converter U3 by signal filter circuit Input terminal AIN+ and AIN-;
The signal port of the digital signal output end DOUT connection microcontrollers U2 of the a/d converter U3;
Signals of the signal sending end mouth RXD and receiver port TXD of the microcontroller U2 respectively with serial converter U4 connects Receiving end mouth TIN and signal sending end mouth R1OUT connecting communications;
The signal sending end mouth T1OUT and receiver port R1IN of the serial converter U4 be used for respectively with PC host computers Transceiver interface connects.
2. electronic scale weighing module according to claim 1, it is characterised in that the power supply passes sequentially through power switch K1, reverse-filling diode D1, input filter circuit enter the input terminal of three terminal regulator U1, and the output terminal of three terminal regulator U1 leads to Cross output filter circuit and be connected respectively to sensor, a/d converter U3, microcontroller U2 and serial converter U4 power supplies.
3. electronic scale weighing module according to claim 2, it is characterised in that the reverse-filling diode D1 includes two Diode parallel with one another, the input filter circuit includes electrolytic capacitor C1 parallel with one another and ceramic condenser C2, described defeated Going out filter circuit includes ceramic condenser C3 and electrolytic capacitor C4 parallel with one another.
4. electronic scale weighing module according to claim 1, it is characterised in that the microcontroller U2 is used SH88F2051SOP16 chips.
5. according to the electronic scale weighing module described in claim 1-4 any one, it is characterised in that the microcontroller U2 also connects It is connected to expansion interface CN3.
6. according to the electronic scale weighing module described in claim 1-4 any one, it is characterised in that the microcontroller is also connected with There is power indicating circuit.
7. the implementation method of the electronic scale weighing module according to claim 1-6 any one, it is characterised in that including such as Lower step:
S1, sensor collection two-way analog difference signal are converted into digital signal by a/d converter;
S2, will be processed into the weight data including weight and heavy condition in the digital signal input microcontroller of step S2;
S3, by weight data be transmitted to PC host computers by serial converter.
8. the implementation method of electronic scale weighing module according to claim 7, it is characterised in that the heavy condition includes Stable state, zero point state, tare weight state and overload condition.
9. the implementation method of electronic scale weighing module according to claim 8, it is characterised in that in the step S3, institute It is the character to decimal string for including weight, stable state, zero point state, tare weight state and overload condition to state weight data, so After be converted into ASCII character after be transmitted to PC host computers.
10. the implementation method of electronic scale weighing module according to claim 7, it is characterised in that the weight data is also Mobile phone, tablet computer or display screen can be transmitted to by the expansion interface being connected with microcontroller.
CN201711342871.1A 2017-12-14 2017-12-14 Electronic scale weighing module and its implementation Pending CN107966202A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711342871.1A CN107966202A (en) 2017-12-14 2017-12-14 Electronic scale weighing module and its implementation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711342871.1A CN107966202A (en) 2017-12-14 2017-12-14 Electronic scale weighing module and its implementation

Publications (1)

Publication Number Publication Date
CN107966202A true CN107966202A (en) 2018-04-27

Family

ID=61995426

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711342871.1A Pending CN107966202A (en) 2017-12-14 2017-12-14 Electronic scale weighing module and its implementation

Country Status (1)

Country Link
CN (1) CN107966202A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110825001A (en) * 2019-11-30 2020-02-21 河南潜合自动化科技有限公司 Dry-mixed mortar control system

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001345423A (en) * 2000-06-01 2001-12-14 Seiko Epson Corp Semiconductor integrated circuit device and manufacturing method thereof
CN201331368Y (en) * 2009-03-20 2009-10-21 常州市常欣电子衡器有限公司 Pre-amplifier circuit of weighing sensor
CN201555656U (en) * 2009-12-01 2010-08-18 常州珠峰称重设备有限公司 Dynamic number weighting converter
CN201616023U (en) * 2010-03-16 2010-10-27 周卫 Signal isolation conversion output module
CN102228379A (en) * 2011-07-07 2011-11-02 上海帝诺医疗科技有限公司 Balance detection system
CN102506982A (en) * 2011-10-19 2012-06-20 深圳市杰曼科技有限公司 Automatic compensating signal acquiring system
CN202836695U (en) * 2012-10-13 2013-03-27 榆林学院 Dynamic weighing electronic balance
TW201406123A (en) * 2012-07-23 2014-02-01 Fih Hong Kong Ltd Portable electronic device having weighing function and an electronic scale system having same
CN203785751U (en) * 2014-01-22 2014-08-20 青岛海信智能商用系统有限公司 Weighing circuit and electronic scale possessing same
CN104075788A (en) * 2014-06-23 2014-10-01 上海理工大学 Medical weight measuring device
CN104502534A (en) * 2014-12-15 2015-04-08 中国航空工业集团公司北京长城航空测控技术研究所 Portable car-mounted atmospheric environment real-time monitoring device
CN204257178U (en) * 2014-10-13 2015-04-08 国网山东省电力公司青岛供电公司 LCD backlight ON-OFF control circuit
CN205335936U (en) * 2016-01-29 2016-06-22 山东鲁能智能技术有限公司 Electric vehicle charger exports protection circuit
CN206114083U (en) * 2016-10-31 2017-04-19 常熟理工学院 Intelligence height weight measuring apparatu
CN106981974A (en) * 2017-04-05 2017-07-25 延锋伟世通电子科技(上海)有限公司 A kind of vehicle power interface circuit for suppressing engine noise
CN206683752U (en) * 2017-04-10 2017-11-28 广州佐峰电子科技有限公司 Serial ports is weighed plate
CN207703329U (en) * 2017-12-14 2018-08-07 来学宝 Electronic scale weighing module

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001345423A (en) * 2000-06-01 2001-12-14 Seiko Epson Corp Semiconductor integrated circuit device and manufacturing method thereof
CN201331368Y (en) * 2009-03-20 2009-10-21 常州市常欣电子衡器有限公司 Pre-amplifier circuit of weighing sensor
CN201555656U (en) * 2009-12-01 2010-08-18 常州珠峰称重设备有限公司 Dynamic number weighting converter
CN201616023U (en) * 2010-03-16 2010-10-27 周卫 Signal isolation conversion output module
CN102228379A (en) * 2011-07-07 2011-11-02 上海帝诺医疗科技有限公司 Balance detection system
CN102506982A (en) * 2011-10-19 2012-06-20 深圳市杰曼科技有限公司 Automatic compensating signal acquiring system
TW201406123A (en) * 2012-07-23 2014-02-01 Fih Hong Kong Ltd Portable electronic device having weighing function and an electronic scale system having same
CN202836695U (en) * 2012-10-13 2013-03-27 榆林学院 Dynamic weighing electronic balance
CN203785751U (en) * 2014-01-22 2014-08-20 青岛海信智能商用系统有限公司 Weighing circuit and electronic scale possessing same
CN104075788A (en) * 2014-06-23 2014-10-01 上海理工大学 Medical weight measuring device
CN204257178U (en) * 2014-10-13 2015-04-08 国网山东省电力公司青岛供电公司 LCD backlight ON-OFF control circuit
CN104502534A (en) * 2014-12-15 2015-04-08 中国航空工业集团公司北京长城航空测控技术研究所 Portable car-mounted atmospheric environment real-time monitoring device
CN205335936U (en) * 2016-01-29 2016-06-22 山东鲁能智能技术有限公司 Electric vehicle charger exports protection circuit
CN206114083U (en) * 2016-10-31 2017-04-19 常熟理工学院 Intelligence height weight measuring apparatu
CN106981974A (en) * 2017-04-05 2017-07-25 延锋伟世通电子科技(上海)有限公司 A kind of vehicle power interface circuit for suppressing engine noise
CN206683752U (en) * 2017-04-10 2017-11-28 广州佐峰电子科技有限公司 Serial ports is weighed plate
CN207703329U (en) * 2017-12-14 2018-08-07 来学宝 Electronic scale weighing module

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110825001A (en) * 2019-11-30 2020-02-21 河南潜合自动化科技有限公司 Dry-mixed mortar control system

Similar Documents

Publication Publication Date Title
CN207703329U (en) Electronic scale weighing module
CN107966202A (en) Electronic scale weighing module and its implementation
CN101726341A (en) Wireless water level remote monitoring system
CN220210468U (en) Transparent transmission device for mobile communication
CN203596016U (en) Universal port for communication of sensor and micro controller
CN210720558U (en) Low-cost portable voltage measurement device
CN202382873U (en) Intelligent temperature transmitter
CN103346833A (en) Optical module interface adapter
CN1987560A (en) CAN bus programmable display device
CN109710549A (en) General purpose I/O MIPI interface circuit is based on inside programmable chip
CN104779963B (en) Transmitter and the method for operating transmitter
CN206363306U (en) A kind of terminal and its serial communication circuit
CN201540183U (en) Digital wind pressure transmitter
CN205228671U (en) Temperature measuring apparatus
CN210867775U (en) Intelligent wireless conversion device
CN210428141U (en) Digital sensor
CN204302969U (en) The USB/RS232-CAN translation debugging device of various configurations mode
CN210166776U (en) TPYE-C interface conversion device
CN108494889B (en) Communication circuit based on I2C bus and debugging method
CN215646830U (en) CAT thing allies oneself with module
CN216561766U (en) Integrated mainboard data acquisition module
CN204315072U (en) A kind of wireless network node based on radio-frequency (RF) transceiver
CN219676576U (en) Interface circuit compatible with LVDS signals and EDP signals
CN206517440U (en) A kind of wireless adapter of sensor
CN210295397U (en) Thing networking signal conversion equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination