Electronic scale and method for preventing touch button failure

By installing the trigger element on the scale body of the electronic scale and resetting the touch button using potential changes, the problem of capacitive touch button failure when the cover is closed or removed is solved, and the reliability and use stability of the button are improved.

CN110557112BActive Publication Date: 2024-12-24GUANGDONG TRANSTEK MEDICAL ELECTRONICS CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN201910756507.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-08-15
Publication Date
2024-12-24
Estimated Expiration
2039-08-15

AI Technical Summary

Technical Problem

During use, the electronic scale with capacitive touch buttons may easily cause the touch button to fail or accidentally trigger when the cover is closed or removed, which is sensitive to environmental interference.

Method used

The trigger element is installed on the scale body of the electronic scale. By detecting the change in the contact state between the cover and the trigger element, the processor resets the touch button when the potential changes to ensure that the button remains working normally when the cover is closed or removed.

Benefits of technology

It effectively avoids touch button failure due to the cover or removal of the cover, ensuring the reliability and normal use of the button.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110557112B_ABST
    Figure CN110557112B_ABST
Patent Text Reader

Abstract

The present application relates to the field of electronic equipment, and more specifically, to an electronic scale and a method for preventing touch buttons from failing. An electronic scale includes a scale body, a touch button, a trigger element, a cover, and a processor. In a covered state, the cover covers the scale body, contacts the touch button and abuts or approaches the trigger element; in a removed state, the cover is away from the trigger element. When the cover abuts or approaches the trigger element, the trigger element is in a first connection state, in which the port of the processor connected to the trigger element is at a first potential; when the cover is away from the trigger element, the trigger element is in a second connection state, in which the port of the processor connected to the trigger element is at a second potential. The processor can reset the touch button when detecting that the trigger element changes between the first connection state and the second connection state, thereby solving the problem of touch button failure caused by covering or removing the cover.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electronic equipment, and in particular to an electronic scale and a method for preventing touch button failure. Background Art

[0002] Capacitive touch buttons use touch button ICs to detect when a human finger approaches a touch button, and the human finger changes the charge around the touch button to determine the signal that the button has been pressed. Since capacitive touch buttons have no mechanical structure, all detections are small changes in charge, so capacitive touch buttons are very sensitive to various environmental interferences.

[0003] Electronic scales with capacitive touch buttons have the sensing electrodes (copper-clad boards, metal sheets or springs) of the touch buttons tightly attached to the operation panel made of plastic, glass or other non-conductive materials. Some electronic scales have covers, and removing or covering the covers during use can easily cause the touch buttons to fail or be triggered by mistake. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide an electronic scale and a method for preventing touch buttons from failing, which is intended to improve the problem that the touch buttons of existing electronic scales with a cover are prone to failure or false triggering during use.

[0005] In the first aspect, the present application provides a technical solution:

[0006] An electronic scale, comprising:

[0007] Scale body;

[0008] Touch button, the touch button is set on the scale body;

[0009] A trigger element, the trigger element is installed on the scale body;

[0010] A cover body, the cover body has a covering state and a removing state. In the covering state, the cover body covers the scale body, the cover body contacts the touch button and abuts against or is close to the trigger element; in the removing state, the cover body is away from the trigger element; and

[0011] The processor, the touch button and the trigger element are all connected to the processor; when the cover body abuts against or approaches the trigger element, the trigger element is in a first connection state, in which the port of the processor connected to the trigger element is at a first potential; when the cover body is away from the trigger element, the trigger element is in a second connection state, in which the port of the processor connected to the trigger element is at a second potential;

[0012] The processor can reset the touch key when detecting that the trigger element changes between the first connection state and the second connection state.

[0013] The inventor has found that when the cover of the electronic scale is removed or covered on the scale body, the cover is close to or in contact with the vicinity of the buttons of the scale body, causing the medium around the touch buttons to change, thereby causing the charge around the touch buttons to change, which can easily cause the touch buttons to be triggered incorrectly or fail. The present application installs a trigger element on the scale body. When the cover abuts against or approaches the trigger element, the trigger element is triggered, so that the port of the processor connected to the trigger element changes between a first potential and a second potential, and the processor resets the touch button according to the change in potential. Therefore, when the cover is covered on the scale body or removed from the scale body and the touch button is triggered incorrectly, the processor can reset the touch button to ensure the normal use of the touch button, thereby solving the problem of touch button failure caused by covering or removing the cover.

