Intelligent lock
By using passive electronic keys with communication functions in smart door locks, the electrical connection and data interaction between the lock core and the electronic key are solved, and the problems of violent unlocking and low security of mechanical keys are improved, and the security and portability of the smart lock are improved.
Patent Information
- Application Number
- CN202421769983.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-25
- Publication Date
- 2025-05-02
- Estimated Expiration
- 2034-07-25
AI Technical Summary
In the event that existing smart door locks cannot be unlocked electronically, they rely on mechanical lock cores and keys, which are prone to damage to the lock due to violent unlocking. The mechanical keys are low in security and are easily copied and lost.
Passive electronic keys with communication functions are adopted to supply power through the lock core and realize electrical connection and data interaction. Locks are unlocked according to password matching to avoid violent lock-opening damage problems, and password interaction is controlled through data communication to improve security.
It effectively avoids the damage to the lock caused by violent unlocking of mechanical keys, improves the security of use of smart locks, and does not require a power supply, reducing the size and battery life of the electronic key.
Smart Images

Figure CN222825926U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of smart locks, and further to a smart lock. Background Art
[0002] As smart homes become more and more popular, smart door locks bring a lot of convenience to home life. Electronic unlocking methods such as fingerprints, card swiping, and passwords are very convenient in the unlocking process, and are more secure and not easy to lose.
[0003] In daily use, in order to prevent the situation that the user forgets the password, the smart lock is out of power, etc., the current smart door lock is still equipped with a mechanical lock cylinder, so that the mechanical key can be used for emergency unlocking. However, using a mechanical key to unlock the door is prone to problems such as violent unlocking leading to damage to the lock, and the mechanical key has a high overlap and low security. Utility Model Content
[0004] In view of the above technical problems, the purpose of the utility model is to provide a smart lock, which uses a passive electronic key with a communication function, supplies power to the passive electronic key through the lock core, thereby realizing the electrical connection and data information interaction between the lock core and the passive electronic key, and unlocking the lock after the password is successfully matched, thus avoiding the problem of smart lock damage caused by violent unlocking of mechanical keys, and improving the safety of smart locks. At the same time, the passive electronic key obtains the required power supply through the lock core, and does not need to bring its own power supply, which reduces the size of the passive electronic key and makes it more portable.
[0005] In order to achieve the above object, the utility model provides a smart lock, which includes a lock body and a passive electronic key.
[0006] The lock body comprises: a lock core and a power supply circuit,
[0007] The lock cylinder is electrically connected to the power supply circuit;
[0008] The passive electronic key comprises: a charging circuit and a second processor,
[0009] The charging circuit and the power supply circuit are electrically connected through the contact between the lock cylinder and the passive electronic key;
[0010] The charging circuit is electrically connected to the second processor, and the second processor is communicatively connected to the lock core and transmits data information to the lock core.
[0011] In some embodiments, a first contact is disposed inside the lock core, and a second contact electrically connected to the first contact is disposed outside the passive electronic key.
[0012] In some embodiments, the power supply circuit includes: a first power supply, a first MOS tube, a first resistor, a second resistor, a first transistor and a switch key.
[0013] The first end of the first power supply is respectively connected to the first end of the first resistor and the source of the first MOS tube, the second end of the first resistor is connected to the first end of the second resistor, the second end of the second resistor is connected to the collector of the first transistor, the base of the first transistor is connected to the switch key, the emitter of the first transistor is grounded, the gate of the first MOS tube is connected to the first end of the second resistor, and the drain of the first MOS tube is connected to the charging circuit.
[0014] In some embodiments, the charging circuit includes: a first capacitor, a third resistor, a first diode, and a second capacitor.
[0015] The first end of the first capacitor is respectively connected to the power supply circuit, the first end of the third resistor and the positive electrode of the first diode, the second end of the first capacitor is grounded, the second end of the third resistor is grounded, the cathode of the first diode is connected to the first end of the second capacitor, and the second end of the second capacitor is grounded.
[0016] In some embodiments, the lock core further includes a detection circuit, the detection circuit is electrically connected to the power supply circuit, and the detection circuit is used to detect whether the passive electronic key is inserted.
[0017] In some embodiments, the detection circuit includes: a second power supply, a fourth resistor and a third capacitor, the first end of the second power supply is connected to the first end of the fourth resistor, the second end of the fourth resistor is connected to the first end of the third capacitor, and the second end of the third capacitor is grounded.
[0018] In some embodiments, the lock core includes a first processor, the first processor is communicatively connected to the second processor, and the first processor is used to receive data information transmitted by the second processor.
[0019] In some embodiments, the first processor includes a first memory and a first UART unit;
[0020] The first memory is electrically connected to the first UART unit, and the first memory is used to store data information;
[0021] The first UART unit is communicatively connected to the second processor, the first UART unit is used to receive data information transmitted by the second processor, and the first UART unit is also used to verify the data information transmitted by the second processor and the data information stored in the first memory. If the verification passes, the unlocking is successful.
[0022] In some embodiments, the second processor includes a second memory and a second UART unit;
[0023] The second memory is electrically connected to the second UART unit, and the second memory is used to store data information;
[0024] The second UART unit is communicatively connected to the lock core, and the second UART unit is used to transmit data information to the lock core.
[0025] Compared with the prior art, the smart lock provided by the utility model has the following beneficial effects:
[0026] 1. The passive electronic key can unlock the door by exchanging passwords with the lock core. There is no mechanical blocking design, which effectively avoids the problem of violent unlocking with mechanical keys. In addition, the external design of the passive electronic key does not have the unlocking function, so it is impossible to copy the electronic key that can unlock the door through punching or punching, which effectively ensures the security of the smart lock.
[0027] 2. Passive electronic keys unlock the door through data communication control password interaction. Passive electronic keys have functions such as setting passwords and reporting loss, which effectively avoids the hidden danger of being unlocked by others due to key loss, and improves the security of smart locks;
[0028] 3. The passive electronic key obtains the required power through the lock core, and does not need to bring its own power supply, which solves the problem of battery life. At the same time, it reduces the size of the passive electronic key, making it more portable;
[0029] 4. The circuit design of the passive electronic key is simple, and the power supply and password unlocking are carried out separately, that is, a single line can realize the power supply and data communication functions. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] The preferred implementation modes will be described below in a clear and understandable manner with reference to the accompanying drawings to further illustrate the above-mentioned characteristics, technical features, advantages and implementation methods of the present utility model.
[0031] Figure 1 It is an overall circuit diagram of an intelligent lock of the utility model;
[0032] Figure 2 This is a schematic diagram of the charging process of a smart lock of the utility model;
[0033] Figure 3 It is a schematic diagram of the communication process of a smart lock of the utility model;
[0034] Figure 4It is a structural diagram of a charging circuit of a smart lock of the utility model;
[0035] Figure 5 It is a structural diagram of a power supply circuit of an intelligent lock of the utility model;
[0036] Figure 6 It is a structural diagram of a detection circuit of a lock core in an intelligent lock of the utility model. DETAILED DESCRIPTION
[0037] In order to more clearly illustrate the embodiments of the utility model or the technical solutions in the prior art, the specific implementation methods of the utility model will be described below with reference to the accompanying drawings. Obviously, the accompanying drawings described below are only some embodiments of the utility model. For ordinary technicians in this field, other drawings and other implementation methods can be obtained based on these drawings without creative work.
[0038] In order to simplify the drawings, only the parts related to the utility model are schematically shown in each figure, and they do not represent the actual structure of the product. In addition, in order to simplify the drawings and facilitate understanding, in some figures, only one of the parts with the same structure or function is schematically drawn or marked. In this article, "one" not only means "only one", but also means "more than one".
[0039] It should be further understood that the term “and / or” used in the specification and appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0040] In this article, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" 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 mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in this utility model can be understood according to specific circumstances.
[0041] In addition, in the description of the present application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0042] Smart locks can be unlocked by electronic unlocking methods such as fingerprint, card, password, etc. The use process is convenient and the electronic unlocking method is highly secure. However, smart locks are generally equipped with mechanical keys to prevent objective factors from causing electronic unlocking.
[0043] In current use, the lock core of the mechanical key adopts a mechanical blocking design, so it can be opened by violent breaking, which is easy to cause physical damage to the lock.
[0044] At the same time, since the lock core of the mechanical key adopts a copper column blocking design, there is a tolerance between the mechanical key and the key. The lock can be opened within the tolerance range. The key overlap is high, and one key can open multiple locks. In addition, mechanical keys are generally designed by punching or punching teeth, and the key can be easily copied through mechanical processing. The mechanical key and the electronic lock are two independent systems. It is impossible to report the loss of the key after it is lost, and the person who picks up the key can open the lock. As mentioned above, there are many safety hazards of mechanical keys.
[0045] Therefore, the embodiment of the present application provides a smart lock, which uses a passive electronic key with a communication function, and supplies power to the passive electronic key through the lock core, thereby realizing the electrical connection and data information exchange between the lock core and the passive electronic key, and unlocking the lock after the password is successfully matched, thereby avoiding the problem of smart lock damage caused by violent unlocking of mechanical keys, and improving the safety of smart lock use. At the same time, after the lock core supplies power to the passive electronic key, passwords are exchanged between the lock core and the passive electronic key, that is, the passive electronic key obtains the required power through the lock core, and does not need to bring its own power supply, which solves the problem of battery life. At the same time, the volume of the passive electronic key is reduced, making it more portable. At the same time, the circuit design of the passive electronic key is simple, and power supply and password unlocking are performed separately, that is, a single line can realize power supply and data communication functions, further reducing the volume of the passive electronic key.
[0046] In one embodiment, the utility model provides a smart lock comprising: a lock body and a passive electronic key;
[0047] The lock body comprises: a lock core and a power supply circuit, and the lock core and the power supply circuit are electrically connected;
[0048] The passive electronic key includes: a charging circuit and a second processor, the charging circuit and the power supply circuit are electrically connected through the contact between the lock core and the passive electronic key; the charging circuit and the second processor are electrically connected, the second processor is in communication connection with the lock core and transmits data information to the lock core.
[0049] The lock core also includes a detection circuit, which is electrically connected to the power supply circuit. The detection circuit is used to detect whether a passive electronic key is inserted.
[0050] Reference Manual Figure 1 , the output end of the power supply circuit is connected to the detection circuit of the lock core; when the lock core and the passive electronic key are in contact, the endpoint KEY_VCC1 and the endpoint KEY_VCC2 are electrically connected, that is, the output end of the power supply circuit and the input end of the charging circuit are electrically connected.
[0051] When the passive electronic key is inserted into the lock core, the first contact outside the passive electronic key contacts the second contact inside the lock core, the endpoints KEY_VCC1 and KEY_VCC2 are electrically connected, the endpoint KEY_VCC2 is grounded, and the UART_TX pin and the UART_RX pin in the lock core are pulled up by the fourth resistor R1 to become the voltage divided by the fourth resistor R1 and the first resistor R5. Due to the voltage division effect, the UART_TX pin and the UART_RX pin in the lock core will detect a falling edge, that is, it is recognized that the passive electronic key is inserted into the lock core.
[0052] It should be noted that the resistance value of the third resistor R4 is smaller than the resistance value of the fourth resistor R1.
[0053] After the passive electronic key is inserted into the lock core, the first processor included in the lock core controls the power key KEY_PWR to be pulled high. At this time, the first MOS tube Q2 is in the on state, and the endpoints KEY_VCC1 and KEY_VCC2 are turned on, that is, the power supply circuit and the charging circuit are turned on, and the power supply circuit of the smart lock charges the charging circuit of the passive electronic key.
[0054] Reference Manual Figure 2 Schematic diagram of the charging process, when the switch key KEY_PWR is pulled high, the first MOS tube Q2 is in the on state, the first power supply VCC1 charges the charging circuit through the first MOS tube Q2, the endpoint KEY_VCC1 and the endpoint KEY_VCC2 in sequence, and the second capacitor C3 in the charging circuit is used to store electrical energy. When the storage amount in the second capacitor C3 reaches the first threshold, the charging is completed.
[0055] It should be noted that the first threshold value can be set according to the power storage capacity of the second capacitor C3 and the power required to start the passive electronic key, and is not limited here.
[0056] After charging is completed, the first processor in the lock core releases the switch key KEY_PWR, the first MOS tube Q2 is in the cut-off state, the power supply circuit stops charging, and the charging circuit powers the second processor in the passive electronic key. The passive electronic key transmits the data information through the second processor to the first processor of the lock core, and the first processor verifies the password information in the data information.
[0057] Reference Manual Figure 3In the schematic diagram of the communication process, the passive electronic key and the lock core are electrically connected through the contact between the endpoints KEY_VCC1 and KEY_VCC2; the first processor in the lock core and the second processor in the passive electronic key communicate data through the port UART_DATA; the endpoints MCU_VDD1 and MCU_VDD2 are connected, the endpoint MCU_VDD2 is connected to the seventh pin of the second processor chip, and the charging circuit supplies power to the second processor.
[0058] The first processor in the lock core sends a read request to the second processor in the passive electronic key. At this time, the pin configuration in the circuit diagram is: the first serial port UART_TX of the first processor in the lock core is configured as a UART function, and the first serial port UART_RX is configured as a floating input; the second serial port UART_RX of the second processor in the passive electronic key is configured as a UART function, and the second serial port UART_TX is configured as a floating input. At the same time, the first serial port UART_RX is connected in series with the resistor R3, and the first serial port UART_TX is connected in series with the resistor R2.
[0059] After receiving the read request from the first processor, the second processor in the passive electronic key reads the password information in the second memory and sends the password information to the first processor in the lock core. At this time, the pin configuration in the circuit diagram is: the first serial port UART_RX of the first processor in the lock core is configured as the UART function, and the first serial port UART_TX is configured as a floating input; the second serial port UART_TX of the second processor in the passive electronic key is configured as the UART function, and the second serial port UART_RX is configured as a floating input.
[0060] After receiving the password information, the first processor verifies it with the data information in the first memory. If the verification passes, the unlocking is successful; if the verification fails, the unlocking fails.
[0061] It should be noted that the verification of the password information is completed by the first processor in the lock core, and the second processor in the passive electronic key only needs to receive the read request sent by the first processor and return the password data information. The communication time is short and the power consumption of the second processor is relatively low, so the power storage capacity of the charging circuit is sufficient for use.
[0062] Passive electronic keys unlock the door by exchanging passwords with the lock core. There is no mechanical blocking design, which effectively avoids the problem of violent unlocking with mechanical keys. In addition, the external design of passive electronic keys does not have the unlocking function, so it is impossible to copy the unlockable electronic key through punching or punching, which effectively ensures the security of smart locks.
[0063] Passive electronic keys unlock the door through data communication control password interaction. Passive electronic keys have functions such as setting passwords and reporting loss, which effectively avoids the hidden danger of being unlocked by others due to key loss, and improves the security of smart locks.
[0064] The passive electronic key obtains the required power through the lock core, and does not need to bring its own power supply, which solves the problem of battery life. At the same time, it reduces the size of the passive electronic key, making it more portable.
[0065] The circuit design of the passive electronic key is simple, and the power supply and password unlocking are performed separately, that is, a single line can realize the power supply and data communication functions.
[0066] In one embodiment, the charging circuit is disconnected from the power supply circuit when the power storage amount meets the first threshold, and the charging circuit supplies power to the second processor.
[0067] It should be noted that the first threshold can be set according to actual application conditions and is not limited here.
[0068] In one embodiment, a first contact is disposed inside the lock core, and a second contact electrically connected to the first contact is disposed outside the passive electronic key.
[0069] In implementation, the first contact is arranged on the outer surface of the lock core, and the second contact is arranged on the outer surface of the passive electronic key. When the passive electronic key is inserted into the lock core, the first contact is physically connected to the second contact.
[0070] It should be noted that the first contact and the second contact are both made of conductive materials.
[0071] It should be noted that as long as the first contact and the second contact can achieve physical contact when the passive electronic key is inserted into the lock cylinder, there is no restriction on the specific setting position, specific setting shape, specific setting size, etc. of the first contact and the second contact.
[0072] In one embodiment, the power supply circuit includes: a first power supply VCC1, a first MOS transistor Q2, a first resistor R5, a second resistor R6, a first transistor Q1 and a switch key KEY_PWR, wherein the first end of the first power supply VCC1 is respectively connected to the first end of the first resistor R5 and the source of the first MOS transistor Q2, the second end of the first resistor R5 is connected to the first end of the second resistor R6, the second end of the second resistor R6 is connected to the collector of the first transistor Q1, the base of the first transistor Q1 is connected to the switch key KEY_PWR, the emitter of the first transistor Q1 is grounded, the gate of the first MOS transistor Q2 is connected to the first end of the second resistor R6, and the drain of the first MOS transistor Q2 is connected to the charging circuit.
[0073] Reference Manual Figure 4 , Figure 4This is a structural diagram of a power supply circuit of a smart lock of the utility model. When the passive electronic key is inserted into the lock core, the first contact outside the passive electronic key contacts the second contact inside the lock core, and the first processor inside the lock core controls the switch key KEY_PWR to be pulled high. At this time, the first MOS tube Q2 is in the on state, and the current in the first power supply VCC1 flows to the charging circuit through the first MOS tube Q2 to charge the charging circuit.
[0074] In one embodiment, the resistance value of the first resistor R5 is 10 kΩ, and the resistance value of the second resistor R6 is 1 kΩ.
[0075] In one embodiment, the charging circuit includes: a first capacitor C2, a third resistor R4, a first diode D1 and a second capacitor C3, the first end of the first capacitor C2 is respectively connected to the power supply circuit, the first end of the third resistor R4 and the positive electrode of the first diode D1, the second end of the first capacitor C2 is grounded, the second end of the third resistor R4 is grounded, the cathode of the first diode D1 is connected to the first end of the second capacitor C3, and the second end of the second capacitor C3 is grounded.
[0076] Reference Manual Figure 5 , Figure 5 This is a structural diagram of a charging circuit of a smart lock of the utility model. The terminal KEY_VCC2 receives the current of the power supply circuit, part of the current flows to the third resistor R4, and part of the current flows to the second capacitor C3 through the first diode D1 to charge the second capacitor C3.
[0077] In one embodiment, the capacitance value of C2 is 100 nF, the resistance value of the third resistor R4 is 10 kΩ, and the capacitance value of the second capacitor C3 is 220 uF.
[0078] In one embodiment, the detection circuit includes: a second power supply VCC2, a fourth resistor R1 and a third capacitor C1, the first end of the second power supply VCC2 is connected to the first end of the fourth resistor R1, the second end of the fourth resistor R1 is connected to the first end of the third capacitor C1, and the second end of the third capacitor C1 is grounded.
[0079] Reference Manual Figure 6 , Figure 6It is a structural diagram of a detection circuit of a lock core in an intelligent lock of the utility model. When the passive electronic key is not inserted into the lock core, the current of the second power supply VCC2 passes through the fourth resistor R1 and the third capacitor C1 in sequence. When the passive electronic key is inserted into the lock core, the endpoint KEY_VCC1 and the endpoint KEY_VCC2 are electrically connected, and the endpoint KEY_VCC2 is grounded. The first processor in the lock core controls the fourth resistor R1 to pull up, so that the voltage division of the fourth resistor R1 and the third resistor R4, that is, the current in the second power supply VCC2 passes through the fourth resistor R1, the endpoint KEY_VCC1, the endpoint KEY_VCC2 and the third resistor R4 in sequence. Due to the voltage division effect, the first processor in the lock core will detect a falling edge, that is, it is recognized that the passive electronic key is inserted into the lock core. At this time, the first processor of the lock core controls to turn on the power switch, and the power supply circuit supplies power to the charging circuit. When the passive electronic key is not inserted into the lock core, the power switch is in a closed state, and the lock body is in a standby state, which is conducive to protecting the lock body.
[0080] In one embodiment, the resistance value of the fourth resistor R1 is 510KΩ, and the capacitance value of the third capacitor C1 is 100nF.
[0081] It should be noted that the resistance value of the third resistor R4 is smaller than the resistance value of the fourth resistor R1.
[0082] In one embodiment, the lock core includes a first processor, the first processor is communicatively connected to a second processor, and the first processor is used to receive data information transmitted by the second processor.
[0083] In one embodiment, the first processor includes a first memory and a first UART unit; the first memory and the first UART unit are electrically connected, and the first memory is used to store data information; the first UART unit is communicatively connected to the second processor, and the first UART unit is used to receive data information transmitted by the second processor. The first UART unit is also used to verify the data information transmitted by the second processor and the data information stored in the first memory. If the verification passes, the unlocking is successful.
[0084] In one embodiment, the second processor includes a second memory and a second UART unit; the second memory and the second UART unit are electrically connected, and the second memory is used to store data information; the second UART unit is communicatively connected to the lock core, and the second UART unit is used to transmit data information to the lock core.
[0085] In one embodiment, the first processor in the lock core controls the first UART unit to send a read request to the second processor in the passive electronic key, the second UART unit in the second processor receives the read request, the second UART unit reads the password information in the second memory and sends the password information to the first UART unit of the first processor, the first UART verifies the data information in the first memory of the received password information, if the verification passes, the unlocking is successful, if the verification fails, the unlocking fails.
[0086] In one embodiment, when the first processor in the lock core controls the first UART unit to send a read request to the second processor in the passive electronic key, the first serial port UART_TX of the first control unit is configured as a UART function, and the first serial port UART_RX is configured as a floating input; the second serial port UART_RX of the second processor in the passive electronic key is configured as a UART function, and the second serial port UART_TX is configured as a floating input.
[0087] In one embodiment, when the second UART unit sends password information to the first UART unit of the first processor, the first serial port UART_RX of the first control unit is configured as a UART function, and the first serial port UART_TX is configured as a floating input; the second serial port UART_TX of the second processor in the passive electronic key is configured as a UART function, and the second serial port UART_RX is configured as a floating input.
[0088] It should be noted that the above embodiments can be freely combined as needed. The above are only preferred implementations of the utility model. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the utility model, and these improvements and modifications should also be regarded as the protection scope of the utility model.
Claims
1. A smart lock, characterized in that: The smart lock includes a lock body and a passive electronic key. The lock body comprises: a lock core and a power supply circuit, The lock cylinder is electrically connected to the power supply circuit; The passive electronic key comprises: a charging circuit and a second processor, The charging circuit and the power supply circuit are electrically connected through the contact between the lock cylinder and the passive electronic key; The charging circuit is electrically connected to the second processor, and the second processor is communicatively connected to the lock core and transmits data information to the lock core.
2. The smart lock according to claim 1, characterized in that: The charging circuit is disconnected from the power supply circuit when the power storage amount meets the first threshold, and the charging circuit supplies power to the second processor.
3. The smart lock according to claim 1, characterized in that: A first contact is arranged inside the lock core, and a second contact electrically connected to the first contact is arranged outside the passive electronic key.
4. The smart lock according to claim 1, characterized in that: The power supply circuit includes: a first power supply, a first MOS tube, a first resistor, a second resistor, a first transistor and a switch key. The first end of the first power supply is respectively connected to the first end of the first resistor and the source of the first MOS tube, the second end of the first resistor is connected to the first end of the second resistor, the second end of the second resistor is connected to the collector of the first transistor, the base of the first transistor is connected to the switch key, the emitter of the first transistor is grounded, the gate of the first MOS tube is connected to the first end of the second resistor, and the drain of the first MOS tube is connected to the charging circuit.
5. The smart lock according to claim 1, characterized in that: The charging circuit includes: a first capacitor, a third resistor, a first diode and a second capacitor. The first end of the first capacitor is respectively connected to the power supply circuit, the first end of the third resistor and the positive electrode of the first diode, the second end of the first capacitor is grounded, the second end of the third resistor is grounded, the cathode of the first diode is connected to the first end of the second capacitor, and the second end of the second capacitor is grounded.
6. The smart lock according to claim 1, characterized in that: The lock core further comprises a detection circuit, which is electrically connected to the power supply circuit and is used to detect whether the passive electronic key is inserted.
7. The smart lock according to claim 6, characterized in that: The detection circuit includes: a second power supply, a fourth resistor and a third capacitor, wherein a first end of the second power supply is connected to a first end of the fourth resistor, a second end of the fourth resistor is connected to a first end of the third capacitor, and a second end of the third capacitor is grounded.
8. The smart lock according to claim 1, characterized in that: The lock core includes a first processor, the first processor is communicatively connected to the second processor, and the first processor is used to receive data information transmitted by the second processor.
9. The smart lock according to claim 8, characterized in that: The first processor includes a first memory and a first UART unit; The first memory is electrically connected to the first UART unit, and the first memory is used to store data information; The first UART unit is communicatively connected to the second processor, the first UART unit is used to receive data information transmitted by the second processor, and the first UART unit is also used to verify the data information transmitted by the second processor and the data information stored in the first memory. If the verification passes, the unlocking is successful.
10. The smart lock according to claim 1, characterized in that: The second processor includes a second memory and a second UART unit; The second memory is electrically connected to the second UART unit, and the second memory is used to store data information; The second UART unit is communicatively connected to the lock core, and the second UART unit is used to transmit data information to the lock core.