Object weight detection circuit
By combining the load sensor and the music playback module in the object weight detection circuit, the function of judging whether the weight of an object exceeds the standard without numerical reading is realized, which solves the problem of screening errors caused by misreading and improves the accuracy and convenience of detection. sex.
Patent Information
- Application Number
- CN202420104598.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-16
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2034-01-16
Smart Images

Figure CN221630869U
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of electronic weighing, in particular to an object weight detection circuit. Background Art
[0002] The weighing principle of the electronic weighing device is that when an object is placed on the scale pan, pressure is applied to the sensor, which undergoes elastic deformation, thereby changing the impedance and the excitation voltage, outputting a changing analog signal. The signal is amplified by the amplifier circuit and output to the analog-to-digital converter, which converts it into a digital signal that is easy to process and outputs it to the CPU for operation control.
[0003] However, in some cases where objects are screened by weight detection, they need to be judged and screened by weight reading. When the weight is misread, the screening and judgment of the objects will be wrong. Utility Model Content
[0004] In order to solve the technical problem in the prior art that when objects are screened by weight detection, the screening and judgment of objects may be wrong when the weight is misread, the utility model provides an object weight detection circuit.
[0005] The technical solution of the utility model to solve the above technical problems is as follows:
[0006] An object weight detection circuit includes a weighing sensor, a control module, a power module, a music storage module, a music playing module and a speaker;
[0007] The output end of the power module is electrically connected to the power input end of the control module, the power input end of the weighing sensor, the power input end of the music storage module and the power input end of the music playing module respectively;
[0008] The output end of the weighing sensor is electrically connected to the input end of the control module, the transceiver end of the control module is electrically connected to the transceiver end of the music playing module, and the data input end of the music playing module is electrically connected to the data output end of the music storage module;
[0009] The audio output end of the music playing module is electrically connected to the audio input end of the speaker.
[0010] The beneficial effects of the utility model are as follows: the weight of an object is detected by a weighing sensor to obtain weight data, the weight data is analyzed by a control module, and whether the weight data exceeds the standard is detected based on the weight data, and a music playing instruction is sent to a music playing module based on the detection result, and the music playing module plays the music stored in the music storage module according to the playing instruction, thereby realizing a sound alarm for overweight objects; the utility model does not need to read the numerical value of the object weight, but only judges whether the weight of the object to be measured exceeds the standard based on the played music, thereby avoiding the situation where the operator misreads the numerical value and causes the weighing detection judgment error.
[0011] On the basis of the above technical solution, the present invention can also be improved as follows.
[0012] Furthermore, it also includes an interface module, which is specifically a USB interface module, and a data transceiver end of the USB interface module is electrically connected to a data transceiver end of the control module.
[0013] The beneficial effect of adopting the above further solution is that by setting up the USB interface module, communication with the control module can be carried out through the USB interface, thereby improving the convenience of communication.
[0014] Furthermore, the control module includes a single-chip microcomputer U1, a crystal oscillator circuit, an indicator light circuit and a reset circuit; the output end of the weighing sensor is electrically connected to the input end of the single-chip microcomputer U1, and the transceiver end of the single-chip microcomputer U1 is electrically connected to the transceiver end of the music playing module; the oscillation input end of the crystal oscillator circuit is electrically connected to the output end of the internal oscillation of the single-chip microcomputer U1, and the oscillation output end of the crystal oscillator circuit is electrically connected to the input end of the internal oscillation of the single-chip microcomputer U1; the output end of the reset circuit is electrically connected to the reset end of the single-chip microcomputer U1, and the I / O port of the single-chip microcomputer U1 is electrically connected to the power input end of the indicator light circuit.
[0015] The beneficial effect of adopting the above further solution is that by setting up a single-chip microcomputer and utilizing the wide application and high cost-effectiveness of the single-chip microcomputer, the cost-effectiveness of the entire circuit is improved.
[0016] Furthermore, the reset circuit includes a capacitor C9 and a resistor R16, one end of the capacitor C9 is connected to a power supply, the other end of the capacitor C9 is electrically connected to a reset end of the microcontroller U1 and one end of the resistor R16, and the other end of the resistor R16 is grounded.
[0017] The beneficial effect of adopting the above further scheme is that, by sending a reset signal to the microcontroller U1 through the series capacitor C9, the microcontroller U1 can be reset once after the capacitor C9 is powered on, so that the entire circuit can directly reset the microcontroller when the power is turned on, without the need for a complex external enable reset circuit, thereby reducing the design cost of the circuit.
[0018] Furthermore, the music playback module includes an MP3 voice playback module U2 and an audio integrated amplifier module U3, the transceiver end of the MP3 voice playback module U2 is electrically connected to the transceiver end of the single-chip computer U1, the data input end of the MP3 voice playback module U2 is electrically connected to the data output end of the music storage module, the audio output end of the MP3 voice playback module U2 is electrically connected to the audio input end of the audio integrated amplifier module U3, and the audio output end of the audio integrated amplifier module U3 is electrically connected to the audio input end of the speaker.
[0019] Furthermore, the model of the MP3 voice playing module U2 is XY-V17B.
[0020] Furthermore, the model of the audio integrated amplifier module U3 is LM386.
[0021] The beneficial effect of adopting the above further scheme is that by setting up the MP3 voice playback module U2 and the audio integrated amplifier module U3, the audio files stored in the music storage module can be played, and by storing custom audio files, different sounds can be emitted through the speaker to improve the convenience of judging the weight detection results.
[0022] Furthermore, the USB interface module includes a USB to serial port chip U4 and a USB connector, the data transmission end of the USB to serial port chip U4 is electrically connected to the data transmission end of the USB connector, and the transceiver end of the USB to serial port chip U4 is electrically connected to the transceiver end of the control module.
[0023] Furthermore, the model of the USB-to-serial port chip U4 is CH340.
[0024] The beneficial effect of adopting the above further solution is that USB data transmission is realized by utilizing a USB-to-serial port chip, thereby improving the integration rate of the circuit and reducing the complexity of the circuit.
[0025] Further, the power supply module includes a voltage stabilizer U5, a capacitor C2, a capacitor C4, a capacitor C3, a resistor R2, a fuse F1, a light-emitting diode D1 and a capacitor C1; one end of the fuse F1 is connected to the power supply voltage, the other end of the fuse F1 is electrically connected to the input end of the voltage stabilizer U5, the output end of the voltage stabilizer U5 is respectively connected to the input end of the voltage stabilizer U5 and is grounded through the capacitor C2 in series; one end of the capacitor C4 is electrically connected to the output end of the voltage stabilizer U5, the other end of the capacitor C4 is grounded, one end of the capacitor C3 is electrically connected to the output end of the voltage stabilizer U5, and the The other end of the capacitor C3 is grounded; the other end of the fuse F1 is electrically connected to one end of the resistor R2, the other end of the resistor R2 is electrically connected to the positive electrode of the light-emitting diode D1, and the negative electrode of the light-emitting diode D1 is grounded; one end of the fuse F1 is grounded by being connected in series with the capacitor C1; the output end of the voltage regulator U5 is electrically connected to the power input end of the music playing module, and the other end of the fuse F1 is electrically connected to the power input end of the control module, the power input end of the weighing sensor, the power input end of the music storage module and the power input end of the music playing module.
[0026] The beneficial effect of adopting the above further solution is that by using a voltage stabilizer to convert a high voltage into a low voltage for use by the music player module, the music player module can be prevented from being burned out by excessive voltage, thereby improving the safety of the entire circuit. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 This is a circuit principle block diagram of the utility model;
[0028] Figure 2 The circuit diagram of the control module;
[0029] Figure 3 This is the circuit diagram of the music player module;
[0030] Figure 4 The circuit diagram of the music storage module;
[0031] Figure 5 This is the circuit diagram of the weighing sensor;
[0032] Figure 6 is a circuit diagram of the interface module;
[0033] Figure 7 This is the circuit diagram of the power module. DETAILED DESCRIPTION
[0034] The principles and features of the present invention are described below in conjunction with the accompanying drawings. The examples given are only used to explain the present invention and are not used to limit the scope of the present invention.
[0035] like Figure 1 As shown, this embodiment provides an object weight detection circuit, including a weighing sensor, a control module, a power module, a music storage module, a music playing module, an interface module and a speaker;
[0036] The output end of the power module is electrically connected to the power input end of the control module, the power input end of the weighing sensor, the power input end of the music storage module and the power input end of the music playing module respectively; the output end of the weighing sensor is electrically connected to the input end of the control module, the transceiver end of the control module is electrically connected to the transceiver end of the music playing module, the data input end of the music playing module is electrically connected to the data output end of the music storage module; the audio output end of the music playing module is electrically connected to the audio input end of the speaker. The interface module is specifically a USB interface module, and the data transceiver end of the USB interface module is electrically connected to the data transceiver end of the control module. By setting the USB interface module, communication with the control module can be carried out through the USB interface, thereby improving the convenience of communication.
[0037] like Figure 2 As shown, the control module includes a single-chip microcomputer U1, a crystal oscillator circuit, an indicator light circuit and a reset circuit; the output end of the weighing sensor is electrically connected to the input end of the single-chip microcomputer U1, and the transceiver end of the single-chip microcomputer U1 is electrically connected to the transceiver end of the music playing module; the oscillation input end of the crystal oscillator circuit is electrically connected to the output end of the internal oscillation of the single-chip microcomputer U1, and the oscillation output end of the crystal oscillator circuit is electrically connected to the input end of the internal oscillation of the single-chip microcomputer U1; the output end of the reset circuit is electrically connected to the reset end of the single-chip microcomputer U1, and the I / O port of the single-chip microcomputer U1 is electrically connected to the power input end of the indicator light circuit. By setting up a single-chip microcomputer, the cost performance of the entire circuit is improved by utilizing the wide application and high cost performance of the single-chip microcomputer.
[0038] Specifically, the reset circuit includes a capacitor C9 and a resistor R16, one end of the capacitor C9 is connected to a power supply, the other end of the capacitor C9 is electrically connected to the reset end of the single-chip microcomputer U1 and one end of the resistor R16, and the other end of the resistor R16 is grounded. By sending a reset signal to the single-chip microcomputer U1 through the series capacitor C9, the single-chip microcomputer U1 can be reset once after the capacitor C9 is powered on, so that the entire circuit directly resets the single-chip microcomputer when the power is turned on, without the need for a complicated external enable reset circuit, thereby reducing the design cost of the circuit. The crystal oscillator circuit includes a crystal oscillator Y3, a capacitor C10 and a capacitor C11, one end of the crystal oscillator Y3 is electrically connected to the input end of the on-chip oscillation of the single-chip microcomputer U1, and the other end of the crystal oscillator Y3 is electrically connected to the output end of the on-chip oscillation of the single-chip microcomputer U1; one end of the capacitor C10 is electrically connected to one end of the crystal oscillator Y3, the other end of the capacitor C10 is grounded, one end of the capacitor C11 is electrically connected to the other end of the crystal oscillator Y3, and the other end of the capacitor C11 is grounded. The indicator light circuit includes a resistor R6 and a light emitting diode D2. One end of the resistor R6 is electrically connected to the I / O port of the microcontroller U1, and the other end of the resistor R6 is electrically connected to the positive electrode of the light emitting diode D2. The negative electrode of the light emitting diode D2 is grounded.
[0039] like Figure 3 As shown, the music playback module includes an MP3 voice playback module U2 and an audio integrated amplifier module U3, the transceiver end of the MP3 voice playback module U2 is electrically connected to the transceiver end of the single-chip microcomputer U1, the data input end of the MP3 voice playback module U2 is electrically connected to the data output end of the music storage module, the audio output end of the MP3 voice playback module U2 is electrically connected to the audio input end of the audio integrated amplifier module U3, and the audio output end of the audio integrated amplifier module U3 is electrically connected to the audio input end of the speaker. The model of the MP3 voice playback module U2 is XY-V17B. The model of the audio integrated amplifier module U3 is LM386. The internal power supply voltage interface VDD of the MP3 voice playback module U2 is connected to the power supply voltage VCC, and the USB data negative signal interface of the MP3 voice playback module U2 is connected to the 3.3V voltage output by the output end of the power module through the series resistor R3; the control interface CON1 of the MP3 voice playback module U2 is grounded through the series resistor R4, and the control interface CON2 of the MP3 voice playback module U2 is grounded through the series resistor R5.
[0040] Specifically, the audio output terminal of the MP3 voice playback module U2 is electrically connected to one end of the adjustable resistor R1, the other end of the adjustable resistor R1 is grounded, the common end of the adjustable resistor R1 is electrically connected to the positive input terminal of the audio integrated amplifier module U3, and the negative input terminal of the audio integrated amplifier module U3 is grounded; the gain adjustment terminal of the audio integrated amplifier module U3 oA capacitor C12 is connected in series between GAIN and the gain adjustment terminal GAIN, and the bypass function port PYPASS of the audio integrated amplifier module U3 is grounded through the series capacitor C13; the power supply voltage input terminal VS of the audio integrated amplifier module U3 is connected to the power supply voltage VCC, and the audio output terminal VOUT of the audio integrated amplifier module U3 is connected to the audio input terminal of the speaker through the series capacitor C14, and the audio output terminal VOUT of the audio integrated amplifier module U3 is electrically connected to one end of the capacitor C15, and the other end of the capacitor C15 is electrically connected to one end of the resistor R7, and the other end of the resistor R7 is grounded. By setting the MP3 voice playback module U2 and the audio integrated amplifier module U3, the audio files stored in the music storage module can be played, and by storing custom audio files, different sounds can be emitted through the speaker to improve the convenience of judging the weight detection result.
[0041] like Figure 4 As shown, the music storage module is preferably a USB flash drive, which is electrically connected to the MP3 voice playback module U2 through the USB socket P3, the positive data transmission terminal DP of the USB socket P3 is electrically connected to the positive data transmission terminal USB_DP of the MP3 voice playback module U2, the negative data transmission terminal DM of the USB socket P3 is electrically connected to the negative data transmission terminal USB_DM of the MP3 voice playback module U2, the power supply terminal of the USB socket P3 is connected to the power supply voltage VCC, and the grounding terminal of the USB socket P3 is grounded.
[0042] like Figure 5 As shown, the weighing sensor preferably has a weighing sensor analog-to-digital conversion chip of model HX711, which is electrically connected to the data transmission terminal P3.2 / INT0 and the data transmission terminal P3.3 / I NT1 of the single-chip computer U1 through the sensor socket P4; the power supply terminal of the sensor socket P4 is connected to the power supply voltage VCC, the grounding terminal of the sensor socket P4 is grounded, the data transmission terminal DT of the sensor socket P4 is electrically connected to the data transmission terminal P3.2 / I NT0 of the single-chip computer U1, and the clock signal transmission terminal SCK of the sensor socket P4 is electrically connected to the data transmission terminal P3.3 / INT1 of the single-chip computer U1.
[0043] like Figure 6As shown, the USB interface module includes a USB to serial port chip U4 and a USB connector P7, the data transmission end of the USB to serial port chip U4 is electrically connected to the data transmission end of the USB connector P7, and the transceiver end of the USB to serial port chip U4 is electrically connected to the transceiver end of the control module. The model of the USB to serial port chip U4 is CH340. The input end XI of the internal oscillation of the USB to serial port chip U4 is electrically connected to one end of the crystal oscillator Y2, and the output end XO of the internal oscillation of the USB to serial port chip U4 is electrically connected to the other end of the crystal oscillator Y2; one end of the crystal oscillator Y2 is connected in series with capacitor C7 and capacitor C8 in sequence and is electrically connected to the other end of the crystal oscillator Y2. By using the USB to serial port chip to realize USB data transmission, the integration rate of the circuit is improved and the complexity of the circuit is reduced.
[0044] like Figure 7 As shown, the power supply module includes a voltage stabilizer U5, a capacitor C2, a capacitor C4, a capacitor C3, a resistor R2, a fuse F1, a light-emitting diode D1 and a capacitor C1; one end of the fuse F1 is connected to the power supply voltage, the other end of the fuse F1 is electrically connected to the input end of the voltage stabilizer U5, the output end of the voltage stabilizer U5 is respectively connected to the input end of the voltage stabilizer U5 and is grounded through the capacitor C2 in series; one end of the capacitor C4 is electrically connected to the output end of the voltage stabilizer U5, the other end of the capacitor C4 is grounded, one end of the capacitor C3 is electrically connected to the output end of the voltage stabilizer U5, and the The other end of the capacitor C3 is grounded; the other end of the fuse F1 is electrically connected to one end of the resistor R2, the other end of the resistor R2 is electrically connected to the positive electrode of the light-emitting diode D1, and the negative electrode of the light-emitting diode D1 is grounded; one end of the fuse F1 is grounded by connecting the capacitor C1 in series; the output end of the voltage regulator U5 is electrically connected to the power input end of the music playing module, and the other end of the fuse F1 is electrically connected to the power input end of the control module, the power input end of the weighing sensor, the power input end of the music storage module, and the power input end of the music playing module. Among them, the output end VOUT of the voltage regulator U5 outputs a voltage of 3.3V, the other end of the fuse F1 outputs the above-mentioned power supply voltage VCC, and one end of the fuse F1 is connected to a 5V power supply voltage. By using a voltage regulator to convert a high voltage into a low voltage for use by the music playing module, it is prevented that the voltage is too high and the music playing module is burned, thereby improving the safety of the entire circuit.
[0045] It should be noted that the use of the HX711 weighing sensor analog-to-digital conversion chip to collect the weight data of an object is a prior art, and reference can be made to the patent application number CN202221208221.4, entitled "RFID weighing balance scale". The single-chip microcomputer controls the music playback module to play music by analyzing and calculating the data output by the weighing sensor analog-to-digital conversion chip and outputting the result signal, which also belongs to the prior art, and reference can be made to the patent application number CN201810314120.7, entitled "an ultra-low power consumption electronic scale based on the hx711 chip". Therefore, the utility model only solves the technical problems raised in the background technology by modifying the circuit hardware of the machine, and does not involve improvements in computer programs.
[0046] The embodiment of the utility model detects the weight of an object through a weighing sensor to obtain weight data, analyzes the weight data through a control module, detects whether the weight data exceeds the standard based on the weight data, and sends a music playing instruction to the music playing module based on the detection result. The music playing module plays the music stored in the music storage module according to the playing instruction, thereby realizing a sound alarm for the overweight object. The utility model does not need to read the numerical value of the object weight, but only determines whether the weight of the object to be measured exceeds the standard through the played music, thereby avoiding the situation where the operator misreads the numerical value and causes the weighing detection judgment error.
[0047] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the concept and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. An object weight detection circuit, characterized in that: It includes a weighing sensor, a control module, a power module, a music storage module, a music playing module and a speaker; The output end of the power module is electrically connected to the power input end of the control module, the power input end of the weighing sensor, the power input end of the music storage module and the power input end of the music playing module respectively; The output end of the weighing sensor is electrically connected to the input end of the control module, the transceiver end of the control module is electrically connected to the transceiver end of the music playing module, and the data input end of the music playing module is electrically connected to the data output end of the music storage module; The audio output end of the music playing module is electrically connected to the audio input end of the speaker.
2. The object weight detection circuit according to claim 1, characterized in that: It also includes an interface module, which is specifically a USB interface module. The data transceiver end of the USB interface module is electrically connected to the data transceiver end of the control module.
3. The object weight detection circuit according to claim 2, characterized in that: The control module includes a single-chip microcomputer U1, a crystal oscillator circuit, an indicator light circuit and a reset circuit; the output end of the weighing sensor is electrically connected to the input end of the single-chip microcomputer U1, and the transceiver end of the single-chip microcomputer U1 is electrically connected to the transceiver end of the music playing module; the oscillation input end of the crystal oscillator circuit is electrically connected to the output end of the internal oscillation of the single-chip microcomputer U1, and the oscillation output end of the crystal oscillator circuit is electrically connected to the input end of the internal oscillation of the single-chip microcomputer U1; the output end of the reset circuit is electrically connected to the reset end of the single-chip microcomputer U1, and the I / O port of the single-chip microcomputer U1 is electrically connected to the power input end of the indicator light circuit.
4. The object weight detection circuit according to claim 3, characterized in that: The reset circuit includes a capacitor C9 and a resistor R16. One end of the capacitor C9 is connected to a power supply, and the other end of the capacitor C9 is electrically connected to a reset end of the microcontroller U1 and one end of the resistor R16 respectively. The other end of the resistor R16 is grounded.
5. The object weight detection circuit according to claim 3, characterized in that: The music playback module includes an MP3 voice playback module U2 and an audio integrated amplifier module U3. The transceiver end of the MP3 voice playback module U2 is electrically connected to the transceiver end of the single-chip computer U1, the data input end of the MP3 voice playback module U2 is electrically connected to the data output end of the music storage module, the audio output end of the MP3 voice playback module U2 is electrically connected to the audio input end of the audio integrated amplifier module U3, and the audio output end of the audio integrated amplifier module U3 is electrically connected to the audio input end of the speaker.
6. The object weight detection circuit according to claim 5, characterized in that: The model of the MP3 voice playing module U2 is XY-V17B.
7. The object weight detection circuit according to claim 5, characterized in that: The model of the audio integrated amplifier module U3 is LM386.
8. The object weight detection circuit according to claim 2, characterized in that: The USB interface module includes a USB to serial port chip U4 and a USB connector. The data transmission end of the USB to serial port chip U4 is electrically connected to the data transmission end of the USB connector. The transceiver end of the USB to serial port chip U4 is electrically connected to the transceiver end of the control module.
9. The object weight detection circuit according to claim 8, characterized in that: The model of the USB to serial port chip U4 is CH340.
10. The object weight detection circuit according to any one of claims 1 to 9, characterized in that: The power module includes a voltage stabilizer U5, a capacitor C2, a capacitor C4, a capacitor C3, a resistor R2, a fuse F1, a light emitting diode D1 and a capacitor C1; one end of the fuse F1 is connected to the power supply voltage, the other end of the fuse F1 is electrically connected to the input end of the voltage stabilizer U5, the output end of the voltage stabilizer U5 is respectively connected to the input end of the voltage stabilizer U5, and the input end of the voltage stabilizer U5 is grounded by connecting the capacitor C2 in series; one end of the capacitor C4 is electrically connected to the output end of the voltage stabilizer U5, the other end of the capacitor C4 is grounded, one end of the capacitor C3 is electrically connected to the output end of the voltage stabilizer U5, and the other end of the capacitor C3 is grounded; the other end of the fuse F1 is electrically connected to one end of the resistor R2, the other end of the resistor R2 is electrically connected to the positive electrode of the light emitting diode D1, and the negative electrode of the light emitting diode D1 is grounded; one end of the fuse F1 is grounded by connecting the capacitor C1 in series; The output end of the voltage stabilizer U5 is electrically connected to the power input end of the music playing module, and the other end of the fuse F1 is electrically connected to the power input end of the control module, the power input end of the weighing sensor, the power input end of the music storage module and the power input end of the music playing module.