[0014] In other embodiments of the present application, when the above is in the first connection state, the trigger element disconnects the IO port corresponding to the processor from the ground, and when it is in the second connection state, the trigger element connects the IO port corresponding to the processor to the ground;

[0015] Alternatively, when in the first connection state, the trigger element connects the IO port corresponding to the processor to the ground, and when in the second connection state, the trigger element disconnects the IO port corresponding to the processor from the ground.

[0016] By disconnecting or connecting the IO port corresponding to the processor to the ground, the port of the processor connected to the trigger element changes between a high potential and a low potential, so that the processor can reset the touch button according to the change in potential, thereby avoiding failure of the touch button due to covering or removing the cover.

[0017] In other embodiments of the present application, the first potential is a low potential and the second potential is a high potential; or

[0018] The second potential is a low potential and the first potential is a high potential.

[0019] In other embodiments of the present application, the processor can send a reset signal to the touch circuit to reset the touch button by running an application.

[0020] In other embodiments of the present application, the scale body has a working surface and side walls, and the cover has a plane and side surfaces;

[0021] The trigger element is a mechanical button, which can be movably installed on the side wall or working surface of the scale body. In the covered state, the bottom end of the side of the cover or the plane of the cover abuts against the trigger element so that the trigger element is located in the first position; in the removed state, the trigger element returns to the second position.

[0022] By setting the trigger element as a mechanical button, it can cooperate with the cover mechanically, change the state of the trigger element through physical contact, and thus provide favorable protection for the subsequent processor to reset the touch button, and the reliability is higher.

[0023] In other embodiments of the present application, a mounting hole is provided on the side wall of the scale body, the trigger element is located in the mounting hole, and at least part of the trigger element protrudes from the side wall of the scale body; in the covered state, the trigger element swings or telescopes to a first position and abuts against the cover body, and in the removed state, the trigger element swings or telescopes back to the second position.

[0024] At least part of the trigger element protrudes from the side wall of the scale body, so as to facilitate mechanical cooperation with the cover body and change the state of the trigger element through physical contact.

[0025] In other embodiments of the present application, the above-mentioned mounting hole is an oblong hole, and the length direction of the oblong hole extends along the height direction of the side wall of the scale body; in the covered state, the trigger element is located at the first long end of the oblong hole, and in the removed state, the trigger element returns to the second long end of the oblong hole.

[0026] The setting of the oblong hole makes it easy for the mechanical button to swing in the oblong hole.

[0027] In other embodiments of the present application, the above-mentioned touch button is arranged on the working surface, and the touch button protrudes from the working surface; the trigger element is installed on the working surface, at least part of the trigger element protrudes from the working surface, and the protruding height of the trigger element is greater than the protruding height of the touch button.

[0028] The trigger element is arranged on the working surface and can be mechanically matched with the plane of the cover body to change the state of the trigger element through physical contact.

[0029] In other embodiments of the present application, the trigger element is a magnetic switch, the trigger element is installed inside the scale body, and the cover includes a magnetic material; in the covered state, the magnetic material is magnetically connected to the trigger element.

[0030] The magnetic switch can be magnetically connected to the magnetic material on the cover body, so that the trigger element is triggered.

[0031] In other embodiments of the present application, the electronic scale further includes a power button, which is connected to a processor, and the processor can reset the touch button when the user presses the power button.

[0032] The processor can reset the touch keys when the user presses the power button to ensure the normal use of the touch keys after powering on.

[0033] In other embodiments of the present application, the cover body is made of a transparent material.

[0034] The transparent cover allows the touch buttons to be used when the cover is closed on the scale body.

[0035] In the second aspect, the present application provides a technical solution:

[0036] A method for preventing touch buttons from failing is applied to the electronic scale as described above, and the method comprises:

