Bluetooth electronic lock and cabinet with same
By designing Bluetooth electronic locks, wireless communication and touch modules are used to realize the connection and unlocking function between the mobile phone and the electronic lock, the problem of existing invisible electronic locks being unable to unlock when the card is lost or damaged, and the battery life of the electronic lock is improved.
Patent Information
- Application Number
- CN202421881799.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-05
- Publication Date
- 2025-06-17
- Estimated Expiration
- 2034-08-05
AI Technical Summary
Existing invisible electronic locks cannot be unlocked when the card is lost or damaged, and lacks additional unlocking methods.
A Bluetooth electronic lock is designed, including a main control module, a Bluetooth communication module, an external interface module and a touch module. It connects the mobile phone through wireless communication and uses the touch module to control the wireless communication status to realize the unlocking function.
While ensuring the convenience of unlocking, the energy consumption of timing work is reduced and the battery life of the electronic lock is improved.
Smart Images

Figure CN222994960U_ABST
Abstract
Description
Technical Field
[0001] The utility model belongs to the technical field of electronic locks, and particularly relates to a Bluetooth electronic lock and a cabinet with the same. Background Art
[0002] Invisible electronic locks generally do not require any panel. Only small holes need to be reserved on the front of the cabinet to install the emergency power supply port, and the lock body is installed at a designated position inside the cabinet. Unlocking is achieved by swiping a card in a designated area outside the cabinet. However, this type of lock has a drawback that if the card is lost or damaged, it cannot be unlocked, and there is no other additional way to unlock it. Content of the Utility Model
[0003] The utility model aims to solve at least one of the technical problems existing in the prior art. For this purpose, the utility model provides a Bluetooth electronic lock and a cabinet with the same.
[0004] A Bluetooth electronic lock according to an embodiment of the first aspect of the utility model includes a main control module, a Bluetooth communication module, an external interface module, and a touch module. The main control module includes a controller. The input ends of the motor drive module and the Bluetooth communication module are both connected to the output end of the controller. The output ends of the external interface module and the touch module are both connected to the input end of the controller. The Bluetooth communication module is used to receive control instructions. The main control module is used to process the control instructions received by the Bluetooth communication module and send a control signal to the motor drive module. The motor drive module is used to complete the locking and unlocking actions according to the control signal of the main control module. The external interface module is used to connect the electronic lock to external devices. The touch module sends a wake-up signal to the controller after being touched.
[0005] A Bluetooth electronic lock according to an embodiment of the utility model has at least the following technical effects: This electronic lock unlocks by wirelessly communicating with a mobile phone and controls the working state of the wireless communication through the touch module, which can effectively reduce the working energy consumption of the lock while ensuring the convenience of unlocking and improve the battery life of the electronic lock.
[0006] According to some embodiments of the utility model, the main control module includes a controller, a first voltage stabilizing circuit, and a reset circuit;
[0007] The first voltage stabilizing circuit includes a power supply, a first capacitor, a second capacitor, a third capacitor, a fourth capacitor, a first diode, a second diode, and a first step-down chip. The first pin of the first step-down chip is connected to the power supply, one end of the first capacitor, one end of the second capacitor, and the cathode of the first diode respectively. The second pin of the first step-down chip is grounded. The third pin of the first step-down chip is connected to the ninth pin of the controller, one end of the third capacitor, one end of the fourth capacitor, and the cathode of the second diode respectively. The anodes of the first diode, the second diode, the other ends of the first capacitor, the second capacitor, the third capacitor, and the fourth capacitor are all grounded;
[0008] The reset circuit includes a second resistor and a fifth capacitor. One end of the second resistor is connected to the ninth pin of the controller, and the other end of the second resistor is connected to the fourth pin of the controller. One end of the fifth capacitor is connected to the fourth pin of the controller, and the other end of the fifth capacitor is grounded;
[0009] The tenth pin of the controller is also connected to one end of a first switch, and the other end of the first switch is connected to a first resistor. One end of the first resistor is connected to the other end of the first switch, and the other end of the first resistor is grounded.
[0010] According to some embodiments of the present invention, the motor drive module includes a power supply, a motor drive chip, a sixth capacitor, a seventh capacitor, a third resistor, a fourth resistor, and a motor. The fourth pin of the motor drive chip is connected to the seventh capacitor and the power supply respectively. The other end of the seventh capacitor is grounded. The second pin of the motor drive chip is connected to the fourteenth pin of the controller through the third resistor. The third pin of the motor drive chip is connected to the thirteenth pin of the controller through the fourth resistor. The fifth pin and the eighth pin of the motor drive chip are connected to the input end and the output end of the motor respectively. The fifth pin of the motor drive chip is also connected to the eighth pin of the motor drive chip through the sixth capacitor. The sixth pin and the seventh pin of the motor drive chip are both grounded.
[0011] According to some embodiments of the present invention, the Bluetooth communication module includes a Bluetooth antenna circuit, a switch control circuit, and a crystal oscillator circuit;
[0012] The Bluetooth antenna circuit includes a Bluetooth chip, a seventh resistor, an eighth resistor, a twelfth capacitor, and a Bluetooth antenna. One end of the seventh resistor is connected to the nineteenth pin of the Bluetooth chip, and the other end of the seventh resistor is connected to the fifteenth pin of the controller. One end of the eighth resistor is connected to the eighteenth pin of the Bluetooth chip, and the other end of the eighth resistor is connected to the eleventh pin of the controller. One end of the twelfth capacitor is connected to the first pin of the Bluetooth chip, and the other end of the twelfth capacitor is grounded. The eleventh pin of the Bluetooth chip is grounded;
[0013] The switch control circuit includes a sixth resistor, a ninth resistor, a thirteenth capacitor, a fourteenth capacitor, a fifteenth capacitor, and an MOS transistor. The gate of the MOS transistor is respectively connected to one end of the sixth resistor, one end of the ninth resistor, and one end of the fifteenth capacitor. The source of the MOS transistor is respectively connected to the ninth pin of the controller, the other end of the sixth resistor, the other end of the fifteenth capacitor, one end of the thirteenth capacitor, and one end of the fourteenth capacitor. The drain of the MOS transistor is respectively connected to the first pin and the tenth pin of the Bluetooth chip. The other end of the thirteenth capacitor is grounded. The other end of the fourteenth capacitor is grounded. The other end of the ninth resistor is connected to the sixteenth pin of the controller;
[0014] The crystal oscillator circuit includes a sixteenth capacitor, a seventeenth capacitor, and a resonator. One end of the resonator is respectively connected to the second pin of the Bluetooth chip and one end of the sixteenth capacitor. The other end of the resonator is respectively connected to the third pin of the Bluetooth chip and one end of the seventeenth capacitor. The other end of the sixteenth capacitor is grounded. The other end of the seventeenth capacitor is grounded.
[0015] According to some embodiments of the present invention, the external interface module includes an external interface circuit and a second voltage stabilizing circuit;
[0016] The external interface circuit includes an external interface, a fifth resistor, and a sixth resistor. The fifth port of the external interface is grounded through the fifth resistor. The fourteenth port of the external interface is grounded through the sixth resistor. The first port and the tenth port of the external interface are both grounded;
[0017] The second voltage stabilizing circuit includes a second step-down chip, an eighth capacitor, a ninth capacitor, a tenth capacitor, an eleventh capacitor, and a third diode. A first pin of the second step-down chip is connected to a cathode of the third diode, one end of the eighth capacitor, and one end of the ninth capacitor. A second pin of the second step-down chip is grounded. A third pin of the second step-down chip is connected to a ninth pin of the controller, one end of the tenth capacitor, and one end of the eleventh capacitor. The other end of the eighth capacitor is grounded. The other end of the ninth capacitor is grounded. The other end of the tenth capacitor is grounded. The other end of the eleventh capacitor is grounded. An anode of the third diode is connected to a ninth port and an eighteenth port of the external interface.
[0018] According to some embodiments of the present invention, the touch module includes a touch chip and a touch block. A first pin of the touch chip is connected to a ninth pin of the controller. A second pin of the touch chip is connected to the touch block. A third pin of the touch chip is connected to a twelfth pin of the controller. A fourth pin of the touch chip is grounded.
[0019] According to some embodiments of the present invention, a lock body socket is further included. A first pin of the lock body socket is connected to the power supply. A second pin of the lock body socket is grounded. A third pin of the lock body socket is connected to a nineteenth pin of the controller. A fourth pin of the lock body socket is connected to an eighteenth pin of the controller. A fifth pin of the lock body socket is connected to a tenth pin of the controller. A sixth pin of the lock body socket is connected to the touch module.
[0020] A cabinet according to an embodiment of the second aspect of the present invention includes the Bluetooth electronic lock of the first aspect of the present invention to lock the cabinet.
[0021] According to some embodiments of the present invention, the cabinet further includes a cabinet door and a cabinet body. One side of the cabinet door is hinged to the cabinet body. The Bluetooth electronic lock is fixedly arranged on the other side of the cabinet door. An external connection module is arranged on an outer surface of the cabinet door.
[0022] According to some embodiments of the present invention, an external interface and a contact block are arranged on the external connection module. The contact block surrounds the periphery of the external interface. At least a part of the contact block protrudes from the external interface. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] For the convenience of those skilled in the art to understand, the present invention will be further described below with reference to the accompanying drawings.
[0024] Figure 1 It is a circuit diagram of the main control module provided in an embodiment of the present invention;
[0025] Figure 2 The circuit diagram of the motor drive module provided by the present utility model in an embodiment;
[0026] Figure 3 The circuit diagram of the Bluetooth communication module provided by the present utility model in an embodiment;
[0027] Figure 4 The circuit diagram of the external interface module provided by the present utility model in an embodiment;
[0028] Figure 5 The circuit diagram of the touch module provided by the present utility model in an embodiment;
[0029] Figure 6 The circuit diagram of the lock body socket provided by the present utility model in an embodiment;
[0030] Figure 7 The structure diagram of the cabinet provided by the present utility model in an embodiment;
[0031] Figure 8 The present utility model Figure 7 The detailed structure diagram at position A in;
[0032] Figure 9 The structure diagram of the external module provided by the present utility model in an embodiment.
[0033] In the figure: R1 - R9, the first resistor - the ninth resistor; C1 - C17, the first capacitor - the seventeenth capacitor; D1 - D3, the first diode - the third diode; Q1, the first step-down chip; Q2, the second step-down chip; U1, the motor drive chip; U2, the Bluetooth chip; U3, the controller; J1, the lock body socket; J2, the touch block; J3, the motor; C20, the touch chip; S1, the first switch; 1, the cabinet door; 2, the cabinet body; 3, the external module; 31, the external interface; 32, the contact block. Specific embodiments
[0034] To further elaborate on the technical means and effects adopted by the present utility model to achieve the predetermined utility model purpose, the following, in combination with the accompanying drawings and preferred embodiments, details the specific embodiments, structures, features and their effects of the present utility model as follows.
[0035] Please refer to Figures 1-6, a Bluetooth electronic lock provided in this embodiment includes a main control module, a motor drive module, a Bluetooth communication module, an external interface module, and a touch module. The main control module includes a controller U3. The input ends of the motor drive module and the Bluetooth communication module are both connected to the output end of the controller U3. The output ends of the external interface module and the touch module are both connected to the input end of the controller U3. The Bluetooth communication module is used to receive control instructions. The main control module is used to process the control instructions received by the Bluetooth communication module and send a control signal to the motor drive module. The motor drive module is used to complete the unlocking and locking actions according to the control signal of the main control module. The external interface module is used to connect the electronic lock to external devices. After the touch module is touched, it sends a wake-up signal to the controller U3.
[0036] In this embodiment, the main control module is electrically connected to the motor drive module, the Bluetooth communication module, and the touch module respectively. When the user uses this Bluetooth electronic lock to unlock, first touch the touch module, and the touch module sends a wake-up signal to the main control module. After receiving the wake-up signal, the main control module sends an instruction to turn on the broadcast to the Bluetooth communication module. Then the user turns on the broadcast on the paired mobile phone, and can search for this electronic lock on the mobile phone and realize the wireless connection between the mobile phone and the electronic lock. At this time, the user can send an unlocking instruction on the mobile phone. After receiving this unlocking instruction, the Bluetooth communication module transmits the signal to the main control module. When the main control module receives the unlocking signal from the Bluetooth communication module, it controls the motor drive module to drive the motor to unlock.
[0037] At the same time, the electronic lock is also provided with an external interface module, which is used to connect the Bluetooth electronic lock to an external power supply, facilitating the user to use the external power supply to supply power to the electronic lock when the electronic lock is powered off, ensuring that the electronic lock can still be unlocked when powered off. At the same time, the external interface module can also connect the electronic lock to external devices. When a fault occurs in the Bluetooth communication module in the electronic lock, it can be connected to the electronic lock through the external interface module and send a control instruction to the electronic lock.
[0038] Please refer to Figure 1 , in a further embodiment of the present invention, the main control module includes a controller U3, a first voltage stabilizing circuit, and a reset circuit;
[0039] The first voltage stabilizing circuit includes a power supply, a first capacitor C1, a second capacitor C2, a third capacitor C3, a fourth capacitor C4, a first diode D1, a second diode D2, and a first step-down chip Q1. The first pin of the first step-down chip Q1 is connected to the power supply, one end of the first capacitor C1, one end of the second capacitor C2, and the cathode of the first diode D1 respectively. The second pin of the first step-down chip Q1 is grounded. The third pin of the first step-down chip is connected to the ninth pin of the controller U3, one end of the third capacitor C3, one end of the fourth capacitor C4, and the cathode of the second diode D2 respectively. The anodes of the first diode D1 and the second diode D2, the other ends of the first capacitor C1, the second capacitor C2, the third capacitor C3, and the fourth capacitor C4 are all grounded.
[0040] Among them, the first step-down chip Q1 is used to reduce the power supply voltage to the voltage level required by the controller U3; the first capacitor C1 and the second capacitor C2 are filter capacitors to provide a stable voltage for the first step-down chip Q1; the third capacitor C3 and the fourth capacitor C4 are also filter capacitors to provide a stable voltage for the controller U3; the first diode D1 and the second diode D2 are used to protect the circuit and prevent damage to the circuit caused by reverse voltage.
[0041] The reset circuit includes a second resistor R2 and a fifth capacitor C5. One end of the second resistor R2 is connected to the ninth pin of the controller U3, and the other end of the second resistor R2 is connected to the fourth pin of the controller U3. One end of the fifth capacitor C5 is connected to the fourth pin of the controller U3, and the other end of the fifth capacitor C5 is grounded. The fifth capacitor C5 and the second resistor R2 together form an RC reset circuit to ensure that when the power is turned on, the controller U3 can start running from a definite state.
[0042] The tenth pin of the controller U3 is also connected to one end of the first switch S1. The other end of the first switch S1 is also connected to a first resistor R1. One end of the first resistor R1 is connected to the other end of the first switch S1, and the other end of the first resistor R1 is grounded. The first switch S1 serves as a manual reset button. When pressed, it pulls the tenth pin of the controller U3 to a low level through the first resistor R1 to achieve the manual reset function. At the same time, the first resistor R1 serves as a current-limiting resistor to prevent excessive current during the reset process from damaging the controller U3.
[0043] In this embodiment, the power supply of the electronic lock is connected to the input terminal of the first voltage stabilizing circuit, i.e., the first pin of the first step-down chip Q1. After being converted into the stable voltage required by the controller U3 through the first voltage stabilizing circuit, it is output from the output terminal of the first voltage stabilizing circuit, i.e., the third pin of the first step-down chip Q1, to the controller U3. The first voltage stabilizing circuit ensures that the controller U3 can obtain a stable and reliable power supply, reducing the possibility of interference and damage to the main control module caused by power fluctuations. Among them, the first capacitor C1 and the second capacitor C2 are used to filter out the high-frequency noise at the input terminal of the first voltage stabilizing circuit, improving the stability of the power supply. The third capacitor C3 and the fourth capacitor C4 are used to further stabilize the output voltage of the first voltage stabilizing circuit and filter out the high-frequency noise in the output voltage. The first diode D1 and the second diode D2 can prevent the reverse flow of current and protect the first voltage stabilizing circuit. The reset circuit provides a reliable way to ensure that the controller can be reset to the initial state when the power is turned on or the system fails, enhancing the stability and reliability of the system. Among them, the second resistor R2, the fifth capacitor C5 and the fourth pin of the controller U3 together form an RC delay circuit, which is used to provide sufficient delay when the system is reset or the power is turned on to ensure that the controller U3 can be stably reset.
[0044] Please refer to Figure 2 , in a further embodiment of the present invention, the motor drive module includes a power supply, a motor drive chip U1, a sixth capacitor C6, a seventh capacitor C7, a third resistor R3, a fourth resistor R4 and a motor J3. The fourth pin of the motor drive chip U1 is respectively connected to the seventh capacitor C7 and the power supply. The other end of the seventh capacitor C7 is grounded. The second pin of the motor drive chip U1 is connected to the fourteenth pin of the controller U3 through the third resistor R3. The third pin of the motor drive chip U1 is connected to the thirteenth pin of the controller U3 through the fourth resistor R4. The fifth pin and the eighth pin of the motor drive chip U1 are respectively connected to the input terminal and the output terminal of the motor J3. The fifth pin of the motor drive chip U1 is also connected to the eighth pin of the motor drive chip U1 through the sixth capacitor C6. The sixth pin and the seventh pin of the motor drive chip U1 are both grounded.
[0045] Among them, the power supply provides electrical energy for the motor drive module; the motor drive chip U1 is used to receive the output signal of the controller U3 and drive the motor J3 to work; the sixth capacitor C6 is used to filter out the noise generated when the motor works and protect the motor drive chip U1; the seventh capacitor C7 is used to stabilize the power supply voltage of the motor drive chip U1; the third resistor R3 and the fourth resistor R4 are current-limiting resistors to protect the output pins of the controller U3 from being damaged by excessive current; the motor J3 works under the control of the motor drive chip U1 to realize the opening and closing of the lock body.
[0046] In this embodiment, the fourth pin of the motor drive chip U1 is connected to the power supply to provide electrical energy for the chip. The second pin and the third pin of the motor drive chip U1 are respectively connected to the fourteenth pin and the thirteenth pin of the controller U3 to receive the unlocking signal of the controller U3. The fifth pin and the eighth pin of the motor drive chip U1 are motor drive pins, which are respectively connected to the input end and the output end of the motor J3 to output drive signals to control the operation of the motor. The sixth pin and the seventh pin of the motor drive chip U1 are grounded to ensure the stable operation of the chip. Among them, the sixth capacitor C6 is used to filter out the noise and interference that may be generated during the motor drive process to protect the motor drive chip U1 and the motor J3 from damage. The seventh capacitor C7 provides a stable power supply environment for the motor drive chip U1 to filter out the high-frequency noise at the power input end. The third resistor R3 and the fourth resistor R4 are used as current-limiting resistors to protect the motor drive chip U1 from the instantaneous current impact that may be generated by the output signal of the controller U3.
[0047] Please refer to Figure 3 , in a further embodiment of the present utility model, the Bluetooth communication module includes a Bluetooth antenna circuit, a switch control circuit, and a crystal oscillator circuit;
[0048] The Bluetooth antenna circuit includes a Bluetooth chip U2, a seventh resistor R7, an eighth resistor R8, a twelfth capacitor C12, and a Bluetooth antenna. One end of the seventh resistor R7 is connected to the nineteenth pin of the Bluetooth chip U2, and the other end of the seventh resistor R7 is connected to the fifteenth pin of the controller U3. One end of the eighth resistor R8 is connected to the eighteenth pin of the Bluetooth chip U2, and the other end of the eighth resistor R8 is connected to the eleventh pin of the controller U3. One end of the twelfth capacitor C12 is connected to the first pin of the Bluetooth chip U2, and the other end of the twelfth capacitor C12 is grounded. The eleventh pin of the Bluetooth chip U2 is grounded; an antenna is also connected to the sixteenth pin of the Bluetooth chip U2.
[0049] Among them, the Bluetooth chip U2 is a processor responsible for Bluetooth communication. The seventh resistor R7 and the eighth resistor R8 are connection resistors between the Bluetooth chip U2 and the controller U3, which are used to protect the circuit and prevent excessive current. The twelfth capacitor C12 is used to filter out the noise that may be generated during Bluetooth communication. The Bluetooth antenna is used to send and receive Bluetooth signals.
[0050] The switch control circuit includes a sixth resistor R6, a ninth resistor R9, a thirteenth capacitor C13, a fourteenth capacitor C14, a fifteenth capacitor C15, and a MOS transistor. One end of the gate of the MOS transistor is connected to one end of the sixth resistor R6, one end of the ninth resistor R9, and one end of the fifteenth capacitor C15 respectively. The source of the MOS transistor is connected to the ninth pin of the controller U3, the other end of the sixth resistor R6, the other end of the fifteenth capacitor C15, one end of the thirteenth capacitor C13, and one end of the fourteenth capacitor C14 respectively. The drain of the MOS transistor is connected to the first pin and the tenth pin of the Bluetooth chip U2. The other end of the thirteenth capacitor C13 is grounded, the other end of the fourteenth capacitor C14 is grounded, and the other end of the ninth resistor R9 is connected to the sixteenth pin of the controller U3.
[0051] Among them, the MOS transistor is a switching element that controls the power on and off of the Bluetooth chip U2. Its gate is connected to the sixteenth pin of the controller U3 through the ninth resistor R9. This MOS transistor is a P-type MOS transistor. When the gate of the MOS transistor receives a low-level signal from the sixteenth pin of the controller U3, the MOS transistor conducts, and at this time, the power supply module can normally supply power to the Bluetooth communication module through the MOS transistor, and the Bluetooth communication module is in a normal working state. When the gate of the MOS transistor receives a high-level signal from the sixteenth pin of the controller U3, the MOS transistor turns off, and at this time, the power supply module cannot supply power to the Bluetooth communication module through the MOS transistor, and the Bluetooth communication module is in a sleep state; the sixth resistor R6 and the ninth resistor R9 are current-limiting resistors to prevent the MOS transistor from being damaged due to excessive current. At the same time, they can also participate in voltage division to ensure that the voltage on the gate of the MOS transistor is within a safe and effective range; the thirteenth capacitor C13 and the fourteenth capacitor C14 are used to filter out high-frequency noise and interference signals that may be generated during the switching action to ensure that the Bluetooth chip U2 receives a stable power supply. At the same time, they also play a decoupling role to reduce the impact of power fluctuations on the performance of the Bluetooth chip U2; the fifteenth capacitor C15 is used to reduce the overshoot voltage and oscillation phenomenon during the switching action of the MOS transistor, improving the reliability and stability of the circuit.
[0052] The crystal oscillator circuit includes the sixteenth capacitor C16, the seventeenth capacitor C17, and a resonator. One end of the resonator is connected to the second pin of the Bluetooth chip U2 and one end of the sixteenth capacitor C16 respectively, and the other end of the resonator is connected to the third pin of the Bluetooth chip U2 and one end of the seventeenth capacitor C17 respectively. The other end of the sixteenth capacitor C16 is grounded, and the other end of the seventeenth capacitor C17 is grounded. In this embodiment, the Bluetooth communication module is wirelessly connected to a mobile phone through the Bluetooth chip U2. At the same time, a switch control circuit is also provided. The switch control circuit controls the power on and off of the Bluetooth chip U2 through a MOS transistor. This electronic lock will only turn on the Bluetooth broadcast to search for devices when Bluetooth is needed to achieve mobile phone connection, so as to operate the lock on the mobile phone. When Bluetooth unlocking is not used, the Bluetooth broadcast will be completely turned off to save power consumption. When the electronic lock is powered by a battery, it can effectively extend the battery life of the electronic lock and prolong the service life of the battery.
[0053] Among them, the sixteenth capacitor C16, the seventeenth capacitor C17, and the resonator together form an oscillation circuit to provide a stable clock signal for the Bluetooth chip U2. The stable clock signal is the basis of Bluetooth communication, which can ensure the accuracy and real-time performance of data transmission. The capacitor is used to stabilize the oscillation frequency and phase noise.
[0054] At the same time, the Bluetooth communication module is also provided with a crystal oscillator circuit. The crystal oscillator circuit can provide a stable clock signal for the Bluetooth chip U2, which can effectively reduce clock drift and error during communication and ensure the accuracy and reliability of Bluetooth communication. Among them, the sixteenth capacitor C16 and the seventeenth capacitor C17 are used in combination with the resonator to form an oscillation circuit to ensure the stability and accuracy of the clock signal.
[0055] Please refer to Figure 4 , in a further embodiment of the present invention, the external interface module includes an external interface circuit and a second voltage stabilizing circuit;
[0056] The external interface circuit includes an external interface 31, a fifth resistor R5, and a sixth resistor R6. The fifth port A5 of the external interface 31 is grounded through the fifth resistor R5, the fourteenth port B5 of the external interface 31 is grounded through the sixth resistor R6, and the first port A1 and the tenth port B1 of the external interface 31 are both grounded.
[0057] Among them, the external interface 31 provides a connection port for the connection between the electronic lock and external devices; the fifth resistor R5 and the sixth resistor R6 are pull-down resistors to ensure that the ports are in a low-level state when no external device is connected.
[0058] The second voltage stabilizing circuit includes a second step-down chip Q2, an eighth capacitor C8, a ninth capacitor C9, a tenth capacitor C10, an eleventh capacitor C11, and a third diode D3. The first pin of the second step-down chip Q2 is connected to the cathode of the third diode D3, one end of the eighth capacitor C8, and one end of the ninth capacitor C9 respectively. The second pin of the second step-down chip Q2 is grounded. The third pin of the second step-down chip Q2 is connected to the ninth pin of the controller U3, one end of the tenth capacitor C10, and one end of the eleventh capacitor C11 respectively. The other end of the eighth capacitor C8 is grounded. The other end of the ninth capacitor C9 is grounded. The other end of the tenth capacitor C10 is grounded. The other end of the eleventh capacitor C11 is grounded. The anode of the third diode D3 is connected to the ninth port A9 and the eighteenth port B9 of the external interface 31 respectively.
[0059] Among them, the second step-down chip Q2 is used for voltage reduction, reducing the power supply voltage to the voltage level required by external devices; the eighth capacitor C8, the ninth capacitor C9, the tenth capacitor C10, and the eleventh capacitor C11 are filter resistors, reducing the fluctuations at the input and output ends of the second voltage stabilizing circuit; the third diode D3 is used to protect the circuit, preventing reverse voltage from damaging the circuit.
[0060] In this embodiment, the external interface module provides an interface for the electronic lock to connect to external devices and an external power supply. At the same time, the external interface module is also provided with a second voltage stabilizing circuit, ensuring the stable voltage supplied to the controller U3 or other modules, and reducing faults and performance degradation caused by voltage fluctuations.
[0061] Please refer to Figure 5 In a further embodiment of the present utility model, the touch module includes a touch chip C20 and a touch block J2. The first pin of the touch chip C20 is connected to the ninth pin of the controller U3. The second pin of the touch chip C20 is connected to the touch block J2. The third pin of the touch chip C20 is connected to the twelfth pin of the controller U3. The fourth pin of the touch chip C20 is grounded.
[0062] Among them, the touch chip C20, as the core of the touch module, is responsible for processing touch signals and transmitting them to the controller U3; the touch block J2, as the interface for the user to interact with the electronic lock, receives the user's touch operation and converts it into an electrical signal to be transmitted to the touch chip C20.
[0063] Please refer to Figure 6, in a further embodiment of the present utility model, it further includes a lock body socket J1. The first pin of the lock body socket J1 is connected to the power supply, the second pin of the lock body socket J1 is grounded, the third pin of the lock body socket J1 is connected to the nineteenth pin of the controller U3, the fourth pin of the lock body socket J1 is connected to the eighteenth pin of the controller U3, the fifth pin of the lock body socket J1 is connected to the tenth pin of the controller U3, and the sixth pin of the lock body socket J1 is connected to the touch control module.
[0064] In this embodiment, the electronic lock is further provided with a lock body socket J1. The lock body socket J1 is used for emergency unlocking. When the mobile phone capable of unlocking is not beside the electronic lock or the mobile phone capable of unlocking is lost, the electronic lock can also be connected to the electronic key through the lock body socket J1, so as to perform initial unlocking.
[0065] An embodiment of the first aspect of the present utility model provides a Bluetooth electronic lock. The operating principle of the Bluetooth electronic lock is as follows:
[0066] When the Bluetooth electronic lock is not required to unlock, the power supply supplies power to the controller U3 and the touch control module through the first voltage stabilization circuit. At this time, the controller U3 of the main control module continuously monitors whether someone touches the touch block J2 of the touch control module through the touch control module, and the MOS tube in the switch control circuit of the Bluetooth communication module is in the cut-off state. The controller U3 cannot supply power to the Bluetooth communication module through the switch control circuit, and the Bluetooth communication module is in a completely closed state.
[0067] When the Bluetooth electronic lock is required to unlock, the user first touches the touch block J2 of the touch control module with a finger. When the touch control chip C20 in the touch control module detects that the user touches the touch block J2, it sends a wake-up signal to the controller U3; after receiving the wake-up signal, the controller U3 sends a switch control signal to the switch control circuit in the Bluetooth communication module, so that the MOS tube in the switch control circuit is turned on. The controller U3 supplies power to the Bluetooth communication module through the switch control circuit, and turns on the Bluetooth broadcast through the Bluetooth chip U2. At this time, the user can search for the Bluetooth electronic lock through the Bluetooth broadcast of the mobile phone that has been bound to the Bluetooth electronic lock; when the mobile phone is connected to the lock, the user can issue an unlocking instruction on the mobile phone, and the mobile phone sends the unlocking instruction to the Bluetooth chip U2 of the Bluetooth electronic lock through Bluetooth communication. After receiving the unlocking instruction issued by the mobile phone, the Bluetooth chip U2 sends the unlocking instruction to the controller U3. After receiving the unlocking instruction, the controller U3 controls the motor J3 to complete the unlocking action through the motor drive chip U1.
[0068] Please refer to Figure 7 , a cabinet provided by an embodiment of the second aspect of the present utility model includes the Bluetooth electronic lock provided in any of the above embodiments. The cabinet body is locked through the Bluetooth electronic lock.
[0069] Please refer toFigure 7 In a further embodiment of the present utility model, the cabinet further includes a cabinet door 1 and a cabinet body 2. One side of the cabinet door 1 is hinged to the cabinet body 2, and the Bluetooth electronic lock is fixedly arranged on the other side of the cabinet door 1. An external module 3 is arranged on the outer surface of the cabinet door 1.
[0070] Please refer to Figures 7-8 , in this embodiment, there is a reserved external module 3 on the cabinet door 1. The external module 3 is used to set connection ports such as an emergency power supply setting port and a lock body socket J1 for connecting the electronic lock to the outside world, and can also be used to set a touch block J2.
[0071] Please refer to Figure 9 , in a further embodiment of the present utility model, an external interface 31 and a contact block 32 are arranged on the external module 3. The contact block 32 surrounds the external interface 31, and at least a part of the contact block 32 protrudes from the external interface 31.
[0072] In this embodiment, the contact block 32 is placed around the external interface 31. The contact block 32 is the touch block J2 in the touch control module and is used for the user to activate the electronic lock, enabling the electronic lock to turn on Bluetooth and connect to the mobile phone. The external interface 31 is used for the Bluetooth electronic lock to connect to external devices or an external power supply.
[0073] The above are only the preferred embodiments of the present utility model and do not impose any form of limitation on the present utility model. Although the present utility model has been disclosed above with the preferred embodiments, it is not intended to limit the present utility model. Any person skilled in the art can make some changes or modifications to the above-disclosed technical content to form equivalent embodiments with equivalent changes within the scope of the technical solution of the present utility model. However, as long as it does not depart from the content of the technical solution of the present utility model, any brief modifications, equivalent changes, and modifications made to the above embodiments based on the technical essence of the present utility model still fall within the scope of the technical solution of the present utility model.
Claims
1. A Bluetooth electronic lock, characterized in that: The electronic lock comprises a main control module, a motor drive module, a Bluetooth communication module, an external interface module and a touch control module, wherein the main control module comprises a controller (U3), an input end of the motor drive module and an input end of the Bluetooth communication module are both connected to an output end of the controller (U3), an output end of the external interface module and an output end of the touch control module are both connected to an input end of the controller (U3), the Bluetooth communication module is used to receive control instructions, the main control module is used to process the control instructions received by the Bluetooth communication module and send a control signal to the motor drive module, the motor drive module is used to complete a switch lock action according to the control signal of the main control module, the external interface module is used to connect the electronic lock to an external device, and the touch control module sends a wake-up signal to the controller (U3) after being touched.
2. A Bluetooth electronic lock according to claim 1, characterized in that: The main control module includes a controller (U3), a first voltage stabilizing circuit and a reset circuit; The first voltage stabilizing circuit comprises a power supply, a first capacitor (C1), a second capacitor (C2), a third capacitor (C3), a fourth capacitor (C4), a first diode (D1), a second diode (D2) and a first buck chip (Q1); a first pin of the first buck chip (Q1) is respectively connected to the power supply, one end of the first capacitor (C1), one end of the second capacitor (C2) and the negative electrode of the first diode (D1); a second pin of the first buck chip (Q1) is grounded; a third pin of the first buck chip is respectively connected to a ninth pin of the controller (U3), one end of the third capacitor (C3), one end of the fourth capacitor (C4) and the negative electrode of the second diode (D2); a positive electrode of the first diode (D1), a positive electrode of the second diode (D2), the other end of the first capacitor (C1), the other end of the second capacitor (C2), the other end of the third capacitor (C3) and the other end of the fourth capacitor (C4) are all grounded; The reset circuit comprises a second resistor (R2) and a fifth capacitor (C5), one end of the second resistor (R2) is connected to the ninth pin of the controller (U3), the other end of the second resistor (R2) is connected to the fourth pin of the controller (U3), one end of the fifth capacitor (C5) is connected to the fourth pin of the controller (U3), and the other end of the fifth capacitor (C5) is grounded; The tenth pin of the controller (U3) is also connected to one end of the first switch (S1), the other end of the first switch (S1) is also connected to a first resistor (R1), one end of the first resistor (R1) is connected to the other end of the first switch (S1), and the other end of the first resistor (R1) is grounded.
3. A Bluetooth electronic lock according to claim 2, characterized in that: The motor drive module comprises a power supply, a motor drive chip (U1), a sixth capacitor (C6), a seventh capacitor (C7), a third resistor (R3), a fourth resistor (R4) and a motor (J3); a fourth pin of the motor drive chip (U1) is respectively connected to the seventh capacitor (C7) and the power supply; the other end of the seventh capacitor (C7) is grounded; a second pin of the motor drive chip (U1) is connected to a fourteenth pin of the controller (U3) through the third resistor (R3); a third pin of the motor drive chip (U1) is connected to a thirteenth pin of the controller (U3) through the fourth resistor (R4); a fifth pin and an eighth pin of the motor drive chip (U1) are respectively connected to an input end and an output end of the motor (J3); the fifth pin of the motor drive chip (U1) is also connected to an eighth pin of the motor drive chip (U1) through the sixth capacitor (C6); and the sixth pin and the seventh pin of the motor drive chip (U1) are both grounded.
4. A Bluetooth electronic lock according to claim 2, characterized in that: The Bluetooth communication module includes a Bluetooth antenna circuit, a switch control circuit and a crystal oscillator circuit; The Bluetooth antenna circuit comprises a Bluetooth chip (U2), a seventh resistor (R7), an eighth resistor (R8), a twelfth capacitor (C12) and a Bluetooth antenna, one end of the seventh resistor (R7) is connected to the nineteenth pin of the Bluetooth chip (U2), the other end of the seventh resistor (R7) is connected to the fifteenth pin of the controller (U3), one end of the eighth resistor (R8) is connected to the eighteenth pin of the Bluetooth chip (U2), the other end of the eighth resistor (R8) is connected to the eleventh pin of the controller (U3), one end of the twelfth capacitor (C12) is connected to the first pin of the Bluetooth chip (U2), the other end of the twelfth capacitor (C12) is grounded, and the eleventh pin of the Bluetooth chip (U2) is grounded; The switch control circuit comprises a sixth resistor (R6), a ninth resistor (R9), a thirteenth capacitor (C13), a fourteenth capacitor (C14), a fifteenth capacitor (C15) and a MOS tube, wherein the gate of the MOS tube is respectively connected to one end of the sixth resistor (R6), one end of the ninth resistor (R9) and one end of the fifteenth capacitor (C15), the source of the MOS tube is respectively connected to the ninth pin of the controller (U3), the other end of the sixth resistor (R6), the other end of the fifteenth capacitor (C15), one end of the thirteenth capacitor (C13) and one end of the fourteenth capacitor (C14), the drain of the MOS tube is respectively connected to the first pin and the tenth pin of the Bluetooth chip (U2), the other end of the thirteenth capacitor (C13) is grounded, the other end of the fourteenth capacitor (C14) is grounded, and the other end of the ninth resistor (R9) is connected to the sixteenth pin of the controller (U3); The crystal oscillator circuit comprises a sixteenth capacitor (C16), a seventeenth capacitor (C17) and a resonator, one end of the resonator is respectively connected to the second pin of the Bluetooth chip (U2) and one end of the sixteenth capacitor (C16), the other end of the resonator is respectively connected to the third pin of the Bluetooth chip (U2) and one end of the seventeenth capacitor (C17), the other end of the sixteenth capacitor (C16) is grounded, and the other end of the seventeenth capacitor (C17) is grounded.
5. A Bluetooth electronic lock according to claim 2, characterized in that: The external interface module includes an external interface circuit and a second voltage stabilizing circuit; The external interface circuit comprises an external interface (31), a fifth resistor (R5) and a sixth resistor (R6); the fifth port of the external interface (31) is grounded via the fifth resistor (R5); the fourteenth port of the external interface (31) is grounded via the sixth resistor (R6); and the first port and the tenth port of the external interface (31) are both grounded; The second voltage stabilizing circuit comprises a second buck chip (Q2), an eighth capacitor (C8), a ninth capacitor (C9), a tenth capacitor (C10), an eleventh capacitor (C11) and a third diode (D3); the first pin of the second buck chip (Q2) is respectively connected to the negative electrode of the third diode (D3), one end of the eighth capacitor (C8) and one end of the ninth capacitor (C9); the second pin of the second buck chip (Q2) is grounded; the third pin of the second buck chip (Q2) is respectively connected to the ninth pin of the controller (U3), one end of the tenth capacitor (C10) and one end of the eleventh capacitor (C11); the other end of the eighth capacitor (C8) is grounded, the other end of the ninth capacitor (C9) is grounded, the other end of the tenth capacitor (C10) is grounded, the other end of the eleventh capacitor (C11) is grounded, and the positive electrode of the third diode (D3) is respectively connected to the ninth port and the eighteenth port of the external interface (31).
6. A Bluetooth electronic lock according to claim 2, characterized in that: The touch module comprises a touch chip (C20) and a touch block (J2), wherein a first pin of the touch chip (C20) is connected to a ninth pin of the controller (U3), a second pin of the touch chip (C20) is connected to the touch block (J2), a third pin of the touch chip (C20) is connected to a twelfth pin of the controller (U3), and a fourth pin of the touch chip (C20) is grounded.
7. A Bluetooth electronic lock according to claim 2, characterized in that: The invention also includes a lock body socket (J1), wherein a first pin of the lock body socket (J1) is connected to the power supply, a second pin of the lock body socket (J1) is grounded, a third pin of the lock body socket (J1) is connected to a nineteenth pin of the controller (U3), a fourth pin of the lock body socket (J1) is connected to an eighteenth pin of the controller (U3), a fifth pin of the lock body socket (J1) is connected to a tenth pin of the controller (U3), and a sixth pin of the lock body socket (J1) is connected to the touch module.
8. A cabinet, characterized in that: A Bluetooth electronic lock according to any one of claims 1 to 7.
9. A cabinet according to claim 8, characterized in that: It also comprises a cabinet door (1) and a cabinet body (2), wherein one side of the cabinet door (1) is hinged to the cabinet body (2), a Bluetooth electronic lock is fixedly arranged on the other side of the cabinet door (1), and an external module (3) is arranged on the outer surface of the cabinet door (1).
10. A cabinet according to claim 9, characterized in that: The external connection module (3) is provided with an external interface (31) and a contact block (32); the contact block (32) surrounds the external interface (31); and at least a portion of the contact block (32) protrudes from the external interface (31).