[0037] When the processor detects that the trigger element changes from the first connection state to the second connection state, the touch key is reset.

[0038] The method can reset the touch key when the cover is covered on the scale body or removed from the scale body and the touch key is triggered by mistake, thereby ensuring the normal use of the touch key and solving the problem of touch key failure caused by covering or removing the cover.

[0039] In other embodiments of the present application, the reset touch button includes:

[0040] The processor sends a reset signal to the touch circuit by running the application program to reset the touch button.

[0041] In other embodiments of the present application, the processor detects that the trigger element changes from the first connection state to the second connection state, including:

[0042] The port of the processor connected to the trigger element flips, wherein the port flips because the trigger element changes from a first connection state to a second connection state.

[0043] In other embodiments of the present application, the port of the processor connected to the trigger element is flipped, including:

[0044] The port of the processor connected to the trigger element changes from high potential to low potential; or

[0045] The port of the processor connected to the trigger element changes from a low potential to a high potential. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0047] Figure 1 A structural schematic diagram of the electronic scale provided in an embodiment of the present application in a removed state;

[0048] Figure 2A schematic diagram of the structure of the electronic scale in the closed state provided by an embodiment of the present application;

[0049] Figure 3 A schematic diagram of the structure of an electronic scale from another perspective provided in an embodiment of the present application;

[0050] Figure 4 Based Figure 1 The enlarged view of the middle IV;

[0051] Figure 5 A schematic diagram of the internal structure of an electronic scale provided in an embodiment of the present application;

[0052] Figure 6 A schematic diagram of the structure of a first trigger element of an electronic scale provided in an embodiment of the present application;

[0053] Figure 7 for Figure 6 The circuit connection diagram of the first trigger element in FIG.

[0054] Figure 8 A schematic diagram of the structure of a second trigger element of an electronic scale provided in an embodiment of the present application;

[0055] Fig. 9 for Figure 8 A circuit connection diagram of the second trigger element in FIG.

[0056] Fig.10 A schematic diagram of the use process of the electronic scale provided in an embodiment of the present application.

[0057] Icons: 100 - electronic scale; 110 - scale body; 111 - working surface; 112 - side wall; 113 - mounting hole; 1131 - first long end; 1132 - second long end; 120 - touch button; 130 - trigger element; 131 - lever; 132 - raised portion; 140 - cover; 141 - plane; 142 - side; 150 - processor. DETAILED DESCRIPTION

[0058] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations.

[0059] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.

[0060] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0061] In the description of the embodiments of the present application, it should be understood that the terms "upper", "lower", "inner", etc. indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, or are the orientations or positional relationships in which the products of the application are usually placed when in use, or are the orientations or positional relationships commonly understood by those skilled in the art. They are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.

[0062] Furthermore, the terms “first”, “second”, etc. are merely used for distinguishing descriptions and should not be understood as indicating or implying relative importance.

[0063] In the description of the embodiments of the present application, it is also necessary to explain that, unless otherwise clearly specified and limited, the terms "setting", "installation", and "connection" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a direct connection, or an indirect connection through an intermediate medium, or it can be a connection between the two components. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.

[0064] See also Figure 1-10 The present embodiment provides an electronic scale 100, including a scale body 110, a touch button 120, a trigger element 130, a cover 140 and a processor 150. The touch button 120 is disposed on the scale body 110. The trigger element 130 is installed on the scale body 110. The touch button 120 and the trigger element 130 are both connected to the processor 150.

[0065] Further, refer to Figure 1-4, the cover 140 has a covering state and a removed state. In the covering state, the cover 140 covers the scale body 110, the cover 140 contacts the touch button 120 and abuts against or approaches the trigger element 130; in the removed state, the cover 140 is away from the trigger element 130. When the cover 140 abuts against or approaches the trigger element 130, the trigger element 130 is in a first connection state, in which the port of the processor 150 connected to the trigger element 130 is at a first potential; when the cover 140 is away from the trigger element 130, the trigger element 130 is in a second connection state, in which the port of the processor 150 connected to the trigger element 130 is at a second potential. The processor 150 can reset the touch button 120 when detecting that the trigger element 130 changes between the first connection state and the second connection state.

[0066] By installing the trigger element 130 on the scale body 110, when the cover 140 abuts against or approaches the trigger element 130, the trigger element 130 is triggered, so that the port of the processor 150 connected to the trigger element 130 changes between the first potential and the second potential, and the processor 150 resets the touch button 120 according to the change of the potential, thereby resetting the touch button 120. Therefore, when the cover 140 covers the scale body 110 or removes the touch button 120 from the scale body 110 and triggers the touch button 120 by mistake, the processor 150 can reset the touch button 120 to ensure the normal use of the touch button 120, thereby solving the problem of failure of the touch button 120 caused by covering or removing the cover.

[0067] In some embodiments of the present application, the first potential is a low potential and the second potential is a high potential. In other words, in the first connection state, the port of the processor 150 connected to the trigger element 130 is at a low potential, and in the second connection state, the port of the processor 150 connected to the trigger element 130 is at a high potential. When the processor 150 detects that the port connected to the trigger element 130 changes between a low potential and a high potential, the touch key 120 is reset, thereby avoiding failure of the touch key 120 due to the covering or removal of the cover.

[0068] In some embodiments of the present application, the second potential is a low potential and the first potential is a high potential. In other words, in the first connection state, the port of the processor 150 connected to the trigger element 130 is at a high potential, and in the second connection state, the port of the processor 150 connected to the trigger element 130 is at a low potential. When the processor 150 detects that the port connected to the trigger element 130 changes between a high potential and a low potential, the touch key 120 is reset, thereby avoiding failure of the touch key 120 due to the covering or removal of the cover.

[0069] Further, in some embodiments of the present application, when in the first connection state, the trigger element 130 disconnects the corresponding IO port of the processor 150 from the ground, and when in the second connection state, the trigger element 130 connects the corresponding IO port of the processor 150 to the ground.

[0070] In some embodiments of the present application, when in the first connection state, the trigger element 130 connects the corresponding IO port of the processor 150 to the ground, and when in the second connection state, the trigger element 130 disconnects the corresponding IO port of the processor 150 from the ground.

[0071] By disconnecting or connecting the IO port corresponding to the processor 150 to the ground, the port of the processor 150 connected to the trigger element 130 changes between a high potential and a low potential, so that the processor 150 can reset the touch button 120 according to the change in potential, thereby avoiding failure of the touch button 120 due to covering or removing the cover.

[0072] Further optionally, the processor 150 can send a reset signal to the touch circuit by running an application program to reset the touch button 120.

[0073] In some embodiments of the present application, the trigger element 130 is a mechanical button.

[0074] By setting the trigger element 130 as a mechanical button, it can mechanically cooperate with the cover body 140, change the state of the trigger element 130 through physical contact, and thus provide favorable protection for the subsequent processor 150 to reset the touch button 120, and the reliability is higher.

[0075] Reference Figure 1-2 In the illustrated embodiment, the scale body 110 has a working surface 111 and a side wall 112, and the cover body 140 has a plane 141 and a side surface 142. The trigger element 130 of the mechanical button structure is movably mounted on the side wall 112 of the scale body 110. In the covered state, the bottom end of the side surface 142 of the cover body 140 abuts against the trigger element 130, so that the trigger element 130 is located in the first position; in the removed state, the trigger element 130 returns to the second position.

[0076] Further optionally, a mounting hole 113 is provided on the side wall 112 of the scale body 110, the trigger element 130 is located in the mounting hole 113, and at least part of the trigger element 130 protrudes from the side wall 112 of the scale body 110. In the covered state, the trigger element 130 swings or retracts to the first position and abuts against the cover body 140, and in the removed state, the trigger element 130 swings or retracts back to the second position.

[0077] Further optionally, the mounting hole 113 is an oblong hole, and the length direction of the oblong hole extends along the height direction of the side wall 112 of the scale body 110. In the covered state, the trigger element 130 is located at the first long end 1131 of the oblong hole, and in the removed state, the trigger element 130 returns to the second long end 1132 of the oblong hole.

[0078] The trigger element 130 of the mechanical key structure can be a micro switch, such as a micro switch MPU-1035. Figure 5-7 The touch switch MPU-1035 has a lever 131, which protrudes from the mounting hole 113. When the cover 140 is covered on the scale body 110, the bottom end of the side 142 of the cover 140 abuts against the lever 131, generating a pressing force. Under the action of the pressing force, the lever 131 swings to the first long end 1131 of the mounting hole 113. When the cover 140 is removed from the scale body 110, the lever 131 automatically returns to the second long end 1132 of the mounting hole 113. Further, referring to Figure 6 and 7 The micro switch MPU-1035 has three connection pins, wherein pin ① is connected to the IO port of the processor 150 through a wire, and pin ② or pin ③ is grounded. By switching between disconnection and connection of the switch, the corresponding IO port of the processor 150 is disconnected or connected to the ground, so that the potential of the port of the processor 150 connected to the trigger element 130 is switched between the first potential and the second potential, and then the processor 150 resets the touch button 120 according to the change of the potential, thereby resetting the touch button 120 and avoiding failure of the touch button 120 caused by the cover 140 being covered or removed.

[0079] In other optional embodiments, the trigger element 130 of the mechanical button structure can be movably mounted on the working surface 111 of the scale body 110. In the covered state, the plane 141 of the cover body 140 abuts against the trigger element 130, so that the trigger element 130 is located in the first position; in the removed state, the trigger element 130 returns to the second position.

[0080] Further optionally, the touch button 120 is disposed on the work surface 111 and protrudes from the work surface 111. The trigger element 130 is installed on the work surface 111, at least part of the trigger element 130 protrudes from the work surface 111, and the protruding height of the trigger element 130 is greater than the protruding height of the touch button 120.

[0081] The trigger element 130 of the mechanical key structure can be a touch switch. For example, a touch switch TC-6606. Figure 8 and 9, the touch switch TC-6606 has a protrusion 132. The protrusion 132 protrudes from the working surface 111, and the protrusion height of the protrusion 132 is greater than the protrusion height of the touch button 120. When the cover 140 is not covered on the scale body 110, the protrusion 132 is in the first position. When the cover 140 is covered on the scale body 110, the plane 141 of the cover 140 can abut against the protrusion 132, generating downward pressure on the protrusion 132, thereby pressing the protrusion 132 down to the second position. Further, referring to Figure 8 and 9 , select any group of pins ①, ③ or ①, ④ or ②, ③ or ②, ④ of the touch switch TC-6606, one end is connected to the IO port of the processor 150, and the other end is grounded. The corresponding IO port of the processor 150 is disconnected or connected to the ground by disconnecting or connecting the switch, so that the potential of the port of the processor 150 connected to the trigger element 130 is switched between the first potential and the second potential, and then the processor 150 resets the touch button 120 according to the change of the potential, thereby resetting the touch button 120 and avoiding failure of the touch button 120 caused by covering or removing the cover 140.

[0082] In other optional embodiments of the present application, the trigger element 130 may be a magnetic switch.

[0083] Specifically, the trigger element 130 is a magnetic switch, which is installed inside the scale body 110 , and the cover 140 includes a magnetic material. In the covered state, the magnetic material is magnetically connected to the trigger element 130 .

[0084] Further optionally, the magnetic switch mentioned above selects a DH220 Hall switch. The DH220 Hall switch is installed inside the scale body 110, and a component made of magnetic material is arranged on the cover 140, or a certain area of ​​the cover 140 is made of magnetic material. When the cover 140 is covered on the scale body 110, the magnetic material is close to the DH220 Hall switch, and the magnetic material enters the magnetic field of the DH220 Hall switch to achieve magnetic connection and trigger the DH220 Hall switch; when the cover 140 is removed from the scale body 110, the magnetic material leaves the magnetic field of the DH220 Hall switch, disconnects the magnetic connection, and makes the potential of the port of the processor 150 connected to the trigger element 130 switch between the first potential and the second potential, thereby making the processor 150 reset the touch button 120 according to the change of the potential, thereby resetting the touch button 120 and avoiding failure of the touch button 120 caused by covering or removing the cover 140.

[0085] Furthermore, the electronic scale 100 further includes a power button (not shown), which is connected to the processor 150 (the power button can be set at any position of the scale body 110 according to actual needs, for example, the working surface of the scale body 110). The processor 150 can reset the touch button 120 when the user presses the power button. This ensures that the touch button 120 is in a normal and usable state when the power is on, ensuring normal use by the user.

[0086] Furthermore, the cover 140 is made of a transparent material. Thus, when the user covers the cover 140, the user can also operate the touch button 120 and use the electronic scale 100 normally. Since the cover 140 is in contact with the touch button 120 when it covers the scale body 110, the touch failure caused by the gap between the touch button 120 and the cover 140 is eliminated. Normal use is guaranteed when the cover 140 covers the scale body 110.

[0087] Further, refer to Figure 5 The electronic scale 100 further includes a display unit, a power supply and a pressure sensor. The display unit, the power supply and the pressure sensor are all connected to the processor 150 through wires. The processor 150 selects an MCU. The power supply provides electrical energy for the entire electronic scale 100, the pressure sensor is used to measure the weight of an object placed on the scale body 110, and the display unit is used to display the weight of the object to be measured.

[0088] The electronic scale 100 is used as follows:

[0089] Reference Fig.10 Taking mechanical buttons as an example, the electronic scale 100 has two states before powering on, namely, the cover body 140 is in a covered state and a removed state. In both states, the medium on the touch button 120 does not change. The power button is pressed to power on. After powering on, the processor 150 sends a reset signal to the touch circuit by running the application program to reset the touch button 120.

[0090] After the electronic scale 100 is turned on, removing or covering the cover 140 will trigger the trigger element 130. At this time, the port of the processor 150 connected to the trigger element 130 will flip from 1 to 0 or from 0 to 1. The processor 150 detects the flipping of the port, runs the application, and sends a reset signal to the touch circuit to reset the touch button 120.

[0091] If the cover 140 is removed or covered before the electronic scale 100 is turned on, the trigger element 130 will also be triggered. At this time, the port of the processor 150 connected to the trigger element 130 will flip from 1 to 0 or from 0 to 1. The processor 150 detects the flipping of the port, runs the application, and sends a reset signal to the touch circuit to reset the touch button 120. After pressing the power button to turn on the electronic scale 100, it can be used directly. Of course, in other implementations, the touch button 120 can also be reset once after turning on the electronic scale 100.

[0092] Some embodiments of the present application also provide a method for preventing touch key failure, which is applied to the electronic scale provided in the above embodiment, and the method comprises:

[0093] When the processor detects that the trigger element changes from the first connection state to the second connection state, the touch key is reset.

[0094] By resetting the touch button, the normal use of the touch button can be guaranteed, and the problem of failure of the touch button caused by removing or covering the cover body can be solved.

[0095] Furthermore, in some implementations of the present application, the method for preventing the touch key from failing includes:

[0096] S1. The processor detects that the trigger element changes from a first connection state to a second connection state.

[0097] Further, the processor detects that the trigger element changes from the first connection state to the second connection state, including:

[0098] The port of the processor connected to the trigger element flips, wherein the port flips because the trigger element changes from a first connection state to a second connection state.

[0099] Further, the port of the processor connected to the trigger element is flipped, including:

[0100] The port of the processor connected to the trigger element changes from high potential to low potential; or

[0101] The port of the processor connected to the trigger element changes from a low potential to a high potential.

[0102] Exemplarily, the port of the processor connected to the trigger element changes from 1 to 0 or from 0 to 1.

[0103] S2, the processor resets the touch button.

[0104] Further, the processor resets the touch button, including:

[0105] The processor sends a reset signal to the touch circuit by running the application program to reset the touch button.

[0106] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. An electronic scale, characterized in that: include: Scale body; A touch button, wherein the touch button is arranged on the scale body; A trigger element, the trigger element is mounted on the scale body; A cover body, wherein the cover body has a covering state and a removing state. In the covering state, the cover body covers the scale body, the cover body contacts the touch button and abuts against or is close to the trigger element; in the removing state, the cover body is away from the trigger element; as well as A processor, wherein the touch button and the trigger element are both connected to the processor; When the cover abuts against or is close to the trigger element, the trigger element is in a first connection state, and in the first connection state, the port of the processor connected to the trigger element is in a first potential; When the cover is away from the trigger element, the trigger element is in a second connection state, and in the second connection state, the port of the processor connected to the trigger element is in a second potential; The processor is capable of resetting the touch key when detecting that the trigger element changes between the first connection state and the second connection state; When in the first connection state, the trigger element disconnects the IO port corresponding to the processor from the ground, and when in the second connection state, the trigger element connects the IO port corresponding to the processor to the ground; Alternatively, when in the first connection state, the trigger element connects the IO port corresponding to the processor to the ground, and when in the second connection state, the trigger element disconnects the IO port corresponding to the processor from the ground; The first potential is a low potential and the second potential is a high potential; or The second potential is a low potential and the first potential is a high potential; The processor can send a reset signal to the touch circuit to reset the touch button by running the application program; The scale body has a working surface and side walls, and the cover body has a plane and side surfaces; The trigger element is a mechanical button, and the trigger element can be movably mounted on the side wall or the working surface of the scale body. In the covered state, the bottom end of the side surface of the cover body or the plane of the cover body abuts against the trigger element, so that the trigger element is located in the first position; in the removed state, the trigger element returns to the second position.

2. The electronic scale according to claim 1, characterized in that: A mounting hole is provided on the side wall of the scale body, the trigger element is located in the mounting hole, and at least part of the trigger element protrudes from the side wall of the scale body; in the covered state, the trigger element swings or telescopes to the first position and abuts against the cover body, and in the removed state, the trigger element swings or telescopes back to the second position.

3. The electronic scale according to claim 2, characterized in that: The mounting hole is an oblong hole, and the length direction of the oblong hole extends along the height direction of the side wall of the scale body; in the covered state, the trigger element is located at the first long end of the oblong hole, and in the removed state, the trigger element returns to the second long end of the oblong hole.

4. The electronic scale according to claim 1, characterized in that: The touch button is arranged on the working surface and the touch button protrudes from the working surface; the trigger element is installed on the working surface, at least part of the trigger element protrudes from the working surface, and the protruding height of the trigger element is greater than the protruding height of the touch button.

5. The electronic scale according to claim 1, characterized in that: The trigger element is a magnetic switch, which is installed inside the scale body. The cover includes a magnetic material. In the covered state, the magnetic material is magnetically connected to the trigger element.

6. The electronic scale according to claim 1, characterized in that: The electronic scale further comprises a power button, which is connected to the processor. The processor can reset the touch button when the user presses the power button.

7. The electronic scale according to claim 1, characterized in that: The cover body is made of transparent material.

8. A method for preventing touch buttons from failing, applied to the electronic scale according to any one of claims 1 to 7, characterized in that: The method comprises: When the processor detects that the trigger element changes from the first connection state to the second connection state, the touch key is reset.

9. The method for preventing touch key failure according to claim 8, characterized in that: The resetting of the touch button comprises: The processor sends a reset signal to the touch circuit by running the application program to reset the touch button.

10. The method for preventing touch key failure according to claim 8, characterized in that: The processor detects that the trigger element changes from a first connection state to a second connection state, including: The port of the processor connected to the trigger element flips, wherein the port flips because the trigger element changes from a first connection state to a second connection state.

11. The method for preventing touch key failure according to claim 10, characterized in that: The port of the processor connected to the trigger element is flipped, comprising: The port of the processor connected to the trigger element changes from a high potential to a low potential; or The port of the processor connected to the trigger element changes from a low potential to a high potential.

Citation Information

Patent Citations

  • Gesture recognition touch switch and electronic scale applying same

    CN102629867A

  • Time switch

    CN207586677U

  • Button and electronic equipment

    CN208433951U

  • Electronic scale

    CN210431384U

  • Touch Display Device and Electronic Device Using the Same

    US20120007814A1